Skip to content

Commit

Permalink
Update swc (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffcharles authored Aug 14, 2024
1 parent 644a502 commit c2135a0
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 54 deletions.
98 changes: 60 additions & 38 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.96.0", features = [
swc_core = { version = "0.100.6", features = [
"common_sourcemap",
"ecma_ast",
"ecma_parser",
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ impl JS {

fn parse_module(&self) -> Result<Module> {
let source_map: SourceMap = Default::default();
let file = source_map.new_source_file_from(FileName::Anon, self.source_code.clone());
let file = source_map.new_source_file_from(FileName::Anon.into(), self.source_code.clone());
let mut errors = vec![];
parser::parse_file_as_module(
&file,
Expand Down
36 changes: 22 additions & 14 deletions supply-chain/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,14 @@ criteria = "safe-to-deploy"
version = "0.1.21"
criteria = "safe-to-deploy"

[[exemptions.ptr_meta]]
version = "0.1.4"
criteria = "safe-to-deploy"

[[exemptions.ptr_meta_derive]]
version = "0.1.4"
criteria = "safe-to-deploy"

[[exemptions.radium]]
version = "0.7.0"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -581,7 +589,7 @@ version = "0.4.4"
criteria = "safe-to-deploy"

[[exemptions.sourcemap]]
version = "8.0.1"
version = "9.0.0"
criteria = "safe-to-deploy"

[[exemptions.stable_deref_trait]]
Expand All @@ -600,36 +608,40 @@ criteria = "safe-to-deploy"
version = "0.11.1"
criteria = "safe-to-deploy"

[[exemptions.swc_allocator]]
version = "0.1.8"
criteria = "safe-to-deploy"

[[exemptions.swc_atoms]]
version = "0.6.7"
criteria = "safe-to-deploy"

[[exemptions.swc_common]]
version = "0.34.4"
version = "0.37.2"
criteria = "safe-to-deploy"

[[exemptions.swc_core]]
version = "0.96.9"
version = "0.100.6"
criteria = "safe-to-deploy"

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

[[exemptions.swc_ecma_parser]]
version = "0.146.12"
version = "0.149.0"
criteria = "safe-to-deploy"

[[exemptions.swc_ecma_transforms_base]]
version = "0.140.3"
version = "0.144.0"
criteria = "safe-to-deploy"

[[exemptions.swc_ecma_utils]]
version = "0.130.3"
version = "0.134.1"
criteria = "safe-to-deploy"

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

[[exemptions.swc_eq_ignore_macros]]
Expand All @@ -641,11 +653,7 @@ version = "0.3.11"
criteria = "safe-to-deploy"

[[exemptions.swc_visit]]
version = "0.5.14"
criteria = "safe-to-deploy"

[[exemptions.swc_visit_macros]]
version = "0.5.12"
version = "0.6.2"
criteria = "safe-to-deploy"

[[exemptions.tempfile]]
Expand Down Expand Up @@ -685,7 +693,7 @@ version = "0.3.4"
criteria = "safe-to-deploy"

[[exemptions.unicode-id-start]]
version = "1.0.4"
version = "1.2.0"
criteria = "safe-to-deploy"

[[exemptions.unicode-width]]
Expand Down

0 comments on commit c2135a0

Please sign in to comment.