@modern-js/plugin-polyfill 2.53.0 → 2.54.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.
package/dist/cjs/cli.js CHANGED
@@ -36,9 +36,9 @@ const polyfillPlugin = () => ({
36
36
  entrypoint
37
37
  };
38
38
  },
39
- collectServerPlugins({ plugins }) {
39
+ _internalServerPlugins({ plugins }) {
40
40
  plugins.push({
41
- "@modern-js/plugin-polyfill": "@modern-js/plugin-polyfill/server"
41
+ name: "@modern-js/plugin-polyfill/server"
42
42
  });
43
43
  return {
44
44
  plugins
package/dist/esm/cli.js CHANGED
@@ -15,10 +15,10 @@ var polyfillPlugin = function() {
15
15
  entrypoint
16
16
  };
17
17
  },
18
- collectServerPlugins: function collectServerPlugins(param) {
18
+ _internalServerPlugins: function _internalServerPlugins(param) {
19
19
  var plugins = param.plugins;
20
20
  plugins.push({
21
- "@modern-js/plugin-polyfill": "@modern-js/plugin-polyfill/server"
21
+ name: "@modern-js/plugin-polyfill/server"
22
22
  });
23
23
  return {
24
24
  plugins
@@ -12,9 +12,9 @@ const polyfillPlugin = () => ({
12
12
  entrypoint
13
13
  };
14
14
  },
15
- collectServerPlugins({ plugins }) {
15
+ _internalServerPlugins({ plugins }) {
16
16
  plugins.push({
17
- "@modern-js/plugin-polyfill": "@modern-js/plugin-polyfill/server"
17
+ name: "@modern-js/plugin-polyfill/server"
18
18
  });
19
19
  return {
20
20
  plugins
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.53.0",
18
+ "version": "2.54.0",
19
19
  "jsnext:source": "./src/cli.ts",
20
20
  "types": "./dist/types/cli.d.ts",
21
21
  "main": "./dist/cjs/cli.js",
@@ -51,7 +51,7 @@
51
51
  "lru-cache": "^6.0.0",
52
52
  "ua-parser-js": "^0.7.33",
53
53
  "@swc/helpers": "0.5.3",
54
- "@modern-js/utils": "2.53.0"
54
+ "@modern-js/utils": "2.54.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/jest": "^29",
@@ -60,12 +60,12 @@
60
60
  "@types/ua-parser-js": "^0.7.36",
61
61
  "typescript": "^5",
62
62
  "jest": "^29",
63
- "@modern-js/server-core": "2.53.0",
64
- "@modern-js/app-tools": "2.53.0",
65
- "@modern-js/core": "2.53.0",
66
- "@scripts/build": "2.53.0",
67
- "@modern-js/types": "2.53.0",
68
- "@scripts/jest-config": "2.53.0"
63
+ "@modern-js/server-core": "2.54.0",
64
+ "@modern-js/app-tools": "2.54.0",
65
+ "@modern-js/types": "2.54.0",
66
+ "@modern-js/core": "2.54.0",
67
+ "@scripts/build": "2.54.0",
68
+ "@scripts/jest-config": "2.54.0"
69
69
  },
70
70
  "sideEffects": false,
71
71
  "publishConfig": {