@modern-js/plugin-module-polyfill 2.35.0 → 2.35.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ const ModulePolyfillPlugin = (options) => ({
22
22
  name: "@modern-js/plugin-module-polyfill",
23
23
  setup: () => ({
24
24
  modifyLibuild(config) {
25
- var _options, _config_plugins;
25
+ var _config_plugins;
26
26
  const plugins = [
27
27
  [
28
28
  require("@babel/plugin-syntax-typescript"),
@@ -37,7 +37,7 @@ const ModulePolyfillPlugin = (options) => ({
37
37
  require("babel-plugin-polyfill-corejs3"),
38
38
  {
39
39
  method: "usage-pure",
40
- targets: (_options = options) === null || _options === void 0 ? void 0 : _options.targets
40
+ targets: options === null || options === void 0 ? void 0 : options.targets
41
41
  }
42
42
  ]
43
43
  ];
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.35.0",
18
+ "version": "2.35.1",
19
19
  "types": "./dist/index.d.ts",
20
20
  "main": "./dist/index.js",
21
21
  "devDependencies": {
@@ -24,12 +24,12 @@
24
24
  "typescript": "^5",
25
25
  "jest": "^29",
26
26
  "@swc/helpers": "0.5.1",
27
- "@scripts/build": "2.35.0",
28
- "@scripts/jest-config": "2.35.0",
29
- "@modern-js/module-tools": "2.35.0"
27
+ "@modern-js/module-tools": "2.35.1",
28
+ "@scripts/jest-config": "2.35.1",
29
+ "@scripts/build": "2.35.1"
30
30
  },
31
31
  "peerDependencies": {
32
- "@modern-js/module-tools": "^2.35.0",
32
+ "@modern-js/module-tools": "^2.35.1",
33
33
  "core-js-pure": "^3.25.0"
34
34
  },
35
35
  "dependencies": {
@@ -37,7 +37,7 @@
37
37
  "@babel/plugin-syntax-typescript": "^7.22.5",
38
38
  "@babel/plugin-syntax-jsx": "^7.22.5",
39
39
  "babel-plugin-polyfill-corejs3": "0.5.2",
40
- "@modern-js/libuild-plugin-babel": "2.35.0"
40
+ "@modern-js/libuild-plugin-babel": "2.35.1"
41
41
  },
42
42
  "sideEffects": false,
43
43
  "publishConfig": {