@swc/plugin-jest 2.0.7 → 2.0.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @swc/plugin-jest
2
2
 
3
+ ## 2.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 7391419: Update swc_core to v0.100.0
8
+
9
+ ## 2.0.8
10
+
11
+ ### Patch Changes
12
+
13
+ - 9c28afb: Update swc_core to 0.99.x (@swc/core 1.7.0)
14
+
3
15
  ## 2.0.7
4
16
 
5
17
  ### Patch Changes
package/Cargo.toml CHANGED
@@ -17,10 +17,10 @@ crate-type = ["cdylib", "rlib"]
17
17
  [dependencies]
18
18
  phf = { version = "0.11.2", features = ["macros"] }
19
19
  serde = { version = "1.0.201", features = ["derive"] }
20
- swc_common = { version = "0.34.3", features = ["concurrent"] }
21
- swc_core = { version = "0.96.0", features = ["ecma_plugin_transform"] }
22
- swc_ecma_ast = "0.115.1"
23
- swc_ecma_utils = "0.130.1"
24
- swc_ecma_visit = "0.101.0"
20
+ swc_common = { version = "0.37.0", features = ["concurrent"] }
21
+ swc_core = { version = "0.100.0", features = ["ecma_plugin_transform"] }
22
+ swc_ecma_ast = "0.118.0"
23
+ swc_ecma_utils = "0.134.0"
24
+ swc_ecma_visit = "0.104.0"
25
25
  swc_plugin_macro = "0.9.16"
26
26
  tracing = { version = "0.1.40", features = ["release_max_level_off"] }
package/README.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  # @swc/plugin-jest
4
4
 
5
+ ## 2.0.9
6
+
7
+ ### Patch Changes
8
+
9
+ - 7391419: Update swc_core to v0.100.0
10
+
11
+ ## 2.0.8
12
+
13
+ ### Patch Changes
14
+
15
+ - 9c28afb: Update swc_core to 0.99.x (@swc/core 1.7.0)
16
+
5
17
  ## 2.0.7
6
18
 
7
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/plugin-jest",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "SWC plugin for jest",
5
5
  "main": "swc_plugin_jest.wasm",
6
6
  "homepage": "https://swc.rs",
package/src/lib.rs CHANGED
@@ -59,18 +59,18 @@ impl Jest {
59
59
  ) => match &*callee.obj {
60
60
  Expr::Ident(i) if i.sym == *"jest" => match prop {
61
61
  _ if HOIST_METHODS.contains(&*prop.sym) => {
62
- hoisted.push(T::from_stmt(stmt));
62
+ hoisted.push(T::from(stmt));
63
63
  }
64
- _ => new.push(T::from_stmt(stmt)),
64
+ _ => new.push(T::from(stmt)),
65
65
  },
66
- _ => new.push(T::from_stmt(stmt)),
66
+ _ => new.push(T::from(stmt)),
67
67
  },
68
- _ => new.push(T::from_stmt(stmt)),
68
+ _ => new.push(T::from(stmt)),
69
69
  },
70
- _ => new.push(T::from_stmt(stmt)),
70
+ _ => new.push(T::from(stmt)),
71
71
  },
72
72
 
73
- _ => new.push(T::from_stmt(stmt)),
73
+ _ => new.push(T::from(stmt)),
74
74
  },
75
75
  Err(node) => new.push(node),
76
76
  };
Binary file