Commit Graph

2309 Commits (ff07d4a8180365b49c65bd89d941050c9ecfcb8c)

Author SHA1 Message Date
Rich Harris 66de45a085 Merge pull request #3818 from sveltejs/gh-3801
7 years ago
Richard Harris 334a5ce7a7 error on empty css declarations - fixes #3801
7 years ago
Rich Harris 9d7e826624 Revert "remove empty value declaration from style tree"
7 years ago
Rich Harris bc31a93c17 Merge pull request #3812 from tanhauhau/tanhauhau/remove-empty-value-declaration
7 years ago
Rich Harris 52ada05fcc Merge pull request #3814 from tanhauhau/tanhauhau/unify-solo-for-test-folder
7 years ago
Rich Harris 661b474ef3 Merge pull request #3816 from tanhauhau/tanhauhau/text-content-instead-of-inner-html
7 years ago
Tan Li Hau 55b7fd210d add a xss test case
7 years ago
Tan Li Hau 948527a609 use textContent instead of innerHtml, preventing XSS
7 years ago
Rich Harris 28a277bb91 Merge pull request #3762 from sveltejs/gh-3761
7 years ago
Tan Li Hau 14070ca553 look for test folder name for solo mode as well
7 years ago
Tan Li Hau 7b1e4dac3f remove empty value declaration from style tree
7 years ago
Richard Harris a28badcc06 alternative fix for #3508
7 years ago
Conduitry 296a2c8d14 add test
7 years ago
Rich Harris 2e4db17303 Merge pull request #3802 from tanhauhau/tanhauhau/warn-unused-exports
7 years ago
Rich Harris 8a3239b6ba Merge pull request #3808 from tanhauhau/tanhauhau/mustache-tag-can-use-inner-html
7 years ago
Tan Li Hau c5c5822f9a feat: allow innerHtml if no dynamic dependencies
7 years ago
Conduitry d42a09440b fix SSR spread with boolean attributes (#3797)
7 years ago
Tan Li Hau 7c037a304d feat: warn unused exports
7 years ago
Conduitry 409fab4966 fix handling of style scoping and `class:` with spread scopes (#3792)
7 years ago
Richard Harris 2fb869deab tweak text of warning
7 years ago
Richard Harris c0116dee30 Merge branch 'tanhauhau/warn-when-using-tag-without-compile-options' of https://github.com/tanhauhau/svelte into tanhauhau-tanhauhau/warn-when-using-tag-without-compile-options
7 years ago
Jesse Skinner 0cf18ead30 allow multiple ancestors to be scoped with class (#3544)
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 1d0bd1a802 warn if using svelte:options tag without compile_options.customElement
7 years ago
Conduitry f64aa53720 tidy up core test.js script
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
Rich Harris 276bcb879a allow spring/tweened values to be initially undefined - closes #3761
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 16eac1aa02 Merge branch 'tanhauhau/await-then-catch-block' of https://github.com/tanhauhau/svelte into tanhauhau-tanhauhau/await-then-catch-block
7 years ago
Richard Harris b4fbbd3d55 fix test
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
Li Hau Tan 6e18359992 then and catch block expect await, optional then block
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
Richard Harris 2603aeba1f dont cache attribute values (ref #3579)
7 years ago
Richard Harris 2c555b143b Merge branch 'master' of github.com:sveltejs/svelte
7 years ago
Richard Harris 73371bdbbb typos
7 years ago
Richard Harris ca2f4bbb3c merge master -> tanhauhau/debugging-with-no-dependencies
7 years ago
das d1b95041ff continue inlining $$invalidate calls (#3548)
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 99a99376ae fix debugging with no dependencies
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 5ca7b48b66 rework attribute selector matching to not use regexes (#1710)
7 years ago
Conduitry 7a0ae142e5 escape `@` sigils in dev tooling events (#3545)
7 years ago
Rich Harris e167300844 Merge pull request #3005 from RedHatter/devtools
7 years ago
Rich Harris dc0df93372 Merge pull request #3306 from cvlab/master
7 years ago
Richard Harris aaac15bafa remove $unsafe_set in favour of modified $inject_state
7 years ago
Richard Harris a8f318571e update tests
7 years ago
Richard Harris 6f76d13f35 merge sveltejs/master -> devtools
7 years ago
Rich Harris 8fabd206f5 Merge pull request #3538 from sveltejs/gh-3537
7 years ago
Richard Harris 5981c9ebe6 update test
7 years ago
Richard Harris e4e04e590c Merge branch 'hmr' of https://github.com/Axelen123/svelte into Axelen123-hmr
7 years ago
Richard Harris 76a6d32536 invalidate store values in <script> block - fixes #3537
7 years ago
Richard Harris b06ed7e91b handle special null case when hydrating
7 years ago
Richard Harris a96fca0295 Merge branch 'test/nil-hydrate' of https://github.com/eps1lon/svelte into eps1lon-test/nil-hydrate
7 years ago
Rich Harris ae126fa6e5 Merge pull request #2809 from mrkishi/closing-tags
7 years ago
Rich Harris d442ad822d Merge pull request #3533 from sveltejs/gh-3512
7 years ago
Rich Harris 6aa005445f Merge pull request #3534 from btk5h/gh-3455
7 years ago
Rich Harris c6b18c412f Merge pull request #3530 from sveltejs/gh-3524
7 years ago
Rich Harris 1154afda52 Merge pull request #3529 from sveltejs/gh-3526
7 years ago
Rich Harris fd6b072642 Merge pull request #3518 from sveltejs/gh-3505
7 years ago
Bryan Terce 7237296222 Test typos
7 years ago
Bryan Terce d861522036 Remove unused variables
7 years ago
Bryan Terce 3920f93168 Add destructuring tests
7 years ago
Bryan Terce ad827a6db4 Add tests
7 years ago
Richard Harris ee162c7ceb preserve arrow function event handlers
7 years ago
Richard Harris 6d67e018fe inline $$invalidate calls - fixes #3512
7 years ago
Richard Harris f7a518f1af update test
7 years ago
Richard Harris e264dd54b2 only use setAttribute with SVG spread props - fixes #3522
7 years ago
Richard Harris 35cba45c0c only update attributes with dynamic dependencies - fixes #3526
7 years ago
Richard Harris a89f80d80e move tests to runtime section
7 years ago
Richard Harris ccc6e78eb2 Merge branch 'master' of https://github.com/bre30kra69cs/svelte into bre30kra69cs-master
7 years ago
Rich Harris a721d58ece extend fix to blocks with outros
7 years ago
Richard Harris 09b7ef840f fix code generation for if-else with static conditions - fixes #3505
7 years ago
Colin Casey 1ee8820148 fix reactive declaration cycle detection + clearer error on cycle
7 years ago
Arpad Borsos 40e345f35a prefer let bindings
7 years ago
Arpad Borsos ac3b9cc6e5 prefer indented blocks
7 years ago
Rich Harris 4c466071ca Merge pull request #3478 from sveltejs/gh-3447
7 years ago
Conduitry 745649bb90 update dependencies
7 years ago
Christian Kaisermann 44798f4279 Support other atrules (#2995)
7 years ago
Rich Harris 77a580114b update tests
7 years ago
Rich Harris 9834df0576 update simple if-blocks with complex but static conditions
7 years ago
Rich Harris 10548373d5 dont generate code for non-updating if block - fixes #3447
7 years ago
Almaz 239953cc13 Fixed complex {#if} behaviour
7 years ago
Rich Harris 1fd156daaa mark reassigned/mutated values as non-hoistable - fixes #2731
7 years ago
Richard Harris fb5c02e317 lint
7 years ago
Rich Harris b7ec29fb0e Merge pull request #3443 from sveltejs/gh-2569
7 years ago
Rich Harris 4eadbe4270 Merge pull request #3435 from sveltejs/gh-1834
7 years ago
Rich Harris 396b524002 Merge pull request #3438 from sveltejs/gh-2355
7 years ago
bre30kra69cs a0b3d57032 fix declaration assignment
7 years ago
Rich Harris 890bafdb40 update context if event handler uses index in keyed each block - fixes #2569
7 years ago
Rich Harris be1e249071 set context in await blocks - fixes #2443
7 years ago
Rich Harris 637b2545ca conservative updates for await blocks
7 years ago
Richard Harris 4599d4161e only reevaluate if block conditions if dependencies changed
7 years ago
Rich Harris f708d98ea9 more conservative if block updates
7 years ago
Almaz 8bf4f23baf Fixed unnecessarily style properties update
7 years ago
Richard Harris 003f59db23 lint
7 years ago
Richard Harris 4bfd90dfb7 Merge branch 'master' into gh-1834
7 years ago
Richard Harris 5548eb0e63 handle important declarations in inline styles - fixes #1834
7 years ago
Rich Harris 98121b9bf9 Merge pull request #3432 from sveltejs/gh-1830
7 years ago
Rich Harris d1d461816d Merge pull request #3430 from sveltejs/gh-1233
7 years ago
Richard Harris 3bc15c983b bail out of style tag optimisation when appropriate - fixes #1830
7 years ago
Rich Harris 38cc07628c dont set undefined input value - fixes #1233
7 years ago
Rich Harris a28cddd41b allow slots to have missing props in SSR - fixes #3322
7 years ago
Richard Harris e630ae48aa update test
7 years ago
Richard Harris e43550d1c2 Merge branch 'master' of github.com:sveltejs/svelte into closing-tags
7 years ago
Richard Harris 7624dbea70 support is attribute, with a warning - fixes #3182
7 years ago
Dave Poulter 6c4605fc8a Fix namespace for svg elements inside slots
7 years ago
Richard Harris e7b846f500 -> v3.8.0
7 years ago
Richard Harris 9cb5454b58 coerce tag values to string - fixes #2290
7 years ago
Richard Harris b9347efb6d Merge branch 'master' of github.com:sveltejs/svelte
7 years ago
Richard Harris dd7342790a Merge branch 'master' of https://github.com/samuelgozi/svelte into samuelgozi-master
7 years ago
Rich Harris a54b5d912a Merge pull request #3380 from Conduitry/gh-3185
7 years ago
Richard Harris 085a20c3ff remove ts-node - no typescript inside test/
7 years ago
Conduitry 984b8f46af generate valid code when spreading literal into props (#3185)
7 years ago
Sebastian Silbermann e7f86bf4b8 Add failing test for null hydration
7 years ago
Samuel Elgozi b3198f151a Tests addedt for `self` modifier
7 years ago
Samuel Elgozi 96115d5346 feat: #3372 added a new `self` event modifier
7 years ago
Richard Harris e538dfe8fe failing test for #3354
7 years ago
Rich Harris a96ba1ffa2 Merge pull request #3348 from sveltejs/gh-3272
7 years ago
Rich Harris 3a65c5a899 Merge pull request #3351 from sveltejs/disable-validation
7 years ago
Rich Harris fbd0aa743c Merge pull request #2028 from aphitiel/gh-1999
7 years ago
Rich Harris 3d92929f92 Rename main.html to main.svelte
7 years ago
Richard Harris 6042fa02ea disable validation with magic comments
7 years ago
Richard Harris 2561b5038c Merge branch 'master' of github.com:sveltejs/svelte
7 years ago
Richard Harris cfe3d3caca update #1844 test for v3
7 years ago
Richard Harris 285436bc0f Merge branch 'master' into aphitiel-gh-1844
7 years ago
Richard Harris c5d6d6ffcb correctly set mount anchor for HTML tags - fixes #2711
7 years ago
Richard Harris 4223bd393c disallow global references to $$-prefixed vars
7 years ago
Richard Harris 6056f133d4 throw error if $ is referenced as global - fixes #3272
7 years ago
Richard Harris f3a9d39a91 add test for #3326
7 years ago
Richard Harris c226ba3d65 more robust handling of html tags - fixes #3285
7 years ago
Vadim Cebaniuc 50cd8d3f9d Merge branch 'master' into master
7 years ago