@modern-js/plugin-polyfill 1.20.0 → 1.21.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @modern-js/plugin-polyfill
2
2
 
3
+ ## 1.21.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @modern-js/utils@1.21.0
8
+
9
+ ## 1.20.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [49515c5]
14
+ - @modern-js/utils@1.20.1
15
+
3
16
  ## 1.20.0
4
17
 
5
18
  ### Patch Changes
@@ -6,7 +6,7 @@ import PolyfillCache, { generateCacheKey } from "./libs/cache";
6
6
  export default (() => ({
7
7
  name: '@modern-js/plugin-polyfill',
8
8
  setup: () => ({
9
- beforeProdServer(_) {
9
+ beforeProdServer() {
10
10
  const cache = new PolyfillCache();
11
11
  const route = defaultPolyfill;
12
12
  const features = defaultFeatures;
@@ -24,7 +24,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
24
24
  var _default = () => ({
25
25
  name: '@modern-js/plugin-polyfill',
26
26
  setup: () => ({
27
- beforeProdServer(_) {
27
+ beforeProdServer() {
28
28
  const cache = new _cache.default();
29
29
  const route = _const.defaultPolyfill;
30
30
  const features = _const.defaultFeatures;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.20.0",
14
+ "version": "1.21.0",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -37,23 +37,23 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@babel/runtime": "^7.18.0",
40
- "@modern-js/utils": "1.20.0",
40
+ "@modern-js/utils": "1.21.0",
41
41
  "@modern-js/polyfill-lib": "^1.0.0",
42
42
  "lru-cache": "^6.0.0",
43
43
  "ua-parser-js": "^0.7.28"
44
44
  },
45
45
  "devDependencies": {
46
- "@modern-js/server-core": "1.20.0",
47
- "@modern-js/types": "1.20.0",
46
+ "@modern-js/server-core": "1.21.0",
47
+ "@modern-js/types": "1.21.0",
48
48
  "@types/jest": "^27",
49
49
  "@types/lru-cache": "^5.1.1",
50
50
  "@types/node": "^14",
51
51
  "@types/ua-parser-js": "^0.7.36",
52
52
  "typescript": "^4",
53
- "@modern-js/core": "1.20.0",
54
- "@scripts/build": "1.20.0",
53
+ "@modern-js/core": "1.21.0",
54
+ "@scripts/build": "1.21.0",
55
55
  "jest": "^27",
56
- "@scripts/jest-config": "1.20.0"
56
+ "@scripts/jest-config": "1.21.0"
57
57
  },
58
58
  "sideEffects": false,
59
59
  "modernConfig": {