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>
4 months ago
github-actions[bot]
2e27c5d8aa
Version Packages ( #16010 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 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>
4 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>
4 months ago
github-actions[bot]
6e2ba643c5
Version Packages ( #16002 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 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>
4 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>
4 months ago
github-actions[bot]
add0c6a987
Version Packages ( #15998 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
Rich Harris
a38ea026c7
fix: don't mark deriveds as clean if updating during teardown ( #15997 )
4 months ago
7nik
4875cd6e67
fix: correctly parse escaped unicode characters in css selector ( #15976 )
...
Co-authored-by: 7nik <kifiranet@gmail.com>
4 months ago
Rich Harris
4c21f66f27
chore: add `@since` tag to fragments option ( #15990 )
4 months ago
venus
6928aaca06
feat: enable TS autocomplete for Svelte HTML element definitions ( #15972 )
...
Covers #15971 .
adds autocomplete support to SvelteHTMLElements while preserving its functionality that key can be any string using string & {} TS trick.
4 months ago
github-actions[bot]
db7b25b678
Version Packages ( #15989 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 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>
4 months ago
github-actions[bot]
9250c9cb36
Version Packages ( #15987 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 months ago
Paolo Ricciuti
d1141a19b5
feat: functional template generation ( #15538 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 months ago
github-actions[bot]
5a840982a7
Version Packages ( #15978 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4 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
Paolo Ricciuti
b7b393d50f
chore: watch for messages changes in dev generate script ( #15950 )
...
* chore: watch for messages changes in dev generate script
* no need for this to be async
* tweak
* guard
* only create one timeout
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
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
pengqiseven
c7e4b8e765
chore: remove redundant word in comment ( #15942 )
...
Signed-off-by: pengqiseven <912170095@qq.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
92cdeadadf
chore: ts-ignore Math.f16round ( #15902 )
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
8a351944a3
chore: tweak flushSync implementation ( #15898 )
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>
5 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
5 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
Rich Harris
bfb969a6cc
chore: simplify `process_effects` ( #15809 )
5 months ago
Rich Harris
a1adf2be6b
chore: squelch test console output ( #15807 )
...
* squelch some console spam
* another
* more
* more
* more
* last one
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
4f8708a824
chore: use pkg.imports for builder.js ( #15785 )
...
* chore: use pkg.imports for builder.js
* use pkg.imports instead of tsconfig
* #client/constants
5 months ago
Rich Harris
262b281c91
docs: add inline documentation for svelte/reactivity ( #15722 )
...
* docs: add inline documentation for svelte/reactivity
* map
* set
* more
* dedupe
* tweak
* typo
* Apply suggestions from code review
Co-authored-by: bytecodemanipulator <bytecodemanipulator@gmail.com>
---------
Co-authored-by: bytecodemanipulator <bytecodemanipulator@gmail.com>
5 months ago
Rich Harris
fc61262b61
chore: delete some unused code ( #15783 )
...
* tidy up
* more
* more
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
Rich Harris
80f62b5b10
chore: use template_effect for html tags ( #15779 )
5 months ago
Rich Harris
19836e29f2
chore: add log_effect_tree utility ( #15780 )
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
Simon H
a051f96ed6
fix: relax `:global` selector list validation ( #15762 )
...
We have to allow `:global x, :global y` selector lists because CSS preprocessors might generate that from `:global { x, y {...} }`
5 months ago
github-actions[bot]
7aed6beeaa
Version Packages ( #15756 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
5 months ago
Simon H
26e574f27f
fix: ignore mutation validation for props that are not proxies in more cases ( #15759 )
...
This fixes an off-by-one error - we did not bail if the top level of the prop wasn't a state already. Fixes #15727
5 months ago
Simon H
bdf033e30f
fix: allow self-closing tags within math namespace ( #15761 )
...
fixes #15757
5 months ago
Paolo Ricciuti
fd0bc29973
fix: correctly validate head snippets on the server ( #15755 )
...
* fix: correctly validate head snippets on the server
* put the logic in copy_payload so it gets treeshaken in most cases
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 months ago
github-actions[bot]
3153384928
Version Packages ( #15751 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
5 months ago
Paolo Ricciuti
69a427518d
fix: correctly validate `undefined` snippet params with default value ( #15750 )
...
* fix: correctly validate `undefined` snippet params with default value
* use arguments
* unused
* drive-by
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 months ago
Rich Harris
3d6da41b1d
chore: remove some unused code ( #15747 )
5 months ago
github-actions[bot]
fd57eb362d
Version Packages ( #15737 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
5 months ago
Rich Harris
95a020acea
fix: update `state_referenced_locally` message ( #15733 )
...
* fix: update state_referenced_locally message
* changeset
* update message
5 months ago
github-actions[bot]
02448a9acd
Version Packages ( #15731 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
5 months ago
Paolo Ricciuti
01171096ce
feat: add `css.hasGlobal` to `compile` output ( #15450 )
...
* feat: add `hasUnscopedGlobalCss` to `compile` metadata
* chore: rename to `has_unscoped_global`
* fix: handle `-global` keyframes
* chore: guard the check if the value is already true
* update types
* add tests
* tweak
* tweak
* regenerate types
* Update .changeset/plenty-hotels-mix.md
* fix test, add failing test
* fix
* fix
* fix jsdoc
* unused
* fix
* lint
* rename
* rename
* reduce indirection
* tidy up
* revert
* tweak
* lint
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 months ago
ComputerGuy
ec1d85c89e
fix: add snippet argument validation in dev ( #15521 )
...
* init
* fix
* make `Payload` a class
* doh
* lint
* tweak changeset
* fix
* only export things that should be available on $
* tweak message
* fix
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 months ago