rollup 4.22.0 → 4.22.1

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/bin/rollup CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
3
  @license
4
- Rollup.js v4.22.0
5
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
4
+ Rollup.js v4.22.1
5
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -16,7 +16,7 @@ import { performance } from 'node:perf_hooks';
16
16
  import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
17
17
  import * as tty from 'tty';
18
18
 
19
- var version = "4.22.0";
19
+ var version = "4.22.1";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -18051,8 +18051,8 @@ async function renderChunks(chunks, bundle, pluginDriver, outputOptions, log) {
18051
18051
  timeStart('transform chunks', 2);
18052
18052
  const getHash = hasherByType[outputOptions.hashCharacters];
18053
18053
  const chunkGraph = getChunkGraph(chunks);
18054
- const { hashDependenciesByPlaceholder, initialHashesByPlaceholder, nonHashedChunksWithPlaceholders, placeholders, renderedChunksByPlaceholder } = await transformChunksAndGenerateContentHashes(renderedChunks, chunkGraph, outputOptions, pluginDriver, getHash, log);
18055
- const hashesByPlaceholder = generateFinalHashes(renderedChunksByPlaceholder, hashDependenciesByPlaceholder, initialHashesByPlaceholder, placeholders, bundle, getHash);
18054
+ const { initialHashesByPlaceholder, nonHashedChunksWithPlaceholders, renderedChunksByPlaceholder, hashDependenciesByPlaceholder } = await transformChunksAndGenerateContentHashes(renderedChunks, chunkGraph, outputOptions, pluginDriver, getHash, log);
18055
+ const hashesByPlaceholder = generateFinalHashes(renderedChunksByPlaceholder, hashDependenciesByPlaceholder, initialHashesByPlaceholder, bundle, getHash);
18056
18056
  addChunksToBundle(renderedChunksByPlaceholder, hashesByPlaceholder, bundle, nonHashedChunksWithPlaceholders, pluginDriver, outputOptions);
18057
18057
  timeEnd('transform chunks', 2);
18058
18058
  }
@@ -18182,14 +18182,12 @@ async function transformChunksAndGenerateContentHashes(renderedChunks, chunkGrap
18182
18182
  hashDependenciesByPlaceholder,
18183
18183
  initialHashesByPlaceholder,
18184
18184
  nonHashedChunksWithPlaceholders,
18185
- placeholders,
18186
18185
  renderedChunksByPlaceholder
18187
18186
  };
18188
18187
  }
