Skip to content

Commit

Permalink
Update swc_core (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffcharles authored Jul 2, 2024
1 parent eb887c3 commit 77249cc
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 24 deletions.
29 changes: 15 additions & 14 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 crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ wasmtime = { workspace = true }
wasmtime-wasi = { workspace = true }
wasi-common = { workspace = true }
walrus = "0.20.3"
swc_core = { version = "0.92.8", features = [
swc_core = { version = "0.96.0", features = [
"common_sourcemap",
"ecma_ast",
"ecma_parser",
Expand Down
4 changes: 2 additions & 2 deletions crates/cli/src/js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use swc_core::{
Decl, EsVersion, ExportDecl, ExportSpecifier, Module, ModuleDecl, ModuleExportName,
ModuleItem, Stmt,
},
parser::{self, EsConfig, Syntax},
parser::{self, EsSyntax, Syntax},
},
};

Expand Down Expand Up @@ -152,7 +152,7 @@ impl JS {
let mut errors = vec![];
parser::parse_file_as_module(
&file,
Syntax::Es(EsConfig::default()),
Syntax::Es(EsSyntax::default()),
EsVersion::Es2020,
None,
&mut errors,
Expand Down
14 changes: 7 additions & 7 deletions supply-chain/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -715,31 +715,31 @@ version = "0.6.7"
criteria = "safe-to-deploy"

[[exemptions.swc_common]]
version = "0.33.26"
version = "0.34.3"
criteria = "safe-to-deploy"

[[exemptions.swc_core]]
version = "0.92.11"
version = "0.96.0"
criteria = "safe-to-deploy"

[[exemptions.swc_ecma_ast]]
version = "0.113.7"
version = "0.115.1"
criteria = "safe-to-deploy"

[[exemptions.swc_ecma_parser]]
version = "0.144.2"
version = "0.146.7"
criteria = "safe-to-deploy"

[[exemptions.swc_ecma_transforms_base]]
version = "0.138.4"
version = "0.140.1"
criteria = "safe-to-deploy"

[[exemptions.swc_ecma_utils]]
version = "0.128.3"
version = "0.130.1"
criteria = "safe-to-deploy"

[[exemptions.swc_ecma_visit]]
version = "0.99.1"
version = "0.101.0"
criteria = "safe-to-deploy"

[[exemptions.swc_eq_ignore_macros]]
Expand Down

0 comments on commit 77249cc

Please sign in to comment.