@modern-js/plugin-polyfill 2.21.0 → 2.22.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/CHANGELOG.md +14 -0
- package/dist/cjs/cli.js +3 -1
- package/dist/cjs/const.js +6 -2
- package/dist/cjs/index.js +3 -1
- package/dist/cjs/libs/cache.js +6 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @modern-js/plugin-polyfill
|
|
2
2
|
|
|
3
|
+
## 2.22.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [3d48836]
|
|
8
|
+
- Updated dependencies [5050e8e]
|
|
9
|
+
- @modern-js/utils@2.22.0
|
|
10
|
+
|
|
11
|
+
## 2.21.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- @modern-js/utils@2.21.1
|
|
16
|
+
|
|
3
17
|
## 2.21.0
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/cli.js
CHANGED
package/dist/cjs/const.js
CHANGED
|
@@ -10,8 +10,12 @@ function _export(target, all) {
|
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
defaultPolyfill: ()
|
|
14
|
-
|
|
13
|
+
defaultPolyfill: function() {
|
|
14
|
+
return defaultPolyfill;
|
|
15
|
+
},
|
|
16
|
+
getDefaultFeatures: function() {
|
|
17
|
+
return getDefaultFeatures;
|
|
18
|
+
}
|
|
15
19
|
});
|
|
16
20
|
const defaultPolyfill = "/__polyfill__";
|
|
17
21
|
const getDefaultFeatures = () => ({
|
package/dist/cjs/index.js
CHANGED
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
});
|
|
5
5
|
Object.defineProperty(exports, "default", {
|
|
6
6
|
enumerable: true,
|
|
7
|
-
get: ()
|
|
7
|
+
get: function() {
|
|
8
|
+
return _default;
|
|
9
|
+
}
|
|
8
10
|
});
|
|
9
11
|
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
10
12
|
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
package/dist/cjs/libs/cache.js
CHANGED
|
@@ -10,8 +10,12 @@ function _export(target, all) {
|
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
default: ()
|
|
14
|
-
|
|
13
|
+
default: function() {
|
|
14
|
+
return Cache;
|
|
15
|
+
},
|
|
16
|
+
generateCacheKey: function() {
|
|
17
|
+
return generateCacheKey;
|
|
18
|
+
}
|
|
15
19
|
});
|
|
16
20
|
const _define_property = require("@swc/helpers/_/_define_property");
|
|
17
21
|
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.
|
|
18
|
+
"version": "2.22.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.28",
|
|
53
53
|
"@swc/helpers": "0.5.1",
|
|
54
|
-
"@modern-js/utils": "2.
|
|
54
|
+
"@modern-js/utils": "2.22.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.
|
|
64
|
-
"@modern-js/app-tools": "2.
|
|
65
|
-
"@modern-js/types": "2.
|
|
66
|
-
"@modern-js/core": "2.
|
|
67
|
-
"@scripts/build": "2.
|
|
68
|
-
"@scripts/jest-config": "2.
|
|
63
|
+
"@modern-js/server-core": "2.22.0",
|
|
64
|
+
"@modern-js/app-tools": "2.22.0",
|
|
65
|
+
"@modern-js/types": "2.22.0",
|
|
66
|
+
"@modern-js/core": "2.22.0",
|
|
67
|
+
"@scripts/build": "2.22.0",
|
|
68
|
+
"@scripts/jest-config": "2.22.0"
|
|
69
69
|
},
|
|
70
70
|
"sideEffects": false,
|
|
71
71
|
"publishConfig": {
|