@modern-js/plugin-polyfill 1.0.0-rc.2 → 1.0.0-rc.3
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 +9 -0
- package/README.md +1 -1
- package/dist/js/node/const.js +1 -1
- package/dist/js/node/libs/cache.js +1 -1
- package/package.json +10 -6
package/CHANGELOG.md
ADDED
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
<p align="center">
|
|
3
|
-
<a href="https://modernjs.dev" target="blank"><img src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs.png" width="300" alt="Modern.js Logo" /></a>
|
|
3
|
+
<a href="https://modernjs.dev" target="blank"><img src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png" width="300" alt="Modern.js Logo" /></a>
|
|
4
4
|
</p>
|
|
5
5
|
|
|
6
6
|
<p align="center">现代 Web 工程体系</p>
|
package/dist/js/node/const.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.defaultPolyfill = exports.defaultFeatures = void 0;
|
|
7
7
|
const defaultPolyfill = '/__polyfill__';
|
|
8
8
|
exports.defaultPolyfill = defaultPolyfill;
|
|
9
9
|
const defaultFeatures = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/plugin-polyfill",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.3",
|
|
4
4
|
"jsnext:source": "./src/index.ts",
|
|
5
5
|
"types": "./dist/types/index.d.ts",
|
|
6
6
|
"main": "./dist/js/node/index.js",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7",
|
|
27
|
-
"@modern-js/core": "^1.0.0-rc.
|
|
27
|
+
"@modern-js/core": "^1.0.0-rc.3",
|
|
28
28
|
"@modern-js/polyfill-lib": "^1.0.0-rc.0",
|
|
29
|
-
"@modern-js/server-plugin": "^1.0.0-rc.
|
|
29
|
+
"@modern-js/server-plugin": "^1.0.0-rc.3",
|
|
30
30
|
"lru-cache": "^6.0.0",
|
|
31
31
|
"mime-types": "^2.1.32",
|
|
32
32
|
"ua-parser-js": "^0.7.28"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@modern-js/types": "^1.0.0-rc.
|
|
35
|
+
"@modern-js/types": "^1.0.0-rc.3",
|
|
36
36
|
"@types/jest": "^26",
|
|
37
37
|
"@types/lru-cache": "^5.1.1",
|
|
38
38
|
"@types/mime-types": "^2.1.1",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"@types/react-dom": "^17",
|
|
42
42
|
"@types/ua-parser-js": "^0.7.36",
|
|
43
43
|
"typescript": "^4",
|
|
44
|
-
"@modern-js/plugin-testing": "^1.0.0-rc.
|
|
45
|
-
"@modern-js/module-tools": "^1.0.0-rc.
|
|
44
|
+
"@modern-js/plugin-testing": "^1.0.0-rc.3",
|
|
45
|
+
"@modern-js/module-tools": "^1.0.0-rc.3"
|
|
46
46
|
},
|
|
47
47
|
"sideEffects": false,
|
|
48
48
|
"modernConfig": {
|
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
"packageMode": "node-js"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
+
"publicCnfig": {
|
|
54
|
+
"registry": "https://registry.npmjs.org/",
|
|
55
|
+
"access": "public"
|
|
56
|
+
},
|
|
53
57
|
"scripts": {
|
|
54
58
|
"new": "modern new",
|
|
55
59
|
"build": "modern build",
|