Skip to content

Commit

Permalink
fix: generate correct code when encountering object expression statem…
Browse files Browse the repository at this point in the history
…ent (#14480)

* bump esrap

* changeset
  • Loading branch information
Rich-Harris authored Nov 30, 2024
1 parent a60e837 commit 00aaad1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-kings-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: generate correct code when encountering object expression statement
2 changes: 1 addition & 1 deletion packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"aria-query": "^5.3.1",
"axobject-query": "^4.1.0",
"esm-env": "^1.2.0",
"esrap": "^1.2.2",
"esrap": "^1.2.3",
"is-reference": "^3.0.3",
"locate-character": "^3.0.0",
"magic-string": "^0.30.11",
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sites/svelte-5-preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@sveltejs/site-kit": "6.0.0-next.64",
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.6",
"@vercel/speed-insights": "^1.0.0",
"esrap": "^1.2.2",
"esrap": "^1.2.3",
"marked": "^9.0.0",
"publint": "^0.2.7",
"shiki": "^0.14.7",
Expand Down

0 comments on commit 00aaad1

Please sign in to comment.