rollup 3.21.5 → 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 +6 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +3 -3
- package/dist/es/shared/watch.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/rollup.js +3 -3
- package/dist/shared/watch-cli.js +8 -4
- package/dist/shared/watch-proxy.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +9 -9
package/dist/bin/rollup
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
@license
|
|
5
|
-
Rollup.js v3.21.
|
|
6
|
-
|
|
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
|
|
|
@@ -1705,7 +1705,10 @@ else {
|
|
|
1705
1705
|
catch {
|
|
1706
1706
|
// do nothing
|
|
1707
1707
|
}
|
|
1708
|
-
runRollup(command).then(() =>
|
|
1708
|
+
runRollup(command).then(() => {
|
|
1709
|
+
process$1.stdout.on('finish', () => process$1.exit(0));
|
|
1710
|
+
process$1.stdout.end();
|
|
1711
|
+
});
|
|
1709
1712
|
}
|
|
1710
1713
|
|
|
1711
1714
|
exports.getConfigPath = getConfigPath;
|
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v3.21.
|
|
4
|
-
|
|
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.
|
|
19
|
+
var version$1 = "3.21.7";
|
|
20
20
|
|
|
21
21
|
const comma = ','.charCodeAt(0);
|
|
22
22
|
const semicolon = ';'.charCodeAt(0);
|
package/dist/es/shared/watch.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v3.21.
|
|
4
|
-
|
|
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.
|
|
34
|
+
var version$1 = "3.21.7";
|
|
35
35
|
|
|
36
36
|
function ensureArray$1(items) {
|
|
37
37
|
if (Array.isArray(items)) {
|
package/dist/shared/watch-cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v3.21.
|
|
4
|
-
|
|
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',
|
|
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',
|
|
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
|
package/dist/shared/watch.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup",
|
|
3
|
-
"version": "3.21.
|
|
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",
|
|
@@ -63,12 +63,12 @@
|
|
|
63
63
|
"fsevents": "~2.3.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@codemirror/commands": "^6.2.
|
|
66
|
+
"@codemirror/commands": "^6.2.4",
|
|
67
67
|
"@codemirror/lang-javascript": "^6.1.7",
|
|
68
68
|
"@codemirror/language": "^6.6.0",
|
|
69
69
|
"@codemirror/search": "^6.4.0",
|
|
70
70
|
"@codemirror/state": "^6.2.0",
|
|
71
|
-
"@codemirror/view": "^6.
|
|
71
|
+
"@codemirror/view": "^6.11.0",
|
|
72
72
|
"@jridgewell/sourcemap-codec": "^1.4.15",
|
|
73
73
|
"@mermaid-js/mermaid-cli": "^10.1.0",
|
|
74
74
|
"@rollup/plugin-alias": "^5.0.0",
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
"@rollup/pluginutils": "^5.0.2",
|
|
83
83
|
"@types/estree": "1.0.1",
|
|
84
84
|
"@types/mocha": "^10.0.1",
|
|
85
|
-
"@types/node": "~14.18.
|
|
85
|
+
"@types/node": "~14.18.43",
|
|
86
86
|
"@types/yargs-parser": "^21.0.0",
|
|
87
|
-
"@typescript-eslint/eslint-plugin": "^5.59.
|
|
88
|
-
"@typescript-eslint/parser": "^5.59.
|
|
87
|
+
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
88
|
+
"@typescript-eslint/parser": "^5.59.2",
|
|
89
89
|
"@vue/eslint-config-prettier": "^7.1.0",
|
|
90
90
|
"@vue/eslint-config-typescript": "^11.0.3",
|
|
91
91
|
"acorn": "^8.8.2",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"husky": "^8.0.3",
|
|
116
116
|
"inquirer": "^9.2.0",
|
|
117
117
|
"is-reference": "^3.0.1",
|
|
118
|
-
"lint-staged": "^13.2.
|
|
118
|
+
"lint-staged": "^13.2.2",
|
|
119
119
|
"locate-character": "^2.0.5",
|
|
120
120
|
"magic-string": "^0.30.0",
|
|
121
121
|
"mocha": "^10.2.0",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"pretty-bytes": "^6.1.0",
|
|
126
126
|
"pretty-ms": "^8.0.0",
|
|
127
127
|
"requirejs": "^2.3.6",
|
|
128
|
-
"rollup": "^3.21.
|
|
128
|
+
"rollup": "^3.21.3",
|
|
129
129
|
"rollup-plugin-license": "^3.0.1",
|
|
130
130
|
"rollup-plugin-string": "^3.0.0",
|
|
131
131
|
"rollup-plugin-thatworks": "^1.0.4",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"terser": "^5.17.1",
|
|
139
139
|
"tslib": "^2.5.0",
|
|
140
140
|
"typescript": "^5.0.4",
|
|
141
|
-
"vitepress": "^1.0.0-alpha.
|
|
141
|
+
"vitepress": "^1.0.0-alpha.75",
|
|
142
142
|
"vue": "^3.2.47",
|
|
143
143
|
"weak-napi": "^2.0.2",
|
|
144
144
|
"yargs-parser": "^21.1.1"
|