rollup 4.63.1 → 4.63.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.
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.63.1
4
- Fri, 28 Aug 2026 05:58:50 GMT - commit 78bfef0cb94479566f81012fafa372c84b90bd34
3
+ Rollup.js v4.63.3
4
+ Mon, 14 Sep 2026 12:44:36 GMT - commit 250deca2945f8817350564f7d52bab0f79175d1b
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.63.1
4
- Fri, 28 Aug 2026 05:58:50 GMT - commit 78bfef0cb94479566f81012fafa372c84b90bd34
3
+ Rollup.js v4.63.3
4
+ Mon, 14 Sep 2026 12:44:36 GMT - commit 250deca2945f8817350564f7d52bab0f79175d1b
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -117,7 +117,7 @@ class Watcher {
117
117
  this.buildDelay = Math.max(this.buildDelay, watch.buildDelay);
118
118
  }
119
119
  }
120
- process.nextTick(() => this.run());
120
+ process.nextTick(() => this.run().catch(error => this.reportError(error)));
121
121
  }
122
122
  async close() {
123
123
  if (this.closed)
@@ -159,30 +159,40 @@ class Watcher {
159
159
  this.invalidatedIds.clear();
160
160
  await this.emitter.emit('restart');
161
161
  this.emitter.removeListenersForCurrentRun();
162
- this.run();
162
+ await this.run();
163
163
  }
164
164
  catch (error) {
165
- this.invalidatedIds.clear();
166
- await this.emitter.emit('event', {
167
- code: 'ERROR',
168
- error,
169
- result: null
170
- });
171
- await this.emitter.emit('event', {
172
- code: 'END'
173
- });
165
+ await this.reportError(error);
174
166
  }
175
167
  }, this.buildDelay);
176
168
  }
