Skip to content

Commit

Permalink
fix: precompile preserve SVG camelCase attributes (#25945)
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister authored Sep 30, 2024
1 parent 05ca699 commit c5c1869
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ license = "MIT"
repository = "https://github.com/denoland/deno"

[workspace.dependencies]
deno_ast = { version = "=0.42.0", features = ["transpiling"] }
deno_ast = { version = "=0.42.1", features = ["transpiling"] }
deno_core = { version = "0.311.0" }

deno_bench_util = { version = "0.162.0", path = "./bench_util" }
Expand Down
14 changes: 4 additions & 10 deletions tests/specs/npm/require_type_commonjs/main.out
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
error: Uncaught (in promise) SyntaxError: Unexpected token 'export'
at Object.evalContext (ext:core/01_core.js:[WILDCARD])
at wrapSafe (node:module:[WILDCARD])
at Module._compile (node:module:[WILDCARD])
at Object.Module._extensions..js (node:module:[WILDCARD])
at Module.load (node:module:[WILDCARD])
at Function.Module._load (node:module:[WILDCARD])
at Module.require (node:module:[WILDCARD])
at require (node:module:[WILDCARD])
at file:///[WILDCARD]/@denotest/type-commonjs/1.0.0/index.js:3:13
error: 'import', and 'export' cannot be used outside of module code at file://[WILDCARD]/@denotest/type-commonjs/1.0.0/index.js:1:1

export {};
~~~~~~

0 comments on commit c5c1869

Please sign in to comment.