Skip to content

Commit 7c6379a

Browse files
authored
fix: bump esrap dependency (#14765)
* fix: bump esrap * changeset * ugh
1 parent d0f156c commit 7c6379a

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

Diff for: .changeset/cool-ducks-carry.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'svelte': patch
3+
---
4+
5+
fix: bump esrap dependency

Diff for: packages/svelte/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
"aria-query": "^5.3.1",
151151
"axobject-query": "^4.1.0",
152152
"esm-env": "^1.2.1",
153-
"esrap": "^1.3.1",
153+
"esrap": "^1.3.2",
154154
"is-reference": "^3.0.3",
155155
"locate-character": "^3.0.0",
156156
"magic-string": "^0.30.11",

Diff for: packages/svelte/scripts/process-messages/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,6 @@ function transform(name, dest) {
389389
ast.body.push(clone);
390390
}
391391

392-
// @ts-expect-error
393392
const module = esrap.print(ast);
394393

395394
fs.writeFileSync(

Diff for: packages/svelte/src/compiler/phases/3-transform/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export function transform_component(analysis, source, options) {
3434

3535
const js_source_name = get_source_name(options.filename, options.outputFilename, 'input.svelte');
3636

37-
// @ts-expect-error
3837
const js = print(program, {
3938
// include source content; makes it easier/more robust looking up the source map code
4039
// (else esrap does return null for source and sourceMapContent which may trip up tooling)
@@ -95,7 +94,6 @@ export function transform_module(analysis, source, options) {
9594
}
9695

9796
return {
98-
// @ts-expect-error
9997
js: print(program, {
10098
// include source content; makes it easier/more robust looking up the source map code
10199
// (else esrap does return null for source and sourceMapContent which may trip up tooling)

Diff for: pnpm-lock.yaml

+6-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)