177
- async run() {
178
- this.running = true;
169
+ async reportError(error) {
170
+ this.invalidatedIds.clear();
179
171
  await this.emitter.emit('event', {
180
- code: 'START'
172
+ code: 'ERROR',
173
+ error,
174
+ result: null
181
175
  });
182
- for (const task of this.tasks) {
183
- await task.run();
176
+ await this.emitter.emit('event', {
177
+ code: 'END'
178
+ });
179
+ }
180
+ async run() {
181
+ this.running = true;
182
+ // Drop a rerun request left over from a failed run: honoring it after this run
183
+ // would start an empty run that removes the plugin event listeners of this run.
184
+ this.rerun = false;
185
+ try {
186
+ await this.emitter.emit('event', {
187
+ code: 'START'
188
+ });
189
+ for (const task of this.tasks) {
190
+ await task.run();
191
+ }
192
+ }
193
+ finally {
194
+ this.running = false;
184
195
  }
185
- this.running = false;
186
196
  await this.emitter.emit('event', {
187
197
  code: 'END'
188
198
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "4.63.1",
3
+ "version": "4.63.3",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -115,31 +115,31 @@
115
115
  "optionalDependencies": {
116
116
  "@napi-rs/lzma-linux-x64-gnu": "1.5.1",
117
117
  "fsevents": "~2.3.2",
118
- "@rollup/rollup-darwin-arm64": "4.63.1",
119
- "@rollup/rollup-android-arm64": "4.63.1",
120
- "@rollup/rollup-win32-arm64-msvc": "4.63.1",
121
- "@rollup/rollup-freebsd-arm64": "4.63.1",
122
- "@rollup/rollup-linux-arm64-gnu": "4.63.1",
123
- "@rollup/rollup-linux-arm64-musl": "4.63.1",
124
- "@rollup/rollup-android-arm-eabi": "4.63.1",
125
- "@rollup/rollup-linux-arm-gnueabihf": "4.63.1",
126
- "@rollup/rollup-linux-arm-musleabihf": "4.63.1",
127
- "@rollup/rollup-win32-ia32-msvc": "4.63.1",
128
- "@rollup/rollup-linux-loong64-gnu": "4.63.1",
129
- "@rollup/rollup-linux-loong64-musl": "4.63.1",
130
- "@rollup/rollup-linux-riscv64-gnu": "4.63.1",
131
- "@rollup/rollup-linux-riscv64-musl": "4.63.1",
132
- "@rollup/rollup-linux-ppc64-gnu": "4.63.1",
133
- "@rollup/rollup-linux-ppc64-musl": "4.63.1",
134
- "@rollup/rollup-linux-s390x-gnu": "4.63.1",
135
- "@rollup/rollup-darwin-x64": "4.63.1",
136
- "@rollup/rollup-win32-x64-gnu": "4.63.1",
137
- "@rollup/rollup-win32-x64-msvc": "4.63.1",
138
- "@rollup/rollup-freebsd-x64": "4.63.1",
139
- "@rollup/rollup-linux-x64-gnu": "4.63.1",
140
- "@rollup/rollup-linux-x64-musl": "4.63.1",
141
- "@rollup/rollup-openbsd-x64": "4.63.1",
142
- "@rollup/rollup-openharmony-arm64": "4.63.1"
118
+ "@rollup/rollup-darwin-arm64": "4.63.3",
119
+ "@rollup/rollup-android-arm64": "4.63.3",
120
+ "@rollup/rollup-win32-arm64-msvc": "4.63.3",
121
+ "@rollup/rollup-freebsd-arm64": "4.63.3",
122
+ "@rollup/rollup-linux-arm64-gnu": "4.63.3",
123
+ "@rollup/rollup-linux-arm64-musl": "4.63.3",
124
+ "@rollup/rollup-android-arm-eabi": "4.63.3",
125
+ "@rollup/rollup-linux-arm-gnueabihf": "4.63.3",
126
+ "@rollup/rollup-linux-arm-musleabihf": "4.63.3",
127
+ "@rollup/rollup-win32-ia32-msvc": "4.63.3",
128
+ "@rollup/rollup-linux-loong64-gnu": "4.63.3",
129
+ "@rollup/rollup-linux-loong64-musl": "4.63.3",
130
+ "@rollup/rollup-linux-riscv64-gnu": "4.63.3",
131
+ "@rollup/rollup-linux-riscv64-musl": "4.63.3",
132
+ "@rollup/rollup-linux-ppc64-gnu": "4.63.3",
133
+ "@rollup/rollup-linux-ppc64-musl": "4.63.3",
134
+ "@rollup/rollup-linux-s390x-gnu": "4.63.3",
135
+ "@rollup/rollup-darwin-x64": "4.63.3",
136
+ "@rollup/rollup-win32-x64-gnu": "4.63.3",
137
+ "@rollup/rollup-win32-x64-msvc": "4.63.3",
138
+ "@rollup/rollup-freebsd-x64": "4.63.3",
139
+ "@rollup/rollup-linux-x64-gnu": "4.63.3",
140
+ "@rollup/rollup-linux-x64-musl": "4.63.3",
141
+ "@rollup/rollup-openbsd-x64": "4.63.3",
142
+ "@rollup/rollup-openharmony-arm64": "4.63.3"
143
143
  },
144
144
  "dependencies": {
145
145
  "@types/estree": "1.0.9"
@@ -151,15 +151,15 @@
151
151
  "@codemirror/commands": "^6.11.0",
152
152
  "@codemirror/lang-javascript": "^6.2.5",
153
153
  "@codemirror/language": "^6.12.4",
154
- "@codemirror/search": "^6.7.1",
155
- "@codemirror/state": "^6.7.1",
156
- "@codemirror/view": "^6.43.9",
154
+ "@codemirror/search": "^6.7.2",
155
+ "@codemirror/state": "^6.7.4",
156
+ "@codemirror/view": "^6.43.11",
157
157
  "@emnapi/core": "^1.11.3",
158
158
  "@emnapi/runtime": "^1.11.3",
159
159
  "@eslint/js": "^10.0.1",
160
160
  "@inquirer/prompts": "^7.10.1",
161
- "@jridgewell/sourcemap-codec": "^1.5.5",
162
- "@mermaid-js/mermaid-cli": "^11.16.0",
161
+ "@jridgewell/sourcemap-codec": "^1.6.0",
162
+ "@mermaid-js/mermaid-cli": "^11.17.0",
163
163
  "@napi-rs/cli": "3.4.1",
164
164
  "@rollup/plugin-alias": "^6.0.0",
165
165
  "@rollup/plugin-buble": "^1.0.3",
@@ -189,23 +189,23 @@
189
189
  "date-time": "^4.0.0",
190
190
  "es5-shim": "^4.6.7",
191
191
  "es6-shim": "^0.35.8",
192
- "eslint": "^10.9.1",
192
+ "eslint": "^10.10.0",
193
193
  "eslint-config-prettier": "^10.1.8",
194
194
  "eslint-plugin-prettier": "^5.5.6",
195
- "eslint-plugin-unicorn": "^73.0.0",
196
- "eslint-plugin-vue": "^10.10.0",
195
+ "eslint-plugin-unicorn": "^74.0.0",
196
+ "eslint-plugin-vue": "^10.11.0",
197
197
  "fixturify": "^3.0.0",
198
198
  "flru": "^1.0.2",
199
199
  "fs-extra": "^11.4.0",
200
200
  "github-api": "^3.4.0",
201
- "globals": "^17.11.0",
201
+ "globals": "^17.12.0",
202
202
  "husky": "^9.1.7",
203
203
  "is-reference": "^3.0.3",
204
- "lint-staged": "^17.3.0",
204
+ "lint-staged": "^17.5.0",
205
205
  "locate-character": "^3.0.0",
206
- "magic-string": "^1.2.2",
207
- "memfs": "^4.68.1",
208
- "mocha": "11.8.0",
206
+ "magic-string": "^1.2.3",
207
+ "memfs": "^4.71.0",
208
+ "mocha": "^11.8.0",
209
209
  "nodemon": "^3.1.14",
210
210
  "npm-audit-resolver": "^3.0.0-RC.0",
211
211
  "nyc": "^18.0.0",
@@ -215,10 +215,10 @@
215
215
  "pinia": "^4.0.3",
216
216
  "prettier": "^3.9.6",
217
217
  "prettier-plugin-organize-imports": "^4.3.0",
218
- "pretty-bytes": "^7.1.1",
219
- "pretty-ms": "^9.3.0",
218
+ "pretty-bytes": "^7.1.3",
219
+ "pretty-ms": "^9.3.1",
220
220
  "requirejs": "^2.3.8",
221
- "rollup": "^4.62.5",
221
+ "rollup": "^4.63.1",
222
222
  "rollup-plugin-license": "^3.7.1",
223
223
  "semver": "^7.8.5",
224
224
  "shx": "^0.4.0",
@@ -226,20 +226,20 @@
226
226
  "source-map": "^0.8.0",
227
227
  "source-map-support": "^0.5.21",
228
228
  "systemjs": "^6.15.1",
229
- "terser": "^5.50.0",
229
+ "terser": "^5.51.2",
230
230
  "tslib": "^2.8.1",
231
231
  "typescript": "^5.9.3",
232
- "typescript-eslint": "^8.68.0",
232
+ "typescript-eslint": "^8.70.0",
233
233
  "vite": "^7.3.6",
234
234
  "vitepress": "^1.6.4",
235
- "vue": "^3.5.41",
235
+ "vue": "^3.5.42",
236
236
  "vue-eslint-parser": "^10.4.1",
237
237
  "vue-tsc": "^3.3.11",
238
238
  "wasm-pack": "^0.15.0",
239
239
  "yargs-parser": "^21.1.1"
240
240
  },
241
241
  "overrides": {
242
- "axios": "^1.19.0",
242
+ "axios": "^1.20.0",
243
243
  "esbuild": ">0.24.2",
244
244
  "lodash-es": ">4.17.22",
245
245
  "path-scurry": {