@swc-contrib/mut-cjs-exports 11.0.0 → 11.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-contrib/mut-cjs-exports",
3
- "version": "11.0.0",
3
+ "version": "11.0.2",
4
4
  "description": "[SWC plugin] mutable CJS exports",
5
5
  "author": "magic-akari <akari.ccino@gmail.com>",
6
6
  "license": "MIT",
package/src/lib.rs CHANGED
@@ -25,7 +25,7 @@ pub struct TransformVisitor {
25
25
  }
26
26
 
27
27
  impl VisitMut for TransformVisitor {
28
- noop_visit_mut_type!();
28
+ noop_visit_mut_type!(fail);
29
29
 
30
30
  fn visit_mut_script(&mut self, _: &mut Script) {
31
31
  // skip
@@ -42,7 +42,7 @@ pub(crate) struct LocalExportStrip {
42
42
  }
43
43
 
44
44
  impl VisitMut for LocalExportStrip {
45
- noop_visit_mut_type!();
45
+ noop_visit_mut_type!(fail);
46
46
 
47
47
  fn visit_mut_script(&mut self, _: &mut Script) {
48
48
  // skip
Binary file