-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
fix: only warn on context="module" in runes mode (#13332)
* fix: only warn on context="module" in runes mode * wow
- svelte@5.15.0
- svelte@5.14.6
- svelte@5.14.5
- svelte@5.14.4
- svelte@5.14.3
- svelte@5.14.2
- svelte@5.14.1
- svelte@5.14.0
- svelte@5.13.0
- svelte@5.12.0
- svelte@5.11.3
- svelte@5.11.2
- svelte@5.11.1
- svelte@5.11.0
- svelte@5.10.1
- svelte@5.10.0
- svelte@5.9.1
- svelte@5.9.0
- svelte@5.8.1
- svelte@5.8.0
- svelte@5.7.1
- svelte@5.7.0
- svelte@5.6.2
- svelte@5.6.1
- svelte@5.6.0
- svelte@5.5.4
- svelte@5.5.3
- svelte@5.5.2
- svelte@5.5.0
- svelte@5.4.0
- svelte@5.3.2
- svelte@5.3.1
- svelte@5.3.0
- svelte@5.2.12
- svelte@5.2.11
- svelte@5.2.10
- svelte@5.2.9
- svelte@5.2.8
- svelte@5.2.7
- svelte@5.2.6
- svelte@5.2.5
- svelte@5.2.4
- svelte@5.2.3
- svelte@5.2.2
- svelte@5.2.1
- svelte@5.2.0
- svelte@5.1.17
- svelte@5.1.16
- svelte@5.1.15
- svelte@5.1.14
- svelte@5.1.13
- svelte@5.1.12
- svelte@5.1.11
- svelte@5.1.10
- svelte@5.1.9
- svelte@5.1.8
- svelte@5.1.7
- svelte@5.1.6
- svelte@5.1.5
- svelte@5.1.4
- svelte@5.1.3
- svelte@5.1.2
- svelte@5.1.1
- svelte@5.1.0
- svelte@5.0.5
- svelte@5.0.4
- svelte@5.0.3
- svelte@5.0.2
- svelte@5.0.1
- svelte@5.0.0
- svelte@5.0.0-next.272
- svelte@5.0.0-next.271
- svelte@5.0.0-next.270
- svelte@5.0.0-next.269
- svelte@5.0.0-next.268
- svelte@5.0.0-next.267
- svelte@5.0.0-next.266
- svelte@5.0.0-next.265
- svelte@5.0.0-next.264
- svelte@5.0.0-next.263
- svelte@5.0.0-next.262
- svelte@5.0.0-next.260
- svelte@5.0.0-next.259
- svelte@5.0.0-next.258
- svelte@5.0.0-next.257
- svelte@5.0.0-next.256
1 parent
d6ab12a
commit 2553932
Showing
7 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'svelte': patch | ||
--- | ||
|
||
fix: only warn on context="module" in runes mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
1 change: 1 addition & 0 deletions
1
packages/svelte/tests/validator/samples/script-context-module-legacy/warnings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
5 changes: 5 additions & 0 deletions
5
packages/svelte/tests/validator/samples/script-context-module-runes-deprecated/input.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<svelte:options runes /> | ||
|
||
<script context="module"> | ||
let num = 2; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters