Commit Graph

1431 Commits (e41a8ea3aa75dba5bb5d7ee20facbf7d3fe0d36d)

Author SHA1 Message Date
Paolo Ricciuti 7183886a73
feat: attachments `fromAction` utility (#15933)
6 months ago
Paolo Ricciuti a2ddca1aa1
fix: avoid auto-parenthesis for special-keywords-only `MediaQuery` (#15937)
6 months ago
Elliott Johnson d103adff9c
feat: State declarations in class constructors (#15820)
6 months ago
Matteo Battista a5a0b49003
fix: update_branch with (anchor).data possible undefined on ios devices (#15851)
6 months ago
Paolo Ricciuti 0e22b54110
fix: add `typeParams` to `SnippetBlock` for legacy parser (#15921)
6 months ago
Paolo Ricciuti 66a21552f6
feat: allow generics on snippets (#15915)
6 months ago
Rich Harris b93a617aa8
feat: attachments (#15000)
6 months ago
ComputerGuy 7826ebaccc
fix: rewrite destructuring logic to handle iterators (#15813)
6 months ago
Paolo Ricciuti 944ef1dbce
fix: don't spread away `$$slots` from `$props` is it's used (#15849)
6 months ago
Paolo Ricciuti 2bc2ae0ddd
fix: use `transform.read` for `ownership_validator.mutation` array (#15848)
6 months ago
7nik 3bb1af9677
fix: proxify the value in assignment shorthands to the private field (#15862)
6 months ago
ComputerGuy aa041a9e65
fix: warn on bidirectional control characters, fix various issues with template expressions (#15893)
6 months ago
Rich Harris 895337cf47
fix: treat nullish expression as empty string (#15901)
6 months ago
Rich Harris eebb940b31
fix: prevent invalid BigInt calls from blowing up at compile time (#15900)
6 months ago
7nik df03af2e9d
fix: emit right error for a shadowed invalid rune (#15892)
6 months ago
Lars Francke c051a6eb1e
fix: improve error message for migration errors when slot would be renamed (#15841)
7 months ago
Simon H dfd742d532
fix: don't mark selector lists inside `:global` with multiple items as unused (#15817)
7 months ago
Rich Harris a1adf2be6b
chore: squelch test console output (#15807)
7 months ago
zeroberry b2d5787a09
fix: ensure `<svelte:boundary>` properly removes error content in production mode (#15793)
7 months ago
Paolo Ricciuti 3d80884029
fix: `update_version` after `delete` if `source` is `undefined` and `prop` in `target` (#15796)
7 months ago
7nik d8c6afde94
fix: emit error on wrong placement of the `:global` block selector (#15794)
7 months ago
ComputerGuy d0dcc0b795
fix: improve partial evaluation (#15781)
7 months ago
Paolo Ricciuti 7f473f618d
fix: allow accessing snippet in script tag (#15789)
7 months ago
Rich Harris 2db5bccde3
chore: default params for html blocks (#15778)
7 months ago
Elliott Johnson e079ac92b8
fix: Throw on unrendered snippets in `dev` (#15766)
7 months ago
Rich Harris 90563e903f
feat: add partial evaluation (#15494)
7 months ago
Simon H a051f96ed6
fix: relax `:global` selector list validation (#15762)
7 months ago
Simon H 26e574f27f
fix: ignore mutation validation for props that are not proxies in more cases (#15759)
7 months ago
Simon H bdf033e30f
fix: allow self-closing tags within math namespace (#15761)
7 months ago
Paolo Ricciuti fd0bc29973
fix: correctly validate head snippets on the server (#15755)
7 months ago
Paolo Ricciuti 69a427518d
fix: correctly validate `undefined` snippet params with default value (#15750)
7 months ago
Rich Harris 95a020acea
fix: update `state_referenced_locally` message (#15733)
7 months ago
Paolo Ricciuti 01171096ce
feat: add `css.hasGlobal` to `compile` output (#15450)
7 months ago
Paolo Ricciuti 0d233e58cf
fix: don't transform reassigned state in labeled statement in `$derived` (#15725)
7 months ago
Dominic Gannaway 9cafdd89d0
fix: improve internal_set versioning mechanic (#15724)
7 months ago
Rich Harris 6d195f0350
fix: handle hydration mismatches in await blocks (#15708)
7 months ago
Paolo Ricciuti 6c97a78049
fix: prevent ownership warnings if the fallback of a bindable is used (#15720)
7 months ago
Paolo Ricciuti 966ccfbe74
fix: set deriveds as `CLEAN` if they are assigned to (#15592)
7 months ago
7nik 708f541ad8
fix: better scope `:global()` with nesting selector `&` (#15671)
7 months ago
Simon H 98d14ece66
fix: rework binding ownership validation (#15678)
7 months ago
Dominic Gannaway 80557bbc1c
fix: ensure clearing of old values happens independent of root flushes (#15664)
8 months ago
Simon H 959f593487
fix: ignore generic type arguments while creating AST (#15659)
8 months ago
7nik e035e2838f
Fix: consider component and its snippets during css pruning (#15630)
8 months ago
Simon H 97542048df
fix: silence assignment warning on more function bindings (#15644)
8 months ago
Simon H b93d004d98
fix: ensure `undefined` class still applies scoping class, if necessary (#15643)
8 months ago
Simon H 6f8068637c
fix: support TS type assertions (#15642)
8 months ago
Paolo Ricciuti 3080c1334e
fix: prevent state runes from being called with spread (#15585)
8 months ago
Paolo Ricciuti 33d118f8a2
feat: migrate reassigned deriveds to `$derived` (#15581)
8 months ago
Rich Harris 5a8fa69dbf
feat: make deriveds writable (#15570)
8 months ago
Dominic Gannaway 1f37c02f91
fix: ensure toStore root effect is connected to correct parent effect (#15574)
8 months ago
Paolo Ricciuti ade66c6fea
fix: use `get` in constructor for deriveds (#15300)
8 months ago
Rich Harris d2e79326c7
fix: don't depend on deriveds created inside the current reaction (#15564)
8 months ago
Robert Gieseke 1a5fb8fd51
fix: Keep inlined JSDoc comments in property conversion of svelte-migrate (#15567)
8 months ago
Rich Harris 6915c12b58
feat: allow state created in deriveds/effects to be written/read locally without self-invalidation (#15553)
8 months ago
Rich Harris c436b6cdbe
fix: simplify set calls for proxyable values (#15548)
8 months ago
Paolo Ricciuti 5b9f0df8ee
fix: don't hoist listeners that access non hoistable snippets (#15534)
8 months ago
adiGuba 32ee6c1bc2
rune_invalid_arguments_length (#15516)
8 months ago
7nik 8e9a21e374
fix: correctly match `:has()`'s selector during css pruning (#15277)
8 months ago
Éric NICOLAS f227cfcea8
fix: Allow global-like pseudo-selectors refinement (#15313)
8 months ago
Dominic Gannaway 5d3aa2bda4
fix: ensure transient writes to tracked parent effects works as expected (#15506)
8 months ago
Dominic Gannaway 110d42062f
fix: on teardown, use the last known value for the signal before the set (#15469)
8 months ago
adiGuba c5912aad71
fix: null and warnings for local handlers (#15460)
9 months ago
adiGuba 30562b8780
chore: rewrite set_style() to handle directives (#15418)
9 months ago
adiGuba 2f685c1dba
fix: spreading style is not consistent with attribute (#15323)
9 months ago
Rich Harris 76f5ecfdab
fix: never deduplicate expressions in templates (#15451)
9 months ago
Rich Harris 3fc2007836
fix: run effect roots in tree order (#15446)
9 months ago
Paolo Ricciuti 181fb2ad49
fix: correctly set `is_updating` before flushing root effects (#15442)
9 months ago
Simon H ef7fd96ccf
fix: switch to our fork acorn typescript plugin (#15393)
9 months ago
Tom Adler e3dc396e01
fix: make dialog element and role interactive (#15429)
9 months ago
Rich Harris b82692af2f
feat: add `idPrefix` to `render` (#15428)
9 months ago
Paolo Ricciuti 474c588067
fix: disallow `bind:group` to snippet parameters (#15401)
9 months ago
adiGuba fe343e9c50
fix: catch error on @const tag in svelte:boundary in DEV mode (#15369)
9 months ago
adiGuba 8fb2fb70e1
fix : bug "$0 is not defined" with svelte:element and a single class with a function call (#15396)
9 months ago
adiGuba cf56973bf0
fix: class:directive not working with $$restProps (#15389)
9 months ago
Ben McCann da98c894b8
chore: switch to `tinyglobby` (#15388)
9 months ago
Paolo Ricciuti 3d59e84a65
fix: allow double hyphen css selector names (#15384)
9 months ago
Paolo Ricciuti c2ec0d9ac2
fix: allow for duplicate `var` declarations (#15382)
9 months ago
Rich Harris 51337f22bd
chore: simplify flushing (#15348)
9 months ago
Rich Harris 53d1b17ce9
remove some unused exports (#15365)
9 months ago
adiGuba d4360af751
chore: rewrite set_class() to handle directives (#15352)
9 months ago
Alexis 5a946e7905
fix: Allow @const inside #key (#15377)
9 months ago
Paolo Ricciuti d8e78f7f57
fix: `muted` reactive without `bind` and select/autofocus attributes … (#15326)
9 months ago
Ranjan Purbey 575900de88
fix: Add more checks to determine if element is non-static (#15259)
9 months ago
tomoam 073f4d8911
fix: prevent writable store value from becoming a proxy when reassigning using $-prefix (#15283)
9 months ago
Paolo Ricciuti dde8603872
fix: do not warn for `binding_property_non_reactive` if binding is a store in an each (#15318)
9 months ago
Ben McCann 87d7cc7d89
chore: add missing await in tests (#15301)
9 months ago
Paolo Ricciuti 8b977253f3
chore: fix `$props.id` tests (#15294)
9 months ago
Paolo Ricciuti b6bf735a23
fix: correctly ssr component in `svelte:head` with `$props.id()` or `css='injected'` (#15291)
9 months ago
Caique Torres 21dadfc997
fix: ignore typescript abstract methods during code transformation (#15267)
9 months ago
Paolo Ricciuti 5e52825d60
fix: take private and public into account for `constant_assignment` of derived state (#15276)
9 months ago
Paolo Ricciuti 18481386f3
fix: use `importNode` to clone templates for Firefox (#15272)
9 months ago
Simon H a3e49b6110
fix: recurse into `$derived` for ownership validation (#15166)
9 months ago
adiGuba afae274587
fix: value/checked not correctly set using spread (#15239)
9 months ago
adiGuba 85f83ec435
feat: $props.id(), a SSR-safe ID generation (#15185)
9 months ago
Dominic Gannaway b602c59a22
fix: when re-connecting unowned deriveds, remove their unowned flag (#15255)
9 months ago
Paolo Ricciuti 02788f8e62
fix: allow mutation of private derived state (#15228)
9 months ago
Simon H 4883fd2c83
fix: hydrate `href` that is part of spread attributes (#15226)
10 months ago
Dominic Gannaway f2c83e5db7
fix: ensure unowned derived dependencies are not duplicated when reac… (#15232)
10 months ago
Simon H 6f392d679b
fix: properly set `value` property of custom elements (#15206)
10 months ago
Dominic Gannaway d39d8c0675
fix: ensure tracking returns true, even if in unowned (#15214)
10 months ago
7nik 5b30fbfb0b
fix: encounter svelte:element in blocks as sibling during pruning css (#15165)
10 months ago
Dominic Gannaway 7bef5963bd
fix: ensure reactions are correctly attached for unowned deriveds (#15158)
10 months ago
Simon H 83f00ebbd6
fix: don't error on slot prop inside block inside other component (#15148)
10 months ago
Simon H b8607f8765
fix: silence a11y attribute warnings when spread attributes present (#15150)
10 months ago
7nik 522557559f
fix: do not prune selectors like `:global(.foo):has(.scoped)` (#15140)
10 months ago
Rich Harris 8e83127e1a
chore: move more code (#15133)
10 months ago
Dominic Gannaway 13a6d555c0
fix: improve derived connection to ownership graph (#15137)
10 months ago
7nik 9410ad0318
fix: correctly look for sibling elements inside blocks and components (#15106)
10 months ago
Rich Harris 5e9b29c351
chore: move context code into new module (#15132)
10 months ago
Dominic Gannaway fc4dd2dec4
fix: lazily connect derievds (in deriveds) to their parent (#15129)
10 months ago
Elliott Johnson 3f8ce21f47
fix: Add `bind:focused` to `HTMLAttributes` (#15122)
10 months ago
Rich Harris 0e0f01ee1c
fix: disallow $state/$derived in const tags (#15115)
10 months ago
Trevor N. Suarez d47f4f5908
fix: expand boolean attribute support (#15095)
10 months ago
Edoardo Cavazza d17f5c748d
fix: add check for is attribute (#15086)
10 months ago
Theodore Brown c2e805f05c
fix: consistently set value to blank string when value attribute is undefined (#15057)
10 months ago
Trevor N. Suarez eee808fb79
fix: correctly handle `novalidate` attribute casing (#15083)
10 months ago
Paolo Ricciuti 7da86ef80c
fix: don't throw for `undefined` non delegated event handlers (#15087)
10 months ago
Dominic Gannaway 09510c8c5c
fix: address regression with untrack (#15079)
10 months ago
Dominic Gannaway 2ad519542d
fix: ensure untrack correctly retains the active reaction (#15065)
10 months ago
ComputerGuy 5f6525f416
fix: omit unnecessary nullish coallescing in template expressions (#15056)
10 months ago
Rich Harris 700029bd4d
fix: more efficient template effect grouping (#15050)
10 months ago
Rich Harris 509ba568f3
fix: create fewer deriveds for concatenated strings (#15041)
10 months ago
Paolo Ricciuti 973b51d168
fix: correctly parse leading comments in function binding (#15020)
10 months ago
Dominic Gannaway 5419610833
fix: ensure resume effects are scheduled in topological order (#15012)
10 months ago
Paolo Ricciuti 360ee70dcb
fix: remove listener on `bind_current_time` teardown (#15013)
10 months ago
Paolo Ricciuti dfa97a5e64
feat: allow every children in `template` tags (#15007)
10 months ago
Dominic Gannaway dae4c5f5e1
fix: ensure signal write invalidation within effects is consistent (#14989)
10 months ago
Paolo Ricciuti 99fdc3f0ab
docs: update error message for `const_tag_invalid_placement` (#15003)
10 months ago
Paolo Ricciuti a129592e5b
feat: allow const tag inside `svelte:boundary` (#14993)
10 months ago
Paolo Ricciuti 8a1acac084
fix: never consider inert boundary effects (#14999)
10 months ago
Dominic Gannaway 36ef59df1f
chore: improve test cases (#14984)
10 months ago
Rich Harris 76ce303b0a
chore: bump esrap (#14969)
10 months ago
Paolo Ricciuti 9b6e65fbeb
fix: correctly transform `pre` with no content (#14973)
10 months ago
Paolo Ricciuti 41fb51349e
fix: store access on component destroy (#14968)
10 months ago
Dominic Gannaway dbe5818560
fix: wrap each block expression in derived to encapsulte effects (#14967)
10 months ago
Dominic Gannaway bdc02008e4
fix: reset dependency read versions after reaction execution (#14964)
10 months ago
Rich Harris c0842d1459
fix: properly add owners to function bindings (#14962)
10 months ago
Simon H 9aae463ae1
fix: silence false-positive statel value warning (#14958)
10 months ago
Simon H a2565efa37
docs: tweak "invalid assignment" compiler error message (#14955)
10 months ago
Rich Harris ce4f9722da
fix: remove bindable prop validation (#14946)
10 months ago
Rich Harris d245bab63a
feat: allow non-numeric values to be tweened by snapping immediately to new value (#14941)
10 months ago
Rich Harris adee13d98c
fix: account for min-width/height in `slide` transition (#14942)
10 months ago
Dominic Gannaway 9c20eb4815
chore: improve signal performance by reducing duplicate deps (#14945)
10 months ago
Caique Torres 48e3db21c1
fix: default values in object destructuring (#14554)
10 months ago
Simon H 8241096b06
fix: treat `inert` as a boolean attribute (#14935)
11 months ago
Matthijs c8865bb4a7
fix: make Tween with duration 0 set current to target immediately (#14937)
11 months ago
Rich Harris 77378688b9
fix: remove leading newline from `<pre>` contents (#14922)
11 months ago
Paolo Ricciuti 72a6c7263c
fix: don't throw `bind_invalid_export` if there's also a bindable prop with the same name (#14813)
11 months ago
Dominic Gannaway cd1adbc4e6
fix: ensure logic blocks keep consistent namespacing (#14817)
11 months ago
Simon H 2e2b440954
fix: apply `clsx` logic to custom element `class` attributes (#14907)
11 months ago
Paolo Ricciuti c4e9faad52
fix: correctly parse `each` with loose parser (#14887)
11 months ago
Dominic Gannaway 82db92f870
fix: ensure disconnected deriveds correctly connect again (#14899)
11 months ago
Paolo Ricciuti a91308d9db
fix: correctly highlight sources reassigned inside `trace` (#14811)
11 months ago
Dominic Gannaway 8148734812
fix: ensure unowned deriveds correctly get re-linked to the graph (#14855)
11 months ago
Rich Harris 97f3aa9151
docs: fix links in some errors/warnings (#14825)
11 months ago
Simon H 015210a1a8
feat: allow objects/arrays for class attribute (#14714)
11 months ago
Andrey Sitnik 38a3ae321f
fix: Allow to disable animation prefix (#14822)
11 months ago
Dominic Gannaway 8705d44c64
fix: ensure svg namespace for `<a>` elements is correct (#14756)
11 months ago
Simon H 88a15cd706
chore: TS fixes cleanup (#14750)
11 months ago
Taku Fukada c79b909458
fix: remove 'implements' from class declaration (#14749)
11 months ago
Rich Harris c033dae049
fix: bump esrap, prevent malformed AST (#14742)
11 months ago
Rich Harris 36a437c2f9
fix: compare array contents for equality mismatch detections, not the arrays themselves (#14738)
11 months ago
Simon H 3146e93bbb
chore: loose parser improvements (#14733)
11 months ago
Paolo Ricciuti 36d73cad55
fix: correctly highlight first rerun of `$inspect.trace` (#14734)
11 months ago
Dominic Gannaway 5483495c8d
feat: add $inspect.trace rune (#14290)
11 months ago
Simon H f0af633263
feat: loose parser mode (#14691)
11 months ago
Paolo Ricciuti 887ce6ab4b
fix: don't add parenthesis to media query if already present (#14699)
11 months ago
Dominic Gannaway 2e0dcd7872
fix: ensure if block paths retain correct template namespacing (#14685)
11 months ago
Yang Pan 88c2d6ea36
fix: Allow unquoted slash in attributes (#14615)
11 months ago
Paolo Ricciuti 5e8d6edcf8
fix: make `defaultValue` work with spread (#14640)
11 months ago
Rich Harris ef8bd6adeb
fix: better handle hydration of script/style elements (alternative) (#14683)
11 months ago
Dominic Gannaway 8ba1b9ddd0
fix: avoid mutation validation for invalidate_inner_signals (#14688)
11 months ago
Paolo Ricciuti edfc0a9c6a
fix: correctly handle ssr for `reactivity/window` (#14681)
11 months ago
Simon H 68d266e0f8
fix: remove overzealous `reactive_declaration_non_reactive_property` warning (#14663)
11 months ago
Paolo Ricciuti ea6fd95332
fix: account for global block in `is_empty` (#14677)
11 months ago
Simon H a2539cfe1f
fix: correctly set custom element props (#14508)
11 months ago
Dominic Gannaway fb879dd702
fix: ensure $state.snapshot clones holey arrays correctly (#14657)
11 months ago
Paolo Ricciuti ab1f7f437e
fix: transform everything that is not a selector inside `:global` (#14577)
11 months ago
Simon H 88184cd769
fix: don't emit assignment warnings for bindings (#14651)
11 months ago
Dominic Gannaway 66e30d3288
fix: ensure snippet hoisting works in the correct scope (#14642)
11 months ago
Simon H cfc1fb7de8
chore: provide links to documentation for errors/warnings (#14629)
11 months ago
Paolo Ricciuti 11764632b9
fix: deconflict `get_name` for literal class properties (#14607)
11 months ago
Paolo Ricciuti 38171f60ea
fix: allow exports with source from script module even if no bind is present (#14620)
11 months ago
Paolo Ricciuti c66bf178aa
fix: mark subtree dynamic for bind with sequence expressions (#14626)
11 months ago
Dominic Gannaway 5771b455c0
feat: add support for bind getter/setters (#14307)
12 months ago
Rich Harris 1a0b822f48
fix: always run `if` block code the first time (#14597)
12 months ago
Simon H ca67aa1b34
fix: ensure bindings always take precedence over spreads (#14575)
12 months ago
Simon H 0a9890bb1e
feat: provide `MediaQuery` / `prefersReducedMotion` (#14422)
12 months ago
Simon H 73b3cf72d0
fix: treat `undefined` and `null` the same for the initial input value (#14562)
12 months ago
Simon H a151ae1804
fix: handle static form values in combination with default values (#14555)
12 months ago
Simon H a57e747cbb
feat: default values for form elements (#14289)
12 months ago
Simon H 86ae349bcc
fix: better error messages for invalid HTML trees (#14445)
12 months ago
adiGuba d511104ee0
chore: make test more robust (#14550)
12 months ago
Paolo Ricciuti 1f973b1770
fix: remove spreaded event handlers when they become nullish (#14546)
12 months ago
Rich Harris fe0bd299a5
fix: proxify values when assigning using `||=`, `&&=` and `??=` operators (#14273)
12 months ago
Dominic Gannaway b5588523fc
fix: capture infinite_loop_guard in error boundary (#14534)
12 months ago
Paolo Ricciuti 39275684e5
fix: don't throw with nullish actions (#13559)
12 months ago
Rich Harris a5de086f95
feat: turn `reactive_declaration_non_reactive_property` into a runtime warning (#14192)
12 months ago
Rich Harris aac929d503
fix: leave update expressions untransformed unless a transformer is provided (#14507)
12 months ago
Dominic Gannaway 94694a5e63
chore: add test for binding event reactive context (#14522)
12 months ago
Dominic Gannaway 4d2f2fb8e6
feat: allow snippets to be exported from module scripts (#14315)
12 months ago
Simon H b72fd2b3cd
fix: ignore TypeScript generics on variables (#14509)
12 months ago
Simon H a283083751
feat: each without as (#14396)
12 months ago
Rich Harris ef640c3b46
fix: render attributes during SSR regardless of case (#14492)
12 months ago
Rich Harris 1f25bd4f47
fix: correctly prune CSS for elements inside snippets (#14494)
12 months ago
ComputerGuy 945b625e95
fix: Prevent `$state` `bigint`s incrementing and decrementing from throwing (#14485)
12 months ago
Rich Harris fe15ad4ae8
fix: treat spread elements the same as call expressions (#14488)
12 months ago
Dominic Gannaway ed7ebcde1e
feat: add error boundaries (#14211)
12 months ago
Ben McCann 4c88431228
fix: upgrade to esm-env 1.2.1 to fix issues with non-Vite setups (#14470)
12 months ago
Rich Harris a60e837e44
fix: prevent infinite loops when pruning CSS (#14474)
12 months ago
Simon H d62e7bdbe1
fix: ignore text and expressions outside the template when validating HTML (#14468)
12 months ago
Rich Harris c4ac0e01e7
fix: better account for render tags when pruning CSS (#14456)
12 months ago
Simon H d6fc176fcb
fix: strip exported TypeScript function overloads (#14458)
12 months ago
Paolo Ricciuti 19d80ad63c
fix: css pruning producing invalid css (#14448)
12 months ago
Dominic Gannaway 45417a36ce
fix: addresses memory leak when creating deriveds inside untrack (#14443)
12 months ago
Rich Harris a6ad5af0bb
fix: disregard TypeScript nodes when pruning CSS (#14446)
12 months ago
Simon H 3fa08d565c
fix: show `:then` block for `null` value (#14440)
12 months ago
Simon H 9e9fb2463c
fix: relax parent validation (#14442)
12 months ago
Dominic Gannaway 63484aff9b
fix: ensure last empty text node correctly hydrates (#14425)
12 months ago
Rich Harris 37e6c7f26b
fix: correctly prune key/each blocks (#14403)
1 year ago
Dominic Gannaway dd9abea2a1
fix: ensure spread attribute events are attached synchronously (#14387)
1 year ago
Paolo Ricciuti 520055cf5c
fix: always use set for private identifiers (#14378)
1 year ago
Dominic Gannaway 9d12fd1a01
chore: remove template expression inlining (#14374)
1 year ago
Dominic Gannaway 811c8d32eb
fix: correctly handle srcObject attribute on video elements (#14369)
1 year ago
Simon H 4dfa0e31fe
fix: tighten up `export default` validation (#14368)
1 year ago
Paolo Ricciuti 32a1453805
fix: include method definitions in class private fields (#14365)
1 year ago
Dominic Gannaway 747d40833b
fix: ensure is_pure takes into account runes (#14333)
1 year ago
Dominic Gannaway 741106879b
fix: ensure internal cloning can work circular values (#14347)
1 year ago
Dominic Gannaway 6e8267f462
fix: correctly update dynamic member expressions (#14359)
1 year ago
Santiago Cézar 012166ec3c
fix: convert input value to number on hydration (#14349)
1 year ago
Dominic Gannaway 1c454c236e
fix: ensure dynamic call expressions correctly generate output (#14345)
1 year ago
Dominic Gannaway 3a69b4c415
fix: ensure inline object literals are correctly serialised (#14325)
1 year ago
Paolo Ricciuti 1f0700f5c5
fix: mark subtree dynamic for img with loading attribute (#14317)
1 year ago
Simon H efc65d4e0c
fix: mark pseudo classes nested inside `:not` as used (#14303)
1 year ago
Simon H e379319626
fix: ensure props passed to components via mount are updateable (#14210)
1 year ago
Dominic Gannaway 7fd3774015
fix: disallow invalid attributes for `<svelte:window>` and `<svelte:document>` (#14228)
1 year ago
Paolo Ricciuti 8a8e6f70e8
fix: avoid marking subtree as dynamic for inlined attributes (#14269)
1 year ago
Simon H 45fa678242
fix: account for `:has(...)` as part of `:root` (#14229)
1 year ago
Rich Harris ac9b7de058
fix: use strict equality for key block comparisons in runes mode (#14285)
1 year ago
Torsten Dittmann 033061842d
fix: named slots with reserved keywords during migration (#14278)
1 year ago
Simon H 36ece1c381
fix: don't wrap pseudo classes inside `:global(...)` with another `:global(...)` (#14267)
1 year ago
Paolo Ricciuti 0fa43e216d
fix: consider static attributes that are inlined in the template (#14249)
1 year ago
Paolo Ricciuti 653f4accbd
fix: migration script messing with attributes (#14260)
1 year ago
Paolo Ricciuti ae9f53a3bd
fix: account for mutations in script module in ownership check (#14253)
1 year ago
Paolo Ricciuti 7bc94b9984
fix: do not treat reassigned synthetic binds as state in runes mode (#14236)
1 year ago
Paolo Ricciuti d207666ec3
fix: consider img with loading attribute not static (#14237)
1 year ago
Paolo Ricciuti f0c2d4c698
fix: account for shadowing children slot during migration (#14224)
1 year ago
Simon H 31e6bbb646
fix: add `lang="ts"` attribute during migration if needed (#14222)
1 year ago
Paolo Ricciuti 438de04fb2
fix: add migration task when there's a variable named that would conflict with a rune (#14216)
1 year ago
Simon H 870745fc53
fix: handle sibling combinators within `:has` (#14213)
1 year ago