rollup 2.67.1 → 2.67.2

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/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.67.1
4
- Mon, 07 Feb 2022 05:29:30 GMT - commit efd71e930e86ab30f4911ed8caa7f78aca005729
3
+ Rollup.js v2.67.2
4
+ Thu, 10 Feb 2022 08:15:45 GMT - commit 60706c33073abe34cac170a92a17a1b166d348e3
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.67.1
4
- Mon, 07 Feb 2022 05:29:30 GMT - commit efd71e930e86ab30f4911ed8caa7f78aca005729
3
+ Rollup.js v2.67.2
4
+ Thu, 10 Feb 2022 08:15:45 GMT - commit 60706c33073abe34cac170a92a17a1b166d348e3
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.67.1
4
- Mon, 07 Feb 2022 05:29:30 GMT - commit efd71e930e86ab30f4911ed8caa7f78aca005729
3
+ Rollup.js v2.67.2
4
+ Thu, 10 Feb 2022 08:15:45 GMT - commit 60706c33073abe34cac170a92a17a1b166d348e3
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.67.1
4
- Mon, 07 Feb 2022 05:29:30 GMT - commit efd71e930e86ab30f4911ed8caa7f78aca005729
3
+ Rollup.js v2.67.2
4
+ Thu, 10 Feb 2022 08:15:45 GMT - commit 60706c33073abe34cac170a92a17a1b166d348e3
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.67.1
4
- Mon, 07 Feb 2022 05:29:30 GMT - commit efd71e930e86ab30f4911ed8caa7f78aca005729
3
+ Rollup.js v2.67.2
4
+ Thu, 10 Feb 2022 08:15:45 GMT - commit 60706c33073abe34cac170a92a17a1b166d348e3
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -28,7 +28,7 @@ function _interopNamespaceDefault(e) {
28
28
  return n;
29
29
  }
30
30
 
31
- var version$1 = "2.67.1";
31
+ var version$1 = "2.67.2";
32
32
 
33
33
  function ensureArray$1(items) {
34
34
  if (Array.isArray(items)) {
@@ -16051,7 +16051,7 @@ class Bundle {
16051
16051
  }
16052
16052
  }
16053
16053
  assignManualChunks(getManualChunk) {
16054
- const manualChunkAliasByEntry = new Map();
16054
+ const manualChunkAliasesWithEntry = [];
16055
16055
  const manualChunksApi = {
16056
16056
  getModuleIds: () => this.graph.modulesById.keys(),
16057
16057
  getModuleInfo: this.graph.getModuleInfo
@@ -16060,10 +16060,15 @@ class Bundle {
16060
16060
  if (module instanceof Module) {
16061
16061
  const manualChunkAlias = getManualChunk(module.id, manualChunksApi);
16062
16062
  if (typeof manualChunkAlias === 'string') {
16063
- addModuleToManualChunk(manualChunkAlias, module, manualChunkAliasByEntry);
16063
+ manualChunkAliasesWithEntry.push([manualChunkAlias, module]);
16064
16064
  }
16065
16065
  }
16066
16066
  }
16067
+ manualChunkAliasesWithEntry.sort(([aliasA], [aliasB]) => aliasA > aliasB ? 1 : aliasA < aliasB ? -1 : 0);
16068
+ const manualChunkAliasByEntry = new Map();
16069
+ for (const [alias, module] of manualChunkAliasesWithEntry) {
16070
+ addModuleToManualChunk(alias, module, manualChunkAliasByEntry);
16071
+ }
16067
16072
  return manualChunkAliasByEntry;
16068
16073
  }
16069
16074
  finaliseAssets(outputBundle) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.67.1
4
- Mon, 07 Feb 2022 05:29:30 GMT - commit efd71e930e86ab30f4911ed8caa7f78aca005729
3
+ Rollup.js v2.67.2
4
+ Thu, 10 Feb 2022 08:15:45 GMT - commit 60706c33073abe34cac170a92a17a1b166d348e3
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.67.1
4
- Mon, 07 Feb 2022 05:29:30 GMT - commit efd71e930e86ab30f4911ed8caa7f78aca005729
3
+ Rollup.js v2.67.2
4
+ Thu, 10 Feb 2022 08:15:45 GMT - commit 60706c33073abe34cac170a92a17a1b166d348e3
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "2.67.1",
3
+ "version": "2.67.2",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -66,11 +66,12 @@
66
66
  "@rollup/plugin-replace": "^3.0.1",
67
67
  "@rollup/plugin-typescript": "^8.3.0",
68
68
  "@rollup/pluginutils": "^4.1.2",
69
+ "@types/estree": "0.0.51",
69
70
  "@types/node": "^10.17.60",
70
71
  "@types/signal-exit": "^3.0.1",
71
72
  "@types/yargs-parser": "^20.2.1",
72
- "@typescript-eslint/eslint-plugin": "^5.10.2",
73
- "@typescript-eslint/parser": "^5.10.2",
73
+ "@typescript-eslint/eslint-plugin": "^5.11.0",
74
+ "@typescript-eslint/parser": "^5.11.0",
74
75
  "acorn": "^8.7.0",
75
76
  "acorn-jsx": "^5.3.2",
76
77
  "acorn-walk": "^8.2.0",
@@ -101,7 +102,7 @@
101
102
  "pretty-bytes": "^5.6.0",
102
103
  "pretty-ms": "^7.0.1",
103
104
  "requirejs": "^2.3.6",
104
- "rollup": "^2.67.0",
105
+ "rollup": "^2.67.1",
105
106
  "rollup-plugin-license": "^2.6.1",
106
107
  "rollup-plugin-string": "^3.0.0",
107
108
  "rollup-plugin-terser": "^7.0.2",