From f6af55cf5a4ce788f6d72d6872094184eea9396b Mon Sep 17 00:00:00 2001 From: Ciffelia Date: Sat, 25 Nov 2023 23:29:29 +0900 Subject: [PATCH 01/24] fix `import { default as s } from 'styled-components'` are not handled properly --- .../transform/src/utils/analyzer.rs | 10 +++------- .../styled-components/transform/src/utils/mod.rs | 13 +++++++++++-- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/packages/styled-components/transform/src/utils/analyzer.rs b/packages/styled-components/transform/src/utils/analyzer.rs index 5434b219d..373019f98 100644 --- a/packages/styled-components/transform/src/utils/analyzer.rs +++ b/packages/styled-components/transform/src/utils/analyzer.rs @@ -111,13 +111,9 @@ impl Visit for Analyzer<'_> { ModuleExportName::Str(v) => &*v.value, }) .unwrap_or(&*s.local.sym); - if imported == "styled" { - self.state.imported_local_name = Some(s.local.to_id()); - } else { - self.state - .imported_local_named - .insert(imported.to_string(), s.local.to_id()); - } + self.state + .imported_local_named + .insert(imported.to_string(), s.local.to_id()); } ImportSpecifier::Default(s) => { self.state.imported_local_name = Some(s.local.to_id()); diff --git a/packages/styled-components/transform/src/utils/mod.rs b/packages/styled-components/transform/src/utils/mod.rs index 26e24ffe2..b49edc8c8 100644 --- a/packages/styled-components/transform/src/utils/mod.rs +++ b/packages/styled-components/transform/src/utils/mod.rs @@ -219,10 +219,19 @@ impl State { ) -> Option { if name == "default" { if self.imported_local_name.is_some() { + // import styled from 'styled-components' self.imported_local_name.clone() + } else if let Some(id) = self.imported_local_named.get("default") { + // import { default as styled } from 'styled-components' + Some(id.clone()) + } else if let Some(id) = self.imported_local_named.get("styled") { + // import { styled } from 'styled-components' + Some(id.clone()) } else if self.imported_local_ns.is_some() { + // import * as styled from 'styled-components' self.imported_local_ns.clone() } else if self.styled_required.is_some() { + // const styled = require('styled-components') Some(("styled".into(), self.unresolved_ctxt.unwrap_or_default())) } else { None @@ -230,8 +239,8 @@ impl State { } else { if self.imported_local_ns.is_some() { Some((name.into(), Default::default())) - } else if self.imported_local_named.contains_key(name) { - self.imported_local_named.get(name).cloned() + } else if let Some(id) = self.imported_local_named.get(name) { + Some(id.clone()) } else if self.styled_required.is_some() { Some((name.into(), self.unresolved_ctxt.unwrap_or_default())) } else { From 641c65c11ab17088f9a91e8c19f78dd94c93d53e Mon Sep 17 00:00:00 2001 From: Ciffelia Date: Sat, 25 Nov 2023 23:30:07 +0900 Subject: [PATCH 02/24] stop ignoring some tests --- .../.work-with-hoisted-default-as-import/.babelrc | 11 ----------- .../code.js | 0 .../work-with-hoisted-default-as-import/config.json | 4 ++++ .../output.js | 0 4 files changed, 4 insertions(+), 11 deletions(-) delete mode 100644 packages/styled-components/transform/tests/fixtures/.work-with-hoisted-default-as-import/.babelrc rename packages/styled-components/transform/tests/fixtures/{.work-with-hoisted-default-as-import => work-with-hoisted-default-as-import}/code.js (100%) create mode 100644 packages/styled-components/transform/tests/fixtures/work-with-hoisted-default-as-import/config.json rename packages/styled-components/transform/tests/fixtures/{.work-with-hoisted-default-as-import => work-with-hoisted-default-as-import}/output.js (100%) diff --git a/packages/styled-components/transform/tests/fixtures/.work-with-hoisted-default-as-import/.babelrc b/packages/styled-components/transform/tests/fixtures/.work-with-hoisted-default-as-import/.babelrc deleted file mode 100644 index 158460ca1..000000000 --- a/packages/styled-components/transform/tests/fixtures/.work-with-hoisted-default-as-import/.babelrc +++ /dev/null @@ -1,11 +0,0 @@ -{ - "plugins": [ - [ - "../../../src", - { - "transpileTemplateLiterals": false, - "ssr": true - } - ] - ] -} \ No newline at end of file diff --git a/packages/styled-components/transform/tests/fixtures/.work-with-hoisted-default-as-import/code.js b/packages/styled-components/transform/tests/fixtures/work-with-hoisted-default-as-import/code.js similarity index 100% rename from packages/styled-components/transform/tests/fixtures/.work-with-hoisted-default-as-import/code.js rename to packages/styled-components/transform/tests/fixtures/work-with-hoisted-default-as-import/code.js diff --git a/packages/styled-components/transform/tests/fixtures/work-with-hoisted-default-as-import/config.json b/packages/styled-components/transform/tests/fixtures/work-with-hoisted-default-as-import/config.json new file mode 100644 index 000000000..91a67609f --- /dev/null +++ b/packages/styled-components/transform/tests/fixtures/work-with-hoisted-default-as-import/config.json @@ -0,0 +1,4 @@ +{ + "transpileTemplateLiterals": false, + "minify": true +} diff --git a/packages/styled-components/transform/tests/fixtures/.work-with-hoisted-default-as-import/output.js b/packages/styled-components/transform/tests/fixtures/work-with-hoisted-default-as-import/output.js similarity index 100% rename from packages/styled-components/transform/tests/fixtures/.work-with-hoisted-default-as-import/output.js rename to packages/styled-components/transform/tests/fixtures/work-with-hoisted-default-as-import/output.js From 35bd2a54c5b50c408ab634e4588e191987784b62 Mon Sep 17 00:00:00 2001 From: Ciffelia Date: Sat, 25 Nov 2023 23:30:26 +0900 Subject: [PATCH 03/24] update test fixture output --- .../fixtures/work-with-hoisted-default-as-import/output.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/styled-components/transform/tests/fixtures/work-with-hoisted-default-as-import/output.js b/packages/styled-components/transform/tests/fixtures/work-with-hoisted-default-as-import/output.js index 297e05c35..aeb045dea 100644 --- a/packages/styled-components/transform/tests/fixtures/work-with-hoisted-default-as-import/output.js +++ b/packages/styled-components/transform/tests/fixtures/work-with-hoisted-default-as-import/output.js @@ -1,5 +1,5 @@ const Test = s.div.withConfig({ - displayName: "code__Test", - componentId: "sc-1dds9bl-0" + displayName: "code__Test", + componentId: "sc-cbecc97b-0" })`width:100%;`; import { default as s, css } from 'styled-components'; From e2a01a62cdb0dd5fb892cf4243fb98b6e56ec220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:34 +0900 Subject: [PATCH 04/24] Bump npm package: ./packages/constify --- packages/constify/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/constify/package.json b/packages/constify/package.json index 8693d9ba1..79e8871ce 100644 --- a/packages/constify/package.json +++ b/packages/constify/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-constify", - "version": "0.1.32", + "version": "0.1.33", "description": "SWC plugin for optimization", "main": "swc_plugin_constify.wasm", "scripts": { From 6e1f85fa96da2b240f757a872c8415de5fa10cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:34 +0900 Subject: [PATCH 05/24] Bump npm package: ./packages/emotion --- packages/emotion/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/emotion/package.json b/packages/emotion/package.json index bcd0a635d..37412e554 100644 --- a/packages/emotion/package.json +++ b/packages/emotion/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-emotion", - "version": "2.5.102", + "version": "2.5.103", "description": "SWC plugin for emotion css-in-js library", "main": "swc_plugin_emotion.wasm", "scripts": { From e92009a2f9828aa2ed90eacd632baf92d36dce65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:34 +0900 Subject: [PATCH 06/24] Bump npm package: ./packages/jest --- packages/jest/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jest/package.json b/packages/jest/package.json index 3ec239f68..ce095162b 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-jest", - "version": "1.5.102", + "version": "1.5.103", "description": "SWC plugin for jest", "main": "swc_plugin_jest.wasm", "scripts": { From 58d366fcd60748406c46743b312b745596121b6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:34 +0900 Subject: [PATCH 07/24] Bump npm package: ./packages/loadable-components --- packages/loadable-components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/loadable-components/package.json b/packages/loadable-components/package.json index 657bf990f..05345ad0f 100644 --- a/packages/loadable-components/package.json +++ b/packages/loadable-components/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-loadable-components", - "version": "0.3.102", + "version": "0.3.103", "description": "SWC plugin for `@loadable/components`", "main": "swc_plugin_loadable_components.wasm", "scripts": { From 2a11df16d067232c9a509399a28944584c4abe94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:34 +0900 Subject: [PATCH 08/24] Bump npm package: ./packages/noop --- packages/noop/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/noop/package.json b/packages/noop/package.json index d12b1c421..ec118dfba 100644 --- a/packages/noop/package.json +++ b/packages/noop/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-noop", - "version": "1.5.100", + "version": "1.5.101", "description": "Noop SWC plugin, for debugging", "main": "swc_plugin_noop.wasm", "scripts": { From 5e7f1b5cc964c5fc668ad9ae3c80b4fcb5eb38d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:35 +0900 Subject: [PATCH 09/24] Bump npm package: ./packages/react-remove-properties --- packages/react-remove-properties/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-remove-properties/package.json b/packages/react-remove-properties/package.json index cd15c62bd..272b97bc3 100644 --- a/packages/react-remove-properties/package.json +++ b/packages/react-remove-properties/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-react-remove-properties", - "version": "1.5.102", + "version": "1.5.103", "description": "SWC plugin for https://www.npmjs.com/package/babel-plugin-react-remove-properties", "main": "swc_plugin_react_remove_properties.wasm", "scripts": { From 26cd34464485f8b1e5abd73d63f30ffb51e940ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:35 +0900 Subject: [PATCH 10/24] Bump npm package: ./packages/relay --- packages/relay/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/relay/package.json b/packages/relay/package.json index 8d1e968d9..b654c03d0 100644 --- a/packages/relay/package.json +++ b/packages/relay/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-relay", - "version": "1.5.102", + "version": "1.5.103", "description": "SWC plugin for relay", "main": "swc_plugin_relay.wasm", "types": "./types.d.ts", From 3e3c20be06badbecbbb63245cd683d44b59f49e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:35 +0900 Subject: [PATCH 11/24] Bump npm package: ./packages/remove-console --- packages/remove-console/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/remove-console/package.json b/packages/remove-console/package.json index cb4c28686..a3677d9a3 100644 --- a/packages/remove-console/package.json +++ b/packages/remove-console/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-remove-console", - "version": "1.5.102", + "version": "1.5.103", "description": "SWC plugin for https://www.npmjs.com/package/babel-plugin-remove-console", "main": "swc_plugin_remove_console.wasm", "scripts": { From 56e21c5d038ca5012e5fa68dd4444ebbe9c98da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:35 +0900 Subject: [PATCH 12/24] Bump npm package: ./packages/styled-components --- packages/styled-components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/styled-components/package.json b/packages/styled-components/package.json index 320996cf9..472490d58 100644 --- a/packages/styled-components/package.json +++ b/packages/styled-components/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-styled-components", - "version": "1.5.102", + "version": "1.5.103", "description": "SWC plugin for styled-components", "main": "swc_plugin_styled_components.wasm", "scripts": { From 83e0cfbf0293ab8a2f10034b5067282c9a01b874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:35 +0900 Subject: [PATCH 13/24] Bump npm package: ./packages/styled-jsx --- packages/styled-jsx/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/styled-jsx/package.json b/packages/styled-jsx/package.json index db28613d7..9f5eb96fd 100644 --- a/packages/styled-jsx/package.json +++ b/packages/styled-jsx/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-styled-jsx", - "version": "1.5.102", + "version": "1.5.103", "description": "SWC plugin for styled-jsx", "main": "swc_plugin_styled_jsx.wasm", "scripts": { From 412979f4af2ff544b0589aa02d80c92d7845be29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:35 +0900 Subject: [PATCH 14/24] Bump npm package: ./packages/swc-magic --- packages/swc-magic/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/swc-magic/package.json b/packages/swc-magic/package.json index 117666d7a..1382cf184 100644 --- a/packages/swc-magic/package.json +++ b/packages/swc-magic/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-swc-magic", - "version": "1.5.102", + "version": "1.5.103", "description": "SWC plugin for swc-magic", "main": "swc_plugin_swc_magic.wasm", "scripts": { From 983784036dd6033c8f0cbd0f9c854c509446bbb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:36 +0900 Subject: [PATCH 15/24] Bump npm package: ./packages/transform-imports --- packages/transform-imports/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/transform-imports/package.json b/packages/transform-imports/package.json index 3f9dd02d2..d5c10117d 100644 --- a/packages/transform-imports/package.json +++ b/packages/transform-imports/package.json @@ -1,6 +1,6 @@ { "name": "@swc/plugin-transform-imports", - "version": "1.5.102", + "version": "1.5.103", "description": "SWC plugin for https://www.npmjs.com/package/babel-plugin-transform-imports", "main": "swc_plugin_transform_imports.wasm", "scripts": { From e2e5537e8486a0515c0e90fc95a154947fd2c00e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:37 +0900 Subject: [PATCH 16/24] Bump cargo crate: modularize_imports --- Cargo.lock | 2 +- packages/transform-imports/transform/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8f213d648..3d48bedaf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1172,7 +1172,7 @@ dependencies = [ [[package]] name = "modularize_imports" -version = "0.59.0" +version = "0.60.0" dependencies = [ "convert_case", "handlebars", diff --git a/packages/transform-imports/transform/Cargo.toml b/packages/transform-imports/transform/Cargo.toml index 10dfe2df6..b6d774904 100644 --- a/packages/transform-imports/transform/Cargo.toml +++ b/packages/transform-imports/transform/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "modularize_imports" repository = "https://github.com/swc-project/plugins.git" -version = "0.59.0" +version = "0.60.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From 05eaaa8fc9f45f2998d7e528847a5a0e5cf31981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:38 +0900 Subject: [PATCH 17/24] Bump cargo crate: react_remove_properties --- Cargo.lock | 2 +- packages/react-remove-properties/transform/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3d48bedaf..e5d662510 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1716,7 +1716,7 @@ dependencies = [ [[package]] name = "react_remove_properties" -version = "0.15.0" +version = "0.16.0" dependencies = [ "serde", "swc_atoms", diff --git a/packages/react-remove-properties/transform/Cargo.toml b/packages/react-remove-properties/transform/Cargo.toml index 22ee9d580..87c618c53 100644 --- a/packages/react-remove-properties/transform/Cargo.toml +++ b/packages/react-remove-properties/transform/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "react_remove_properties" repository = "https://github.com/swc-project/plugins.git" -version = "0.15.0" +version = "0.16.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From e85152548c5da3b09b2ab4882d6ef8746484a259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:39 +0900 Subject: [PATCH 18/24] Bump cargo crate: remove_console --- Cargo.lock | 2 +- packages/remove-console/transform/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e5d662510..aebc41467 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1791,7 +1791,7 @@ checksum = "c707298afce11da2efef2f600116fa93ffa7a032b5d7b628aa17711ec81383ca" [[package]] name = "remove_console" -version = "0.16.0" +version = "0.17.0" dependencies = [ "serde", "swc_atoms", diff --git a/packages/remove-console/transform/Cargo.toml b/packages/remove-console/transform/Cargo.toml index 9fa43f686..fc0dfe118 100644 --- a/packages/remove-console/transform/Cargo.toml +++ b/packages/remove-console/transform/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "remove_console" repository = "https://github.com/swc-project/plugins.git" -version = "0.16.0" +version = "0.17.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From 7ca2b7e1dab0590286593f5f37ea109640626ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:39 +0900 Subject: [PATCH 19/24] Bump cargo crate: styled_components --- Cargo.lock | 2 +- packages/styled-components/transform/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index aebc41467..c19d44d5a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2167,7 +2167,7 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "styled_components" -version = "0.87.0" +version = "0.88.0" dependencies = [ "Inflector", "once_cell", diff --git a/packages/styled-components/transform/Cargo.toml b/packages/styled-components/transform/Cargo.toml index 6e1397829..92a6532c4 100644 --- a/packages/styled-components/transform/Cargo.toml +++ b/packages/styled-components/transform/Cargo.toml @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "styled_components" repository = "https://github.com/swc-project/plugins.git" -version = "0.87.0" +version = "0.88.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From 6a5678f6a1d714791ac431b61822007cf12ce4aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:40 +0900 Subject: [PATCH 20/24] Bump cargo crate: styled_jsx --- Cargo.lock | 2 +- packages/styled-jsx/transform/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c19d44d5a..28ae9b95f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2188,7 +2188,7 @@ dependencies = [ [[package]] name = "styled_jsx" -version = "0.64.0" +version = "0.65.0" dependencies = [ "easy-error", "lightningcss", diff --git a/packages/styled-jsx/transform/Cargo.toml b/packages/styled-jsx/transform/Cargo.toml index 8650312eb..6bb8b3d78 100644 --- a/packages/styled-jsx/transform/Cargo.toml +++ b/packages/styled-jsx/transform/Cargo.toml @@ -4,7 +4,7 @@ description = "AST transforms visitor for styled-jsx" edition = "2021" license = "Apache-2.0" name = "styled_jsx" -version = "0.64.0" +version = "0.65.0" [features] custom_transform = ["swc_common/concurrent"] From 9eed940e22c68bbd832e959bde66a3e0feb0b1a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:41 +0900 Subject: [PATCH 21/24] Bump cargo crate: swc_constify --- Cargo.lock | 2 +- packages/constify/transform/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 28ae9b95f..b52df5200 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2329,7 +2329,7 @@ dependencies = [ [[package]] name = "swc_constify" -version = "0.27.0" +version = "0.28.0" dependencies = [ "once_cell", "rustc-hash", diff --git a/packages/constify/transform/Cargo.toml b/packages/constify/transform/Cargo.toml index cc41d1746..932d169c4 100644 --- a/packages/constify/transform/Cargo.toml +++ b/packages/constify/transform/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_constify" repository = "https://github.com/swc-project/plugins.git" -version = "0.27.0" +version = "0.28.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From 6aa61fdae7f379d8b343f7dc43114358e2c3e782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:42 +0900 Subject: [PATCH 22/24] Bump cargo crate: swc_emotion --- Cargo.lock | 2 +- packages/emotion/transform/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b52df5200..80c4f2154 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2794,7 +2794,7 @@ dependencies = [ [[package]] name = "swc_emotion" -version = "0.63.0" +version = "0.64.0" dependencies = [ "base64", "byteorder", diff --git a/packages/emotion/transform/Cargo.toml b/packages/emotion/transform/Cargo.toml index b576eee87..611ff2cdf 100644 --- a/packages/emotion/transform/Cargo.toml +++ b/packages/emotion/transform/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_emotion" repository = "https://github.com/swc-project/plugins.git" -version = "0.63.0" +version = "0.64.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From a025c79f55a50e2ac48d1eee8f2b8660238b405e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:43 +0900 Subject: [PATCH 23/24] Bump cargo crate: swc_magic --- Cargo.lock | 2 +- packages/swc-magic/transform/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 80c4f2154..2f7c9b8a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2870,7 +2870,7 @@ dependencies = [ [[package]] name = "swc_magic" -version = "0.10.0" +version = "0.11.0" dependencies = [ "serde", "swc_atoms", diff --git a/packages/swc-magic/transform/Cargo.toml b/packages/swc-magic/transform/Cargo.toml index 1af6f9dbc..2f5e3c17f 100644 --- a/packages/swc-magic/transform/Cargo.toml +++ b/packages/swc-magic/transform/Cargo.toml @@ -4,7 +4,7 @@ description = "AST transforms visitor for swc-magic" edition = "2021" license = "Apache-2.0" name = "swc_magic" -version = "0.10.0" +version = "0.11.0" [dependencies] serde = { version = "1.0.189", features = ["derive"] } From f4b8cd202ee775c13fb9415c45f72067f490cb41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 26 Nov 2023 09:00:53 +0900 Subject: [PATCH 24/24] Bump cargo crate: swc_relay --- Cargo.lock | 2 +- packages/relay/transform/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2f7c9b8a7..7ca339a5d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3107,7 +3107,7 @@ dependencies = [ [[package]] name = "swc_relay" -version = "0.35.0" +version = "0.36.0" dependencies = [ "once_cell", "regex", diff --git a/packages/relay/transform/Cargo.toml b/packages/relay/transform/Cargo.toml index 6ace6caef..d14ddb293 100644 --- a/packages/relay/transform/Cargo.toml +++ b/packages/relay/transform/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "swc_relay" repository = "https://github.com/swc-project/plugins.git" -version = "0.35.0" +version = "0.36.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html