rollup 4.62.0 → 4.62.1
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 +5 -5
- package/dist/es/getLogFilter.js +3 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +3 -3
- package/dist/es/shared/node-entry.js +22 -10
- package/dist/es/shared/parseAst.js +2 -2
- package/dist/es/shared/watch.js +2 -2
- package/dist/getLogFilter.js +3 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/parseAst.js +2 -2
- package/dist/rollup.js +5 -3
- 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/parseAst.js +2 -2
- package/dist/shared/rollup.js +20 -10
- package/dist/shared/watch-cli.js +4 -4
- package/dist/shared/watch.js +2 -2
- package/package.json +39 -39
package/dist/bin/rollup
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
3
|
@license
|
|
4
|
-
Rollup.js v4.62.
|
|
5
|
-
|
|
4
|
+
Rollup.js v4.62.1
|
|
5
|
+
Fri, 19 Jun 2026 12:41:14 GMT - commit caacf701b89e5be4a94b3ffdbf70b51e5cfa3a1a
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
8
8
|
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
14
14
|
|
|
15
15
|
const process$1 = require('node:process');
|
|
16
|
-
const rollup = require('../shared/rollup.js');
|
|
17
16
|
const require$$2 = require('util');
|
|
18
17
|
const require$$0 = require('path');
|
|
19
18
|
const require$$0$1 = require('fs');
|
|
19
|
+
const rollup = require('../shared/rollup.js');
|
|
20
20
|
const parseAst_js = require('../shared/parseAst.js');
|
|
21
21
|
const fseventsImporter = require('../shared/fsevents-importer.js');
|
|
22
22
|
const promises = require('node:fs/promises');
|
|
@@ -27,7 +27,7 @@ require('node:perf_hooks');
|
|
|
27
27
|
require('node:url');
|
|
28
28
|
require('../getLogFilter.js');
|
|
29
29
|
|
|
30
|
-
const help = "rollup version 4.62.
|
|
30
|
+
const help = "rollup version 4.62.1\n=====================================\n\nUsage: rollup [options] <entry file>\n\nOptions:\n\n-c, --config <filename> Use this config file (if argument is used but value\n is unspecified, Rollup will try to load configuration files in\n the following order:\n rollup.config.mjs -> rollup.config.cjs -> rollup.config.js)\n-d, --dir <dirname> Directory for chunks (if absent, prints to stdout)\n-e, --external <ids> Comma-separate list of module IDs to exclude\n-f, --format <format> Type of output (amd, cjs, es, iife, umd, system)\n-g, --globals <pairs> Comma-separate list of `moduleID:Global` pairs\n-h, --help Show this help message\n-i, --input <filename> Input (alternative to <entry file>)\n-m, --sourcemap Generate sourcemap (`-m inline` for inline map)\n-n, --name <name> Name for UMD export\n-o, --file <output> Single output file (if absent, prints to stdout)\n-p, --plugin <plugin> Use the plugin specified (may be repeated)\n-v, --version Show version number\n-w, --watch Watch files in bundle and rebuild on changes\n--amd.autoId Generate the AMD ID based off the chunk name\n--amd.basePath <prefix> Path to prepend to auto generated AMD ID\n--amd.define <name> Function to use in place of `define`\n--amd.forceJsExtensionForImports Use `.js` extension in AMD imports\n--amd.id <id> ID for AMD module (default is anonymous)\n--assetFileNames <pattern> Name pattern for emitted assets\n--banner <text> Code to insert at top of bundle (outside wrapper)\n--chunkFileNames <pattern> Name pattern for emitted secondary chunks\n--compact Minify wrapper code\n--context <variable> Specify top-level `this` value\n--no-dynamicImportInCjs Write external dynamic CommonJS imports as require\n--entryFileNames <pattern> Name pattern for emitted entry chunks\n--environment <values> Settings passed to config file (see example)\n--no-esModule Do not add __esModule property\n--exports <mode> Specify export mode (auto, default, named, none)\n--extend Extend global variable defined by --name\n--no-externalImportAttributes Omit import attributes in \"es\" output\n--no-externalLiveBindings Do not generate code to support live bindings\n--failAfterWarnings Exit with an error if the build produced warnings\n--filterLogs <filter> Filter log messages\n--footer <text> Code to insert at end of bundle (outside wrapper)\n--forceExit Force exit the process when done\n--no-freeze Do not freeze namespace objects\n--generatedCode <preset> Which code features to use (es5/es2015)\n--generatedCode.arrowFunctions Use arrow functions in generated code\n--generatedCode.constBindings Use \"const\" in generated code\n--generatedCode.objectShorthand Use shorthand properties in generated code\n--no-generatedCode.reservedNamesAsProps Always quote reserved names as props\n--generatedCode.symbols Use symbols in generated code\n--hashCharacters <name> Use the specified character set for file hashes\n--no-hoistTransitiveImports Do not hoist transitive imports into entry chunks\n--importAttributesKey <name> Use the specified keyword for import attributes\n--no-indent Don't indent result\n--inlineDynamicImports Create single bundle when using dynamic imports\n--no-interop Do not include interop block\n--intro <text> Code to insert at top of bundle (inside wrapper)\n--logLevel <level> Which kind of logs to display\n--no-makeAbsoluteExternalsRelative Prevent normalization of external imports\n--maxParallelFileOps <value> How many files to read in parallel\n--minifyInternalExports Force or disable minification of internal exports\n--noConflict Generate a noConflict method for UMD globals\n--outro <text> Code to insert at end of bundle (inside wrapper)\n--perf Display performance timings\n--no-preserveEntrySignatures Avoid facade chunks for entry points\n--preserveModules Preserve module structure\n--preserveModulesRoot Put preserved modules under this path at root level\n--preserveSymlinks Do not follow symlinks when resolving files\n--no-reexportProtoFromExternal Ignore `__proto__` in star re-exports\n--no-sanitizeFileName Do not replace invalid characters in file names\n--shimMissingExports Create shim variables for missing exports\n--silent Don't print warnings\n--sourcemapBaseUrl <url> Emit absolute sourcemap URLs with given base\n--sourcemapDebugIds Emit unique debug ids in source and sourcemaps\n--sourcemapExcludeSources Do not include source code in source maps\n--sourcemapFile <file> Specify bundle position for source maps\n--sourcemapFileNames <pattern> Name pattern for emitted sourcemaps\n--stdin=ext Specify file extension used for stdin input\n--no-stdin Do not read \"-\" from stdin\n--no-strict Don't emit `\"use strict\";` in the generated modules\n--strictDeprecations Throw errors for deprecated features\n--no-systemNullSetters Do not replace empty SystemJS setters with `null`\n--no-treeshake Disable tree-shaking optimisations\n--no-treeshake.annotations Ignore pure call annotations\n--treeshake.correctVarValueBeforeDeclaration Deoptimize variables until declared\n--treeshake.manualPureFunctions <names> Manually declare functions as pure\n--no-treeshake.moduleSideEffects Assume modules have no side effects\n--no-treeshake.propertyReadSideEffects Ignore property access side effects\n--no-treeshake.tryCatchDeoptimization Do not turn off try-catch-tree-shaking\n--no-treeshake.unknownGlobalSideEffects Assume unknown globals do not throw\n--validate Validate output\n--waitForBundleInput Wait for bundle input files\n--watch.allowInputInsideOutputPath Whether the input path is allowed to be a\n subpath of the output path\n--watch.buildDelay <number> Throttle watch rebuilds\n--no-watch.clearScreen Do not clear the screen when rebuilding\n--watch.exclude <files> Exclude files from being watched\n--watch.include <files> Limit watching to specified files\n--watch.onBundleEnd <cmd> Shell command to run on `\"BUNDLE_END\"` event\n--watch.onBundleStart <cmd> Shell command to run on `\"BUNDLE_START\"` event\n--watch.onEnd <cmd> Shell command to run on `\"END\"` event\n--watch.onError <cmd> Shell command to run on `\"ERROR\"` event\n--watch.onStart <cmd> Shell command to run on `\"START\"` event\n--watch.skipWrite Do not write files to disk when watching\n\nExamples:\n\n# use settings in config file\nrollup -c\n\n# in config file, process.env.INCLUDE_DEPS === 'true'\n# and process.env.BUILD === 'production'\nrollup -c --environment INCLUDE_DEPS,BUILD:production\n\n# create CommonJS bundle.js from src/main.js\nrollup --format=cjs --file=bundle.js -- src/main.js\n\n# create self-executing IIFE using `window.jQuery`\n# and `window._` as external globals\nrollup -f iife --globals jquery:jQuery,lodash:_ \\\n -i src/app.js -o build/app.js -m build/app.js.map\n\nNotes:\n\n* When piping to stdout, only inline sourcemaps are permitted\n\nFor more information visit https://rollupjs.org\n";
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
@@ -1889,7 +1889,7 @@ if (command.help || (process$1.argv.length <= 2 && process$1.stdin.isTTY)) {
|
|
|
1889
1889
|
console.log(`\n${help}\n`);
|
|
1890
1890
|
}
|
|
1891
1891
|
else if (command.version) {
|
|
1892
|
-
console.log(`rollup v${rollup.version}`);
|
|
1892
|
+
console.log(`rollup v${rollup.package_.version}`);
|
|
1893
1893
|
}
|
|
1894
1894
|
else {
|
|
1895
1895
|
try {
|
package/dist/es/getLogFilter.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.62.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.62.1
|
|
4
|
+
Fri, 19 Jun 2026 12:41:14 GMT - commit caacf701b89e5be4a94b3ffdbf70b51e5cfa3a1a
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -49,6 +49,7 @@ const testFilter = (log, key, parts) => {
|
|
|
49
49
|
if (!value.startsWith(parts[0])) {
|
|
50
50
|
return false;
|
|
51
51
|
}
|
|
52
|
+
value = value.slice(parts[0].length);
|
|
52
53
|
const lastPartIndex = parts.length - 1;
|
|
53
54
|
for (let index = 1; index < lastPartIndex; index++) {
|
|
54
55
|
const part = parts[index];
|
package/dist/es/parseAst.js
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.62.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.62.1
|
|
4
|
+
Fri, 19 Jun 2026 12:41:14 GMT - commit caacf701b89e5be4a94b3ffdbf70b51e5cfa3a1a
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
8
8
|
Released under the MIT License.
|
|
9
9
|
*/
|
|
10
|
-
export {
|
|
10
|
+
export { VERSION, defineConfig, rollup, watch } from './shared/node-entry.js';
|
|
11
11
|
import './shared/parseAst.js';
|
|
12
12
|
import '../native.js';
|
|
13
13
|
import 'node:path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.62.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.62.1
|
|
4
|
+
Fri, 19 Jun 2026 12:41:14 GMT - commit caacf701b89e5be4a94b3ffdbf70b51e5cfa3a1a
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -27,7 +27,9 @@ function _mergeNamespaces(n, m) {
|
|
|
27
27
|
return Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' });
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
var version = "4.62.
|
|
30
|
+
var version = "4.62.1";
|
|
31
|
+
const package_ = {
|
|
32
|
+
version: version};
|
|
31
33
|
|
|
32
34
|
// src/vlq.ts
|
|
33
35
|
var comma = ",".charCodeAt(0);
|
|
@@ -18569,10 +18571,15 @@ function renderNamePattern(pattern, patternName, replacements) {
|
|
|
18569
18571
|
function makeUnique(name, { [lowercaseBundleKeys]: reservedLowercaseBundleKeys }) {
|
|
18570
18572
|
if (!reservedLowercaseBundleKeys.has(name.toLowerCase()))
|
|
18571
18573
|
return name;
|
|
18572
|
-
const
|
|
18573
|
-
|
|
18574
|
+
const slashIndex = Math.max(name.lastIndexOf('/'), name.lastIndexOf('\\'));
|
|
18575
|
+
// This will also handle -1 correctly
|
|
18576
|
+
const directory = name.slice(0, slashIndex + 1);
|
|
18577
|
+
const fileName = name.slice(slashIndex + 1);
|
|
18578
|
+
const dotIndex = fileName.indexOf('.', 1);
|
|
18579
|
+
const base = directory + (dotIndex === -1 ? fileName : fileName.slice(0, dotIndex));
|
|
18580
|
+
const extension = dotIndex === -1 ? '' : fileName.slice(dotIndex);
|
|
18574
18581
|
let uniqueName, uniqueIndex = 1;
|
|
18575
|
-
while (reservedLowercaseBundleKeys.has((uniqueName =
|
|
18582
|
+
while (reservedLowercaseBundleKeys.has((uniqueName = base + ++uniqueIndex + extension).toLowerCase()))
|
|
18576
18583
|
;
|
|
18577
18584
|
return uniqueName;
|
|
18578
18585
|
}
|
|
@@ -22645,6 +22652,7 @@ function getLogHandler(level, code, logger, pluginName, logLevel) {
|
|
|
22645
22652
|
};
|
|
22646
22653
|
}
|
|
22647
22654
|
|
|
22655
|
+
const rollupVersion$2 = package_.version;
|
|
22648
22656
|
function getPluginContext(plugin, pluginCache, graph, options, fileEmitter, existingPluginNames) {
|
|
22649
22657
|
const { logLevel, onLog } = options;
|
|
22650
22658
|
let cacheable = true;
|
|
@@ -22689,7 +22697,7 @@ function getPluginContext(plugin, pluginCache, graph, options, fileEmitter, exis
|
|
|
22689
22697
|
return graph.moduleLoader.preloadModule(resolvedId);
|
|
22690
22698
|
},
|
|
22691
22699
|
meta: {
|
|
22692
|
-
rollupVersion:
|
|
22700
|
+
rollupVersion: rollupVersion$2,
|
|
22693
22701
|
watchMode: graph.watchMode
|
|
22694
22702
|
},
|
|
22695
22703
|
parse: parseAst,
|
|
@@ -23366,6 +23374,7 @@ async function catchUnfinishedHookActions(pluginDriver, callback) {
|
|
|
23366
23374
|
|
|
23367
23375
|
async function initWasm() { }
|
|
23368
23376
|
|
|
23377
|
+
const rollupVersion$1 = package_.version;
|
|
23369
23378
|
function getLogger(plugins, onLog, watchMode, logLevel) {
|
|
23370
23379
|
plugins = getSortedValidatedPlugins('onLog', plugins);
|
|
23371
23380
|
const minimalPriority = logLevelPriority[logLevel];
|
|
@@ -23390,7 +23399,7 @@ function getLogger(plugins, onLog, watchMode, logLevel) {
|
|
|
23390
23399
|
debug: getLogHandler(LOGLEVEL_DEBUG),
|
|
23391
23400
|
error: (log) => error(normalizeLog(log)),
|
|
23392
23401
|
info: getLogHandler(LOGLEVEL_INFO),
|
|
23393
|
-
meta: { rollupVersion:
|
|
23402
|
+
meta: { rollupVersion: rollupVersion$1, watchMode },
|
|
23394
23403
|
warn: getLogHandler(LOGLEVEL_WARN)
|
|
23395
23404
|
}, level, log) === false) {
|
|
23396
23405
|
return;
|
|
@@ -23861,6 +23870,7 @@ const getSourcemapBaseUrl = (config) => {
|
|
|
23861
23870
|
}
|
|
23862
23871
|
};
|
|
23863
23872
|
|
|
23873
|
+
const rollupVersion = package_.version;
|
|
23864
23874
|
// @ts-expect-error TS2540: the polyfill of `asyncDispose`.
|
|
23865
23875
|
Symbol.asyncDispose ??= Symbol('Symbol.asyncDispose');
|
|
23866
23876
|
function rollup(rawInputOptions) {
|
|
@@ -23966,7 +23976,7 @@ async function getProcessedInputOptions(inputOptions, watchMode) {
|
|
|
23966
23976
|
debug: getLogHandler(LOGLEVEL_DEBUG, 'PLUGIN_LOG', logger, name, logLevel),
|
|
23967
23977
|
error: (error_) => error(logPluginError(normalizeLog(error_), name, { hook: 'onLog' })),
|
|
23968
23978
|
info: getLogHandler(LOGLEVEL_INFO, 'PLUGIN_LOG', logger, name, logLevel),
|
|
23969
|
-
meta: { rollupVersion
|
|
23979
|
+
meta: { rollupVersion, watchMode },
|
|
23970
23980
|
warn: getLogHandler(LOGLEVEL_WARN, 'PLUGIN_WARNING', logger, name, logLevel)
|
|
23971
23981
|
}, inputOptions);
|
|
23972
23982
|
if (processedOptions) {
|
|
@@ -24495,4 +24505,6 @@ async function watchInternal(configs, emitter) {
|
|
|
24495
24505
|
new Watcher(watchOptionsList, emitter);
|
|
24496
24506
|
}
|
|
24497
24507
|
|
|
24498
|
-
|
|
24508
|
+
const VERSION = package_.version;
|
|
24509
|
+
|
|
24510
|
+
export { VERSION, createFilter$1 as createFilter, defineConfig, fseventsImporter, getAugmentedNamespace, getDefaultExportFromCjs, rollup, rollupInternal, watch };
|
package/dist/es/shared/watch.js
CHANGED
package/dist/getLogFilter.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.62.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.62.1
|
|
4
|
+
Fri, 19 Jun 2026 12:41:14 GMT - commit caacf701b89e5be4a94b3ffdbf70b51e5cfa3a1a
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -53,6 +53,7 @@ const testFilter = (log, key, parts) => {
|
|
|
53
53
|
if (!value.startsWith(parts[0])) {
|
|
54
54
|
return false;
|
|
55
55
|
}
|
|
56
|
+
value = value.slice(parts[0].length);
|
|
56
57
|
const lastPartIndex = parts.length - 1;
|
|
57
58
|
for (let index = 1; index < lastPartIndex; index++) {
|
|
58
59
|
const part = parts[index];
|
package/dist/loadConfigFile.js
CHANGED
package/dist/parseAst.js
CHANGED
package/dist/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.62.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.62.1
|
|
4
|
+
Fri, 19 Jun 2026 12:41:14 GMT - commit caacf701b89e5be4a94b3ffdbf70b51e5cfa3a1a
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -120,8 +120,10 @@ async function watchInternal(configs, emitter) {
|
|
|
120
120
|
new Watcher(watchOptionsList, emitter);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
const VERSION = rollup.package_.version;
|
|
124
|
+
|
|
124
125
|
exports.defineConfig = rollup.defineConfig;
|
|
125
126
|
exports.rollup = rollup.rollup;
|
|
127
|
+
exports.VERSION = VERSION;
|
|
126
128
|
exports.watch = watch;
|
|
127
129
|
//# sourceMappingURL=rollup.js.map
|
package/dist/shared/index.js
CHANGED
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.62.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.62.1
|
|
4
|
+
Fri, 19 Jun 2026 12:41:14 GMT - commit caacf701b89e5be4a94b3ffdbf70b51e5cfa3a1a
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -42,7 +42,9 @@ function _mergeNamespaces(n, m) {
|
|
|
42
42
|
|
|
43
43
|
const promises__namespace = /*#__PURE__*/_interopNamespaceDefault(promises);
|
|
44
44
|
|
|
45
|
-
var version = "4.62.
|
|
45
|
+
var version = "4.62.1";
|
|
46
|
+
const package_ = {
|
|
47
|
+
version: version};
|
|
46
48
|
|
|
47
49
|
function ensureArray$1(items) {
|
|
48
50
|
if (Array.isArray(items)) {
|
|
@@ -210,10 +212,15 @@ function renderNamePattern(pattern, patternName, replacements) {
|
|
|
210
212
|
function makeUnique(name, { [lowercaseBundleKeys]: reservedLowercaseBundleKeys }) {
|
|
211
213
|
if (!reservedLowercaseBundleKeys.has(name.toLowerCase()))
|
|
212
214
|
return name;
|
|
213
|
-
const
|
|
214
|
-
|
|
215
|
+
const slashIndex = Math.max(name.lastIndexOf('/'), name.lastIndexOf('\\'));
|
|
216
|
+
// This will also handle -1 correctly
|
|
217
|
+
const directory = name.slice(0, slashIndex + 1);
|
|
218
|
+
const fileName = name.slice(slashIndex + 1);
|
|
219
|
+
const dotIndex = fileName.indexOf('.', 1);
|
|
220
|
+
const base = directory + (dotIndex === -1 ? fileName : fileName.slice(0, dotIndex));
|
|
221
|
+
const extension = dotIndex === -1 ? '' : fileName.slice(dotIndex);
|
|
215
222
|
let uniqueName, uniqueIndex = 1;
|
|
216
|
-
while (reservedLowercaseBundleKeys.has((uniqueName =
|
|
223
|
+
while (reservedLowercaseBundleKeys.has((uniqueName = base + ++uniqueIndex + extension).toLowerCase()))
|
|
217
224
|
;
|
|
218
225
|
return uniqueName;
|
|
219
226
|
}
|
|
@@ -878,6 +885,7 @@ function getCacheForUncacheablePlugin(pluginName) {
|
|
|
878
885
|
};
|
|
879
886
|
}
|
|
880
887
|
|
|
888
|
+
const rollupVersion$2 = package_.version;
|
|
881
889
|
function getPluginContext(plugin, pluginCache, graph, options, fileEmitter, existingPluginNames) {
|
|
882
890
|
const { logLevel, onLog } = options;
|
|
883
891
|
let cacheable = true;
|
|
@@ -922,7 +930,7 @@ function getPluginContext(plugin, pluginCache, graph, options, fileEmitter, exis
|
|
|
922
930
|
return graph.moduleLoader.preloadModule(resolvedId);
|
|
923
931
|
},
|
|
924
932
|
meta: {
|
|
925
|
-
rollupVersion:
|
|
933
|
+
rollupVersion: rollupVersion$2,
|
|
926
934
|
watchMode: graph.watchMode
|
|
927
935
|
},
|
|
928
936
|
parse: parseAst_js.parseAst,
|
|
@@ -3792,6 +3800,7 @@ function validateAddonPluginHandler(handler, hookName, plugin) {
|
|
|
3792
3800
|
}
|
|
3793
3801
|
function noReturn() { }
|
|
3794
3802
|
|
|
3803
|
+
const rollupVersion$1 = package_.version;
|
|
3795
3804
|
function getLogger(plugins, onLog, watchMode, logLevel) {
|
|
3796
3805
|
plugins = getSortedValidatedPlugins('onLog', plugins);
|
|
3797
3806
|
const minimalPriority = parseAst_js.logLevelPriority[logLevel];
|
|
@@ -3816,7 +3825,7 @@ function getLogger(plugins, onLog, watchMode, logLevel) {
|
|
|
3816
3825
|
debug: getLogHandler(parseAst_js.LOGLEVEL_DEBUG),
|
|
3817
3826
|
error: (log) => parseAst_js.error(normalizeLog(log)),
|
|
3818
3827
|
info: getLogHandler(parseAst_js.LOGLEVEL_INFO),
|
|
3819
|
-
meta: { rollupVersion:
|
|
3828
|
+
meta: { rollupVersion: rollupVersion$1, watchMode },
|
|
3820
3829
|
warn: getLogHandler(parseAst_js.LOGLEVEL_WARN)
|
|
3821
3830
|
}, level, log) === false) {
|
|
3822
3831
|
return;
|
|
@@ -24198,6 +24207,7 @@ const getSourcemapBaseUrl = (config) => {
|
|
|
24198
24207
|
}
|
|
24199
24208
|
};
|
|
24200
24209
|
|
|
24210
|
+
const rollupVersion = package_.version;
|
|
24201
24211
|
// @ts-expect-error TS2540: the polyfill of `asyncDispose`.
|
|
24202
24212
|
Symbol.asyncDispose ??= Symbol('Symbol.asyncDispose');
|
|
24203
24213
|
function rollup(rawInputOptions) {
|
|
@@ -24303,7 +24313,7 @@ async function getProcessedInputOptions(inputOptions, watchMode) {
|
|
|
24303
24313
|
debug: getLogHandler(parseAst_js.LOGLEVEL_DEBUG, 'PLUGIN_LOG', logger, name, logLevel),
|
|
24304
24314
|
error: (error_) => parseAst_js.error(parseAst_js.logPluginError(normalizeLog(error_), name, { hook: 'onLog' })),
|
|
24305
24315
|
info: getLogHandler(parseAst_js.LOGLEVEL_INFO, 'PLUGIN_LOG', logger, name, logLevel),
|
|
24306
|
-
meta: { rollupVersion
|
|
24316
|
+
meta: { rollupVersion, watchMode },
|
|
24307
24317
|
warn: getLogHandler(parseAst_js.LOGLEVEL_WARN, 'PLUGIN_WARNING', logger, name, logLevel)
|
|
24308
24318
|
}, inputOptions);
|
|
24309
24319
|
if (processedOptions) {
|
|
@@ -24410,11 +24420,11 @@ exports.handleError = handleError;
|
|
|
24410
24420
|
exports.isWatchEnabled = isWatchEnabled;
|
|
24411
24421
|
exports.mergeOptions = mergeOptions;
|
|
24412
24422
|
exports.normalizePluginOption = normalizePluginOption;
|
|
24423
|
+
exports.package_ = package_;
|
|
24413
24424
|
exports.pc = pc;
|
|
24414
24425
|
exports.rollup = rollup;
|
|
24415
24426
|
exports.rollupInternal = rollupInternal;
|
|
24416
24427
|
exports.stderr = stderr;
|
|
24417
24428
|
exports.underline = underline;
|
|
24418
|
-
exports.version = version;
|
|
24419
24429
|
exports.yellow = yellow;
|
|
24420
24430
|
//# sourceMappingURL=rollup.js.map
|
package/dist/shared/watch-cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.62.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.62.1
|
|
4
|
+
Fri, 19 Jun 2026 12:41:14 GMT - commit caacf701b89e5be4a94b3ffdbf70b51e5cfa3a1a
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -15,11 +15,11 @@ const index = require('./index.js');
|
|
|
15
15
|
const promises = require('node:fs/promises');
|
|
16
16
|
const process$2 = require('node:process');
|
|
17
17
|
const cli = require('../bin/rollup');
|
|
18
|
+
const rollup_js = require('../rollup.js');
|
|
18
19
|
const rollup = require('./rollup.js');
|
|
19
20
|
const parseAst_js = require('./parseAst.js');
|
|
20
21
|
const loadConfigFile_js = require('./loadConfigFile.js');
|
|
21
22
|
const node_child_process = require('node:child_process');
|
|
22
|
-
const rollup_js = require('../rollup.js');
|
|
23
23
|
require('path');
|
|
24
24
|
require('fs');
|
|
25
25
|
require('util');
|
|
@@ -478,7 +478,7 @@ async function watch(command) {
|
|
|
478
478
|
if (!resetScreen) {
|
|
479
479
|
resetScreen = getResetScreen(configs, isTTY);
|
|
480
480
|
}
|
|
481
|
-
resetScreen(rollup.underline(`rollup v${
|
|
481
|
+
resetScreen(rollup.underline(`rollup v${rollup_js.VERSION}`));
|
|
482
482
|
}
|
|
483
483
|
runWatchHook('onStart');
|
|
484
484
|
break;
|
package/dist/shared/watch.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup",
|
|
3
|
-
"version": "4.62.
|
|
3
|
+
"version": "4.62.1",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -114,31 +114,31 @@
|
|
|
114
114
|
"homepage": "https://rollupjs.org/",
|
|
115
115
|
"optionalDependencies": {
|
|
116
116
|
"fsevents": "~2.3.2",
|
|
117
|
-
"@rollup/rollup-darwin-arm64": "4.62.
|
|
118
|
-
"@rollup/rollup-android-arm64": "4.62.
|
|
119
|
-
"@rollup/rollup-win32-arm64-msvc": "4.62.
|
|
120
|
-
"@rollup/rollup-freebsd-arm64": "4.62.
|
|
121
|
-
"@rollup/rollup-linux-arm64-gnu": "4.62.
|
|
122
|
-
"@rollup/rollup-linux-arm64-musl": "4.62.
|
|
123
|
-
"@rollup/rollup-android-arm-eabi": "4.62.
|
|
124
|
-
"@rollup/rollup-linux-arm-gnueabihf": "4.62.
|
|
125
|
-
"@rollup/rollup-linux-arm-musleabihf": "4.62.
|
|
126
|
-
"@rollup/rollup-win32-ia32-msvc": "4.62.
|
|
127
|
-
"@rollup/rollup-linux-loong64-gnu": "4.62.
|
|
128
|
-
"@rollup/rollup-linux-loong64-musl": "4.62.
|
|
129
|
-
"@rollup/rollup-linux-riscv64-gnu": "4.62.
|
|
130
|
-
"@rollup/rollup-linux-riscv64-musl": "4.62.
|
|
131
|
-
"@rollup/rollup-linux-ppc64-gnu": "4.62.
|
|
132
|
-
"@rollup/rollup-linux-ppc64-musl": "4.62.
|
|
133
|
-
"@rollup/rollup-linux-s390x-gnu": "4.62.
|
|
134
|
-
"@rollup/rollup-darwin-x64": "4.62.
|
|
135
|
-
"@rollup/rollup-win32-x64-gnu": "4.62.
|
|
136
|
-
"@rollup/rollup-win32-x64-msvc": "4.62.
|
|
137
|
-
"@rollup/rollup-freebsd-x64": "4.62.
|
|
138
|
-
"@rollup/rollup-linux-x64-gnu": "4.62.
|
|
139
|
-
"@rollup/rollup-linux-x64-musl": "4.62.
|
|
140
|
-
"@rollup/rollup-openbsd-x64": "4.62.
|
|
141
|
-
"@rollup/rollup-openharmony-arm64": "4.62.
|
|
117
|
+
"@rollup/rollup-darwin-arm64": "4.62.1",
|
|
118
|
+
"@rollup/rollup-android-arm64": "4.62.1",
|
|
119
|
+
"@rollup/rollup-win32-arm64-msvc": "4.62.1",
|
|
120
|
+
"@rollup/rollup-freebsd-arm64": "4.62.1",
|
|
121
|
+
"@rollup/rollup-linux-arm64-gnu": "4.62.1",
|
|
122
|
+
"@rollup/rollup-linux-arm64-musl": "4.62.1",
|
|
123
|
+
"@rollup/rollup-android-arm-eabi": "4.62.1",
|
|
124
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.62.1",
|
|
125
|
+
"@rollup/rollup-linux-arm-musleabihf": "4.62.1",
|
|
126
|
+
"@rollup/rollup-win32-ia32-msvc": "4.62.1",
|
|
127
|
+
"@rollup/rollup-linux-loong64-gnu": "4.62.1",
|
|
128
|
+
"@rollup/rollup-linux-loong64-musl": "4.62.1",
|
|
129
|
+
"@rollup/rollup-linux-riscv64-gnu": "4.62.1",
|
|
130
|
+
"@rollup/rollup-linux-riscv64-musl": "4.62.1",
|
|
131
|
+
"@rollup/rollup-linux-ppc64-gnu": "4.62.1",
|
|
132
|
+
"@rollup/rollup-linux-ppc64-musl": "4.62.1",
|
|
133
|
+
"@rollup/rollup-linux-s390x-gnu": "4.62.1",
|
|
134
|
+
"@rollup/rollup-darwin-x64": "4.62.1",
|
|
135
|
+
"@rollup/rollup-win32-x64-gnu": "4.62.1",
|
|
136
|
+
"@rollup/rollup-win32-x64-msvc": "4.62.1",
|
|
137
|
+
"@rollup/rollup-freebsd-x64": "4.62.1",
|
|
138
|
+
"@rollup/rollup-linux-x64-gnu": "4.62.1",
|
|
139
|
+
"@rollup/rollup-linux-x64-musl": "4.62.1",
|
|
140
|
+
"@rollup/rollup-openbsd-x64": "4.62.1",
|
|
141
|
+
"@rollup/rollup-openharmony-arm64": "4.62.1"
|
|
142
142
|
},
|
|
143
143
|
"dependencies": {
|
|
144
144
|
"@types/estree": "1.0.9"
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
"@codemirror/search": "^6.7.0",
|
|
154
154
|
"@codemirror/state": "^6.6.0",
|
|
155
155
|
"@codemirror/view": "^6.43.1",
|
|
156
|
-
"@emnapi/core": "^1.11.
|
|
157
|
-
"@emnapi/runtime": "^1.11.
|
|
156
|
+
"@emnapi/core": "^1.11.1",
|
|
157
|
+
"@emnapi/runtime": "^1.11.1",
|
|
158
158
|
"@eslint/js": "^10.0.1",
|
|
159
159
|
"@inquirer/prompts": "^7.10.1",
|
|
160
160
|
"@jridgewell/sourcemap-codec": "^1.5.5",
|
|
@@ -171,12 +171,12 @@
|
|
|
171
171
|
"@rollup/pluginutils": "^5.4.0",
|
|
172
172
|
"@shikijs/vitepress-twoslash": "^4.2.0",
|
|
173
173
|
"@types/mocha": "^10.0.10",
|
|
174
|
-
"@types/node": "^20.19.
|
|
174
|
+
"@types/node": "^20.19.43",
|
|
175
175
|
"@types/picomatch": "^4.0.3",
|
|
176
176
|
"@types/semver": "^7.7.1",
|
|
177
177
|
"@types/yargs-parser": "^21.0.3",
|
|
178
|
-
"@vue/language-server": "^3.3.
|
|
179
|
-
"acorn": "^8.
|
|
178
|
+
"@vue/language-server": "^3.3.5",
|
|
179
|
+
"acorn": "^8.17.0",
|
|
180
180
|
"acorn-import-assertions": "^1.9.0",
|
|
181
181
|
"acorn-import-phases": "^1.0.4",
|
|
182
182
|
"acorn-jsx": "^5.3.2",
|
|
@@ -188,10 +188,10 @@
|
|
|
188
188
|
"date-time": "^4.0.0",
|
|
189
189
|
"es5-shim": "^4.6.7",
|
|
190
190
|
"es6-shim": "^0.35.8",
|
|
191
|
-
"eslint": "^10.
|
|
191
|
+
"eslint": "^10.5.0",
|
|
192
192
|
"eslint-config-prettier": "^10.1.8",
|
|
193
193
|
"eslint-plugin-prettier": "^5.5.6",
|
|
194
|
-
"eslint-plugin-unicorn": "^
|
|
194
|
+
"eslint-plugin-unicorn": "^66.0.0",
|
|
195
195
|
"eslint-plugin-vue": "^10.9.2",
|
|
196
196
|
"fixturify": "^3.0.0",
|
|
197
197
|
"flru": "^1.0.2",
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"lint-staged": "^17.0.7",
|
|
204
204
|
"locate-character": "^3.0.0",
|
|
205
205
|
"magic-string": "^0.30.21",
|
|
206
|
-
"memfs": "^4.57.
|
|
206
|
+
"memfs": "^4.57.7",
|
|
207
207
|
"mocha": "11.7.6",
|
|
208
208
|
"nodemon": "^3.1.14",
|
|
209
209
|
"npm-audit-resolver": "^3.0.0-RC.0",
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
"pretty-bytes": "^7.1.0",
|
|
218
218
|
"pretty-ms": "^9.3.0",
|
|
219
219
|
"requirejs": "^2.3.8",
|
|
220
|
-
"rollup": "^4.
|
|
220
|
+
"rollup": "^4.62.0",
|
|
221
221
|
"rollup-plugin-license": "^3.7.1",
|
|
222
222
|
"semver": "^7.8.4",
|
|
223
223
|
"shx": "^0.4.0",
|
|
@@ -228,17 +228,17 @@
|
|
|
228
228
|
"terser": "^5.48.0",
|
|
229
229
|
"tslib": "^2.8.1",
|
|
230
230
|
"typescript": "^5.9.3",
|
|
231
|
-
"typescript-eslint": "^8.61.
|
|
231
|
+
"typescript-eslint": "^8.61.1",
|
|
232
232
|
"vite": "^7.3.5",
|
|
233
233
|
"vitepress": "^1.6.4",
|
|
234
|
-
"vue": "^3.5.
|
|
234
|
+
"vue": "^3.5.38",
|
|
235
235
|
"vue-eslint-parser": "^10.4.1",
|
|
236
|
-
"vue-tsc": "^3.3.
|
|
236
|
+
"vue-tsc": "^3.3.5",
|
|
237
237
|
"wasm-pack": "^0.15.0",
|
|
238
238
|
"yargs-parser": "^21.1.1"
|
|
239
239
|
},
|
|
240
240
|
"overrides": {
|
|
241
|
-
"axios": "^1.
|
|
241
|
+
"axios": "^1.18.0",
|
|
242
242
|
"esbuild": ">0.24.2",
|
|
243
243
|
"lodash-es": ">4.17.22",
|
|
244
244
|
"path-scurry": {
|