@modern-js/module-tools 2.59.0 → 2.60.0

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.
@@ -34,8 +34,7 @@ class TransformContext extends import_sourcemap.SourcemapContext {
34
34
  }
35
35
  }
36
36
  constructor(...args) {
37
- super(...args);
38
- this.cachedTransformResult = /* @__PURE__ */ new Map();
37
+ super(...args), this.cachedTransformResult = /* @__PURE__ */ new Map();
39
38
  }
40
39
  }
41
40
  // Annotate the CommonJS export names for ESM import in node:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/module-tools",
3
- "version": "2.59.0",
3
+ "version": "2.60.0",
4
4
  "description": "Simple, powerful, high-performance modern npm package development solution.",
5
5
  "keywords": [
6
6
  "modern",
@@ -54,9 +54,9 @@
54
54
  "@ast-grep/napi": "0.16.0",
55
55
  "@babel/core": "^7.24.7",
56
56
  "@babel/types": "^7.24.7",
57
- "@modern-js/swc-plugins": "0.6.6",
57
+ "@modern-js/swc-plugins": "0.6.11",
58
58
  "@rollup/pluginutils": "4.1.1",
59
- "@swc/helpers": "0.5.3",
59
+ "@swc/helpers": "0.5.13",
60
60
  "convert-source-map": "1.8.0",
61
61
  "enhanced-resolve": "5.12.0",
62
62
  "esbuild": "0.19.2",
@@ -70,22 +70,22 @@
70
70
  "tapable": "2.2.1",
71
71
  "terser": "^5.31.1",
72
72
  "tsconfig-paths-webpack-plugin": "4.1.0",
73
- "@modern-js/plugin": "2.59.0",
74
- "@modern-js/core": "2.59.0",
75
- "@modern-js/plugin-i18n": "2.59.0",
76
- "@modern-js/plugin-changeset": "2.59.0",
77
- "@modern-js/plugin-lint": "2.59.0",
78
- "@modern-js/types": "2.59.0",
79
- "@modern-js/utils": "2.59.0"
73
+ "@modern-js/core": "2.60.0",
74
+ "@modern-js/plugin": "2.60.0",
75
+ "@modern-js/plugin-changeset": "2.60.0",
76
+ "@modern-js/plugin-i18n": "2.60.0",
77
+ "@modern-js/plugin-lint": "2.60.0",
78
+ "@modern-js/types": "2.60.0",
79
+ "@modern-js/utils": "2.60.0"
80
80
  },
81
81
  "devDependencies": {
82
- "@rsbuild/core": "1.0.1-rc.4",
82
+ "@rsbuild/core": "1.0.2",
83
83
  "@types/convert-source-map": "1.5.2",
84
84
  "@types/node": "^14",
85
85
  "typescript": "^5",
86
- "@modern-js/self": "npm:@modern-js/module-tools@2.59.0",
87
- "@scripts/build": "2.59.0",
88
- "@scripts/vitest-config": "2.59.0"
86
+ "@scripts/build": "2.60.0",
87
+ "@modern-js/self": "npm:@modern-js/module-tools@2.60.0",
88
+ "@scripts/vitest-config": "2.60.0"
89
89
  },
90
90
  "peerDependencies": {
91
91
  "typescript": "^4 || ^5"