@modern-js/plugin-polyfill 2.58.1 → 2.58.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -3,7 +3,7 @@ import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
3
3
  import { getPolyfillString } from "@modern-js/polyfill-lib";
4
4
  import { mime } from "@modern-js/utils";
5
5
  import Parser from "ua-parser-js";
6
- import { getDefaultFeatures, defaultPolyfill } from "./const";
6
+ import { defaultPolyfill, getDefaultFeatures } from "./const";
7
7
  import PolyfillCache, { generateCacheKey } from "./libs/cache";
8
8
  function src_default() {
9
9
  return {
@@ -1,7 +1,7 @@
1
1
  import { getPolyfillString } from "@modern-js/polyfill-lib";
2
2
  import { mime } from "@modern-js/utils";
3
3
  import Parser from "ua-parser-js";
4
- import { getDefaultFeatures, defaultPolyfill } from "./const";
4
+ import { defaultPolyfill, getDefaultFeatures } from "./const";
5
5
  import PolyfillCache, { generateCacheKey } from "./libs/cache";
6
6
  var src_default = () => ({
7
7
  name: "@modern-js/plugin-polyfill",
@@ -1,4 +1,4 @@
1
- import type { CliPlugin } from '@modern-js/core';
2
1
  import type { AppTools } from '@modern-js/app-tools';
2
+ import type { CliPlugin } from '@modern-js/core';
3
3
  export declare const polyfillPlugin: () => CliPlugin<AppTools>;
4
4
  export default polyfillPlugin;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.58.1",
18
+ "version": "2.58.3",
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
  "@swc/helpers": "0.5.3",
52
52
  "lru-cache": "^6.0.0",
53
53
  "ua-parser-js": "^0.7.33",
54
- "@modern-js/utils": "2.58.1"
54
+ "@modern-js/utils": "2.58.3"
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
  "jest": "^29",
62
62
  "typescript": "^5",
63
- "@modern-js/app-tools": "2.58.1",
64
- "@modern-js/core": "2.58.1",
65
- "@modern-js/server-core": "2.58.1",
66
- "@modern-js/types": "2.58.1",
67
- "@scripts/build": "2.58.1",
68
- "@scripts/jest-config": "2.58.1"
63
+ "@modern-js/app-tools": "2.58.3",
64
+ "@modern-js/server-core": "2.58.3",
65
+ "@modern-js/types": "2.58.3",
66
+ "@scripts/build": "2.58.3",
67
+ "@scripts/jest-config": "2.58.3",
68
+ "@modern-js/core": "2.58.3"
69
69
  },
70
70
  "sideEffects": false,
71
71
  "publishConfig": {