Commit Graph

1059 Commits (b4fb50d8daef85557f8dc7bdae1e50b82a8ed204)

Author SHA1 Message Date
Conduitry 95995482e3 deconflict `value` parameter in contextual bindings (#4452)
7 years ago
Conduitry 78d5d1a8c8 fix dev mode each block validation when using strings (#4451)
7 years ago
swyx 5a880ecd28 implement Dev mode validation of {#each} block argument (#4419)
7 years ago
Tan Li Hau 8102c4d2e2 perform dirty check before updating keyed each blocks (#4413)
7 years ago
Conduitry d41d4d50ab fix indirect bindings on elements with spreads (#4398)
7 years ago
Conduitry 88f85890ce fix event handlers that are dynamic via reactive declarations or stores (#4394)
7 years ago
Conduitry 4f6e25b9bb fix invalidation in ++foo.bar (#4395)
7 years ago
Conduitry c1cd4a63e2 fix handling of reserved keywords when parsing (#4390)
7 years ago
Conduitry f5922f7cee fix binding to module-level variables (#4352)
7 years ago
David Kondrad 7acea7a94d Internals: Scheduler: Fix infinite loop in flush (#4316)
7 years ago
Conduitry 14555bf203 make autosubscribing to a nullish store a no-op (#4304)
7 years ago
Conduitry e11f8da5e2 disallow duplicate each keys in dev mode (#4303)
7 years ago
Tan Li Hau a9298d0ebd fix nested block not reactive (#4294)
7 years ago
Conduitry 2a0d3333d0 apply event modifiers to <svelte:body> events (#4279)
7 years ago
Tan Li Hau ff07d4a818 fix allow let scoped to root element (#4266)
7 years ago
Conduitry 89e99a5a11 only attach SSR <head> markers when hydratable: true (#4260)
7 years ago
Tan Li Hau 9cb198800d fix actions having no access to parent nodes (#4252)
7 years ago
Conduitry 981cf42a46 fix $$invalidate getting confused by an undefined third argument (#4170)
7 years ago
Conduitry 702755cc81 fix when LHS of a reactive assignment is a member expression (#4212)
7 years ago
Conduitry b4da95ce15 update rollup and plugins
7 years ago
David Kondrad 08bd8d1707 dynamic events: validate handler before executing (#4105)
7 years ago
Tan Li Hau 3c57b36b29 feat order attributes + actions too (#4156)
7 years ago
Tan Li Hau 0d6ad76d85 fix dynamic event handler for bind variables
7 years ago
David Kondrad 6bf0cae797 compiler: text util: preserve space after svg <tspan> tags (#4107)
7 years ago
Tan Li Hau 546bb026bf fix destructuring in slot let binding
7 years ago
Colin Casey 6dcf4d91f8 FIX #2446: apply bindings and event handlers in order
7 years ago
Tan Li Hau a5e7ca6b38 revert remove contextual overflow (#4102)
7 years ago
Tan Li Hau c73e2ee9a9 fix invalidate while update
7 years ago
Timothy Johnson 819056ab5c propagate changes through slots with props (#4091)
7 years ago
Tan Li Hau 5e0455bb79 fix dirtybit (#4095)
7 years ago
Conduitry 8f01bf0b6c fix bitmask overflow when using slotted components (#4077)
7 years ago
Rich Harris ba8641360b fix bitmask overflow slot updates
7 years ago
Rich Harris 7de835fa10 write compiled output to disk for easier inspection
7 years ago
Tan Li Hau 0d3284f423 fix: bitmask overflow better handle global (#4063)
7 years ago
Tan Li Hau df32d642e3 fix: if inside bind await block contextual dependencies
7 years ago
Tan Li Hau df771016ff fix: loop-guard scope leak
7 years ago
Conduitry 32f43b125b fix child context in await blocks with no `then` variable (#4022)
7 years ago
mrkishi 2fcfe2547e use raf's time for smoother transitions
7 years ago
Conduitry 2b967c041b add regression test against #3966
7 years ago
Tan Li Hau 9492211e5e fix handle marking global variable as dependency
7 years ago
Tan Li Hau dc67d6aa50 fix context export not working if conflicts with instance variable
7 years ago
Tan Li Hau 0678ca9172 no missing prop warning for non-writable props
7 years ago
Rich Harris 78d50d02e8 Bitmask-based change tracking (#3945)
7 years ago
pngwn 7b4c796199 Add aria-hidden to resize listener object. Fixes #3948.
7 years ago
Richard Harris 1e4dcaf3cf regression test for #3939
7 years ago
Richard Harris 3f3fb832f3 remove samples/_ directories, used for local experiments
7 years ago
Tan Li Hau 01cc5b0a15 fix dynamic event handler expression
7 years ago
Conduitry e9dcce76cc Deconflict dev mode block function names again (#3907)
7 years ago
Tan Li Hau 3f8dc7104a fix text content escape html (#3916)
7 years ago
Rich Harris 2d7b40412f update deps, prevent naming conflict seen in #3891
7 years ago
Tan Li Hau fe0e002872 add loopGuardTimeout options
7 years ago
Rich Harris 46125bbbdc Merge pull request #3886 from AlbertLucianto/fix/bind-out-of-sync
7 years ago
Rich Harris df742e37ca Merge pull request #3871 from AlbertLucianto/fix/bind-value-fails-range-max
7 years ago
Richard Harris afe3445444 Merge branch 'master' of github.com:sveltejs/svelte into fix/bind-out-of-sync
7 years ago
Tan Li Hau 3f4155da2e prevent infinite loop
7 years ago
AlbertLucianto 56b6a62a8d fix binding out of sync on reactive update
7 years ago
AlbertLucianto 48263676b9 add await blowback reactive test case
7 years ago
AlbertLucianto efcab56fbd reorder add attributes to fix value validation
7 years ago
Tan Li Hau 9600a41214 feat dynamic event handler
7 years ago
Rich Harris 2af80f977f Merge pull request #3831 from tanhauhau/tanhauhau/no-create-fragment-if-not-needed
7 years ago
Tan Li Hau 7643873a8d escape html quotes
7 years ago
Tan Li Hau 821021e9e7 reenable skipped test due to jsdom
7 years ago
Tan Li Hau 57955a999e fix window bindings to store (#3835)
7 years ago
Tan Li Hau d06284788b swapped out expected and actual for asserts in error
7 years ago
Tan Li Hau 474de99404 Don't create a fragment at all for DOM-less components
7 years ago
Rich Harris af6d010844 Merge pull request #3811 from sveltejs/gh-3508-alt
7 years ago
Rich Harris 52ada05fcc Merge pull request #3814 from tanhauhau/tanhauhau/unify-solo-for-test-folder
7 years ago
Tan Li Hau 55b7fd210d add a xss test case
7 years ago
Tan Li Hau 14070ca553 look for test folder name for solo mode as well
7 years ago
Conduitry 296a2c8d14 add test
7 years ago
Tan Li Hau c5c5822f9a feat: allow innerHtml if no dynamic dependencies
7 years ago
Conduitry 409fab4966 fix handling of style scoping and `class:` with spread scopes (#3792)
7 years ago
Mike Lewis cb2aceaa5c add regression test for missing class on elem with bind and spread (#3668)
7 years ago
Conduitry 42427e86b1 Don't lose `class:` directive classes on an element with `{...spread}` attributes when updating (#3781)
7 years ago
Tan Li Hau b502ec0afc allow solo for test suite (#3747)
7 years ago
Conduitry 8741a65c16 Fix boolean attributes in presence of spread attributes (#3775)
7 years ago
Conduitry dde89f8f66 add sigil-expression-function-body test against regression (#3756)
7 years ago
Tan Li Hau 3ff5eb78d1 deconflict with builtins (#3724)
7 years ago
Conduitry a9d7ef4804 fix compound ifs with outros and no dependencies (#3595)
7 years ago
Maurício Kishi 32808fd11f fix store validation code generation (#3735)
7 years ago
Conduitry 58a92fc38b fix `bind:this` binding to a store (#3591)
7 years ago
Richard Harris 99554404e6 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
Conduitry 1f826c14b9 add each-block-keyed-iife test against regression (#3436)
7 years ago
Conduitry f531c65df2 preserve `$:` label in reactive blocks in SSR mode (#2828) (#3469)
7 years ago
Tan Li Hau 3c48191b11 resubscribe props if reassigned
7 years ago
Rich Harris 444533d0c7 Merge pull request #3666 from tanhauhau/tanhauhau/show-output-if-test-error-does-not-match
7 years ago
Tan Li Hau ba1660ad5a fix binding shadow the array in each block (#1565)
7 years ago
Conduitry 93b10089a7 add destructuring-between-exports test against regression (#3628)
7 years ago
Conduitry 6a5efd1066 add semicolon-hoisting test against regression (#2292)
7 years ago
Conduitry 2765d3806c add reactive-value-coerce-precedence test against regression (#3564)
7 years ago
Conduitry 9101be023b add deconflict-ctx test against regression (#3556)
7 years ago
Rich Harris bbad46a96b Structured code generation (#3539)
7 years ago
Tan Li Hau a119ba1239 fix globals shadowing template scope (#3674)
7 years ago
pngwn 3fcce37732 Prevent element property set from throwing errors for readonly properties. Fixes #3681.
7 years ago
Tan Li Hau 8a789852d0 fix reactive updates not reflected when handle promise (#3660)
7 years ago
Tan Li Hau 7378d0b615 show generated output if the error message does not match
7 years ago
Peter Maatman 6c625b6668 fix compound assignment dependencies in reactive statements (#3634)
7 years ago
Conduitry 7a0ae142e5 escape `@` sigils in dev tooling events (#3545)
7 years ago
Rich Harris dc0df93372 Merge pull request #3306 from cvlab/master
7 years ago
Richard Harris 76a6d32536 invalidate store values in <script> block - fixes #3537
7 years ago