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

build: Update swc_core to 0.96.x #320

Merged
merged 7 commits into from
Jul 1, 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
168 changes: 96 additions & 72 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions packages/emotion/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @swc/plugin-emotion

## 3.0.8

### Patch Changes

- af25741: Update swc_core to 0.96.0

## 3.0.7

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/emotion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
serde = "1"
serde_json = "1.0.117"
swc_common = { version = "0.34.0", features = ["concurrent"] }
swc_core = { version = "0.95.0", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.115.0"
swc_ecma_utils = "0.130.0"
swc_common = { version = "0.34.3", features = ["concurrent"] }
swc_core = { version = "0.96.0", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.115.1"
swc_ecma_utils = "0.130.1"
swc_ecma_visit = "0.101.0"
swc_emotion = { path = "./transform" }
swc_plugin_macro = "0.9.16"
Expand Down
6 changes: 6 additions & 0 deletions packages/emotion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ Source code for plugin itself (not transforms) are copied from https://github.co

# @swc/plugin-emotion

## 3.0.8

### Patch Changes

- af25741: Update swc_core to 0.96.0

## 3.0.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/emotion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swc/plugin-emotion",
"version": "3.0.7",
"version": "3.0.8",
"description": "SWC plugin for emotion css-in-js library",
"main": "swc_plugin_emotion.wasm",
"scripts": {
Expand Down
16 changes: 8 additions & 8 deletions packages/emotion/transform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = { workspace = true }
name = "swc_emotion"
repository = { workspace = true }
rust-version = { workspace = true }
version = "0.72.15"
version = "0.72.16"


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -22,17 +22,17 @@ regex = "1.10"
serde = "1"
sourcemap = "8.0.1"
swc_atoms = "0.6.7"
swc_common = "0.34.0"
swc_ecma_ast = "0.115.0"
swc_ecma_codegen = "0.151.0"
swc_ecma_utils = "0.130.0"
swc_common = "0.34.3"
swc_ecma_ast = "0.115.1"
swc_ecma_codegen = "0.151.1"
swc_ecma_utils = "0.130.1"
swc_ecma_visit = "0.101.0"
swc_trace_macro = "0.1.3"
tracing = { version = "0.1.40" }

[dev-dependencies]
serde_json = "1"
swc_ecma_parser = "0.146.0"
swc_ecma_transforms_react = "0.186.0"
swc_ecma_transforms_testing = "0.143.0"
swc_ecma_parser = "0.146.7"
swc_ecma_transforms_react = "0.186.2"
swc_ecma_transforms_testing = "0.143.1"
testing = "0.36.0"
6 changes: 6 additions & 0 deletions packages/jest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @swc/plugin-jest

## 2.0.7

### Patch Changes

- af25741: Update swc_core to 0.96.0

## 2.0.6

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/jest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
phf = { version = "0.11.2", features = ["macros"] }
serde = { version = "1.0.201", features = ["derive"] }
swc_common = { version = "0.34.0", features = ["concurrent"] }
swc_core = { version = "0.95.0", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.115.0"
swc_ecma_utils = "0.130.0"
swc_common = { version = "0.34.3", features = ["concurrent"] }
swc_core = { version = "0.96.0", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.115.1"
swc_ecma_utils = "0.130.1"
swc_ecma_visit = "0.101.0"
swc_plugin_macro = "0.9.16"
tracing = { version = "0.1.40", features = ["release_max_level_off"] }
6 changes: 6 additions & 0 deletions packages/jest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

# @swc/plugin-jest

## 2.0.7

### Patch Changes

- af25741: Update swc_core to 0.96.0

## 2.0.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/jest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swc/plugin-jest",
"version": "2.0.6",
"version": "2.0.7",
"description": "SWC plugin for jest",
"main": "swc_plugin_jest.wasm",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/loadable-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @swc/plugin-loadable-components

## 1.0.8

### Patch Changes

- af25741: Update swc_core to 0.96.0

## 1.0.7

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/loadable-components/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ crate-type = ["cdylib", "rlib"]
once_cell = "1.19.0"
regex = "1.10.4"
serde_json = "1.0.117"
swc_common = { version = "0.34.0", features = ["concurrent"] }
swc_core = { version = "0.95.0", features = [
swc_common = { version = "0.34.3", features = ["concurrent"] }
swc_core = { version = "0.96.0", features = [
"ecma_quote",
"ecma_plugin_transform",
] }
swc_ecma_ast = "0.115.0"
swc_ecma_utils = "0.130.0"
swc_ecma_ast = "0.115.1"
swc_ecma_utils = "0.130.1"
swc_ecma_visit = "0.101.0"
swc_plugin_macro = "0.9.16"
swc_plugin_proxy = "0.44.0"
Expand Down
6 changes: 6 additions & 0 deletions packages/loadable-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@

# @swc/plugin-loadable-components

## 1.0.8

### Patch Changes

- af25741: Update swc_core to 0.96.0

## 1.0.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/loadable-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swc/plugin-loadable-components",
"version": "1.0.7",
"version": "1.0.8",
"description": "SWC plugin for `@loadable/components`",
"main": "swc_plugin_loadable_components.wasm",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/noop/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @swc/plugin-noop

## 2.0.7

### Patch Changes

- af25741: Update swc_core to 0.96.0

## 2.0.6

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/noop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ version = "0.18.4"
crate-type = ["cdylib", "rlib"]

[dependencies]
swc_common = { version = "0.34.0", features = ["concurrent"] }
swc_core = { version = "0.95.0", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.115.0"
swc_ecma_utils = "0.130.0"
swc_common = { version = "0.34.3", features = ["concurrent"] }
swc_core = { version = "0.96.0", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.115.1"
swc_ecma_utils = "0.130.1"
swc_ecma_visit = "0.101.0"
swc_plugin_macro = "0.9.16"
tracing = { version = "0.1.40", features = ["release_max_level_off"] }
6 changes: 6 additions & 0 deletions packages/noop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

# @swc/plugin-noop

## 2.0.7

### Patch Changes

- af25741: Update swc_core to 0.96.0

## 2.0.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/noop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swc/plugin-noop",
"version": "2.0.6",
"version": "2.0.7",
"description": "Noop SWC plugin, for debugging",
"main": "swc_plugin_noop.wasm",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/react-remove-properties/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @swc/plugin-react-remove-properties

## 2.0.7

### Patch Changes

- af25741: Update swc_core to 0.96.0

## 2.0.6

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/react-remove-properties/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ crate-type = ["cdylib", "rlib"]
react_remove_properties = { path = "./transform" }
serde_json = "1.0.117"
swc_cached = "0.3.20"
swc_common = { version = "0.34.0", features = ["concurrent"] }
swc_core = { version = "0.95.0", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.115.0"
swc_ecma_utils = "0.130.0"
swc_common = { version = "0.34.3", features = ["concurrent"] }
swc_core = { version = "0.96.0", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.115.1"
swc_ecma_utils = "0.130.1"
swc_ecma_visit = "0.101.0"
swc_plugin_macro = "0.9.16"
tracing = { version = "0.1.40", features = ["release_max_level_off"] }
6 changes: 6 additions & 0 deletions packages/react-remove-properties/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ or

# @swc/plugin-react-remove-properties

## 2.0.7

### Patch Changes

- af25741: Update swc_core to 0.96.0

## 2.0.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-remove-properties/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swc/plugin-react-remove-properties",
"version": "2.0.6",
"version": "2.0.7",
"description": "SWC plugin for https://www.npmjs.com/package/babel-plugin-react-remove-properties",
"main": "swc_plugin_react_remove_properties.wasm",
"scripts": {
Expand Down
12 changes: 6 additions & 6 deletions packages/react-remove-properties/transform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ homepage = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
version = "0.24.14"
version = "0.24.15"


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -20,12 +20,12 @@ version = "0.24.14"
serde = { version = "1", features = ["derive"] }
swc_atoms = "0.6.7"
swc_cached = "0.3.20"
swc_common = "0.34.0"
swc_ecma_ast = "0.115.0"
swc_common = "0.34.3"
swc_ecma_ast = "0.115.1"
swc_ecma_visit = "0.101.0"

[dev-dependencies]
swc_ecma_parser = "0.146.0"
swc_ecma_transforms_base = "0.140.0"
swc_ecma_transforms_testing = "0.143.0"
swc_ecma_parser = "0.146.7"
swc_ecma_transforms_base = "0.140.1"
swc_ecma_transforms_testing = "0.143.1"
testing = "0.36.0"
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
export default function Home() {
return <div data-test-id="1">

<div>

<h1 data-testid="3">Hello World!</h1>

</div>

</div>;
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
export default function Home() {
return <div data-custom="1a">

<div data-custom="2">

<h1 nested={()=><div>nested</div>}>

Hello World!

</h1>

</div>

</div>;
}
6 changes: 6 additions & 0 deletions packages/relay/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @swc/plugin-relay

## 2.0.10

### Patch Changes

- af25741: Update swc_core to 0.96.0

## 2.0.9

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/relay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ once_cell = "1.19.0"
regex = "1.10"
serde = "1"
serde_json = "1"
swc_common = { version = "0.34.0", features = ["concurrent"] }
swc_core = { version = "0.95.0", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.115.0"
swc_ecma_utils = "0.130.0"
swc_common = { version = "0.34.3", features = ["concurrent"] }
swc_core = { version = "0.96.0", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.115.1"
swc_ecma_utils = "0.130.1"
swc_ecma_visit = "0.101.0"
swc_plugin_macro = "0.9.16"
swc_relay = { path = "./transform" }
Expand Down
6 changes: 6 additions & 0 deletions packages/relay/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ In this example typescript graphql files will output transpiled import path of `

# @swc/plugin-relay

## 2.0.10

### Patch Changes

- af25741: Update swc_core to 0.96.0

## 2.0.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/relay/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swc/plugin-relay",
"version": "2.0.9",
"version": "2.0.10",
"description": "SWC plugin for relay",
"main": "swc_plugin_relay.wasm",
"types": "./types.d.ts",
Expand Down
Loading
Loading