@swc/plugin-styled-jsx 1.5.46 → 1.5.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.toml +3 -3
- package/package.json +1 -1
- package/swc_plugin_styled_jsx.wasm +0 -0
- package/transform/Cargo.toml +4 -4
- package/transform/src/visitor.rs +1 -1
package/Cargo.toml
CHANGED
|
@@ -16,7 +16,7 @@ custom_transform = ["swc_core/common_concurrent"]
|
|
|
16
16
|
[dependencies]
|
|
17
17
|
easy-error = "1.0.0"
|
|
18
18
|
styled_jsx = {version = "0.30.0", path = "./transform"}
|
|
19
|
-
swc_core = {version = "0.
|
|
19
|
+
swc_core = {version = "0.69.0", features = [
|
|
20
20
|
"common",
|
|
21
21
|
"ecma_ast",
|
|
22
22
|
"ecma_plugin_transform",
|
|
@@ -33,5 +33,5 @@ swc_core = {version = "0.59.14", features = [
|
|
|
33
33
|
tracing = {version = "0.1.37", features = ["release_max_level_off"]}
|
|
34
34
|
|
|
35
35
|
[dev-dependencies]
|
|
36
|
-
swc_core = {features = ["testing_transform"], version = "0.
|
|
37
|
-
testing = "0.31.
|
|
36
|
+
swc_core = {features = ["testing_transform"], version = "0.69.0"}
|
|
37
|
+
testing = "0.31.39"
|
package/package.json
CHANGED
|
Binary file
|
package/transform/Cargo.toml
CHANGED
|
@@ -4,7 +4,7 @@ description = "AST transforms visitor for styled-jsx"
|
|
|
4
4
|
edition = "2021"
|
|
5
5
|
license = "Apache-2.0"
|
|
6
6
|
name = "styled_jsx"
|
|
7
|
-
version = "0.30.
|
|
7
|
+
version = "0.30.10"
|
|
8
8
|
|
|
9
9
|
[features]
|
|
10
10
|
custom_transform = ["swc_core/common_concurrent"]
|
|
@@ -13,7 +13,7 @@ custom_transform = ["swc_core/common_concurrent"]
|
|
|
13
13
|
easy-error = "1.0.0"
|
|
14
14
|
tracing = "0.1.37"
|
|
15
15
|
|
|
16
|
-
swc_core = { version = "0.
|
|
16
|
+
swc_core = { version = "0.69.0", features = [
|
|
17
17
|
"common",
|
|
18
18
|
"ecma_ast",
|
|
19
19
|
"css_ast",
|
|
@@ -28,5 +28,5 @@ swc_core = { version = "0.59.14", features = [
|
|
|
28
28
|
] }
|
|
29
29
|
|
|
30
30
|
[dev-dependencies]
|
|
31
|
-
testing = "0.31.
|
|
32
|
-
swc_core = { features = ["testing_transform"], version = "0.
|
|
31
|
+
testing = "0.31.39"
|
|
32
|
+
swc_core = { features = ["testing_transform"], version = "0.69.0" }
|
package/transform/src/visitor.rs
CHANGED
|
@@ -583,7 +583,7 @@ impl StyledJSXTransformer {
|
|
|
583
583
|
}
|
|
584
584
|
|
|
585
585
|
let style = self.get_jsx_style(
|
|
586
|
-
StyleExpr::Tpl(&tagged_tpl.tpl, &Expr::Tpl(tagged_tpl.tpl.clone())),
|
|
586
|
+
StyleExpr::Tpl(&tagged_tpl.tpl, &Expr::Tpl(*tagged_tpl.tpl.clone())),
|
|
587
587
|
false,
|
|
588
588
|
);
|
|
589
589
|
let styles = vec![style];
|