Skip to content

Commit

Permalink
chore: Update swc (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Aug 23, 2022
1 parent 28ab1c0 commit 4e75423
Show file tree
Hide file tree
Showing 16 changed files with 119 additions and 126 deletions.
187 changes: 90 additions & 97 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/emotion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
serde = "1"
serde_json = "1.0.79"
swc_common = { version = "0.27.12", features = ["concurrent"] }
swc_core = { version = "0.8.1", features = [
swc_common = { version = "0.27.13", features = ["concurrent"] }
swc_core = { version = "0.11.4", features = [
"plugin_transform",
"utils",
"visit",
"ast",
"common",
] }
swc_emotion = "0.17.0"
swc_emotion = "0.18.0"
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": "2.2.7",
"version": "2.2.9",
"description": "SWC plugin for emotion css-in-js library",
"main": "swc_plugin_emotion.wasm",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/jest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
phf = {version = "0.10.0", features = ["macros"]}
serde = {version = "1.0.130", features = ["derive"]}
swc_common = { version = "0.27.12", features = ["concurrent"] }
swc_core = { version = "0.8.1", features = [
swc_common = { version = "0.27.13", features = ["concurrent"] }
swc_core = { version = "0.11.4", features = [
"plugin_transform",
"utils",
"visit",
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": "1.2.7",
"version": "1.2.9",
"description": "SWC plugin for jest",
"main": "swc_plugin_jest.wasm",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions packages/loadable-components/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ crate-type = ["cdylib", "rlib"]
once_cell = "1.13.1"
regex = "1.6.0"
serde_json = "1.0.79"
swc_common = {version = "0.27.12", features = ["concurrent"]}
swc_core = {version = "0.8.1", features = [
swc_common = { version = "0.27.13", features = ["concurrent"] }
swc_core = { version = "0.11.4", features = [
"plugin_transform",
"utils",
"visit",
"ast",
"common",
"quote",
]}
] }
tracing = {version = "0.1.36", features = ["release_max_level_off"]}

[dev-dependencies]
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": "0.1.1",
"version": "0.1.3",
"description": "SWC plugin for `@loadable/components`",
"main": "swc_plugin_loadable_components.wasm",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions packages/relay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ once_cell = "1.8.0"
regex = "1.5"
serde = "1"
serde_json = "1"
swc_common = {version = "0.27.12", features = ["concurrent"]}
swc_core = {version = "0.8.1", features = [
swc_common = { version = "0.27.13", features = ["concurrent"] }
swc_core = { version = "0.11.4", features = [
"plugin_transform",
"utils",
"visit",
"ast",
"common",
]}
] }
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": "1.2.7",
"version": "1.2.9",
"description": "SWC plugin for relay",
"main": "swc_plugin_relay.wasm",
"types": "./types.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions packages/styled-components/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
serde = {version = "1.0.136", features = ["derive"]}
serde_json = "1.0.79"
styled_components = "0.40.0"
swc_common = { version = "0.27.12", features = ["concurrent"] }
swc_core = { version = "0.8.1", features = [
styled_components = "0.41.0"
swc_common = { version = "0.27.13", features = ["concurrent"] }
swc_core = { version = "0.11.4", features = [
"plugin_transform",
"utils",
"visit",
Expand Down
2 changes: 1 addition & 1 deletion packages/styled-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swc/plugin-styled-components",
"version": "1.2.7",
"version": "1.2.9",
"description": "SWC plugin for styled-components",
"main": "swc_plugin_styled_components.wasm",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions packages/styled-jsx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ version = "0.3.0"
crate-type = ["cdylib", "rlib"]

[dependencies]
styled_jsx = "0.15.0"
swc_common = { version = "0.27.12", features = ["concurrent"] }
swc_core = { version = "0.8.1", features = [
styled_jsx = "0.16.0"
swc_common = { version = "0.27.13", features = ["concurrent"] }
swc_core = { version = "0.11.4", features = [
"plugin_transform",
"utils",
"visit",
"ast",
"common",
] }
swc_plugin = "0.89.1"
swc_plugin = "0.90.0"
2 changes: 1 addition & 1 deletion packages/styled-jsx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swc/plugin-styled-jsx",
"version": "1.2.7",
"version": "1.2.9",
"description": "SWC plugin for styled-jsx",
"main": "swc_plugin_styled_jsx.wasm",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions packages/transform-imports/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ version = "0.2.0"
crate-type = ["cdylib", "rlib"]

[dependencies]
modularize_imports = "0.15.0"
modularize_imports = "0.16.0"
serde_json = "1.0.79"
swc_common = { version = "0.27.12", features = ["concurrent"] }
swc_core = { version = "0.8.1", features = [
swc_common = { version = "0.27.13", features = ["concurrent"] }
swc_core = { version = "0.11.4", features = [
"plugin_transform",
"utils",
"visit",
Expand Down
2 changes: 1 addition & 1 deletion packages/transform-imports/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swc/plugin-transform-imports",
"version": "1.2.7",
"version": "1.2.9",
"description": "SWC plugin for https://www.npmjs.com/package/babel-plugin-transform-imports",
"main": "swc_plugin_transform_imports.wasm",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2022-03-12
nightly-2022-08-23

0 comments on commit 4e75423

Please sign in to comment.