@swc/plugin-styled-jsx 1.5.108 → 1.5.110

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 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.15.0"
8
+ version = "0.17.0"
9
9
 
10
10
  [lib]
11
11
  crate-type = ["cdylib", "rlib"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/plugin-styled-jsx",
3
- "version": "1.5.108",
3
+ "version": "1.5.110",
4
4
  "description": "SWC plugin for styled-jsx",
5
5
  "main": "swc_plugin_styled_jsx.wasm",
6
6
  "scripts": {
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(cm, FileName::Anon, config))
23
+ program.fold_with(&mut visitor::styled_jsx(
24
+ cm,
25
+ FileName::Anon,
26
+ config,
27
+ Default::default(),
28
+ ))
24
29
  }
Binary file