Commit Graph

2275 Commits (df771016ff9aa4f58a8eb4ccf6f8b02de4aee556)

Author SHA1 Message Date
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
Vadim Cebaniuc c1fc9badaa Fix spread function result side effects
7 years ago
Richard Harris 1df14f6232 Merge branch 'master' into gh-3285
7 years ago
Richard Harris 24989ec4c5 rename misnamed test, remove obsolete ones
7 years ago
Conduitry 69da2cf6de set data- attributes like regular attributes (#3337)
7 years ago
Richard Harris 82abfa5922 lint
7 years ago
Richard Harris 51516a97a9 prevent commas in attributes - fixes #3341
7 years ago
Rich Harris c8a33e329c Merge branch 'master' into gh-3283
7 years ago
Rich Harris 342154d593 Merge pull request #3336 from Conduitry/gh-3274
7 years ago
Rich Harris 8f32e0e346 Merge pull request #3335 from Conduitry/gh-3281
7 years ago
Rich Harris 133b1167ae Merge pull request #3333 from Conduitry/gh-3179
7 years ago
Rich Harris 44fefdf870 Merge pull request #3332 from Conduitry/gh-3331
7 years ago
Conduitry 505717e636 don't warn when using each index in key (#3274)
7 years ago
Conduitry d7caf24923 use bindings when matching attribute selector against element (#3281)
7 years ago
Conduitry 5e64cb391a preserve async/generator-ness of hoisted function expressions (#3179)
7 years ago
Conduitry 457497efe5 fix erroneous a11y warning with input type='image' (#3331)
7 years ago
Richard Harris 41e865f1f6 failing SSR test, plus some adjacent changes
7 years ago
Richard Harris fc9b261c1e failing test for #3285
7 years ago
bre30kra69cs 0315b723b0 optimize class name runtime calc & add tests & ref
7 years ago
bre30kra69cs 867e61e501 fix Literally undefined class #3283
7 years ago
Conduitry daa7ab664d add test
7 years ago
Rich Harris db1a1875c2 quote props if necessary in SSR mode - fixes #3312
7 years ago
Rich Harris 2249bc7aa0 Merge pull request #3305 from Conduitry/gh-3226
7 years ago
Rich Harris 7b33c9c10f Merge pull request #3295 from sveltejs/gh-3286
7 years ago
Vadim Cebaniuc 74c19cf63c Fix non-object spread
7 years ago
Conduitry 624d145a82 use `change` event for `bind:files` (#3226)
7 years ago
Richard Harris 4ccb96d1ca always update reactive declarations with $$props - fixes #3286
7 years ago
Richard Harris fb9684dfa9 reuse unchanged spread levels - fixes #3289
7 years ago
Brian Takita 6c6dbf2e13 fixes https://github.com/sveltejs/svelte/issues/3191
7 years ago
Rich Harris ca8b48f6b2 Merge pull request #3250 from davemo/fix/1705-root-pseudo-selector-prefix-exemption
7 years ago
Rich Harris 9584ce09c6 Merge pull request #3242 from umanghome/v3-class-deps-fix
7 years ago
David Mosher 7ff7a5e220 bugfix: exempt the :root selector from prefix
7 years ago
Umang Galaiya 8ca6df376b [Test] Add test for class directive with spread attributes
7 years ago
Umang Galaiya cd2580c61f [Test] Add test for class with spread attributes
7 years ago
pynnl 36903c83f8 fix global keyframes with no elements
7 years ago
Rich Harris 851ad5c3df prevent outro groups getting muddled up - fixes #2086
7 years ago
Rich Harris 369ca827c4 new failing test for #2086
7 years ago
Rich Harris 8402607a97 add test from gh-2086
7 years ago
Rich Harris 014b25f625 Merge branch 'master' into gh-3113
7 years ago
Richard Harris 6f3150a328 fix test
7 years ago
Richard Harris bec5c9da02 lint
7 years ago
Rich Harris 2f055cb67f Merge pull request #3170 from sveltejs/gh-3153
7 years ago
Richard Harris d7d64a03b6 prevent dynamic components being detached twice - fixes #3113
7 years ago
Rich Harris 4e8e14cf9a WIP solution for #1340
7 years ago
Rich Harris 3cb42dc0d4 handle rxjs-style observables with get_store_value - fixes #3153
7 years ago
Rich Harris 5be0a74998 lint
7 years ago
Rich Harris 78d9e1d364 Merge pull request #3158 from sveltejs/gh-3038
7 years ago
Rich Harris d80f711dde Merge pull request #3151 from sveltejs/gh-2906
7 years ago
Rich Harris 71dc396701 Merge pull request #3150 from sveltejs/gh-2281
7 years ago
Richard Harris 5e58764c63 prevent malformed code when injecting invalidate statements
7 years ago
Richard Harris b0246474ce correctly transform inline shorthand methods - fixes #2906
7 years ago
Rich Harris d054c8e8f9 onMount before first afterUpdate
7 years ago
Rich Harris b21a5c8562 Merge branch 'onmount_triggers_in_reverse_order_for_siblings' of https://github.com/colincasey/svelte into colincasey-onmount_triggers_in_reverse_order_for_siblings
7 years ago
Rich Harris 87f5ae925a Merge pull request #3149 from Conduitry/preprocess-attribute-parsing-fix
7 years ago
Conduitry 475433c7d7 preprocess: fix handling of attribute values containing `=`
7 years ago
Rich Harris fba160906c Merge branch 'gh-3135' of https://github.com/btk5h/svelte into btk5h-gh-3135
7 years ago
Rich Harris cb545713a6 Merge pull request #3147 from sveltejs/gh-2693
7 years ago
Rich Harris 36b15b50a3 Merge pull request #3146 from sveltejs/gh-2135
7 years ago
Rich Harris 3f7c7e021e Merge pull request #3145 from sveltejs/gh-2034
7 years ago
Rich Harris fc71d001b3 Merge pull request #3142 from sveltejs/gh-1496
7 years ago
Rich Harris 65b0b6a571 on second thoughts
7 years ago
Richard Harris 00d43752bb distinguish between lazy and non-lazy expressions - fixes #2693
7 years ago
Richard Harris 9601f44ff2 handle circular values when rendering bindings - fixes #2135
7 years ago
Richard Harris d4b021201f update bind:this references when setting to null - fixes #2034
7 years ago
Richard Harris 8d95c53c09 prevent await block mounting inside removed if block - fixes #1496
7 years ago
Richard Harris 15f89891a0 add scoping attribute for pseudo-class selectors without a type/class - fixes #1705
7 years ago
Timothy Johnson 885e0035c8 Pass options in component event
7 years ago
Timothy Johnson 982de5f8bc Fix tests
7 years ago
Bryan Terce 439ab17c7f Add tests
7 years ago
Rich Harris eb8ae7194d Pass hoisted values through to slots (#3124)
7 years ago
Axelen123 8f6e6859f7 Update tests
7 years ago
Rich Harris 3ec8e5fe33 Fix contextual bind:this (#2806)
7 years ago
Axelen123 c0a366b995 Add test for capture_state and inject_state
7 years ago
Axelen123 82fec43c32 Update tests
7 years ago
Rich Harris e105d2ade2 Merge branch 'master' into gh-2917
7 years ago
Rich Harris a9cec4d457 Merge pull request #3110 from sveltejs/gh-3054
7 years ago
Rich Harris a3f70bd288 Merge pull request #3111 from sveltejs/gh-2923
7 years ago
Rich Harris bc84ea23f4 Merge pull request #3106 from sveltejs/gh-3035
7 years ago
Rich Harris 3aab13914c fix placement of each-else block, and clarify node references in source - fixes #2917
7 years ago
Rich Harris 098b92a3bf sanitize names of automatically-bubbled events - fixes #2923
7 years ago
Rich Harris 307db077eb check for existence of switch instance before introing - fixes #3054
7 years ago
Richard Harris 525e4c8853 actually this test should fail
7 years ago
Richard Harris 1e8728e2a4 only call subscriber once for writable with callback - fixes #3022
7 years ago
Richard Harris 6886d3260f remove components without props from each block - fixes #3035
7 years ago
Rich Harris 2e8da2bc1f Merge pull request #3102 from sveltejs/gh-3027
7 years ago
Richard Harris ea0dd9c0de prevent top-level text being discarded - fixes #3027
7 years ago
Richard Harris e1148b6590 always bail out of hoisting on encountering local state - fixes #3044
7 years ago
Rich Harris 497472d01a Merge pull request #3098 from sveltejs/gh-3064
7 years ago
Rich Harris a1f5bb96b7 add Error to known globals, declare catch block parameter. fixes #3064
7 years ago
Rich Harris 2d1ecd4544 lint
7 years ago
Rich Harris f2c0364da0 Merge branch 'master' into gh-3058
7 years ago
Rich Harris 57c6b2e94a always run onDestroy functions - fixes #3058
7 years ago
43081j e65c8e4f8d fix existing lint errors
7 years ago
Rich Harris 8390195c3a Merge branch 'master' into gh-2612
7 years ago
Rich Harris b1bf645272 Merge pull request #3093 from sveltejs/gh-3092
7 years ago
Rich Harris 14e739379b handle member expressions in destructuring assignments - fixes #3092
7 years ago
Rich Harris f32e1e19c6 oops
7 years ago
Rich Harris 204766ec0a add some docs, rename to textContent and innerHTML
7 years ago
Rich Harris 3bcb56b804 update tests
7 years ago
Rich Harris 3c21a184d1 Merge branch 'master' into init-contenteditable
7 years ago
Thomas Ghysels d6b5c42f7f Fix parsing ambiguous HTML entities (#3071)
7 years ago
Bryan Terce 34ac1ff42e Fix binding to values in a component when it uses `$$props` (#2725)
7 years ago
Bryan Terce dc3cb06f91 Fix dynamic `bind:this` on components (#2333)
7 years ago
Maurício Kishi d0448aba01 Merge branch 'master' into gh-2612
7 years ago
Bryan Terce b61b92166e preserve whitespace at each block boundaries (#713)
7 years ago
Bryan Terce 0cc4b91f65 Fix each blocks not unmounting components correctly (#3056)
7 years ago
Rich Harris 7de7cdbf06 Track which blocks are outroing to prevent duplication
7 years ago
Conduitry 3bc50e0945 fix text nodes in .innerHTML-optimized output
7 years ago
Conduitry fa485165ce Merge branch 'master' into gh-2612
7 years ago
Conduitry 88881cd3c5 don't grab page offsets too early
7 years ago
Richard Harris d21f2b4518 merge master -> init-contenteditable
7 years ago
Conduitry 348b8cde03 update tests (#1434) (#2935)
7 years ago
mrkishi 61f4d3a8f2 make eslint happy
7 years ago
mrkishi 75568f3656 split typescript projects
7 years ago
mrkishi 7b11b3ff52 fix .gitignore'd files
7 years ago
Mikhail Korepanov eee073966c Allow whitespace after = in attributes (#3026)
7 years ago
Efe Küçük 52b964652f do not collapse whitespace containing nbsp (#3014)
7 years ago
Conduitry fc1a0e86c3 update tests
7 years ago
mrkishi c0d9d555df deconflict more globals
7 years ago
Conduitry 0b913aa338 import globals from helpers (#2612) (#2947)
7 years ago
Richard Harris e30d7b97d0 initialise text/html bindings if necessary
7 years ago
Richard Harris 3bb160571c Merge branch 'master' of https://github.com/leporo/svelte
7 years ago
Rich Harris 358e79f762 allow empty <title> tags - fixes #2980 (#2988)
7 years ago
Rich Harris e69e891691 support once modifier on component events, fail on others (#2987)
7 years ago
Rich Harris 6cc03f873c Merge branch 'master' into master
7 years ago
James Garbutt 11ced4a257 Introduce ESLint to svelte sources (#2958)
7 years ago
Efe Küçük e73eb33b45 Render textarea binding values inside element
7 years ago
Richard Harris bb96112eed Merge branch 'master' of github.com:sveltejs/svelte
7 years ago
Richard Harris 347f5e07bd add test for class: directive special characters
7 years ago
Vlad Glushchuk bf0d66175b Add bind:text and bind:html support for contenteditable elements
7 years ago
Rich Harris 6c874569de solve diamond dependencies (#2660)
7 years ago
Rich Harris abf01fddcf Merge pull request #2909 from Harald-1/animations-without-transitions
7 years ago
Slava Z 126d095bdb Fix for #2655 - adding introstart...outroend events to in-out transition
7 years ago
Harald Fassler 4d0d63f722 fix #2908
7 years ago
Colin Casey a2cdcfde40 Merge branch 'master' into onmount_triggers_in_reverse_order_for_siblings
7 years ago