Skip to content

Commit

Permalink
chore: update swc to v1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nodejs-github-bot committed Nov 12, 2024
1 parent 430ea6d commit d486efa
Show file tree
Hide file tree
Showing 8 changed files with 280 additions and 278 deletions.
241 changes: 121 additions & 120 deletions deps/swc/Cargo.lock

Large diffs are not rendered by default.

281 changes: 141 additions & 140 deletions deps/swc/bindings/Cargo.lock

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions deps/swc/bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ resolver = "2"
sourcemap = "8.0.1"
swc_atoms = "2.0.0"
swc_cached = "1.0.0"
swc_cli_impl = "1.0.0"
swc_common = "1.0.0"
swc_compiler_base = "1.0.0"
swc_cli_impl = "5.0.0"
swc_common = "4.0.0"
swc_compiler_base = "5.0.0"
swc_config = "1.0.0"
swc_core = "1.0.6"
swc_css_ast = "1.0.0"
swc_css_codegen = "1.0.0"
swc_css_minifier = "1.0.0"
swc_css_parser = "1.0.0"
swc_error_reporters = "2.0.0"
swc_fast_ts_strip = "1.0.0"
swc_html = "1.0.0"
swc_html_ast = "1.0.0"
swc_html_minifier = "1.0.0"
swc_core = "5.0.3"
swc_css_ast = "4.0.1"
swc_css_codegen = "4.0.0"
swc_css_minifier = "4.0.0"
swc_css_parser = "4.0.0"
swc_error_reporters = "5.0.0"
swc_fast_ts_strip = "5.0.0"
swc_html = "5.0.0"
swc_html_ast = "4.0.1"
swc_html_minifier = "5.0.0"
swc_malloc = "1.0.0"
swc_nodejs_common = "1.0.0"
tracing = "0.1.40"
Expand Down
2 changes: 1 addition & 1 deletion deps/swc/bindings/binding_core_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "Apache-2.0"
name = "binding_core_wasm"
publish = false
repository = "https://github.com/swc-project/swc.git"
version = "1.7.40"
version = "1.9.2"

[lib]
bench = false
Expand Down
2 changes: 1 addition & 1 deletion deps/swc/bindings/binding_minifier_node/src/minify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ fn do_work(
let is_mangler_enabled = min_opts.mangle.is_some();

let module = {
let module = module.fold_with(&mut resolver(unresolved_mark, top_level_mark, false));
let module = module.apply(resolver(unresolved_mark, top_level_mark, false));

let mut module = swc_core::ecma::minifier::optimize(
module,
Expand Down
2 changes: 1 addition & 1 deletion deps/swc/bindings/binding_minifier_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "Apache-2.0"
name = "binding_minifier_wasm"
publish = false
repository = "https://github.com/swc-project/swc.git"
version = "1.7.40"
version = "1.9.2"

[lib]
bench = false
Expand Down
2 changes: 1 addition & 1 deletion deps/swc/bindings/binding_typescript_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "Apache-2.0"
name = "binding_typescript_wasm"
publish = false
repository = "https://github.com/swc-project/swc.git"
version = "1.7.40"
version = "1.9.2"

[lib]
bench = false
Expand Down
2 changes: 1 addition & 1 deletion deps/swc/bindings/swc_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_cli"
repository = "https://github.com/swc-project/swc.git"
version = "0.91.434"
version = "0.91.445"

[[bin]]
bench = false
Expand Down

0 comments on commit d486efa

Please sign in to comment.