@swc/plugin-styled-jsx 1.5.105 → 1.5.109
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 +11 -11
- package/package.json +1 -1
- package/src/lib.rs +6 -1
- package/swc_plugin_styled_jsx.wasm +0 -0
package/Cargo.toml
CHANGED
|
@@ -5,7 +5,7 @@ edition = "2021"
|
|
|
5
5
|
license = "Apache-2.0"
|
|
6
6
|
name = "swc_plugin_styled_jsx"
|
|
7
7
|
publish = false
|
|
8
|
-
version = "0.
|
|
8
|
+
version = "0.16.0"
|
|
9
9
|
|
|
10
10
|
[lib]
|
|
11
11
|
crate-type = ["cdylib", "rlib"]
|
|
@@ -18,16 +18,16 @@ easy-error = "1.0.0"
|
|
|
18
18
|
styled_jsx = { path = "./transform" }
|
|
19
19
|
tracing = { version = "0.1.37", features = ["release_max_level_off"] }
|
|
20
20
|
serde_json = "1"
|
|
21
|
-
swc_common = "0.33.
|
|
22
|
-
swc_ecma_ast = "0.110.
|
|
23
|
-
swc_ecma_parser = "0.141.
|
|
24
|
-
swc_ecma_minifier = "0.
|
|
25
|
-
swc_ecma_utils = "0.
|
|
26
|
-
swc_ecma_visit = "0.96.
|
|
21
|
+
swc_common = "0.33.12"
|
|
22
|
+
swc_ecma_ast = "0.110.15"
|
|
23
|
+
swc_ecma_parser = "0.141.33"
|
|
24
|
+
swc_ecma_minifier = "0.190.3"
|
|
25
|
+
swc_ecma_utils = "0.125.0"
|
|
26
|
+
swc_ecma_visit = "0.96.15"
|
|
27
27
|
swc_plugin_macro = "0.9.15"
|
|
28
|
-
swc_atoms = "0.6.
|
|
29
|
-
swc_core = { version = "0.
|
|
28
|
+
swc_atoms = "0.6.5"
|
|
29
|
+
swc_core = { version = "0.87.3", features = ["ecma_plugin_transform"] }
|
|
30
30
|
|
|
31
31
|
[dev-dependencies]
|
|
32
|
-
swc_ecma_transforms_testing = "0.
|
|
33
|
-
testing = "0.35.
|
|
32
|
+
swc_ecma_transforms_testing = "0.138.1"
|
|
33
|
+
testing = "0.35.14"
|
package/package.json
CHANGED
package/src/lib.rs
CHANGED
|
@@ -20,5 +20,10 @@ fn styled_jsx_plugin(program: Program, data: TransformPluginProgramMetadata) ->
|
|
|
20
20
|
// TODO(kdy1): This is wrong, but it does not use cm
|
|
21
21
|
let cm = Lrc::new(SourceMap::default());
|
|
22
22
|
|
|
23
|
-
program.fold_with(&mut visitor::styled_jsx(
|
|
23
|
+
program.fold_with(&mut visitor::styled_jsx(
|
|
24
|
+
cm,
|
|
25
|
+
FileName::Anon,
|
|
26
|
+
config,
|
|
27
|
+
Default::default(),
|
|
28
|
+
))
|
|
24
29
|
}
|
|
Binary file
|