rollup 4.29.1 → 4.29.2
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/LICENSE.md +23 -15
- package/dist/bin/rollup +4 -5
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -3
- package/dist/es/shared/node-entry.js +94 -114
- package/dist/es/shared/parseAst.js +2 -2
- package/dist/es/shared/watch.js +2 -3
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -3
- package/dist/parseAst.js +2 -2
- package/dist/rollup.js +2 -3
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +4 -4
- package/dist/shared/parseAst.js +2 -2
- package/dist/shared/rollup.js +125 -201
- package/dist/shared/watch-cli.js +4 -5
- package/dist/shared/watch.js +2 -3
- package/package.json +31 -31
package/LICENSE.md
CHANGED
|
@@ -190,21 +190,6 @@ Repository: git+https://github.com/paulmillr/chokidar.git
|
|
|
190
190
|
|
|
191
191
|
---------------------------------------
|
|
192
192
|
|
|
193
|
-
## colorette
|
|
194
|
-
License: MIT
|
|
195
|
-
By: Jorge Bucaran
|
|
196
|
-
Repository: jorgebucaran/colorette
|
|
197
|
-
|
|
198
|
-
> Copyright © Jorge Bucaran <<https://jorgebucaran.com>>
|
|
199
|
-
>
|
|
200
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
201
|
-
>
|
|
202
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
203
|
-
>
|
|
204
|
-
> THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
205
|
-
|
|
206
|
-
---------------------------------------
|
|
207
|
-
|
|
208
193
|
## date-time
|
|
209
194
|
License: MIT
|
|
210
195
|
By: Sindre Sorhus
|
|
@@ -470,6 +455,29 @@ Repository: sindresorhus/parse-ms
|
|
|
470
455
|
|
|
471
456
|
---------------------------------------
|
|
472
457
|
|
|
458
|
+
## picocolors
|
|
459
|
+
License: ISC
|
|
460
|
+
By: Alexey Raspopov
|
|
461
|
+
Repository: alexeyraspopov/picocolors
|
|
462
|
+
|
|
463
|
+
> ISC License
|
|
464
|
+
>
|
|
465
|
+
> Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov
|
|
466
|
+
>
|
|
467
|
+
> Permission to use, copy, modify, and/or distribute this software for any
|
|
468
|
+
> purpose with or without fee is hereby granted, provided that the above
|
|
469
|
+
> copyright notice and this permission notice appear in all copies.
|
|
470
|
+
>
|
|
471
|
+
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
472
|
+
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
473
|
+
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
474
|
+
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
475
|
+
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
476
|
+
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
477
|
+
> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
478
|
+
|
|
479
|
+
---------------------------------------
|
|
480
|
+
|
|
473
481
|
## picomatch
|
|
474
482
|
License: MIT
|
|
475
483
|
By: Jon Schlinkert
|
package/dist/bin/rollup
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
3
|
@license
|
|
4
|
-
Rollup.js v4.29.
|
|
5
|
-
|
|
4
|
+
Rollup.js v4.29.2
|
|
5
|
+
Sun, 05 Jan 2025 12:07:13 GMT - commit f5c349e5bb4cb40b0cc1a1b2a3fb5de415946406
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
8
8
|
|
|
@@ -22,7 +22,6 @@ const fseventsImporter = require('../shared/fsevents-importer.js');
|
|
|
22
22
|
const promises = require('node:fs/promises');
|
|
23
23
|
const path = require('node:path');
|
|
24
24
|
const loadConfigFile_js = require('../shared/loadConfigFile.js');
|
|
25
|
-
require('tty');
|
|
26
25
|
require('../native.js');
|
|
27
26
|
require('node:perf_hooks');
|
|
28
27
|
require('node:url');
|
|
@@ -1662,7 +1661,7 @@ async function build(inputOptions, warnings, silent = false) {
|
|
|
1662
1661
|
else if (typeof inputOptions.input === 'object' && inputOptions.input !== null) {
|
|
1663
1662
|
inputFiles = Object.values(inputOptions.input).join(', ');
|
|
1664
1663
|
}
|
|
1665
|
-
rollup.stderr(rollup.cyan
|
|
1664
|
+
rollup.stderr(rollup.cyan(`\n${rollup.bold(inputFiles)} → ${rollup.bold(files.join(', '))}...`));
|
|
1666
1665
|
}
|
|
1667
1666
|
const bundle = __addDisposableResource(env_1, await rollup.rollup(inputOptions), true);
|
|
1668
1667
|
if (useStdout) {
|
|
@@ -1673,7 +1672,7 @@ async function build(inputOptions, warnings, silent = false) {
|
|
|
1673
1672
|
const { output: outputs } = await bundle.generate(output);
|
|
1674
1673
|
for (const file of outputs) {
|
|
1675
1674
|
if (outputs.length > 1)
|
|
1676
|
-
process$1.stdout.write(`\n${rollup.cyan
|
|
1675
|
+
process$1.stdout.write(`\n${rollup.cyan(rollup.bold(`//→ ${file.fileName}:`))}\n`);
|
|
1677
1676
|
process$1.stdout.write(file.type === 'asset' ? file.source : file.code);
|
|
1678
1677
|
}
|
|
1679
1678
|
if (!silent) {
|
package/dist/es/getLogFilter.js
CHANGED
package/dist/es/parseAst.js
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.29.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.29.2
|
|
4
|
+
Sun, 05 Jan 2025 12:07:13 GMT - commit f5c349e5bb4cb40b0cc1a1b2a3fb5de415946406
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -15,4 +15,3 @@ import 'path';
|
|
|
15
15
|
import 'node:process';
|
|
16
16
|
import 'node:perf_hooks';
|
|
17
17
|
import 'node:fs/promises';
|
|
18
|
-
import 'tty';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.29.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.29.2
|
|
4
|
+
Sun, 05 Jan 2025 12:07:13 GMT - commit f5c349e5bb4cb40b0cc1a1b2a3fb5de415946406
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -11,12 +11,11 @@ import { ExportDefaultDeclaration as ExportDefaultDeclaration$1, CallExpression
|
|
|
11
11
|
import { relative, dirname, basename, extname, resolve as resolve$1 } from 'node:path';
|
|
12
12
|
import { posix, win32, isAbsolute, resolve } from 'path';
|
|
13
13
|
import { parseAsync, xxhashBase64Url, xxhashBase36, xxhashBase16 } from '../../native.js';
|
|
14
|
-
import process$1, { env
|
|
14
|
+
import process$1, { env } from 'node:process';
|
|
15
15
|
import { performance } from 'node:perf_hooks';
|
|
16
16
|
import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
|
|
17
|
-
import * as tty from 'tty';
|
|
18
17
|
|
|
19
|
-
var version = "4.29.
|
|
18
|
+
var version = "4.29.2";
|
|
20
19
|
|
|
21
20
|
const comma = ','.charCodeAt(0);
|
|
22
21
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -7639,7 +7638,7 @@ class ExternalChunk {
|
|
|
7639
7638
|
(this.renormalizeRenderPath ? normalize(relative(this.inputBase, this.id)) : this.id));
|
|
7640
7639
|
}
|
|
7641
7640
|
getImportAttributes(snippets) {
|
|
7642
|
-
return (this.importAttributes ||= formatAttributes(this.options.format
|
|
7641
|
+
return (this.importAttributes ||= formatAttributes(['es', 'cjs'].includes(this.options.format) &&
|
|
7643
7642
|
this.options.externalImportAttributes &&
|
|
7644
7643
|
this.moduleInfo.attributes, snippets));
|
|
7645
7644
|
}
|
|
@@ -17464,7 +17463,9 @@ class Chunk {
|
|
|
17464
17463
|
}
|
|
17465
17464
|
return [
|
|
17466
17465
|
resolution || '',
|
|
17467
|
-
(
|
|
17466
|
+
(['es', 'cjs'].includes(this.outputOptions.format) &&
|
|
17467
|
+
this.outputOptions.externalImportAttributes) ||
|
|
17468
|
+
null
|
|
17468
17469
|
];
|
|
17469
17470
|
}
|
|
17470
17471
|
getFallbackChunkName() {
|
|
@@ -21906,118 +21907,97 @@ function defineConfig(options) {
|
|
|
21906
21907
|
return options;
|
|
21907
21908
|
}
|
|
21908
21909
|
|
|
21909
|
-
|
|
21910
|
-
|
|
21911
|
-
|
|
21912
|
-
|
|
21913
|
-
|
|
21914
|
-
|
|
21915
|
-
|
|
21916
|
-
|
|
21917
|
-
|
|
21918
|
-
|
|
21919
|
-
|
|
21920
|
-
|
|
21921
|
-
|
|
21922
|
-
|
|
21923
|
-
|
|
21924
|
-
|
|
21925
|
-
|
|
21926
|
-
|
|
21927
|
-
|
|
21928
|
-
|
|
21929
|
-
|
|
21930
|
-
|
|
21931
|
-
|
|
21932
|
-
|
|
21933
|
-
|
|
21934
|
-
|
|
21935
|
-
|
|
21936
|
-
head = string.substring(0, index) + replace,
|
|
21937
|
-
tail = string.substring(index + close.length),
|
|
21938
|
-
next = tail.indexOf(close)
|
|
21939
|
-
) => head + (next < 0 ? tail : replaceClose(next, tail, close, replace));
|
|
21940
|
-
|
|
21941
|
-
const clearBleed = (index, string, open, close, replace) =>
|
|
21942
|
-
index < 0
|
|
21943
|
-
? open + string + close
|
|
21944
|
-
: open + replaceClose(index, string, close, replace) + close;
|
|
21945
|
-
|
|
21946
|
-
const filterEmpty =
|
|
21947
|
-
(open, close, replace = open, at = open.length + 1) =>
|
|
21948
|
-
(string) =>
|
|
21949
|
-
string || !(string === "" || string === undefined)
|
|
21950
|
-
? clearBleed(
|
|
21951
|
-
("" + string).indexOf(close, at),
|
|
21952
|
-
string,
|
|
21953
|
-
open,
|
|
21954
|
-
close,
|
|
21955
|
-
replace
|
|
21956
|
-
)
|
|
21957
|
-
: "";
|
|
21958
|
-
|
|
21959
|
-
const init = (open, close, replace) =>
|
|
21960
|
-
filterEmpty(`\x1b[${open}m`, `\x1b[${close}m`, replace);
|
|
21961
|
-
|
|
21962
|
-
const colors = {
|
|
21963
|
-
reset: init(0, 0),
|
|
21964
|
-
bold: init(1, 22, "\x1b[22m\x1b[1m"),
|
|
21965
|
-
dim: init(2, 22, "\x1b[22m\x1b[2m"),
|
|
21966
|
-
italic: init(3, 23),
|
|
21967
|
-
underline: init(4, 24),
|
|
21968
|
-
inverse: init(7, 27),
|
|
21969
|
-
hidden: init(8, 28),
|
|
21970
|
-
strikethrough: init(9, 29),
|
|
21971
|
-
black: init(30, 39),
|
|
21972
|
-
red: init(31, 39),
|
|
21973
|
-
green: init(32, 39),
|
|
21974
|
-
yellow: init(33, 39),
|
|
21975
|
-
blue: init(34, 39),
|
|
21976
|
-
magenta: init(35, 39),
|
|
21977
|
-
cyan: init(36, 39),
|
|
21978
|
-
white: init(37, 39),
|
|
21979
|
-
gray: init(90, 39),
|
|
21980
|
-
bgBlack: init(40, 49),
|
|
21981
|
-
bgRed: init(41, 49),
|
|
21982
|
-
bgGreen: init(42, 49),
|
|
21983
|
-
bgYellow: init(43, 49),
|
|
21984
|
-
bgBlue: init(44, 49),
|
|
21985
|
-
bgMagenta: init(45, 49),
|
|
21986
|
-
bgCyan: init(46, 49),
|
|
21987
|
-
bgWhite: init(47, 49),
|
|
21988
|
-
blackBright: init(90, 39),
|
|
21989
|
-
redBright: init(91, 39),
|
|
21990
|
-
greenBright: init(92, 39),
|
|
21991
|
-
yellowBright: init(93, 39),
|
|
21992
|
-
blueBright: init(94, 39),
|
|
21993
|
-
magentaBright: init(95, 39),
|
|
21994
|
-
cyanBright: init(96, 39),
|
|
21995
|
-
whiteBright: init(97, 39),
|
|
21996
|
-
bgBlackBright: init(100, 49),
|
|
21997
|
-
bgRedBright: init(101, 49),
|
|
21998
|
-
bgGreenBright: init(102, 49),
|
|
21999
|
-
bgYellowBright: init(103, 49),
|
|
22000
|
-
bgBlueBright: init(104, 49),
|
|
22001
|
-
bgMagentaBright: init(105, 49),
|
|
22002
|
-
bgCyanBright: init(106, 49),
|
|
22003
|
-
bgWhiteBright: init(107, 49),
|
|
22004
|
-
};
|
|
21910
|
+
var picocolors = {exports: {}};
|
|
21911
|
+
|
|
21912
|
+
var hasRequiredPicocolors;
|
|
21913
|
+
|
|
21914
|
+
function requirePicocolors () {
|
|
21915
|
+
if (hasRequiredPicocolors) return picocolors.exports;
|
|
21916
|
+
hasRequiredPicocolors = 1;
|
|
21917
|
+
let p = process || {}, argv = p.argv || [], env = p.env || {};
|
|
21918
|
+
let isColorSupported =
|
|
21919
|
+
!(!!env.NO_COLOR || argv.includes("--no-color")) &&
|
|
21920
|
+
(!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || ((p.stdout || {}).isTTY && env.TERM !== "dumb") || !!env.CI);
|
|
21921
|
+
|
|
21922
|
+
let formatter = (open, close, replace = open) =>
|
|
21923
|
+
input => {
|
|
21924
|
+
let string = "" + input, index = string.indexOf(close, open.length);
|
|
21925
|
+
return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close
|
|
21926
|
+
};
|
|
21927
|
+
|
|
21928
|
+
let replaceClose = (string, close, replace, index) => {
|
|
21929
|
+
let result = "", cursor = 0;
|
|
21930
|
+
do {
|
|
21931
|
+
result += string.substring(cursor, index) + replace;
|
|
21932
|
+
cursor = index + close.length;
|
|
21933
|
+
index = string.indexOf(close, cursor);
|
|
21934
|
+
} while (~index)
|
|
21935
|
+
return result + string.substring(cursor)
|
|
21936
|
+
};
|
|
22005
21937
|
|
|
22006
|
-
|
|
22007
|
-
|
|
22008
|
-
|
|
22009
|
-
|
|
22010
|
-
|
|
22011
|
-
|
|
22012
|
-
|
|
21938
|
+
let createColors = (enabled = isColorSupported) => {
|
|
21939
|
+
let f = enabled ? formatter : () => String;
|
|
21940
|
+
return {
|
|
21941
|
+
isColorSupported: enabled,
|
|
21942
|
+
reset: f("\x1b[0m", "\x1b[0m"),
|
|
21943
|
+
bold: f("\x1b[1m", "\x1b[22m", "\x1b[22m\x1b[1m"),
|
|
21944
|
+
dim: f("\x1b[2m", "\x1b[22m", "\x1b[22m\x1b[2m"),
|
|
21945
|
+
italic: f("\x1b[3m", "\x1b[23m"),
|
|
21946
|
+
underline: f("\x1b[4m", "\x1b[24m"),
|
|
21947
|
+
inverse: f("\x1b[7m", "\x1b[27m"),
|
|
21948
|
+
hidden: f("\x1b[8m", "\x1b[28m"),
|
|
21949
|
+
strikethrough: f("\x1b[9m", "\x1b[29m"),
|
|
21950
|
+
|
|
21951
|
+
black: f("\x1b[30m", "\x1b[39m"),
|
|
21952
|
+
red: f("\x1b[31m", "\x1b[39m"),
|
|
21953
|
+
green: f("\x1b[32m", "\x1b[39m"),
|
|
21954
|
+
yellow: f("\x1b[33m", "\x1b[39m"),
|
|
21955
|
+
blue: f("\x1b[34m", "\x1b[39m"),
|
|
21956
|
+
magenta: f("\x1b[35m", "\x1b[39m"),
|
|
21957
|
+
cyan: f("\x1b[36m", "\x1b[39m"),
|
|
21958
|
+
white: f("\x1b[37m", "\x1b[39m"),
|
|
21959
|
+
gray: f("\x1b[90m", "\x1b[39m"),
|
|
21960
|
+
|
|
21961
|
+
bgBlack: f("\x1b[40m", "\x1b[49m"),
|
|
21962
|
+
bgRed: f("\x1b[41m", "\x1b[49m"),
|
|
21963
|
+
bgGreen: f("\x1b[42m", "\x1b[49m"),
|
|
21964
|
+
bgYellow: f("\x1b[43m", "\x1b[49m"),
|
|
21965
|
+
bgBlue: f("\x1b[44m", "\x1b[49m"),
|
|
21966
|
+
bgMagenta: f("\x1b[45m", "\x1b[49m"),
|
|
21967
|
+
bgCyan: f("\x1b[46m", "\x1b[49m"),
|
|
21968
|
+
bgWhite: f("\x1b[47m", "\x1b[49m"),
|
|
21969
|
+
|
|
21970
|
+
blackBright: f("\x1b[90m", "\x1b[39m"),
|
|
21971
|
+
redBright: f("\x1b[91m", "\x1b[39m"),
|
|
21972
|
+
greenBright: f("\x1b[92m", "\x1b[39m"),
|
|
21973
|
+
yellowBright: f("\x1b[93m", "\x1b[39m"),
|
|
21974
|
+
blueBright: f("\x1b[94m", "\x1b[39m"),
|
|
21975
|
+
magentaBright: f("\x1b[95m", "\x1b[39m"),
|
|
21976
|
+
cyanBright: f("\x1b[96m", "\x1b[39m"),
|
|
21977
|
+
whiteBright: f("\x1b[97m", "\x1b[39m"),
|
|
21978
|
+
|
|
21979
|
+
bgBlackBright: f("\x1b[100m", "\x1b[49m"),
|
|
21980
|
+
bgRedBright: f("\x1b[101m", "\x1b[49m"),
|
|
21981
|
+
bgGreenBright: f("\x1b[102m", "\x1b[49m"),
|
|
21982
|
+
bgYellowBright: f("\x1b[103m", "\x1b[49m"),
|
|
21983
|
+
bgBlueBright: f("\x1b[104m", "\x1b[49m"),
|
|
21984
|
+
bgMagentaBright: f("\x1b[105m", "\x1b[49m"),
|
|
21985
|
+
bgCyanBright: f("\x1b[106m", "\x1b[49m"),
|
|
21986
|
+
bgWhiteBright: f("\x1b[107m", "\x1b[49m"),
|
|
21987
|
+
}
|
|
21988
|
+
};
|
|
22013
21989
|
|
|
22014
|
-
createColors();
|
|
21990
|
+
picocolors.exports = createColors();
|
|
21991
|
+
picocolors.exports.createColors = createColors;
|
|
21992
|
+
return picocolors.exports;
|
|
21993
|
+
}
|
|
21994
|
+
|
|
21995
|
+
var picocolorsExports = /*@__PURE__*/ requirePicocolors();
|
|
21996
|
+
const pc = /*@__PURE__*/getDefaultExportFromCjs(picocolorsExports);
|
|
22015
21997
|
|
|
22016
21998
|
// @see https://no-color.org
|
|
22017
21999
|
// @see https://www.npmjs.com/package/chalk
|
|
22018
|
-
const { bold, cyan, dim, gray, green, red, underline, yellow } = createColors(
|
|
22019
|
-
useColor: env$1.FORCE_COLOR !== '0' && !env$1.NO_COLOR
|
|
22020
|
-
});
|
|
22000
|
+
const { bold, cyan, dim, gray, green, red, underline, yellow } = pc.createColors(env.FORCE_COLOR !== '0' && !env.NO_COLOR);
|
|
22021
22001
|
|
|
22022
22002
|
// log to stderr to keep `rollup main.js > bundle.js` from breaking
|
|
22023
22003
|
const stderr = (...parameters) => process$1.stderr.write(`${parameters.join('')}\n`);
|
package/dist/es/shared/watch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.29.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.29.2
|
|
4
|
+
Sun, 05 Jan 2025 12:07:13 GMT - commit f5c349e5bb4cb40b0cc1a1b2a3fb5de415946406
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -21,7 +21,6 @@ import './parseAst.js';
|
|
|
21
21
|
import '../../native.js';
|
|
22
22
|
import 'node:perf_hooks';
|
|
23
23
|
import 'node:fs/promises';
|
|
24
|
-
import 'tty';
|
|
25
24
|
|
|
26
25
|
var chokidar$1 = {};
|
|
27
26
|
|
package/dist/getLogFilter.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.29.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.29.2
|
|
4
|
+
Sun, 05 Jan 2025 12:07:13 GMT - commit f5c349e5bb4cb40b0cc1a1b2a3fb5de415946406
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -18,7 +18,6 @@ require('node:url');
|
|
|
18
18
|
require('./shared/rollup.js');
|
|
19
19
|
require('./shared/parseAst.js');
|
|
20
20
|
const loadConfigFile_js = require('./shared/loadConfigFile.js');
|
|
21
|
-
require('tty');
|
|
22
21
|
require('path');
|
|
23
22
|
require('./native.js');
|
|
24
23
|
require('node:perf_hooks');
|
package/dist/parseAst.js
CHANGED
package/dist/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.29.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.29.2
|
|
4
|
+
Sun, 05 Jan 2025 12:07:13 GMT - commit f5c349e5bb4cb40b0cc1a1b2a3fb5de415946406
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -15,7 +15,6 @@ const rollup = require('./shared/rollup.js');
|
|
|
15
15
|
const parseAst_js = require('./shared/parseAst.js');
|
|
16
16
|
const fseventsImporter = require('./shared/fsevents-importer.js');
|
|
17
17
|
require('node:process');
|
|
18
|
-
require('tty');
|
|
19
18
|
require('node:path');
|
|
20
19
|
require('path');
|
|
21
20
|
require('./native.js');
|
package/dist/shared/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.29.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.29.2
|
|
4
|
+
Sun, 05 Jan 2025 12:07:13 GMT - commit f5c349e5bb4cb40b0cc1a1b2a3fb5de415946406
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -63,14 +63,14 @@ function batchWarnings(command) {
|
|
|
63
63
|
}
|
|
64
64
|
case parseAst_js.LOGLEVEL_DEBUG: {
|
|
65
65
|
if (!silent) {
|
|
66
|
-
rollup.stderr(rollup.bold(rollup.blue(log.message)));
|
|
66
|
+
rollup.stderr(rollup.bold(rollup.pc.blue(log.message)));
|
|
67
67
|
defaultBody(log);
|
|
68
68
|
}
|
|
69
69
|
return;
|
|
70
70
|
}
|
|
71
71
|
default: {
|
|
72
72
|
if (!silent) {
|
|
73
|
-
rollup.stderr(rollup.bold(rollup.cyan(log.message)));
|
|
73
|
+
rollup.stderr(rollup.bold(rollup.pc.cyan(log.message)));
|
|
74
74
|
defaultBody(log);
|
|
75
75
|
}
|
|
76
76
|
}
|
package/dist/shared/parseAst.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.29.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.29.2
|
|
4
|
+
Sun, 05 Jan 2025 12:07:13 GMT - commit f5c349e5bb4cb40b0cc1a1b2a3fb5de415946406
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -11,27 +11,13 @@
|
|
|
11
11
|
|
|
12
12
|
const parseAst_js = require('./parseAst.js');
|
|
13
13
|
const process$1 = require('node:process');
|
|
14
|
-
const tty = require('tty');
|
|
15
14
|
const path = require('node:path');
|
|
16
15
|
const require$$0 = require('path');
|
|
17
16
|
const native_js = require('../native.js');
|
|
18
17
|
const node_perf_hooks = require('node:perf_hooks');
|
|
19
18
|
const promises = require('node:fs/promises');
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
23
|
-
if (e) {
|
|
24
|
-
for (const k in e) {
|
|
25
|
-
n[k] = e[k];
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
n.default = e;
|
|
29
|
-
return n;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
|
|
33
|
-
|
|
34
|
-
var version = "4.29.1";
|
|
20
|
+
var version = "4.29.2";
|
|
35
21
|
|
|
36
22
|
function ensureArray$1(items) {
|
|
37
23
|
if (Array.isArray(items)) {
|
|
@@ -1395,160 +1381,126 @@ async function mergeOutputOptions(config, overrides, log) {
|
|
|
1395
1381
|
return outputOptions;
|
|
1396
1382
|
}
|
|
1397
1383
|
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
platform = "",
|
|
1402
|
-
} = typeof process === "undefined" ? {} : process;
|
|
1403
|
-
|
|
1404
|
-
const isDisabled = "NO_COLOR" in env || argv.includes("--no-color");
|
|
1405
|
-
const isForced = "FORCE_COLOR" in env || argv.includes("--color");
|
|
1406
|
-
const isWindows = platform === "win32";
|
|
1407
|
-
const isDumbTerminal = env.TERM === "dumb";
|
|
1408
|
-
|
|
1409
|
-
const isCompatibleTerminal =
|
|
1410
|
-
tty__namespace && tty__namespace.isatty && tty__namespace.isatty(1) && env.TERM && !isDumbTerminal;
|
|
1411
|
-
|
|
1412
|
-
const isCI =
|
|
1413
|
-
"CI" in env &&
|
|
1414
|
-
("GITHUB_ACTIONS" in env || "GITLAB_CI" in env || "CIRCLECI" in env);
|
|
1415
|
-
|
|
1416
|
-
const isColorSupported =
|
|
1417
|
-
!isDisabled &&
|
|
1418
|
-
(isForced || (isWindows && !isDumbTerminal) || isCompatibleTerminal || isCI);
|
|
1419
|
-
|
|
1420
|
-
const replaceClose = (
|
|
1421
|
-
index,
|
|
1422
|
-
string,
|
|
1423
|
-
close,
|
|
1424
|
-
replace,
|
|
1425
|
-
head = string.substring(0, index) + replace,
|
|
1426
|
-
tail = string.substring(index + close.length),
|
|
1427
|
-
next = tail.indexOf(close)
|
|
1428
|
-
) => head + (next < 0 ? tail : replaceClose(next, tail, close, replace));
|
|
1429
|
-
|
|
1430
|
-
const clearBleed = (index, string, open, close, replace) =>
|
|
1431
|
-
index < 0
|
|
1432
|
-
? open + string + close
|
|
1433
|
-
: open + replaceClose(index, string, close, replace) + close;
|
|
1434
|
-
|
|
1435
|
-
const filterEmpty =
|
|
1436
|
-
(open, close, replace = open, at = open.length + 1) =>
|
|
1437
|
-
(string) =>
|
|
1438
|
-
string || !(string === "" || string === undefined)
|
|
1439
|
-
? clearBleed(
|
|
1440
|
-
("" + string).indexOf(close, at),
|
|
1441
|
-
string,
|
|
1442
|
-
open,
|
|
1443
|
-
close,
|
|
1444
|
-
replace
|
|
1445
|
-
)
|
|
1446
|
-
: "";
|
|
1447
|
-
|
|
1448
|
-
const init = (open, close, replace) =>
|
|
1449
|
-
filterEmpty(`\x1b[${open}m`, `\x1b[${close}m`, replace);
|
|
1450
|
-
|
|
1451
|
-
const colors = {
|
|
1452
|
-
reset: init(0, 0),
|
|
1453
|
-
bold: init(1, 22, "\x1b[22m\x1b[1m"),
|
|
1454
|
-
dim: init(2, 22, "\x1b[22m\x1b[2m"),
|
|
1455
|
-
italic: init(3, 23),
|
|
1456
|
-
underline: init(4, 24),
|
|
1457
|
-
inverse: init(7, 27),
|
|
1458
|
-
hidden: init(8, 28),
|
|
1459
|
-
strikethrough: init(9, 29),
|
|
1460
|
-
black: init(30, 39),
|
|
1461
|
-
red: init(31, 39),
|
|
1462
|
-
green: init(32, 39),
|
|
1463
|
-
yellow: init(33, 39),
|
|
1464
|
-
blue: init(34, 39),
|
|
1465
|
-
magenta: init(35, 39),
|
|
1466
|
-
cyan: init(36, 39),
|
|
1467
|
-
white: init(37, 39),
|
|
1468
|
-
gray: init(90, 39),
|
|
1469
|
-
bgBlack: init(40, 49),
|
|
1470
|
-
bgRed: init(41, 49),
|
|
1471
|
-
bgGreen: init(42, 49),
|
|
1472
|
-
bgYellow: init(43, 49),
|
|
1473
|
-
bgBlue: init(44, 49),
|
|
1474
|
-
bgMagenta: init(45, 49),
|
|
1475
|
-
bgCyan: init(46, 49),
|
|
1476
|
-
bgWhite: init(47, 49),
|
|
1477
|
-
blackBright: init(90, 39),
|
|
1478
|
-
redBright: init(91, 39),
|
|
1479
|
-
greenBright: init(92, 39),
|
|
1480
|
-
yellowBright: init(93, 39),
|
|
1481
|
-
blueBright: init(94, 39),
|
|
1482
|
-
magentaBright: init(95, 39),
|
|
1483
|
-
cyanBright: init(96, 39),
|
|
1484
|
-
whiteBright: init(97, 39),
|
|
1485
|
-
bgBlackBright: init(100, 49),
|
|
1486
|
-
bgRedBright: init(101, 49),
|
|
1487
|
-
bgGreenBright: init(102, 49),
|
|
1488
|
-
bgYellowBright: init(103, 49),
|
|
1489
|
-
bgBlueBright: init(104, 49),
|
|
1490
|
-
bgMagentaBright: init(105, 49),
|
|
1491
|
-
bgCyanBright: init(106, 49),
|
|
1492
|
-
bgWhiteBright: init(107, 49),
|
|
1493
|
-
};
|
|
1384
|
+
function getDefaultExportFromCjs (x) {
|
|
1385
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
1386
|
+
}
|
|
1494
1387
|
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1388
|
+
function getAugmentedNamespace(n) {
|
|
1389
|
+
if (n.__esModule) return n;
|
|
1390
|
+
var f = n.default;
|
|
1391
|
+
if (typeof f == "function") {
|
|
1392
|
+
var a = function a () {
|
|
1393
|
+
if (this instanceof a) {
|
|
1394
|
+
return Reflect.construct(f, arguments, this.constructor);
|
|
1395
|
+
}
|
|
1396
|
+
return f.apply(this, arguments);
|
|
1397
|
+
};
|
|
1398
|
+
a.prototype = f.prototype;
|
|
1399
|
+
} else a = {};
|
|
1400
|
+
Object.defineProperty(a, '__esModule', {value: true});
|
|
1401
|
+
Object.keys(n).forEach(function (k) {
|
|
1402
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
1403
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
1404
|
+
enumerable: true,
|
|
1405
|
+
get: function () {
|
|
1406
|
+
return n[k];
|
|
1407
|
+
}
|
|
1408
|
+
});
|
|
1409
|
+
});
|
|
1410
|
+
return a;
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
var picocolors = {exports: {}};
|
|
1414
|
+
|
|
1415
|
+
var hasRequiredPicocolors;
|
|
1416
|
+
|
|
1417
|
+
function requirePicocolors () {
|
|
1418
|
+
if (hasRequiredPicocolors) return picocolors.exports;
|
|
1419
|
+
hasRequiredPicocolors = 1;
|
|
1420
|
+
let p = process || {}, argv = p.argv || [], env = p.env || {};
|
|
1421
|
+
let isColorSupported =
|
|
1422
|
+
!(!!env.NO_COLOR || argv.includes("--no-color")) &&
|
|
1423
|
+
(!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || ((p.stdout || {}).isTTY && env.TERM !== "dumb") || !!env.CI);
|
|
1424
|
+
|
|
1425
|
+
let formatter = (open, close, replace = open) =>
|
|
1426
|
+
input => {
|
|
1427
|
+
let string = "" + input, index = string.indexOf(close, open.length);
|
|
1428
|
+
return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close
|
|
1429
|
+
};
|
|
1430
|
+
|
|
1431
|
+
let replaceClose = (string, close, replace, index) => {
|
|
1432
|
+
let result = "", cursor = 0;
|
|
1433
|
+
do {
|
|
1434
|
+
result += string.substring(cursor, index) + replace;
|
|
1435
|
+
cursor = index + close.length;
|
|
1436
|
+
index = string.indexOf(close, cursor);
|
|
1437
|
+
} while (~index)
|
|
1438
|
+
return result + string.substring(cursor)
|
|
1439
|
+
};
|
|
1440
|
+
|
|
1441
|
+
let createColors = (enabled = isColorSupported) => {
|
|
1442
|
+
let f = enabled ? formatter : () => String;
|
|
1443
|
+
return {
|
|
1444
|
+
isColorSupported: enabled,
|
|
1445
|
+
reset: f("\x1b[0m", "\x1b[0m"),
|
|
1446
|
+
bold: f("\x1b[1m", "\x1b[22m", "\x1b[22m\x1b[1m"),
|
|
1447
|
+
dim: f("\x1b[2m", "\x1b[22m", "\x1b[22m\x1b[2m"),
|
|
1448
|
+
italic: f("\x1b[3m", "\x1b[23m"),
|
|
1449
|
+
underline: f("\x1b[4m", "\x1b[24m"),
|
|
1450
|
+
inverse: f("\x1b[7m", "\x1b[27m"),
|
|
1451
|
+
hidden: f("\x1b[8m", "\x1b[28m"),
|
|
1452
|
+
strikethrough: f("\x1b[9m", "\x1b[29m"),
|
|
1453
|
+
|
|
1454
|
+
black: f("\x1b[30m", "\x1b[39m"),
|
|
1455
|
+
red: f("\x1b[31m", "\x1b[39m"),
|
|
1456
|
+
green: f("\x1b[32m", "\x1b[39m"),
|
|
1457
|
+
yellow: f("\x1b[33m", "\x1b[39m"),
|
|
1458
|
+
blue: f("\x1b[34m", "\x1b[39m"),
|
|
1459
|
+
magenta: f("\x1b[35m", "\x1b[39m"),
|
|
1460
|
+
cyan: f("\x1b[36m", "\x1b[39m"),
|
|
1461
|
+
white: f("\x1b[37m", "\x1b[39m"),
|
|
1462
|
+
gray: f("\x1b[90m", "\x1b[39m"),
|
|
1463
|
+
|
|
1464
|
+
bgBlack: f("\x1b[40m", "\x1b[49m"),
|
|
1465
|
+
bgRed: f("\x1b[41m", "\x1b[49m"),
|
|
1466
|
+
bgGreen: f("\x1b[42m", "\x1b[49m"),
|
|
1467
|
+
bgYellow: f("\x1b[43m", "\x1b[49m"),
|
|
1468
|
+
bgBlue: f("\x1b[44m", "\x1b[49m"),
|
|
1469
|
+
bgMagenta: f("\x1b[45m", "\x1b[49m"),
|
|
1470
|
+
bgCyan: f("\x1b[46m", "\x1b[49m"),
|
|
1471
|
+
bgWhite: f("\x1b[47m", "\x1b[49m"),
|
|
1472
|
+
|
|
1473
|
+
blackBright: f("\x1b[90m", "\x1b[39m"),
|
|
1474
|
+
redBright: f("\x1b[91m", "\x1b[39m"),
|
|
1475
|
+
greenBright: f("\x1b[92m", "\x1b[39m"),
|
|
1476
|
+
yellowBright: f("\x1b[93m", "\x1b[39m"),
|
|
1477
|
+
blueBright: f("\x1b[94m", "\x1b[39m"),
|
|
1478
|
+
magentaBright: f("\x1b[95m", "\x1b[39m"),
|
|
1479
|
+
cyanBright: f("\x1b[96m", "\x1b[39m"),
|
|
1480
|
+
whiteBright: f("\x1b[97m", "\x1b[39m"),
|
|
1481
|
+
|
|
1482
|
+
bgBlackBright: f("\x1b[100m", "\x1b[49m"),
|
|
1483
|
+
bgRedBright: f("\x1b[101m", "\x1b[49m"),
|
|
1484
|
+
bgGreenBright: f("\x1b[102m", "\x1b[49m"),
|
|
1485
|
+
bgYellowBright: f("\x1b[103m", "\x1b[49m"),
|
|
1486
|
+
bgBlueBright: f("\x1b[104m", "\x1b[49m"),
|
|
1487
|
+
bgMagentaBright: f("\x1b[105m", "\x1b[49m"),
|
|
1488
|
+
bgCyanBright: f("\x1b[106m", "\x1b[49m"),
|
|
1489
|
+
bgWhiteBright: f("\x1b[107m", "\x1b[49m"),
|
|
1490
|
+
}
|
|
1491
|
+
};
|
|
1492
|
+
|
|
1493
|
+
picocolors.exports = createColors();
|
|
1494
|
+
picocolors.exports.createColors = createColors;
|
|
1495
|
+
return picocolors.exports;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
var picocolorsExports = /*@__PURE__*/ requirePicocolors();
|
|
1499
|
+
const pc = /*@__PURE__*/getDefaultExportFromCjs(picocolorsExports);
|
|
1546
1500
|
|
|
1547
1501
|
// @see https://no-color.org
|
|
1548
1502
|
// @see https://www.npmjs.com/package/chalk
|
|
1549
|
-
const { bold, cyan, dim, gray, green, red, underline, yellow } = createColors(
|
|
1550
|
-
useColor: process$1.env.FORCE_COLOR !== '0' && !process$1.env.NO_COLOR
|
|
1551
|
-
});
|
|
1503
|
+
const { bold, cyan, dim, gray, green, red, underline, yellow } = pc.createColors(process$1.env.FORCE_COLOR !== '0' && !process$1.env.NO_COLOR);
|
|
1552
1504
|
|
|
1553
1505
|
// log to stderr to keep `rollup main.js > bundle.js` from breaking
|
|
1554
1506
|
const stderr = (...parameters) => process$1.stderr.write(`${parameters.join('')}\n`);
|
|
@@ -9183,7 +9135,7 @@ class ExternalChunk {
|
|
|
9183
9135
|
(this.renormalizeRenderPath ? parseAst_js.normalize(path.relative(this.inputBase, this.id)) : this.id));
|
|
9184
9136
|
}
|
|
9185
9137
|
getImportAttributes(snippets) {
|
|
9186
|
-
return (this.importAttributes ||= formatAttributes(this.options.format
|
|
9138
|
+
return (this.importAttributes ||= formatAttributes(['es', 'cjs'].includes(this.options.format) &&
|
|
9187
9139
|
this.options.externalImportAttributes &&
|
|
9188
9140
|
this.moduleInfo.attributes, snippets));
|
|
9189
9141
|
}
|
|
@@ -10075,35 +10027,6 @@ function umd(magicString, { accessedGlobals, dependencies, exports, hasDefaultEx
|
|
|
10075
10027
|
|
|
10076
10028
|
const finalisers = { amd, cjs, es, iife, system, umd };
|
|
10077
10029
|
|
|
10078
|
-
function getDefaultExportFromCjs (x) {
|
|
10079
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
10080
|
-
}
|
|
10081
|
-
|
|
10082
|
-
function getAugmentedNamespace(n) {
|
|
10083
|
-
if (n.__esModule) return n;
|
|
10084
|
-
var f = n.default;
|
|
10085
|
-
if (typeof f == "function") {
|
|
10086
|
-
var a = function a () {
|
|
10087
|
-
if (this instanceof a) {
|
|
10088
|
-
return Reflect.construct(f, arguments, this.constructor);
|
|
10089
|
-
}
|
|
10090
|
-
return f.apply(this, arguments);
|
|
10091
|
-
};
|
|
10092
|
-
a.prototype = f.prototype;
|
|
10093
|
-
} else a = {};
|
|
10094
|
-
Object.defineProperty(a, '__esModule', {value: true});
|
|
10095
|
-
Object.keys(n).forEach(function (k) {
|
|
10096
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
10097
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
10098
|
-
enumerable: true,
|
|
10099
|
-
get: function () {
|
|
10100
|
-
return n[k];
|
|
10101
|
-
}
|
|
10102
|
-
});
|
|
10103
|
-
});
|
|
10104
|
-
return a;
|
|
10105
|
-
}
|
|
10106
|
-
|
|
10107
10030
|
var utils = {};
|
|
10108
10031
|
|
|
10109
10032
|
var constants;
|
|
@@ -18892,7 +18815,9 @@ class Chunk {
|
|
|
18892
18815
|
}
|
|
18893
18816
|
return [
|
|
18894
18817
|
resolution || '',
|
|
18895
|
-
(
|
|
18818
|
+
(['es', 'cjs'].includes(this.outputOptions.format) &&
|
|
18819
|
+
this.outputOptions.externalImportAttributes) ||
|
|
18820
|
+
null
|
|
18896
18821
|
];
|
|
18897
18822
|
}
|
|
18898
18823
|
getFallbackChunkName() {
|
|
@@ -22304,12 +22229,10 @@ function defineConfig(options) {
|
|
|
22304
22229
|
return options;
|
|
22305
22230
|
}
|
|
22306
22231
|
|
|
22307
|
-
exports.blue = blue;
|
|
22308
22232
|
exports.bold = bold;
|
|
22309
22233
|
exports.commandAliases = commandAliases;
|
|
22310
22234
|
exports.createFilter = createFilter;
|
|
22311
|
-
exports.cyan = cyan
|
|
22312
|
-
exports.cyan$1 = cyan;
|
|
22235
|
+
exports.cyan = cyan;
|
|
22313
22236
|
exports.defineConfig = defineConfig;
|
|
22314
22237
|
exports.ensureArray = ensureArray$1;
|
|
22315
22238
|
exports.getAugmentedNamespace = getAugmentedNamespace;
|
|
@@ -22322,6 +22245,7 @@ exports.handleError = handleError;
|
|
|
22322
22245
|
exports.isWatchEnabled = isWatchEnabled;
|
|
22323
22246
|
exports.mergeOptions = mergeOptions;
|
|
22324
22247
|
exports.normalizePluginOption = normalizePluginOption;
|
|
22248
|
+
exports.pc = pc;
|
|
22325
22249
|
exports.rollup = rollup;
|
|
22326
22250
|
exports.rollupInternal = rollupInternal;
|
|
22327
22251
|
exports.stderr = stderr;
|
package/dist/shared/watch-cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.29.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.29.2
|
|
4
|
+
Sun, 05 Jan 2025 12:07:13 GMT - commit f5c349e5bb4cb40b0cc1a1b2a3fb5de415946406
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -28,7 +28,6 @@ require('os');
|
|
|
28
28
|
require('./fsevents-importer.js');
|
|
29
29
|
require('events');
|
|
30
30
|
require('node:path');
|
|
31
|
-
require('tty');
|
|
32
31
|
require('../native.js');
|
|
33
32
|
require('node:perf_hooks');
|
|
34
33
|
require('node:url');
|
|
@@ -417,7 +416,7 @@ function createWatchHooks(command) {
|
|
|
417
416
|
if (watchHooks[hook]) {
|
|
418
417
|
const cmd = watchHooks[hook];
|
|
419
418
|
if (!command.silent) {
|
|
420
|
-
rollup.stderr(rollup.cyan
|
|
419
|
+
rollup.stderr(rollup.cyan(`watch.${hook} ${rollup.bold(`$ ${cmd}`)}`));
|
|
421
420
|
}
|
|
422
421
|
try {
|
|
423
422
|
// !! important - use stderr for all writes from execSync
|
|
@@ -512,7 +511,7 @@ async function watch(command) {
|
|
|
512
511
|
? input.join(', ')
|
|
513
512
|
: Object.values(input).join(', ');
|
|
514
513
|
}
|
|
515
|
-
rollup.stderr(rollup.cyan
|
|
514
|
+
rollup.stderr(rollup.cyan(`bundles ${rollup.bold(input)} → ${rollup.bold(event.output.map(parseAst_js.relativeId).join(', '))}...`));
|
|
516
515
|
}
|
|
517
516
|
runWatchHook('onBundleStart');
|
|
518
517
|
break;
|
package/dist/shared/watch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.29.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.29.2
|
|
4
|
+
Sun, 05 Jan 2025 12:07:13 GMT - commit f5c349e5bb4cb40b0cc1a1b2a3fb5de415946406
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -18,7 +18,6 @@ const index = require('./index.js');
|
|
|
18
18
|
const node_os = require('node:os');
|
|
19
19
|
require('./parseAst.js');
|
|
20
20
|
require('../native.js');
|
|
21
|
-
require('tty');
|
|
22
21
|
require('path');
|
|
23
22
|
require('node:perf_hooks');
|
|
24
23
|
require('node:fs/promises');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup",
|
|
3
|
-
"version": "4.29.
|
|
3
|
+
"version": "4.29.2",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -110,25 +110,25 @@
|
|
|
110
110
|
"homepage": "https://rollupjs.org/",
|
|
111
111
|
"optionalDependencies": {
|
|
112
112
|
"fsevents": "~2.3.2",
|
|
113
|
-
"@rollup/rollup-darwin-arm64": "4.29.
|
|
114
|
-
"@rollup/rollup-android-arm64": "4.29.
|
|
115
|
-
"@rollup/rollup-win32-arm64-msvc": "4.29.
|
|
116
|
-
"@rollup/rollup-freebsd-arm64": "4.29.
|
|
117
|
-
"@rollup/rollup-linux-arm64-gnu": "4.29.
|
|
118
|
-
"@rollup/rollup-linux-arm64-musl": "4.29.
|
|
119
|
-
"@rollup/rollup-android-arm-eabi": "4.29.
|
|
120
|
-
"@rollup/rollup-linux-arm-gnueabihf": "4.29.
|
|
121
|
-
"@rollup/rollup-linux-arm-musleabihf": "4.29.
|
|
122
|
-
"@rollup/rollup-win32-ia32-msvc": "4.29.
|
|
123
|
-
"@rollup/rollup-linux-loongarch64-gnu": "4.29.
|
|
124
|
-
"@rollup/rollup-linux-riscv64-gnu": "4.29.
|
|
125
|
-
"@rollup/rollup-linux-powerpc64le-gnu": "4.29.
|
|
126
|
-
"@rollup/rollup-linux-s390x-gnu": "4.29.
|
|
127
|
-
"@rollup/rollup-darwin-x64": "4.29.
|
|
128
|
-
"@rollup/rollup-win32-x64-msvc": "4.29.
|
|
129
|
-
"@rollup/rollup-freebsd-x64": "4.29.
|
|
130
|
-
"@rollup/rollup-linux-x64-gnu": "4.29.
|
|
131
|
-
"@rollup/rollup-linux-x64-musl": "4.29.
|
|
113
|
+
"@rollup/rollup-darwin-arm64": "4.29.2",
|
|
114
|
+
"@rollup/rollup-android-arm64": "4.29.2",
|
|
115
|
+
"@rollup/rollup-win32-arm64-msvc": "4.29.2",
|
|
116
|
+
"@rollup/rollup-freebsd-arm64": "4.29.2",
|
|
117
|
+
"@rollup/rollup-linux-arm64-gnu": "4.29.2",
|
|
118
|
+
"@rollup/rollup-linux-arm64-musl": "4.29.2",
|
|
119
|
+
"@rollup/rollup-android-arm-eabi": "4.29.2",
|
|
120
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.29.2",
|
|
121
|
+
"@rollup/rollup-linux-arm-musleabihf": "4.29.2",
|
|
122
|
+
"@rollup/rollup-win32-ia32-msvc": "4.29.2",
|
|
123
|
+
"@rollup/rollup-linux-loongarch64-gnu": "4.29.2",
|
|
124
|
+
"@rollup/rollup-linux-riscv64-gnu": "4.29.2",
|
|
125
|
+
"@rollup/rollup-linux-powerpc64le-gnu": "4.29.2",
|
|
126
|
+
"@rollup/rollup-linux-s390x-gnu": "4.29.2",
|
|
127
|
+
"@rollup/rollup-darwin-x64": "4.29.2",
|
|
128
|
+
"@rollup/rollup-win32-x64-msvc": "4.29.2",
|
|
129
|
+
"@rollup/rollup-freebsd-x64": "4.29.2",
|
|
130
|
+
"@rollup/rollup-linux-x64-gnu": "4.29.2",
|
|
131
|
+
"@rollup/rollup-linux-x64-musl": "4.29.2"
|
|
132
132
|
},
|
|
133
133
|
"dependencies": {
|
|
134
134
|
"@types/estree": "1.0.6"
|
|
@@ -139,12 +139,12 @@
|
|
|
139
139
|
"devDependencies": {
|
|
140
140
|
"@codemirror/commands": "^6.7.1",
|
|
141
141
|
"@codemirror/lang-javascript": "^6.2.2",
|
|
142
|
-
"@codemirror/language": "^6.10.
|
|
142
|
+
"@codemirror/language": "^6.10.8",
|
|
143
143
|
"@codemirror/search": "^6.5.8",
|
|
144
144
|
"@codemirror/state": "^6.5.0",
|
|
145
|
-
"@codemirror/view": "^6.36.
|
|
145
|
+
"@codemirror/view": "^6.36.1",
|
|
146
146
|
"@eslint/js": "^9.17.0",
|
|
147
|
-
"@inquirer/prompts": "^7.2.
|
|
147
|
+
"@inquirer/prompts": "^7.2.1",
|
|
148
148
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|
|
149
149
|
"@mermaid-js/mermaid-cli": "^11.4.2",
|
|
150
150
|
"@napi-rs/cli": "^2.18.4",
|
|
@@ -157,19 +157,18 @@
|
|
|
157
157
|
"@rollup/plugin-terser": "^0.4.4",
|
|
158
158
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
159
159
|
"@rollup/pluginutils": "^5.1.4",
|
|
160
|
-
"@shikijs/vitepress-twoslash": "^1.24.
|
|
160
|
+
"@shikijs/vitepress-twoslash": "^1.24.4",
|
|
161
161
|
"@types/mocha": "^10.0.10",
|
|
162
162
|
"@types/node": "^18.19.68",
|
|
163
163
|
"@types/semver": "^7.5.8",
|
|
164
164
|
"@types/yargs-parser": "^21.0.3",
|
|
165
|
-
"@vue/language-server": "^2.
|
|
165
|
+
"@vue/language-server": "^2.2.0",
|
|
166
166
|
"acorn": "^8.14.0",
|
|
167
167
|
"acorn-import-assertions": "^1.9.0",
|
|
168
168
|
"acorn-jsx": "^5.3.2",
|
|
169
169
|
"buble": "^0.20.0",
|
|
170
170
|
"builtin-modules": "^4.0.0",
|
|
171
171
|
"chokidar": "^3.6.0",
|
|
172
|
-
"colorette": "^2.0.20",
|
|
173
172
|
"concurrently": "^9.1.0",
|
|
174
173
|
"core-js": "3.38.1",
|
|
175
174
|
"cross-env": "^7.0.3",
|
|
@@ -185,7 +184,7 @@
|
|
|
185
184
|
"flru": "^1.0.2",
|
|
186
185
|
"fs-extra": "^11.2.0",
|
|
187
186
|
"github-api": "^3.4.0",
|
|
188
|
-
"globals": "^15.
|
|
187
|
+
"globals": "^15.14.0",
|
|
189
188
|
"husky": "^9.1.7",
|
|
190
189
|
"is-reference": "^3.0.3",
|
|
191
190
|
"lint-staged": "^15.2.11",
|
|
@@ -195,13 +194,14 @@
|
|
|
195
194
|
"nodemon": "^3.1.9",
|
|
196
195
|
"npm-audit-resolver": "^3.0.0-RC.0",
|
|
197
196
|
"nyc": "^17.1.0",
|
|
197
|
+
"picocolors": "^1.1.1",
|
|
198
198
|
"pinia": "^2.3.0",
|
|
199
199
|
"prettier": "^3.4.2",
|
|
200
200
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
201
201
|
"pretty-bytes": "^6.1.1",
|
|
202
202
|
"pretty-ms": "^9.2.0",
|
|
203
203
|
"requirejs": "^2.3.7",
|
|
204
|
-
"rollup": "^4.
|
|
204
|
+
"rollup": "^4.29.1",
|
|
205
205
|
"rollup-plugin-license": "^3.5.3",
|
|
206
206
|
"rollup-plugin-string": "^3.0.0",
|
|
207
207
|
"semver": "^7.6.3",
|
|
@@ -213,11 +213,11 @@
|
|
|
213
213
|
"terser": "^5.37.0",
|
|
214
214
|
"tslib": "^2.8.1",
|
|
215
215
|
"typescript": "^5.7.2",
|
|
216
|
-
"typescript-eslint": "^8.18.
|
|
217
|
-
"vite": "^6.0.
|
|
216
|
+
"typescript-eslint": "^8.18.2",
|
|
217
|
+
"vite": "^6.0.5",
|
|
218
218
|
"vitepress": "^1.5.0",
|
|
219
219
|
"vue": "^3.5.13",
|
|
220
|
-
"vue-tsc": "^2.
|
|
220
|
+
"vue-tsc": "^2.2.0",
|
|
221
221
|
"wasm-pack": "^0.13.1",
|
|
222
222
|
"yargs-parser": "^21.1.1"
|
|
223
223
|
},
|