@modern-js/plugin-polyfill 3.0.0-alpha.2 → 3.0.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.
@@ -1,5 +1,4 @@
1
1
  import "node:module";
2
- /*#__PURE__*/ import.meta.url;
3
2
  import { defaultPolyfill } from "./const.mjs";
4
3
  const polyfillPlugin = ()=>({
5
4
  name: '@modern-js/plugin-polyfill',
@@ -1,5 +1,4 @@
1
1
  import "node:module";
2
- /*#__PURE__*/ import.meta.url;
3
2
  const defaultPolyfill = '/__polyfill__';
4
3
  const getDefaultFeatures = ()=>({
5
4
  es6: {
@@ -1,5 +1,4 @@
1
1
  import "node:module";
2
- /*#__PURE__*/ import.meta.url;
3
2
  import { getPolyfillString } from "@modern-js/polyfill-lib";
4
3
  import { mime } from "@modern-js/utils";
5
4
  import ua_parser_js from "ua-parser-js";
@@ -1,5 +1,4 @@
1
1
  import "node:module";
2
- /*#__PURE__*/ import.meta.url;
3
2
  import crypto_0 from "crypto";
4
3
  import lru_cache from "lru-cache";
5
4
  const KB = 1024;
@@ -1,2 +1 @@
1
1
  import "node:module";
2
- /*#__PURE__*/ import.meta.url;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.0.0-alpha.2",
18
+ "version": "3.0.0",
19
19
  "types": "./dist/types/cli.d.ts",
20
20
  "main": "./dist/cjs/cli.js",
21
21
  "exports": {
@@ -62,18 +62,18 @@
62
62
  "@swc/helpers": "^0.5.17",
63
63
  "lru-cache": "^6.0.0",
64
64
  "ua-parser-js": "^0.7.41",
65
- "@modern-js/utils": "3.0.0-alpha.2"
65
+ "@modern-js/utils": "3.0.0"
66
66
  },
67
67
  "devDependencies": {
68
- "@rslib/core": "0.19.3",
68
+ "@rslib/core": "0.19.4",
69
69
  "@types/lru-cache": "^5.1.1",
70
70
  "@types/node": "^20",
71
71
  "@types/ua-parser-js": "^0.7.39",
72
72
  "typescript": "^5",
73
- "@modern-js/app-tools": "3.0.0-alpha.2",
73
+ "@modern-js/app-tools": "3.0.0",
74
74
  "@modern-js/rslib": "2.68.10",
75
- "@modern-js/server-core": "3.0.0-alpha.2",
76
- "@modern-js/types": "3.0.0-alpha.2",
75
+ "@modern-js/server-core": "3.0.0",
76
+ "@modern-js/types": "3.0.0",
77
77
  "@scripts/rstest-config": "2.66.0"
78
78
  },
79
79
  "sideEffects": false,