@swc/plugin-jest 1.5.76 → 1.5.78

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
@@ -14,11 +14,9 @@ crate-type = ["cdylib", "rlib"]
14
14
  phf = { version = "0.10.0", features = ["macros"] }
15
15
  serde = { version = "1.0.130", features = ["derive"] }
16
16
  swc_common = { version = "0.32.1", features = ["concurrent"] }
17
- swc_core = { version = "0.83.0", features = [
18
- "ecma_plugin_transform",
19
- "ecma_utils",
20
- "ecma_visit",
21
- "ecma_ast",
22
- "common",
23
- ] }
17
+ swc_core = { version = "0.83.5", features = ["ecma_plugin_transform"] }
18
+ swc_ecma_ast = "0.109.1"
19
+ swc_ecma_utils = "0.123.0"
20
+ swc_ecma_visit = "0.95.1"
21
+ swc_plugin_macro = "0.9.15"
24
22
  tracing = { version = "0.1.37", features = ["release_max_level_off"] }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/plugin-jest",
3
- "version": "1.5.76",
3
+ "version": "1.5.78",
4
4
  "description": "SWC plugin for jest",
5
5
  "main": "swc_plugin_jest.wasm",
6
6
  "scripts": {
package/src/lib.rs CHANGED
@@ -2,15 +2,12 @@
2
2
 
3
3
  use phf::phf_set;
4
4
  use serde::Deserialize;
5
- use swc_core::{
6
- common::util::take::Take,
7
- ecma::{
8
- ast::{Program, *},
9
- utils::{prepend_stmts, StmtLike},
10
- visit::{noop_visit_mut_type, VisitMut, VisitMutWith},
11
- },
12
- plugin::{plugin_transform, proxies::TransformPluginProgramMetadata},
13
- };
5
+ use swc_common::util::take::Take;
6
+ use swc_core::plugin::proxies::TransformPluginProgramMetadata;
7
+ use swc_ecma_ast::*;
8
+ use swc_ecma_utils::{prepend_stmts, StmtLike};
9
+ use swc_ecma_visit::{noop_visit_mut_type, VisitMut, VisitMutWith};
10
+ use swc_plugin_macro::plugin_transform;
14
11
 
15
12
  // swc_plugin::define_js_plugin!(jest);
16
13
 
Binary file