Commit Graph

53 Commits (0d0fabb2840584bdf295e3c314ca774385deaafe)

Author SHA1 Message Date
Tan Li Hau f739b4772a
error on expression scope store (#5079)
6 years ago
Bassam Ismail 0e2bc352df
fix hoisting of imported, mutated stores (#5022)
6 years ago
Billy Levin 3d811311b7
disable loop protection inside generators (#4716)
6 years ago
Tan Li Hau aabb23cc34
fix mutation to imported variable (#4713)
6 years ago
pushkin 7dcbc5173b
remove unused variable (#4638)
6 years ago
Tan Li Hau 91d758e35b
introduce $$restProps (#4489)
7 years ago
Brian Takita 3a37de364b
chore: more specific typings, and add README note about Yarn (#4483)
7 years ago
Tan Li Hau cf660bdab1
mark module variables as mutated or reassigned (#4469)
7 years ago
burningTyger b9368d5de4 remove quotes from code suggestion
7 years ago
Conduitry 741444d07e fix when LHS of a reactive assignment is a member expression (#4212)
7 years ago
Tan Li Hau 5486d67adf compile css once (#4143)
7 years ago
David Kondrad 6c0fb5be64 compiler: tag auto-subscribe stores as referenced in vars (#4089)
7 years ago
Benjamin W. Broersma 3433418dce Skip JS globals for InlineComponent nodes in warn_if_undefined. (#4071)
7 years ago
Tan Li Hau 2c9d864e33 fix: loop-guard scope leak
7 years ago
Conduitry e996ef750d fix warnings for props that are only used as stores (#4021)
7 years ago
Tan Li Hau 0ab5337ca5 fix context export not working if conflicts with instance variable
7 years ago
Richard Harris 1a34a5e552 update estree-walker - closes #3977, closes #3979
7 years ago
Rich Harris cd21acfb3c
Bitmask-based change tracking (#3945)
7 years ago
Tan Li Hau b382b9a9c6 add loopGuardTimeout options
7 years ago
Richard Harris 47cac13b7d helperise loop protection
7 years ago
Tan Li Hau ace35336b7 prevent infinite loop
7 years ago
Richard Harris 11b55ada46 reinstate banner
7 years ago
Tan Li Hau 60b240bf69 fix lint
7 years ago
Tan Li Hau 81c5c480e8 feat: warn unused exports
7 years ago
Richard Harris ad0e8670ca tweak text of warning
7 years ago
Tan Li Hau cfd3b63b9b warn if using svelte:options tag without compile_options.customElement
7 years ago
Conduitry 39b387a454 hoist globals even if they are mentioned in a script block (#3607)
7 years ago
Conduitry 8d7d0ff7dd
fix `bind:this` binding to a store (#3591)
7 years ago
Richard Harris 78c226b7b1 Merge branch 'tanhauhau/exported-variable-could-be-reassigned' of https://github.com/tanhauhau/svelte into tanhauhau-tanhauhau/exported-variable-could-be-reassigned
7 years ago
Tan Li Hau e14197d944 remove component locator
7 years ago
Tan Li Hau 8c4fd74543 resubscribe props if reassigned
7 years ago
Rich Harris b9f14846b0
Structured code generation (#3539)
7 years ago
Peter Maatman 02f5efd9e7 fix compound assignment dependencies in reactive statements (#3634)
7 years ago
Richard Harris 5d8ca9f07d lint
7 years ago
Richard Harris a821aa7a15 merge sveltejs/master -> devtools
7 years ago
Richard Harris 46bfaff1e6 inline $$invalidate calls - fixes #3512
7 years ago
Richard Harris e797cfc7b9 in this house we use snake_case
7 years ago
Colin Casey ee8825d34f fix reactive declaration cycle detection + clearer error on cycle
7 years ago
Rich Harris d8445e6350 mark reassigned/mutated values as non-hoistable - fixes #2731
7 years ago
Richard Harris 5266b53739 lint
7 years ago
Rich Harris e41a4846c3
Merge pull request #3348 from sveltejs/gh-3272
7 years ago
Richard Harris e3e3ad9be0 disable validation with magic comments
7 years ago
Richard Harris 46cd6ff370 disallow global references to $$-prefixed vars
7 years ago
Richard Harris 4c8f3a296c throw error if $ is referenced as global - fixes #3272
7 years ago
Timothy Johnson 6b58a1d2f6 Events for DOM methods
7 years ago
Richard Harris fc710a96f0 always bail out of hoisting on encountering local state - fixes #3044
7 years ago
43081j 5d638d32ba fix existing lint errors
7 years ago
Rich Harris 324be53a70 merge master -> snake_case
7 years ago
Rich Harris 80ebdc1784 rename kebab-case files - supercedes #2890
7 years ago
Conduitry cd4c2f2075 use `@_` sigil for globals
7 years ago