Commit Graph

108 Commits (c67f5348ea3a596ce408d85c09b15fad50f16679)

Author SHA1 Message Date
Emil Tholin 643aa41b9a Set mutated const variables as reactive dependencies
6 years ago
Rich Harris 85543f54dd fix vars/warnings
6 years ago
Rich Harris c4e05f2086
Merge pull request #2703 from EmilTholin/hoisting-injected-reactive-vars
6 years ago
Emil Tholin 963f6e7aa6 Don't hoist functions dependent on injected reactive variables
6 years ago
Rich Harris db8d7007aa
Merge pull request #2694 from sveltejs/gh-2444
6 years ago
Richard Harris 562f23a87b invalidate dependencies of reactive declarations - fixes #2444
6 years ago
Emil Tholin 0286dce026 Warn on improper use of reactive declarations
6 years ago
John Chesley 73aca457d3 fix cycle check for exported functions
6 years ago
Richard Harris b2860c789d disallow duplicate slot="xxx" elements - fixes second half of #2320
6 years ago
Richard Harris 1d6ac5ea34 inherit default slot values in named slots in SSR mode
6 years ago
Richard Harris a88749af27 allow reactive declarations to reference self - fixes #2386
6 years ago
Richard Harris d7b32fb22c inject lets for destructured reactive declarations - fixes #2396
6 years ago
Richard Harris 30c8fe0c6e allow reactive declarations without dependencies - fixes #2285
6 years ago
Rich Harris c20ad22363
Merge pull request #2351 from jches/gh/2347
7 years ago
John Chesley 614788c9e8 hoist all hoistable top-level functions
7 years ago
John Chesley cfc1a40335 do not hoist declaration if it is exported (fixes #2347)
7 years ago
Conduitry ecd7c6e9aa warn on template references to global variables (#2295)
7 years ago
Rich Harris f6f06b3cf5
Merge pull request #2312 from sveltejs/gh-2294
7 years ago
Conduitry f063964739 subscribe to global stores from script (#2139)
7 years ago
Conduitry b33fd1797a note action/etc. references even when hoistable (#2294)
7 years ago
John Chesley d788bb9735 break declaration grouping on non-declaration nodes (fixes #2022)
7 years ago
Rich Harris f48c76b7f6 suppress $$props is not defined warning
7 years ago
Rich Harris 4348727fca
Merge pull request #2258 from sveltejs/collapse-whitespace
7 years ago
Rich Harris f6aed0810b
Merge pull request #2265 from sveltejs/gh-2119
7 years ago
Rich Harris 977f7a6596 same but for SSR
7 years ago
Rich Harris 9955ac13ac handle assignments to store values in reactive declarations (#2119)
7 years ago
Conduitry 6354c66890 fix renamed instance exports (#2253)
7 years ago
Richard Harris 2b1aa77f29 collapse consecutive whitespace characters in the absense of options.preserveWhitespace or a <pre>
7 years ago
Rich Harris 21d56c9ee3
Tidy up (#2252)
7 years ago
Rich Harris 106b88d240
Merge pull request #2251 from sveltejs/gh-2025-alt
7 years ago
Richard Harris 971b7b900f make customElement a boolean option (#2025)
7 years ago
Richard Harris 2907b1a96c Merge branch 'master' into gh-2025
7 years ago
Richard Harris 3e4dbc630f update stores when assigning to store values - fixes #2170
7 years ago
Rich Harris 81d33a2fb0
Merge pull request #2245 from sveltejs/gh-2236
7 years ago
Richard Harris 2ba37882a8 prevent overwriting export consts - fixes #2236
7 years ago
Rich Harris f6607bea40
Merge pull request #2242 from sveltejs/gh-2144
7 years ago
Richard Harris 83a9b6af23 default to accessors: false (#2144)
7 years ago
Richard Harris 6d3e47812d subscribe to global stores (#2139)
7 years ago
Richard Harris 34c4f79998 augment warnings to help people figure out they need to add a <script>
7 years ago
Richard Harris 8c61edf2d5 remove support for logic-less components with vars
7 years ago
Rich Harris e2a71cfce4
Merge pull request #2225 from sveltejs/gh-2214
7 years ago
Conduitry d91cf4b2ef skip non-writable vars in reactive declaration deps (#2173)
7 years ago
Conduitry b328cecc04 temporarily disallow `export ... from` statements (#2214)
7 years ago
Richard Harris ac2597f77d make foo += 1 equivalent to foo = foo + 1 in reactive statements
7 years ago
Conduitry 1e1784adaf update options.customElement/<svelte:options tag='...'> handling (#2025)
7 years ago
Rich Harris d058a89c81
Merge pull request #2187 from sveltejs/gh-2186
7 years ago
Richard Harris a9686ba39b add test for $$props vars output
7 years ago
Richard Harris 9508b0d3dd merge gh-2186 -> master
7 years ago
Richard Harris 19d3564fc8 use add_var mechanism to create implicit $$props var
7 years ago
Richard Harris 8e4464166a tweak semantics of reactive statements - fixes #2178
7 years ago