@modern-js/plugin-polyfill 2.5.0 → 2.7.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,25 @@
1
1
  # @modern-js/plugin-polyfill
2
2
 
3
+ ## 2.7.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0f15fc597c]
8
+ - Updated dependencies [dcad887024]
9
+ - Updated dependencies [a4672f7c16]
10
+ - Updated dependencies [7fff9020e1]
11
+ - Updated dependencies [84bfb439b8]
12
+ - @modern-js/utils@2.7.0
13
+
14
+ ## 2.6.0
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [e1f799e]
19
+ - Updated dependencies [7915ab3]
20
+ - Updated dependencies [0fe658a]
21
+ - @modern-js/utils@2.6.0
22
+
3
23
  ## 2.5.0
4
24
 
5
25
  ### Patch Changes
package/dist/cjs/cli.js CHANGED
@@ -28,7 +28,7 @@ var cli_default = () => ({
28
28
  const resolvedConfig = api.useResolvedConfigContext();
29
29
  if (resolvedConfig.output.polyfill === "ua") {
30
30
  partials.top.push(
31
- `<script src="${import_const.defaultPolyfill}" crossorigin><\/script>`
31
+ `<script src="${import_const.defaultPolyfill}" crossorigin></script>`
32
32
  );
33
33
  }
34
34
  return { partials, entrypoint };
package/dist/cjs/index.js CHANGED
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
17
17
  return to;
18
18
  };
19
19
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
20
24
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
21
25
  mod
22
26
  ));
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
17
17
  return to;
18
18
  };
19
19
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
20
24
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
21
25
  mod
22
26
  ));
@@ -6,7 +6,7 @@ var cli_default = () => ({
6
6
  const resolvedConfig = api.useResolvedConfigContext();
7
7
  if (resolvedConfig.output.polyfill === "ua") {
8
8
  partials.top.push(
9
- `<script src="${defaultPolyfill}" crossorigin><\/script>`
9
+ `<script src="${defaultPolyfill}" crossorigin></script>`
10
10
  );
11
11
  }
12
12
  return { partials, entrypoint };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.5.0",
14
+ "version": "2.7.0",
15
15
  "jsnext:source": "./src/cli.ts",
16
16
  "types": "./dist/types/cli.d.ts",
17
17
  "main": "./dist/cjs/cli.js",
@@ -47,7 +47,7 @@
47
47
  "@modern-js/polyfill-lib": "^1.0.0",
48
48
  "lru-cache": "^6.0.0",
49
49
  "ua-parser-js": "^0.7.28",
50
- "@modern-js/utils": "2.5.0"
50
+ "@modern-js/utils": "2.7.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/jest": "^27",
@@ -56,12 +56,12 @@
56
56
  "@types/ua-parser-js": "^0.7.36",
57
57
  "typescript": "^4",
58
58
  "jest": "^27",
59
- "@modern-js/server-core": "2.5.0",
60
- "@modern-js/app-tools": "2.5.0",
61
- "@modern-js/types": "2.5.0",
62
- "@scripts/build": "2.5.0",
63
- "@scripts/jest-config": "2.5.0",
64
- "@modern-js/core": "2.5.0"
59
+ "@modern-js/server-core": "2.7.0",
60
+ "@modern-js/app-tools": "2.7.0",
61
+ "@modern-js/types": "2.7.0",
62
+ "@modern-js/core": "2.7.0",
63
+ "@scripts/jest-config": "2.7.0",
64
+ "@scripts/build": "2.7.0"
65
65
  },
66
66
  "sideEffects": false,
67
67
  "publishConfig": {