rollup 3.21.6 → 3.21.7

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
@@ -2,8 +2,8 @@
2
2
 
3
3
  /*
4
4
  @license
5
- Rollup.js v3.21.6
6
- Tue, 09 May 2023 20:05:04 GMT - commit fa5af3756fbabec7e9a5d082550c710c491e85e9
5
+ Rollup.js v3.21.7
6
+ Sat, 13 May 2023 13:14:33 GMT - commit 896eb387008cb2b39691fbf8ecb0b5d325350596
7
7
 
8
8
  https://github.com/rollup/rollup
9
9
 
package/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.21.6
4
- Tue, 09 May 2023 20:05:04 GMT - commit fa5af3756fbabec7e9a5d082550c710c491e85e9
3
+ Rollup.js v3.21.7
4
+ Sat, 13 May 2023 13:14:33 GMT - commit 896eb387008cb2b39691fbf8ecb0b5d325350596
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.21.6
4
- Tue, 09 May 2023 20:05:04 GMT - commit fa5af3756fbabec7e9a5d082550c710c491e85e9
3
+ Rollup.js v3.21.7
4
+ Sat, 13 May 2023 13:14:33 GMT - commit 896eb387008cb2b39691fbf8ecb0b5d325350596
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -16,7 +16,7 @@ import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/pr
16
16
  import { EventEmitter } from 'node:events';
17
17
  import * as tty from 'tty';
18
18
 
19
- var version$1 = "3.21.6";
19
+ var version$1 = "3.21.7";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.21.6
4
- Tue, 09 May 2023 20:05:04 GMT - commit fa5af3756fbabec7e9a5d082550c710c491e85e9
3
+ Rollup.js v3.21.7
4
+ Sat, 13 May 2023 13:14:33 GMT - commit 896eb387008cb2b39691fbf8ecb0b5d325350596
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.21.6
4
- Tue, 09 May 2023 20:05:04 GMT - commit fa5af3756fbabec7e9a5d082550c710c491e85e9
3
+ Rollup.js v3.21.7
4
+ Sat, 13 May 2023 13:14:33 GMT - commit 896eb387008cb2b39691fbf8ecb0b5d325350596
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 v3.21.6
4
- Tue, 09 May 2023 20:05:04 GMT - commit fa5af3756fbabec7e9a5d082550c710c491e85e9
3
+ Rollup.js v3.21.7
4
+ Sat, 13 May 2023 13:14:33 GMT - commit 896eb387008cb2b39691fbf8ecb0b5d325350596
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.21.6
4
- Tue, 09 May 2023 20:05:04 GMT - commit fa5af3756fbabec7e9a5d082550c710c491e85e9
3
+ Rollup.js v3.21.7
4
+ Sat, 13 May 2023 13:14:33 GMT - commit 896eb387008cb2b39691fbf8ecb0b5d325350596
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.21.6
4
- Tue, 09 May 2023 20:05:04 GMT - commit fa5af3756fbabec7e9a5d082550c710c491e85e9
3
+ Rollup.js v3.21.7
4
+ Sat, 13 May 2023 13:14:33 GMT - commit 896eb387008cb2b39691fbf8ecb0b5d325350596
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.21.6
4
- Tue, 09 May 2023 20:05:04 GMT - commit fa5af3756fbabec7e9a5d082550c710c491e85e9
3
+ Rollup.js v3.21.7
4
+ Sat, 13 May 2023 13:14:33 GMT - commit 896eb387008cb2b39691fbf8ecb0b5d325350596
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.21.6
4
- Tue, 09 May 2023 20:05:04 GMT - commit fa5af3756fbabec7e9a5d082550c710c491e85e9
3
+ Rollup.js v3.21.7
4
+ Sat, 13 May 2023 13:14:33 GMT - commit 896eb387008cb2b39691fbf8ecb0b5d325350596
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$1 = "3.21.6";
34
+ var version$1 = "3.21.7";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.21.6
4
- Tue, 09 May 2023 20:05:04 GMT - commit fa5af3756fbabec7e9a5d082550c710c491e85e9
3
+ Rollup.js v3.21.7
4
+ Sat, 13 May 2023 13:14:33 GMT - commit 896eb387008cb2b39691fbf8ecb0b5d325350596
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -434,7 +434,7 @@ async function watch(command) {
434
434
  const configFile = command.config ? await cli.getConfigPath(command.config) : null;
435
435
  const runWatchHook = createWatchHooks(command);
436
436
  onExit(close);
437
- process$2.on('uncaughtException', close);
437
+ process$2.on('uncaughtException', closeWithError);
438
438
  if (!process$2.stdin.isTTY) {
439
439
  process$2.stdin.on('end', close);
440
440
  process$2.stdin.resume();
@@ -533,7 +533,7 @@ async function watch(command) {
533
533
  });
534
534
  }
535
535
  async function close(code) {
536
- process$2.removeListener('uncaughtException', close);
536
+ process$2.removeListener('uncaughtException', closeWithError);
537
537
  // removing a non-existent listener is a no-op
538
538
  process$2.stdin.removeListener('end', close);
539
539
  if (watcher)
@@ -545,6 +545,10 @@ async function watch(command) {
545
545
  // return a promise that never resolves to keep the process running
546
546
  return new Promise(() => { });
547
547
  }
548
+ function closeWithError(error) {
549
+ error.name = `Uncaught ${error.name}`;
550
+ rollup.handleError(error);
551
+ }
548
552
 
549
553
  exports.watch = watch;
550
554
  //# sourceMappingURL=watch-cli.js.map
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.21.6
4
- Tue, 09 May 2023 20:05:04 GMT - commit fa5af3756fbabec7e9a5d082550c710c491e85e9
3
+ Rollup.js v3.21.7
4
+ Sat, 13 May 2023 13:14:33 GMT - commit 896eb387008cb2b39691fbf8ecb0b5d325350596
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.21.6
4
- Tue, 09 May 2023 20:05:04 GMT - commit fa5af3756fbabec7e9a5d082550c710c491e85e9
3
+ Rollup.js v3.21.7
4
+ Sat, 13 May 2023 13:14:33 GMT - commit 896eb387008cb2b39691fbf8ecb0b5d325350596
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": "3.21.6",
3
+ "version": "3.21.7",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",