Skip to content

Commit

Permalink
fix: bump esrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Dec 19, 2024
1 parent 8705d44 commit 165eddc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"aria-query": "^5.3.1",
"axobject-query": "^4.1.0",
"esm-env": "^1.2.1",
"esrap": "^1.3.1",
"esrap": "^1.3.2",
"is-reference": "^3.0.3",
"locate-character": "^3.0.0",
"magic-string": "^0.30.11",
Expand Down
2 changes: 0 additions & 2 deletions packages/svelte/src/compiler/phases/3-transform/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export function transform_component(analysis, source, options) {

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

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

return {
// @ts-expect-error
js: print(program, {
// include source content; makes it easier/more robust looking up the source map code
// (else esrap does return null for source and sourceMapContent which may trip up tooling)
Expand Down
13 changes: 6 additions & 7 deletions pnpm-lock.yaml

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

0 comments on commit 165eddc

Please sign in to comment.