@modern-js/plugin-v2 2.63.7-alpha.2 → 2.63.7

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.
@@ -101,6 +101,9 @@ function initPluginAPI({ context, pluginManager }) {
101
101
  };
102
102
  return new Proxy(pluginAPI, {
103
103
  get(target, prop) {
104
+ if (prop === "then") {
105
+ return void 0;
106
+ }
104
107
  if (prop in target) {
105
108
  return target[prop];
106
109
  }
@@ -78,6 +78,9 @@ function initPluginAPI({ context, pluginManager }) {
78
78
  };
79
79
  return new Proxy(pluginAPI, {
80
80
  get(target, prop) {
81
+ if (prop === "then") {
82
+ return void 0;
83
+ }
81
84
  if (prop in target) {
82
85
  return target[prop];
83
86
  }
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.63.7-alpha.2",
18
+ "version": "2.63.7",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -61,8 +61,8 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@swc/helpers": "0.5.13",
64
- "@modern-js/node-bundle-require": "2.63.6",
65
- "@modern-js/utils": "2.63.6"
64
+ "@modern-js/node-bundle-require": "2.63.7",
65
+ "@modern-js/utils": "2.63.7"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@rsbuild/core": "1.1.13",
@@ -70,15 +70,16 @@
70
70
  "@types/node": "^14",
71
71
  "jest": "^29",
72
72
  "typescript": "^5",
73
- "@modern-js/types": "2.63.6",
74
- "@modern-js/uni-builder": "2.63.6",
75
- "@scripts/build": "2.63.6",
76
- "@scripts/jest-config": "2.63.6"
73
+ "@modern-js/types": "2.63.7",
74
+ "@modern-js/uni-builder": "2.63.7",
75
+ "@scripts/build": "2.63.7",
76
+ "@scripts/jest-config": "2.63.7"
77
77
  },
78
78
  "sideEffects": false,
79
79
  "publishConfig": {
80
80
  "registry": "https://registry.npmjs.org/",
81
- "access": "public"
81
+ "access": "public",
82
+ "provenance": true
82
83
  },
83
84
  "scripts": {
84
85
  "new": "modern-lib new",