rollup 4.63.2 → 4.63.4

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.2
4
- Sat, 12 Sep 2026 06:36:48 GMT - commit 43ed4ec364940fbce7054d8da1f92c695d1e6808
3
+ Rollup.js v4.63.4
4
+ Sat, 19 Sep 2026 06:35:38 GMT - commit ba78d5752a1e1ff4ff4af3a8bffab7691d822f7d
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.2
4
- Sat, 12 Sep 2026 06:36:48 GMT - commit 43ed4ec364940fbce7054d8da1f92c695d1e6808
3
+ Rollup.js v4.63.4
4
+ Sat, 19 Sep 2026 06:35:38 GMT - commit ba78d5752a1e1ff4ff4af3a8bffab7691d822f7d
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.2",
3
+ "version": "4.63.4",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -62,6 +62,8 @@
62
62
  "ci:lint": "concurrently -c red,yellow,green,blue 'npm:lint:js:nofix' 'npm:lint:native-js' 'npm:lint:markdown:nofix' 'npm:lint:rust:nofix'",
63
63
  "ci:test:all": "concurrently --kill-others-on-fail -c green,blue,magenta,cyan 'npm:test:only' 'npm:test:typescript' 'npm:test:leak' 'npm:test:browser'",
64
64
  "ci:coverage": "NODE_OPTIONS=--no-experimental-require-module nyc --reporter lcovonly mocha",
65
+ "build:napi:coverage": "bash -c 'coverage_env=\"$(cd rust && cargo llvm-cov show-env --sh)\" && eval \"$coverage_env\" && (cd rust && cargo llvm-cov clean --workspace) && npm run build:napi'",
66
+ "test:coverage:rust": "bash scripts/coverage-rust.sh",
65
67
  "lint": "concurrently -c red,yellow,green,blue 'npm:lint:js' 'npm:lint:native-js' 'npm:lint:markdown' 'npm:lint:rust'",
66
68
  "lint:js": "eslint . --fix --cache --concurrency auto",
67
69
  "lint:js:nofix": "eslint . --cache --concurrency auto",
@@ -115,31 +117,31 @@
115
117
  "optionalDependencies": {
116
118
  "@napi-rs/lzma-linux-x64-gnu": "1.5.1",
117
119
  "fsevents": "~2.3.2",
118
- "@rollup/rollup-darwin-arm64": "4.63.2",
119
- "@rollup/rollup-android-arm64": "4.63.2",
120
- "@rollup/rollup-win32-arm64-msvc": "4.63.2",
121
- "@rollup/rollup-freebsd-arm64": "4.63.2",
122
- "@rollup/rollup-linux-arm64-gnu": "4.63.2",
123
- "@rollup/rollup-linux-arm64-musl": "4.63.2",
124
- "@rollup/rollup-android-arm-eabi": "4.63.2",
125
- "@rollup/rollup-linux-arm-gnueabihf": "4.63.2",
126
- "@rollup/rollup-linux-arm-musleabihf": "4.63.2",
127
- "@rollup/rollup-win32-ia32-msvc": "4.63.2",
128
- "@rollup/rollup-linux-loong64-gnu": "4.63.2",
129
- "@rollup/rollup-linux-loong64-musl": "4.63.2",
130
- "@rollup/rollup-linux-riscv64-gnu": "4.63.2",
131
- "@rollup/rollup-linux-riscv64-musl": "4.63.2",
132
- "@rollup/rollup-linux-ppc64-gnu": "4.63.2",
133
- "@rollup/rollup-linux-ppc64-musl": "4.63.2",
134
- "@rollup/rollup-linux-s390x-gnu": "4.63.2",
135
- "@rollup/rollup-darwin-x64": "4.63.2",
136
- "@rollup/rollup-win32-x64-gnu": "4.63.2",
137
- "@rollup/rollup-win32-x64-msvc": "4.63.2",
138
- "@rollup/rollup-freebsd-x64": "4.63.2",
139
- "@rollup/rollup-linux-x64-gnu": "4.63.2",
140
- "@rollup/rollup-linux-x64-musl": "4.63.2",
141
- "@rollup/rollup-openbsd-x64": "4.63.2",
142
- "@rollup/rollup-openharmony-arm64": "4.63.2"
120
+ "@rollup/rollup-darwin-arm64": "4.63.4",
121
+ "@rollup/rollup-android-arm64": "4.63.4",
122
+ "@rollup/rollup-win32-arm64-msvc": "4.63.4",
123
+ "@rollup/rollup-freebsd-arm64": "4.63.4",
124
+ "@rollup/rollup-linux-arm64-gnu": "4.63.4",
125
+ "@rollup/rollup-linux-arm64-musl": "4.63.4",
126
+ "@rollup/rollup-android-arm-eabi": "4.63.4",
127
+ "@rollup/rollup-linux-arm-gnueabihf": "4.63.4",
128
+ "@rollup/rollup-linux-arm-musleabihf": "4.63.4",
129
+ "@rollup/rollup-win32-ia32-msvc": "4.63.4",
130
+ "@rollup/rollup-linux-loong64-gnu": "4.63.4",
131
+ "@rollup/rollup-linux-loong64-musl": "4.63.4",
132
+ "@rollup/rollup-linux-riscv64-gnu": "4.63.4",
133
+ "@rollup/rollup-linux-riscv64-musl": "4.63.4",
134
+ "@rollup/rollup-linux-ppc64-gnu": "4.63.4",
135
+ "@rollup/rollup-linux-ppc64-musl": "4.63.4",
136
+ "@rollup/rollup-linux-s390x-gnu": "4.63.4",
137
+ "@rollup/rollup-darwin-x64": "4.63.4",
138
+ "@rollup/rollup-win32-x64-gnu": "4.63.4",
139
+ "@rollup/rollup-win32-x64-msvc": "4.63.4",
140
+ "@rollup/rollup-freebsd-x64": "4.63.4",
141
+ "@rollup/rollup-linux-x64-gnu": "4.63.4",
142
+ "@rollup/rollup-linux-x64-musl": "4.63.4",
143
+ "@rollup/rollup-openbsd-x64": "4.63.4",
144
+ "@rollup/rollup-openharmony-arm64": "4.63.4"
143
145
  },
144
146
  "dependencies": {
145
147
  "@types/estree": "1.0.9"
@@ -201,10 +203,10 @@
201
203
  "globals": "^17.12.0",
202
204
  "husky": "^9.1.7",
203
205
  "is-reference": "^3.0.3",
204
- "lint-staged": "^17.5.0",
206
+ "lint-staged": "^17.5.1",
205
207
  "locate-character": "^3.0.0",
206
- "magic-string": "^1.2.3",
207
- "memfs": "^4.71.0",
208
+ "magic-string": "^1.4.1",
209
+ "memfs": "^4.78.0",
208
210
  "mocha": "^11.8.0",
209
211
  "nodemon": "^3.1.14",
210
212
  "npm-audit-resolver": "^3.0.0-RC.0",
@@ -218,7 +220,7 @@
218
220
  "pretty-bytes": "^7.1.3",
219
221
  "pretty-ms": "^9.3.1",
220
222
  "requirejs": "^2.3.8",
221
- "rollup": "^4.63.1",
223
+ "rollup": "^4.63.3",
222
224
  "rollup-plugin-license": "^3.7.1",
223
225
  "semver": "^7.8.5",
224
226
  "shx": "^0.4.0",