18189
- function generateFinalHashes(renderedChunksByPlaceholder, hashDependenciesByPlaceholder, initialHashesByPlaceholder, placeholders, bundle, getHash) {
18188
+ function generateFinalHashes(renderedChunksByPlaceholder, hashDependenciesByPlaceholder, initialHashesByPlaceholder, bundle, getHash) {
18190
18189
  const hashesByPlaceholder = new Map(initialHashesByPlaceholder);
18191
- for (const placeholder of placeholders) {
18192
- const { fileName } = renderedChunksByPlaceholder.get(placeholder);
18190
+ for (const [placeholder, { fileName }] of renderedChunksByPlaceholder) {
18193
18191
  let contentToHash = '';
18194
18192
  const hashDependencyPlaceholders = new Set([placeholder]);
18195
18193
  for (const dependencyPlaceholder of hashDependencyPlaceholders) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/parseAst.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
31
31
 
32
32
  const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
33
33
 
34
- var version = "4.22.0";
34
+ var version = "4.22.1";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -19369,8 +19369,8 @@ async function renderChunks(chunks, bundle, pluginDriver, outputOptions, log) {
19369
19369
  timeStart('transform chunks', 2);
19370
19370
  const getHash = hasherByType[outputOptions.hashCharacters];
19371
19371
  const chunkGraph = getChunkGraph(chunks);
19372
- const { hashDependenciesByPlaceholder, initialHashesByPlaceholder, nonHashedChunksWithPlaceholders, placeholders, renderedChunksByPlaceholder } = await transformChunksAndGenerateContentHashes(renderedChunks, chunkGraph, outputOptions, pluginDriver, getHash, log);
19373
- const hashesByPlaceholder = generateFinalHashes(renderedChunksByPlaceholder, hashDependenciesByPlaceholder, initialHashesByPlaceholder, placeholders, bundle, getHash);
19372
+ const { initialHashesByPlaceholder, nonHashedChunksWithPlaceholders, renderedChunksByPlaceholder, hashDependenciesByPlaceholder } = await transformChunksAndGenerateContentHashes(renderedChunks, chunkGraph, outputOptions, pluginDriver, getHash, log);
19373
+ const hashesByPlaceholder = generateFinalHashes(renderedChunksByPlaceholder, hashDependenciesByPlaceholder, initialHashesByPlaceholder, bundle, getHash);
19374
19374
  addChunksToBundle(renderedChunksByPlaceholder, hashesByPlaceholder, bundle, nonHashedChunksWithPlaceholders, pluginDriver, outputOptions);
19375
19375
  timeEnd('transform chunks', 2);
19376
19376
  }
@@ -19500,14 +19500,12 @@ async function transformChunksAndGenerateContentHashes(renderedChunks, chunkGrap
19500
19500
  hashDependenciesByPlaceholder,
19501
19501
  initialHashesByPlaceholder,
19502
19502
  nonHashedChunksWithPlaceholders,
19503
- placeholders,
19504
19503
  renderedChunksByPlaceholder
19505
19504
  };
19506
19505
  }
19507
- function generateFinalHashes(renderedChunksByPlaceholder, hashDependenciesByPlaceholder, initialHashesByPlaceholder, placeholders, bundle, getHash) {
19506
+ function generateFinalHashes(renderedChunksByPlaceholder, hashDependenciesByPlaceholder, initialHashesByPlaceholder, bundle, getHash) {
19508
19507
  const hashesByPlaceholder = new Map(initialHashesByPlaceholder);
19509
- for (const placeholder of placeholders) {
19510
- const { fileName } = renderedChunksByPlaceholder.get(placeholder);
19508
+ for (const [placeholder, { fileName }] of renderedChunksByPlaceholder) {
19511
19509
  let contentToHash = '';
19512
19510
  const hashDependencyPlaceholders = new Set([placeholder]);
19513
19511
  for (const dependencyPlaceholder of hashDependencyPlaceholders) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.22.0
4
- Thu, 19 Sep 2024 04:55:02 GMT - commit 5e7a3631a28a863ddb97a64189c3b76eec9983ca
3
+ Rollup.js v4.22.1
4
+ Fri, 20 Sep 2024 08:21:23 GMT - commit 76e962daca5b7352bf199c28fa0a10ad4745c5e7
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "4.22.0",
3
+ "version": "4.22.1",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -107,22 +107,22 @@
107
107
  "homepage": "https://rollupjs.org/",
108
108
  "optionalDependencies": {
109
109
  "fsevents": "~2.3.2",
110
- "@rollup/rollup-darwin-arm64": "4.22.0",
111
- "@rollup/rollup-android-arm64": "4.22.0",
112
- "@rollup/rollup-win32-arm64-msvc": "4.22.0",
113
- "@rollup/rollup-linux-arm64-gnu": "4.22.0",
114
- "@rollup/rollup-linux-arm64-musl": "4.22.0",
115
- "@rollup/rollup-android-arm-eabi": "4.22.0",
116
- "@rollup/rollup-linux-arm-gnueabihf": "4.22.0",
117
- "@rollup/rollup-linux-arm-musleabihf": "4.22.0",
118
- "@rollup/rollup-win32-ia32-msvc": "4.22.0",
119
- "@rollup/rollup-linux-riscv64-gnu": "4.22.0",
120
- "@rollup/rollup-linux-powerpc64le-gnu": "4.22.0",
121
- "@rollup/rollup-linux-s390x-gnu": "4.22.0",
122
- "@rollup/rollup-darwin-x64": "4.22.0",
123
- "@rollup/rollup-win32-x64-msvc": "4.22.0",
124
- "@rollup/rollup-linux-x64-gnu": "4.22.0",
125
- "@rollup/rollup-linux-x64-musl": "4.22.0"
110
+ "@rollup/rollup-darwin-arm64": "4.22.1",
111
+ "@rollup/rollup-android-arm64": "4.22.1",
112
+ "@rollup/rollup-win32-arm64-msvc": "4.22.1",
113
+ "@rollup/rollup-linux-arm64-gnu": "4.22.1",
114
+ "@rollup/rollup-linux-arm64-musl": "4.22.1",
115
+ "@rollup/rollup-android-arm-eabi": "4.22.1",
116
+ "@rollup/rollup-linux-arm-gnueabihf": "4.22.1",
117
+ "@rollup/rollup-linux-arm-musleabihf": "4.22.1",
118
+ "@rollup/rollup-win32-ia32-msvc": "4.22.1",
119
+ "@rollup/rollup-linux-riscv64-gnu": "4.22.1",
120
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.22.1",
121
+ "@rollup/rollup-linux-s390x-gnu": "4.22.1",
122
+ "@rollup/rollup-darwin-x64": "4.22.1",
123
+ "@rollup/rollup-win32-x64-msvc": "4.22.1",
124
+ "@rollup/rollup-linux-x64-gnu": "4.22.1",
125
+ "@rollup/rollup-linux-x64-musl": "4.22.1"
126
126
  },
127
127
  "dependencies": {
128
128
  "@types/estree": "1.0.5"
@@ -138,8 +138,9 @@
138
138
  "@codemirror/state": "^6.4.1",
139
139
  "@codemirror/view": "^6.33.0",
140
140
  "@eslint/js": "^9.10.0",
141
+ "@inquirer/prompts": "^6.0.1",
141
142
  "@jridgewell/sourcemap-codec": "^1.5.0",
142
- "@mermaid-js/mermaid-cli": "^11.1.1",
143
+ "@mermaid-js/mermaid-cli": "^11.2.0",
143
144
  "@napi-rs/cli": "^2.18.4",
144
145
  "@rollup/plugin-alias": "^5.1.0",
145
146
  "@rollup/plugin-buble": "^1.0.3",
@@ -150,10 +151,9 @@
150
151
  "@rollup/plugin-terser": "^0.4.4",
151
152
  "@rollup/plugin-typescript": "^11.1.6",
152
153
  "@rollup/pluginutils": "^5.1.0",
153
- "@shikijs/vitepress-twoslash": "^1.16.3",
154
+ "@shikijs/vitepress-twoslash": "^1.17.7",
154
155
  "@types/eslint": "^9.6.1",
155
- "@types/inquirer": "^9.0.7",
156
- "@types/mocha": "^10.0.7",
156
+ "@types/mocha": "^10.0.8",
157
157
  "@types/node": "^18.19.50",
158
158
  "@types/semver": "^7.5.8",
159
159
  "@types/yargs-parser": "^21.0.3",
@@ -163,7 +163,7 @@
163
163
  "builtin-modules": "^4.0.0",
164
164
  "chokidar": "^3.6.0",
165
165
  "colorette": "^2.0.20",
166
- "concurrently": "^9.0.0",
166
+ "concurrently": "^9.0.1",
167
167
  "core-js": "3.38.1",
168
168
  "cross-env": "^7.0.3",
169
169
  "date-time": "^4.0.0",
@@ -179,8 +179,7 @@
179
179
  "fs-extra": "^11.2.0",
180
180
  "github-api": "^3.4.0",
181
181
  "globals": "^15.9.0",
182
- "husky": "^9.1.5",
183
- "inquirer": "^10.2.2",
182
+ "husky": "^9.1.6",
184
183
  "is-reference": "^3.0.2",
185
184
  "lint-staged": "^15.2.10",
186
185
  "locate-character": "^3.0.0",
@@ -195,7 +194,7 @@
195
194
  "pretty-bytes": "^6.1.1",
196
195
  "pretty-ms": "^9.1.0",
197
196
  "requirejs": "^2.3.7",
198
- "rollup": "^4.21.2",
197
+ "rollup": "^4.21.3",
199
198
  "rollup-plugin-license": "^3.5.2",
200
199
  "rollup-plugin-string": "^3.0.0",
201
200
  "semver": "^7.6.3",
@@ -207,10 +206,10 @@
207
206
  "terser": "^5.32.0",
208
207
  "tslib": "^2.7.0",
209
208
  "typescript": "^5.6.2",
210
- "typescript-eslint": "^8.5.0",
211
- "vite": "^5.4.3",
209
+ "typescript-eslint": "^8.6.0",
210
+ "vite": "^5.4.6",
212
211
  "vitepress": "^1.3.4",
213
- "vue": "^3.5.3",
212
+ "vue": "^3.5.6",
214
213
  "vue-tsc": "^2.1.6",
215
214
  "wasm-pack": "^0.13.0",
216
215
  "yargs-parser": "^21.1.1"