Skip to content

Commit

Permalink
Update swc (vercel#32566)
Browse files Browse the repository at this point in the history
## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`


This applies

 - swc-project/swc#3051

Fixes vercel#32553

 - swc-project/swc#3023

Fixes vercel#32470
  • Loading branch information
kdy1 authored and natew committed Feb 16, 2022
1 parent 9e81c02 commit 600ef50
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 54 deletions.
89 changes: 44 additions & 45 deletions packages/next-swc/Cargo.lock

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

8 changes: 4 additions & 4 deletions packages/next-swc/crates/core/Cargo.toml
Expand Up @@ -14,20 +14,20 @@ fxhash = "0.2.1"
pathdiff = "0.2.0"
serde = "1"
serde_json = "1"
styled_components = "0.4.0"
swc = "0.95.0"
styled_components = "0.6.0"
swc = "0.97.0"
swc_atoms = "0.2.7"
swc_common = { version = "0.15.0", features = ["concurrent", "sourcemap"] }
swc_css = "0.44.0"
swc_ecma_loader = { version = "0.25.0", features = ["node", "lru"] }
swc_ecmascript = { version = "0.95.0", features = ["codegen", "minifier", "optimization", "parser", "react", "transforms", "typescript", "utils", "visit"] }
swc_ecmascript = { version = "0.97.0", features = ["codegen", "minifier", "optimization", "parser", "react", "transforms", "typescript", "utils", "visit"] }
swc_node_base = "0.5.1"
swc_stylis = "0.41.0"
tracing = {version = "0.1.28", features = ["release_max_level_off"]}
regex = "1.5"

[dev-dependencies]
swc_ecma_transforms_testing = "0.49.0"
swc_ecma_transforms_testing = "0.51.0"
testing = "0.16.0"
walkdir = "2.3.2"

Expand Down
@@ -0,0 +1 @@
<div>children</div>; '<>hello</>';
@@ -0,0 +1,2 @@
/*#__PURE__*/ React.createElement("div", null, "children");
'<>hello</>';
6 changes: 3 additions & 3 deletions packages/next-swc/crates/napi/Cargo.toml
Expand Up @@ -16,12 +16,12 @@ once_cell = "1.8.0"
serde = "1"
serde_json = "1"
next-swc = { version = "0.0.0", path = "../core" }
swc = "0.95.0"
swc = "0.97.0"
swc_atoms = "0.2.7"
swc_bundler = { version = "0.88.0", features = ["concurrent"] }
swc_bundler = { version = "0.91.0", features = ["concurrent"] }
swc_common = { version = "0.15.0", features = ["concurrent", "sourcemap"] }
swc_ecma_loader = { version = "0.25.0", features = ["node", "lru"] }
swc_ecmascript = { version = "0.95.0", features = ["codegen", "minifier", "optimization", "parser", "react", "transforms", "typescript", "utils", "visit"] }
swc_ecmascript = { version = "0.97.0", features = ["codegen", "minifier", "optimization", "parser", "react", "transforms", "typescript", "utils", "visit"] }
swc_node_base = "0.5.1"

[build-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions packages/next-swc/crates/wasm/Cargo.toml
Expand Up @@ -16,9 +16,9 @@ path-clean = "0.1"
serde = {version = "1", features = ["derive"]}
serde_json = "1"
next-swc = { version = "0.0.0", path = "../core" }
swc = "0.95.0"
swc = "0.97.0"
swc_common = { version = "0.15.0", features = ["concurrent", "sourcemap"] }
swc_ecmascript = { version = "0.95.0", features = ["codegen", "minifier", "optimization", "parser", "react", "transforms", "typescript", "utils", "visit"] }
swc_ecmascript = { version = "0.97.0", features = ["codegen", "minifier", "optimization", "parser", "react", "transforms", "typescript", "utils", "visit"] }
tracing = {version = "0.1.28", features = ["release_max_level_off"]}
wasm-bindgen = {version = "0.2", features = ["serde-serialize"]}
wasm-bindgen-futures = "0.4.8"

0 comments on commit 600ef50

Please sign in to comment.