Skip to content

Commit

Permalink
fix: pin more swc dependencies (#147)
Browse files Browse the repository at this point in the history
* fix: pin more swc dependencies

* Remove duplicates
  • Loading branch information
dsherret committed Jun 26, 2023
1 parent 0bbf896 commit 6672ae4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
17 changes: 13 additions & 4 deletions Cargo.lock

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

15 changes: 12 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ description = "Source text parsing, lexing, and AST related functionality for De
all-features = true

[features]
bundler = ["swc_bundler"]
bundler = ["swc_bundler", "swc_ecma_transforms_optimization", "swc_graph_analyzer"]
cjs = ["utils", "visit"]
codegen = ["swc_ecma_codegen", "swc_ecma_codegen_macros"]
compat = ["transforms", "swc_ecma_transforms_compat"]
compat = ["transforms", "swc_ecma_transforms_compat", "swc_trace_macro"]
dep_graph = ["swc_ecma_dep_graph"]
module_specifier = ["deno_media_type/module_specifier", "url", ]
proposal = ["transforms", "swc_ecma_transforms_proposal", "swc_ecma_transforms_classes", "swc_ecma_transforms_macros"]
Expand All @@ -28,7 +28,7 @@ transpiling = ["anyhow", "base64", "codegen", "module_specifier", "proposal", "r
typescript = ["transforms", "swc_ecma_transforms_typescript"]
utils = ["swc_ecma_utils"]
view = ["dprint-swc-ext/view"]
visit = ["swc_ecma_visit"]
visit = ["swc_ecma_visit", "swc_visit", "swc_visit_macros"]

[dependencies]
anyhow = { version = "1.0.64", optional = true }
Expand All @@ -45,6 +45,8 @@ url = { version = "2.3.1", features = ["serde"], optional = true }
# pulling in new versions of swc crates
swc_atoms = "=0.5.6"
swc_common = "=0.31.12"
swc_config = "=0.1.5"
swc_config_macro = "=0.1.1"
swc_ecma_ast = { version = "=0.104.5", features = ["serde-impl"] }
swc_ecma_codegen = { version = "=0.139.17", optional = true }
swc_ecma_codegen_macros = { version = "=0.7.2", optional = true }
Expand All @@ -55,12 +57,19 @@ swc_ecma_transforms_base = { version = "=0.127.18", optional = true }
swc_ecma_transforms_classes = { version = "=0.116.18", optional = true }
swc_ecma_transforms_compat = { version = "=0.153.20", optional = true }
swc_ecma_transforms_macros = { version = "=0.5.1", optional = true }
swc_ecma_transforms_optimization = { version = "=0.187.23", optional = true }
swc_ecma_transforms_proposal = { version = "=0.161.22", optional = true }
swc_ecma_transforms_react = { version = "=0.173.20", optional = true }
swc_ecma_transforms_typescript = { version = "=0.177.23", optional = true }
swc_ecma_utils = { version = "=0.117.13", optional = true }
swc_ecma_visit = { version = "=0.90.5", optional = true }
swc_eq_ignore_macros = "=0.1.1"
swc_bundler = { version = "=0.214.29", optional = true }
swc_graph_analyzer = { version = "=0.20.13", optional = true }
swc_macros_common = "=0.3.7"
swc_trace_macro = { version = "=0.1.2", optional = true }
swc_visit = { version = "=0.5.6", optional = true }
swc_visit_macros = { version = "=0.5.7", optional = true }

[dev-dependencies]
pretty_assertions = "1.3.0"
Expand Down

0 comments on commit 6672ae4

Please sign in to comment.