@modern-js/plugin-v2 2.63.3 → 2.63.5

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.
@@ -24,7 +24,7 @@ export type Plugin<PluginAPI = {}, Context = {}> = {
24
24
  * This function is called once when the plugin is initialized.
25
25
  * @param api provides the context info, utility functions and lifecycle hooks.
26
26
  */
27
- setup: (api: PluginAPI) => MaybePromise<void>;
27
+ setup?: (api: PluginAPI) => MaybePromise<void>;
28
28
  /**
29
29
  * Declare the names of pre-plugins, which will be executed before the current plugin.
30
30
  */
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.63.3",
18
+ "version": "2.63.5",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -61,19 +61,19 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@swc/helpers": "0.5.13",
64
- "@modern-js/node-bundle-require": "2.63.3",
65
- "@modern-js/utils": "2.63.3"
64
+ "@modern-js/node-bundle-require": "2.63.5",
65
+ "@modern-js/utils": "2.63.5"
66
66
  },
67
67
  "devDependencies": {
68
- "@rsbuild/core": "1.1.10",
68
+ "@rsbuild/core": "1.1.13",
69
69
  "@types/jest": "^29",
70
70
  "@types/node": "^14",
71
71
  "jest": "^29",
72
72
  "typescript": "^5",
73
- "@modern-js/types": "2.63.3",
74
- "@modern-js/uni-builder": "2.63.3",
75
- "@scripts/jest-config": "2.63.3",
76
- "@scripts/build": "2.63.3"
73
+ "@modern-js/types": "2.63.5",
74
+ "@modern-js/uni-builder": "2.63.5",
75
+ "@scripts/jest-config": "2.63.5",
76
+ "@scripts/build": "2.63.5"
77
77
  },
78
78
  "sideEffects": false,
79
79
  "publishConfig": {