Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update SWC to v1.9.2 #112

Merged
merged 2 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"강동윤 <kdy1997.dev@gmail.com>"
],
"description": "wasm module for swc",
"version": "1.7.40",
"version": "1.9.2",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/wasm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface Options {
module?: boolean;
filename?: string;
mode?: Mode;
transform?; TransformConfig;
transform?: TransformConfig;
sourceMap?: boolean;
}

Expand Down
72 changes: 36 additions & 36 deletions lib/wasm.js

Large diffs are not rendered by default.

Loading