Paolo Ricciuti
8faa178cd7
fix: visit expression when destructuring state declarations ( #16081 )
3 months ago
github-actions[bot]
370b18f278
Version Packages ( #16094 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Rich Harris
2d2772a4a1
fix: invoke parent boundary of deriveds that throw ( #16091 )
...
* remove unused handle_error arguments
* move error handling code into separate module
* tidy up
* simplify
* remove unnecessary handle_error invocation
* WIP
* WIP
* WIP
* note to self
* WIP
* WIP
* unused
* WIP
* turns out we need this
* fix
* all tests passing
* unused
* unused
* tidy up
* unused
* unused
* tweak
* WIP
* tweak
* asked and answered
* tweak
* unused
* changeset
* lint
3 months ago
github-actions[bot]
335779dcf5
Version Packages ( #16064 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Paolo Ricciuti
1b5f6af276
fix: destructuring snippet arguments ( #16068 )
3 months ago
Rich Harris
b851b54e9d
Revert "feat: enable TS autocomplete for Svelte HTML element definitions" ( #16063 )
...
* Revert "feat: enable TS autocomplete for Svelte HTML element definitions (#15…"
This reverts commit 6928aaca06
.
* changeset
3 months ago
github-actions[bot]
194f5b34fd
Version Packages ( #16059 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
ComputerGuy
6a3066519c
fix: avoid recursion error in `EachBlock` visitor ( #16058 )
3 months ago
github-actions[bot]
8175091423
Version Packages ( #16054 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
ComputerGuy
b5fcd112c6
fix: correctly transform reassignments to class fields in SSR mode ( #16051 )
...
* fix: correctly transform reassignments to class fields in SSR mode
* add test, fix more stuff
* fix
3 months ago
github-actions[bot]
e5d0cd2eb4
Version Packages ( #16045 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Rich Harris
54990f2329
fix: use local mutable sources for props in legacy mode in case they are indirectly invalidated ( #16038 )
...
* fix: use local mutable sources for props in legacy mode in case they are indirectly invalidated
* rename test
* add another test
* fix
* more conservative
* Update .changeset/orange-tips-pull.md
* skip work in runes mode
* remove comment
* revert whitespace change
3 months ago
github-actions[bot]
2f90dd8246
Version Packages ( #16037 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Ray Thurn Void
ff72dd27bc
fix: transitions might render animated elements without animation styles applied for the duration of some rendering frames when they start ( #16035 )
...
* fix: transitions might render animated elements without animation styles applied for the duration of some rendering frames when they starts
* add changeset
* Apply suggestions from code review
---------
Co-authored-by: Rich Harris <hello@rich-harris.dev>
3 months ago
github-actions[bot]
b5b814c7de
Version Packages ( #16034 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Rich Harris
23d42fb8ac
fix: put expressions in effects unless known to be static ( #15792 )
...
* fix: put expressions in effects unless known to be static
* update test
* handle cycles
* fix
3 months ago
github-actions[bot]
7a8cb378a1
Version Packages ( #16033 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Paolo Ricciuti
c9ce4f439f
fix: only `select_option` if `'value'` is in `next` ( #16032 )
3 months ago
github-actions[bot]
0d67ff4865
Version Packages ( #16029 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Paolo Ricciuti
3ea2dbc6a1
fix: `bind:value` to select with stores ( #16028 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
github-actions[bot]
7433cb98e5
Version Packages ( #16023 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Paolo Ricciuti
6351288c7b
fix: falsy attachments on components ( #16021 )
...
* fix: falsy attachments on components
* skip the noop if known to be a function
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
Paolo Ricciuti
40e0e33883
feat: ssr select value ( #16017 )
...
* feat: ssr select value
* fix: adjust test output
* minor aesthetic OCD tweak - the normalizer takes care of this
* fix: handle implicit values
* chore: implicit value test
* fix: deal with spreads on select AND option
* fix: spreading
* chore: add test for cross component
* fix: test
* chore: add failing test
* fix: runtime valueless option selection
* tweak
* fix: snapshots
* fix (options are erroneously being marked as valueless
* simplify a bit (pass callback direct to valueless_option)
* tweak
* tweak ("execute the child" is the sort of thing that gets you visited by the FBI)
* lint
* changeset
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
github-actions[bot]
b2fa84702d
Version Packages ( #16020 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Rich Harris
b8d15135cf
fix: stable attachments ( #15961 )
...
* fix: stable attachments
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* fix
* unused
* unused
* unused
* changeset
* ugh
* remove nonsensical comment, this is unused in spread
* rename
* Update packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
3 months ago
Rich Harris
81a34aa134
fix: handle derived destructured iterators ( #16015 )
...
* revert #15813
* failing test
* tweak
* tweak
* WIP
* WIP
* WIP
* WIP
* WIP
* working
* tweak
* changeset
* tweak description
* Update packages/svelte/src/compiler/utils/ast.js
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
3 months ago
github-actions[bot]
2e27c5d8aa
Version Packages ( #16010 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Paolo Ricciuti
37488fa65c
fix: warn when using rest or identifier in custom elements without props option ( #16003 )
...
* fix: warn when using rest or identifier in custom elements without props option
* chore: update message
* tweak message
* update tests
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
Hyunbin Seo
4e3ff0944d
fix: narrow `defaultChecked` to boolean ( #16009 )
...
* fix: narrow `defaultChecked` to boolean
* Update .changeset/mean-taxis-yell.md
---------
Co-authored-by: Rich Harris <hello@rich-harris.dev>
3 months ago
github-actions[bot]
6e2ba643c5
Version Packages ( #16002 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
7nik
94a2bca0e3
fix: cleanup event handlers on media elements ( #16005 )
...
Co-authored-by: 7nik <kifiranet@gmail.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
3 months ago
Paolo Ricciuti
fbb6444fd8
fix: allow using typescript in `customElement.extend` option ( #16001 )
...
Closes #15372
---------
Co-authored-by: Dominik G. <dominik.goepel@gmx.de>
3 months ago
github-actions[bot]
add0c6a987
Version Packages ( #15998 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Rich Harris
a38ea026c7
fix: don't mark deriveds as clean if updating during teardown ( #15997 )
3 months ago
7nik
4875cd6e67
fix: correctly parse escaped unicode characters in css selector ( #15976 )
...
Co-authored-by: 7nik <kifiranet@gmail.com>
3 months ago
github-actions[bot]
db7b25b678
Version Packages ( #15989 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Simon H
ac046df40a
fix: make deriveds on the server lazy again ( #15964 )
...
* fix: make deriveds on the server lazy again
Fixes a regression introduced in #15820 : deriveds need to be lazily called on the server, too, since they can close over variables only later defined
Fixes #15960
* fix: handle basic assignment of deriveds on the server
* fix: use `build_assignment_value` for deriveds assignments
* use once
* allow writing to public deriveds on server
---------
Co-authored-by: paoloricciuti <ricciutipaolo@gmail.com>
3 months ago
github-actions[bot]
9250c9cb36
Version Packages ( #15987 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Paolo Ricciuti
d1141a19b5
feat: functional template generation ( #15538 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
github-actions[bot]
5a840982a7
Version Packages ( #15978 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Rich Harris
50de8c5317
fix: attach __svelte_meta correctly to elements following a CSS wrapper ( #15982 )
...
* fix: attach __svelte_meta correctly to elements following a CSS wrapper
* Update .changeset/nervous-hotels-clean.md
4 months ago
Rich Harris
c03ea47e4e
chore: simplify `<pre>` cleaning ( #15980 )
4 months ago
Paolo Ricciuti
4e72b7d28b
fix: import `untrack` directly from client in `svelte/attachments` ( #15974 )
4 months ago
github-actions[bot]
ef48d35a15
Version Packages ( #15967 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
Gautier Ben Aïm
de8094910d
fix(14815): warn when an invalid <select multiple> value is given ( #14816 )
...
* fix(14815): warn when an invalid <select multiple> value is given
* Create nervous-stingrays-travel.md
4 months ago
github-actions[bot]
21d5448ab7
Version Packages ( #15959 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
Rich Harris
93443f9316
fix: only re-run directly applied attachment if it changed ( #15962 )
...
* fix: only re-run directly applied attachment if it changed
* add note
* one down
* fix
* Revert "one down"
This reverts commit 9f6c4cf848
.
4 months ago
7nik
c66a43940a
feat: warn on implicitly closed tags ( #15932 )
...
* warn on implicitly closed tags
* lint
* changeset
* separate tests for parent/sibling case
* account for attributes in opening tag
* tweak
* update message
---------
Co-authored-by: 7nik <kifiranet@gmail.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 months ago
Paolo Ricciuti
7183886a73
feat: attachments `fromAction` utility ( #15933 )
...
* feat: attachments `fromAction` utility
* fix: typing of the utility
Co-authored-by: Aidan Bleser <117548273+ieedan@users.noreply.github.com>
* simplify implementation - create action first, then only create update/destroy effects if necessary
* add since
* regenerate
* remove FromAction interface
* overload
* fix: use typedef instead of exported interface
* get rid of the arg0, arg1 stuff
* oops
* god i hate overloads
* defer to the reference documentation
* damn ur weird typescript
* gah
---------
Co-authored-by: Aidan Bleser <117548273+ieedan@users.noreply.github.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 months ago
github-actions[bot]
a96d01b918
Version Packages ( #15956 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
Paolo Ricciuti
a2ddca1aa1
fix: avoid auto-parenthesis for special-keywords-only `MediaQuery` ( #15937 )
...
* fix: avoid auto-parenthesis for special keywords only `MediaQuery`
* chore: update changeset
* chore: i has english knowledge
* fix: fix media queries with commas
4 months ago
github-actions[bot]
21bf947ca8
Version Packages ( #15947 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
Elliott Johnson
d103adff9c
feat: State declarations in class constructors ( #15820 )
...
* feat: State declarations in class constructors
* feat: Analysis phase
* misc
* feat: client
* improvements
* feat: It is now at least backwards compatible. though the new stuff may still be wrong
* feat: It works I think?
* final cleanup??
* tests
* test for better types
* changeset
* rename functions (the function doesn't test call-expression-ness)
* small readability tweak
* failing test
* fix
* disallow computed state fields
* tweak message to better accommodate the case in which state is declared after a regular property
* failing test
* wildly confusing to have so many things called 'class analysis' - rename the transform-phrase ones to transformers
* missed a spot
* and another
* store analysis for use during transformation
* move code to where it is used
* do the analysis upfront, it's way simpler
* skip failing test for now
* simplify
* get rid of the class
* on second thoughts
* reduce indirection
* make analysis available at transform time
* WIP
* WIP
* WIP
* fix
* remove unused stuff
* revert snapshot tests
* unused
* note to self
* fix
* unused
* unused
* remove some unused stuff
* unused
* lint, tidy up
* reuse helper
* tweak
* simplify/DRY
* unused
* tweak
* unused
* more
* tweak
* tweak
* fix proxying logic
* tweak
* tweak
* adjust message to accommodate more cases
* unskip and fix test
* fix
* move
* revert unneeded drive-by change
* fix
* fix
* update docs
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 months ago
Mateusz Kadlubowski
b2ce3fa85e
(fix/ast types) fix: Add missing `AttachTag` in `Tag` union type inside the `AST` namespace from `"svelte/compiler"` ( #15946 )
4 months ago
github-actions[bot]
c365634ace
Version Packages ( #15931 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
Paolo Ricciuti
60b22ab933
fix: falsy attachments types ( #15939 )
4 months ago
Matteo Battista
a5a0b49003
fix: update_branch with (anchor).data possible undefined on ios devices ( #15851 )
...
* fix: update_branch with (anchor).data possible undefined
* error sooner
* add tests
* changeset
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 months ago
github-actions[bot]
271fd33634
Version Packages ( #15922 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
Paolo Ricciuti
0e22b54110
fix: add `typeParams` to `SnippetBlock` for legacy parser ( #15921 )
4 months ago
github-actions[bot]
e2a13a3beb
Version Packages ( #15916 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
Paolo Ricciuti
66a21552f6
feat: allow generics on snippets ( #15915 )
...
* feat: allow generics on snippets
* chore: fix lint
* reuse bracket matching logic
* remove some unused stuff
* chore: update name, test and types
* chore: fix lint
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 months ago
github-actions[bot]
51b858dfd1
Version Packages ( #15914 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
Rich Harris
b93a617aa8
feat: attachments ( #15000 )
...
* parse attachments
* basic attachments working
* working
* rename to attach
* fix
* restrict which symbols are recognised as attachment keys
* allow cleanup to be returned directly
* changeset
* fix
* lint
* remove createAttachmentKey/isAttachmentKey
* fix spreading of symbol properties onto component
* types
* fix
* update name
* reserve ability to use sequence expressions in future
* Update packages/svelte/src/internal/client/dom/elements/attachments.js
Co-authored-by: Leonidaz <lbarenblit@gmail.com>
* actually let's do this instead
* expose createAttachmentKey
* make room for `@attach` docs
* add docs
* failing test
* fix
* lock down
* add missing reference docs
* prevent conflicts
* update docs
* regenerate
* fix link
* add Attachment interface
* beef up test
* regenerate
* tweak types
* fix
---------
Co-authored-by: Leonidaz <lbarenblit@gmail.com>
4 months ago
github-actions[bot]
7636031b0d
Version Packages ( #15905 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
ComputerGuy
7826ebaccc
fix: rewrite destructuring logic to handle iterators ( #15813 )
...
* fix: wrap array destructuring in spread to avoid iterator edge case
* spread at `tmp` declaration
* completely rewrite destructuring handling
* only wrap in iife if necessary
* oops
* minor style tweaks
* separate visitors
* tweak
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 months ago
Ryan Atkinson
d4fb9f4b10
fix: remove unncessary guards that require CSP privilege when removing event attributes ( #15846 )
...
* fix: remove unncessary guards that cause CSP violations when removing event attributes
* add changeset
4 months ago
github-actions[bot]
fbb1aecc2d
Version Packages ( #15904 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
Paolo Ricciuti
944ef1dbce
fix: don't spread away `$$slots` from `$props` is it's used ( #15849 )
...
* fix: don't spread away `$$slots` from `$props` is it's used
* beef up test
* fix
* Update .changeset/ten-plants-carry.md
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 months ago
Paolo Ricciuti
2bc2ae0ddd
fix: use `transform.read` for `ownership_validator.mutation` array ( #15848 )
4 months ago
github-actions[bot]
77bdf249ff
Version Packages ( #15903 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
7nik
3bb1af9677
fix: proxify the value in assignment shorthands to the private field ( #15862 )
...
Co-authored-by: 7nik <kifiranet@gmail.com>
4 months ago
7nik
326b32932c
fix: more frequently update `bind:buffered` to actual value ( #15874 )
...
* fix: more frequently update `bind:buffered` to actual value
* small tweak
---------
Co-authored-by: 7nik <kifiranet@gmail.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 months ago
github-actions[bot]
f2796dda0e
Version Packages ( #15899 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
ComputerGuy
aa041a9e65
fix: warn on bidirectional control characters, fix various issues with template expressions ( #15893 )
...
* fix: warn on bidirectional control characters
* check evaluated values as well, fix minor issue
* fix failing tests
* lint
* fix
* shrink warning code
* use validator test suite rather than snapshot (which should be used sparingly as it creates more git noise)
* show ranges during parsing, and warn on all occurrences rather than just the first
* fix lint
* move check into Text visitor so it happens in expected order
* unused
* add svelte-ignore test
* ignore control characters following a svelte-ignore comment
* tweak message
* no need to test evaluations, since we are already testing the literals that they are composed of
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 months ago
Rich Harris
895337cf47
fix: treat nullish expression as empty string ( #15901 )
...
* fix: treat nullish expression as empty string
* fix
4 months ago
Rich Harris
eebb940b31
fix: prevent invalid BigInt calls from blowing up at compile time ( #15900 )
4 months ago
7nik
df03af2e9d
fix: emit right error for a shadowed invalid rune ( #15892 )
...
Co-authored-by: 7nik <kifiranet@gmail.com>
4 months ago
github-actions[bot]
9e49be4d30
Version Packages ( #15825 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
Rich Harris
b6164128b3
chore: avoid microtasks when flushing sync (alternative) ( #15895 )
...
* chore: avoid microtasks when flushing sync
* chore: avoid microtasks when flushing sync
* chore: avoid microtasks when flushing sync
* tweak
* WIP
* another
* more
* tweak
* fix
* fix
* belt and braces
* Revert "belt and braces"
This reverts commit f8de1cf47a
.
---------
Co-authored-by: Dominic Gannaway <trueadm@users.noreply.github.com>
4 months ago
Lars Francke
c051a6eb1e
fix: improve error message for migration errors when slot would be renamed ( #15841 )
...
Co-authored-by: Paolo Ricciuti <ricciutipaolo@gmail.com>
4 months ago
Simon H
1c2fc21023
fix: allow characters in the supplementary special-purpose plane ( #15823 )
...
fixes #15821
Source: https://en.wikipedia.org/wiki/Plane_(Unicode)#Supplementary_Special-purpose_Plane
4 months ago
github-actions[bot]
018996c167
Version Packages ( #15818 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
5 months ago
Simon H
dfd742d532
fix: don't mark selector lists inside `:global` with multiple items as unused ( #15817 )
...
Regression from #15762
Fixes #15816
5 months ago
github-actions[bot]
e40e9eb1a4
Version Packages ( #15800 )
...
* Version Packages
* Update packages/svelte/CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 months ago
zeroberry
b2d5787a09
fix: ensure `<svelte:boundary>` properly removes error content in production mode ( #15793 )
...
* fix: ensure <svelte:boundary> properly removes error content in production mode
* add changeset
5 months ago
Paolo Ricciuti
3d80884029
fix: `update_version` after `delete` if `source` is `undefined` and `prop` in `target` ( #15796 )
...
* fix: `update_version` after `delete` if `source` is `undefined` and `prop` in `target`
* chore: remove submodule
* tweak test
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 months ago
7nik
d8c6afde94
fix: emit error on wrong placement of the `:global` block selector ( #15794 )
...
Co-authored-by: 7nik <kifiranet@gmail.com>
5 months ago
github-actions[bot]
6fe5977b3d
Version Packages ( #15798 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
5 months ago
ComputerGuy
d0dcc0b795
fix: improve partial evaluation ( #15781 )
...
* init
* remove console log
* Update packages/svelte/src/compiler/phases/scope.js
* fix each indices
* dedupe
* Update packages/svelte/src/compiler/phases/scope.js
* always break
* fix formatting
* Apply suggestions from code review
* compactify
* compactify
* reuse values
* add more globals, template literals, try functions and (some) member expressions
* remove console logs
* remove function handling, tweak failing test
* changeset
* try putting static stuff in the template
* nevermind
* unused
* simplify
* Update packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js
* YAGNI
* simplify and fix (should use cooked, not raw)
* unused
* changeset
---------
Co-authored-by: Rich Harris <hello@rich-harris.dev>
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 months ago
github-actions[bot]
5b7af5e289
Version Packages ( #15790 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
5 months ago
Paolo Ricciuti
7f473f618d
fix: allow accessing snippet in script tag ( #15789 )
...
* fix: allow accessing snippet in script tag
* branches are identical
* update test
* rename test
* fix validation (we were mutating the wrong array)
* tidy up
* remove submodule
* changeset
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 months ago
github-actions[bot]
707682eaa9
Version Packages ( #15788 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
5 months ago
Rich Harris
f72bb78651
chore: add missing changeset for #15785 ( #15787 )
5 months ago
github-actions[bot]
189bd4788e
Version Packages ( #15772 )
...
* Version Packages
* Update packages/svelte/CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 months ago
Thor Galle
3d9a9ab32d
docs: correct the suggested type for custom events without detail (Svelte 4) ( #15763 )
...
* docs: correct the suggested type for custom events without detail
* docs: generate fixed types for the Svelte 4 event dispatcher
5 months ago
Rich Harris
2db5bccde3
chore: default params for html blocks ( #15778 )
...
* chore: default params for html blocks
* fix
* changeset
* update test
5 months ago
Simon H
ea4843c5ad
fix: avoid unnecessary read version increments ( #15777 )
...
Fixes #15262
5 months ago
Elliott Johnson
e079ac92b8
fix: Throw on unrendered snippets in `dev` ( #15766 )
5 months ago
github-actions[bot]
6a7e53feaa
Version Packages ( #15764 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
5 months ago
Rich Harris
90563e903f
feat: add partial evaluation ( #15494 )
...
* feat: add partial evaluation
* fix
* tweak
* more
* more
* evaluate stuff in template
* update test
* SSR
* unused
* changeset
* remove TODO
* Apply suggestions from code review
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* allow unknown operators
* use blocks and block-scoping in switch statement
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
5 months ago