@rollup/wasm-node 4.64.3 → 4.64.5
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 +3 -3
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +73 -23
- package/dist/es/shared/parseAst.js +2 -2
- package/dist/es/shared/watch.js +2 -2
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/native.js +8 -2
- package/dist/parseAst.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/node-entry.js +2 -2
- package/dist/shared/parseAst.js +2 -2
- package/dist/shared/rollup.js +73 -23
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/dist/wasm-node/bindings_wasm.js +3 -2
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +12 -12
package/dist/bin/rollup
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
3
|
@license
|
|
4
|
-
Rollup.js v4.64.
|
|
5
|
-
|
|
4
|
+
Rollup.js v4.64.5
|
|
5
|
+
Sat, 10 Oct 2026 13:02:03 GMT - commit 05a293809848a3d772e7ff2ba44adcbd23bd84b8
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
8
8
|
|
|
@@ -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.64.
|
|
30
|
+
const help = "rollup version 4.64.5\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
|
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.64.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.64.5
|
|
4
|
+
Sat, 10 Oct 2026 13:02:03 GMT - commit 05a293809848a3d772e7ff2ba44adcbd23bd84b8
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -27,7 +27,7 @@ function _mergeNamespaces(n, m) {
|
|
|
27
27
|
return Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' });
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
var version = "4.64.
|
|
30
|
+
var version = "4.64.5";
|
|
31
31
|
const pkg = {
|
|
32
32
|
version: version};
|
|
33
33
|
|
|
@@ -1248,7 +1248,7 @@ var MagicString = class MagicString {
|
|
|
1248
1248
|
while (chunk !== last) {
|
|
1249
1249
|
if (chunk.next !== this.byStart.get(chunk.end)) throw new MagicStringError("cannot overwrite across a split point");
|
|
1250
1250
|
chunk = chunk.next;
|
|
1251
|
-
chunk.edit("", false);
|
|
1251
|
+
chunk.edit("", false, !overwrite);
|
|
1252
1252
|
}
|
|
1253
1253
|
first.edit(content, storeName, !overwrite);
|
|
1254
1254
|
} else {
|
|
@@ -1602,8 +1602,8 @@ var MagicString = class MagicString {
|
|
|
1602
1602
|
if (this._hasRemovedContent(match.index, match.index + match[0].length)) return false;
|
|
1603
1603
|
const replacement = getReplacement(match, this.original);
|
|
1604
1604
|
if (replacement === match[0]) return true;
|
|
1605
|
-
if (match[0].length === 0) this.appendRight(match.index, replacement);
|
|
1606
|
-
else this.overwrite(match.index, match.index + match[0].length, replacement);
|
|
1605
|
+
if (match[0].length === 0) this.appendRight(match.index - this.offset, replacement);
|
|
1606
|
+
else this.overwrite(match.index - this.offset, match.index + match[0].length - this.offset, replacement);
|
|
1607
1607
|
return true;
|
|
1608
1608
|
};
|
|
1609
1609
|
if (searchValue.global) {
|
|
@@ -1630,8 +1630,8 @@ var MagicString = class MagicString {
|
|
|
1630
1630
|
if (typeof replacement === "function") replacement = replacement(string, index, original);
|
|
1631
1631
|
else replacement = expandReplacement(replacement, string, index, original, [], void 0);
|
|
1632
1632
|
if (string !== replacement) {
|
|
1633
|
-
if (string.length === 0) this.appendRight(index, replacement);
|
|
1634
|
-
else this.overwrite(index, index + string.length, replacement);
|
|
1633
|
+
if (string.length === 0) this.appendRight(index - this.offset, replacement);
|
|
1634
|
+
else this.overwrite(index - this.offset, index + string.length - this.offset, replacement);
|
|
1635
1635
|
}
|
|
1636
1636
|
break;
|
|
1637
1637
|
}
|
|
@@ -1652,7 +1652,7 @@ var MagicString = class MagicString {
|
|
|
1652
1652
|
for (let index = 0; index <= original.length; index += 1) {
|
|
1653
1653
|
if (this._hasRemovedContent(index, index)) continue;
|
|
1654
1654
|
const _replacement = typeof replacement === "function" ? replacement("", index, original) : expandReplacement(replacement, "", index, original, [], void 0);
|
|
1655
|
-
if (_replacement !== "") this.appendRight(index, _replacement);
|
|
1655
|
+
if (_replacement !== "") this.appendRight(index - this.offset, _replacement);
|
|
1656
1656
|
}
|
|
1657
1657
|
return this;
|
|
1658
1658
|
}
|
|
@@ -1660,7 +1660,7 @@ var MagicString = class MagicString {
|
|
|
1660
1660
|
if (this._hasRemovedContent(index, index + stringLength)) continue;
|
|
1661
1661
|
const previous = original.slice(index, index + stringLength);
|
|
1662
1662
|
const _replacement = typeof replacement === "function" ? replacement(previous, index, original) : expandReplacement(replacement, previous, index, original, [], void 0);
|
|
1663
|
-
if (previous !== _replacement) this.overwrite(index, index + stringLength, _replacement);
|
|
1663
|
+
if (previous !== _replacement) this.overwrite(index - this.offset, index + stringLength - this.offset, _replacement);
|
|
1664
1664
|
}
|
|
1665
1665
|
return this;
|
|
1666
1666
|
}
|
|
@@ -18093,6 +18093,9 @@ class Module {
|
|
|
18093
18093
|
hasEffects() {
|
|
18094
18094
|
return this.info.moduleSideEffects === 'no-treeshake' || this.ast.hasCachedEffects();
|
|
18095
18095
|
}
|
|
18096
|
+
hasTopLevelAwait() {
|
|
18097
|
+
return this.astContext.usesTopLevelAwait;
|
|
18098
|
+
}
|
|
18096
18099
|
include() {
|
|
18097
18100
|
const context = createInclusionContext();
|
|
18098
18101
|
if (this.ast.shouldBeIncluded(context))
|
|
@@ -20359,7 +20362,8 @@ function getChunkAssignments(entries, manualChunkAliasByEntry, minChunkSize, log
|
|
|
20359
20362
|
// Warning: This will consume dynamicallyDependentEntriesByDynamicEntry.
|
|
20360
20363
|
// If we no longer want this, we should make a copy here.
|
|
20361
20364
|
const alreadyLoadedAtomsByEntry = getAlreadyLoadedAtomsByEntry(staticDependencyAtomsByEntry, dynamicallyDependentEntriesByDynamicEntry, dynamicImportsByEntry, entriesAndManualChunksCount);
|
|
20362
|
-
|
|
20365
|
+
// Warning: This will consume dynamicallyDependentEntriesByAwaitedDynamicEntry.
|
|
20366
|
+
const awaitedAlreadyLoadedAtomsByEntry = getAwaitedAlreadyLoadedAtomsByEntry(staticDependencyAtomsByEntry, dynamicallyDependentEntriesByAwaitedDynamicEntry, awaitedDynamicImportsByEntry, entriesAndManualChunksCount);
|
|
20363
20367
|
// This mutates the dependentEntries in chunkAtoms
|
|
20364
20368
|
removeUnnecessaryDependentEntries(chunkAtoms, alreadyLoadedAtomsByEntry, awaitedAlreadyLoadedAtomsByEntry);
|
|
20365
20369
|
const { chunks, sideEffectAtoms, sizeByAtom } = getChunksWithSameDependentEntriesAndCorrelatedAtoms(chunkAtoms, staticDependencyAtomsByEntry, alreadyLoadedAtomsByEntry, minChunkSize);
|
|
@@ -20422,13 +20426,16 @@ function analyzeModuleGraph(entries, manualChunkModules, manualChunkModulesByMod
|
|
|
20422
20426
|
for (const currentEntryModules of allEntriesAndManualChunks) {
|
|
20423
20427
|
const dynamicImportsForCurrentEntry = new Set();
|
|
20424
20428
|
const awaitedDynamicImportsForCurrentEntry = new Set();
|
|
20429
|
+
const dynamicEntriesForCurrentEntry = new Set();
|
|
20425
20430
|
dynamicImportModulesByEntry[entryOrManualChunkIndex] = dynamicImportsForCurrentEntry;
|
|
20426
20431
|
awaitedDynamicImportModulesByEntry[entryOrManualChunkIndex] =
|
|
20427
20432
|
awaitedDynamicImportsForCurrentEntry;
|
|
20428
20433
|
const staticDependencies = new Set(currentEntryModules);
|
|
20434
|
+
let hasTopLevelAwait = false;
|
|
20429
20435
|
// If we have a very large manual chunk, tracking if it is already added to the dependencies will improve performance
|
|
20430
20436
|
const addedManualChunks = new Set();
|
|
20431
20437
|
for (const module of staticDependencies) {
|
|
20438
|
+
hasTopLevelAwait ||= module.hasTopLevelAwait();
|
|
20432
20439
|
getOrCreate(dependentEntriesByModule, module, (getNewSet)).add(entryOrManualChunkIndex);
|
|
20433
20440
|
const manualChunkMembers = manualChunkModulesByModule.get(module);
|
|
20434
20441
|
if (manualChunkMembers && !addedManualChunks.has(manualChunkMembers)) {
|
|
@@ -20445,17 +20452,13 @@ function analyzeModuleGraph(entries, manualChunkModules, manualChunkModulesByMod
|
|
|
20445
20452
|
for (const { node: { resolution } } of module.dynamicImports) {
|
|
20446
20453
|
if (resolution instanceof Module &&
|
|
20447
20454
|
resolution.includedDynamicImporters.length > 0 &&
|
|
20448
|
-
!allEntriesSet.has(resolution)) {
|
|
20449
|
-
|
|
20450
|
-
allEntriesSet.
|
|
20451
|
-
|
|
20452
|
-
|
|
20453
|
-
|
|
20454
|
-
|
|
20455
|
-
awaitedDynamicEntryModules.add(resolution);
|
|
20456
|
-
awaitedDynamicImportsForCurrentEntry.add(resolution);
|
|
20457
|
-
break;
|
|
20458
|
-
}
|
|
20455
|
+
(dynamicEntryModules.has(resolution) || !allEntriesSet.has(resolution))) {
|
|
20456
|
+
dynamicEntriesForCurrentEntry.add(resolution);
|
|
20457
|
+
if (!allEntriesSet.has(resolution)) {
|
|
20458
|
+
dynamicEntryModules.add(resolution);
|
|
20459
|
+
allEntriesSet.add(resolution);
|
|
20460
|
+
allEntriesAndManualChunks.push([resolution]);
|
|
20461
|
+
dynamicImportsForCurrentEntry.add(resolution);
|
|
20459
20462
|
}
|
|
20460
20463
|
}
|
|
20461
20464
|
}
|
|
@@ -20467,13 +20470,20 @@ function analyzeModuleGraph(entries, manualChunkModules, manualChunkModulesByMod
|
|
|
20467
20470
|
}
|
|
20468
20471
|
}
|
|
20469
20472
|
}
|
|
20473
|
+
// A dynamic import can be awaited indirectly through a static dependency.
|
|
20474
|
+
if (hasTopLevelAwait) {
|
|
20475
|
+
for (const dynamicEntry of dynamicEntriesForCurrentEntry) {
|
|
20476
|
+
awaitedDynamicEntryModules.add(dynamicEntry);
|
|
20477
|
+
awaitedDynamicImportsForCurrentEntry.add(dynamicEntry);
|
|
20478
|
+
}
|
|
20479
|
+
}
|
|
20470
20480
|
entryOrManualChunkIndex++;
|
|
20471
20481
|
}
|
|
20472
20482
|
const { awaitedDynamicEntries, awaitedDynamicImportsByEntry, dynamicEntries, dynamicImportsByEntry } = getDynamicEntries(allEntriesAndManualChunks, dynamicEntryModules, dynamicImportModulesByEntry, awaitedDynamicEntryModules, awaitedDynamicImportModulesByEntry);
|
|
20473
20483
|
return {
|
|
20474
20484
|
awaitedDynamicImportsByEntry,
|
|
20475
20485
|
dependentEntriesByModule,
|
|
20476
|
-
dynamicallyDependentEntriesByAwaitedDynamicEntry: getDynamicallyDependentEntriesByDynamicEntry(dependentEntriesByModule, awaitedDynamicEntries, allEntriesAndManualChunks, dynamicEntry => dynamicEntry.includedTopLevelAwaitingDynamicImporters),
|
|
20486
|
+
dynamicallyDependentEntriesByAwaitedDynamicEntry: addAwaitingEntries(getDynamicallyDependentEntriesByDynamicEntry(dependentEntriesByModule, awaitedDynamicEntries, allEntriesAndManualChunks, dynamicEntry => dynamicEntry.includedTopLevelAwaitingDynamicImporters), awaitedDynamicImportsByEntry),
|
|
20477
20487
|
dynamicallyDependentEntriesByDynamicEntry: getDynamicallyDependentEntriesByDynamicEntry(dependentEntriesByModule, dynamicEntries, allEntriesAndManualChunks, dynamicEntry => dynamicEntry.includedDynamicImporters),
|
|
20478
20488
|
dynamicImportsByEntry,
|
|
20479
20489
|
entriesAndManualChunksCount: allEntriesAndManualChunks.length
|
|
@@ -20515,6 +20525,18 @@ function getDynamicImportsByEntry(dynamicImportModulesByEntry, entryIndexByModul
|
|
|
20515
20525
|
}
|
|
20516
20526
|
return dynamicImportsByEntry;
|
|
20517
20527
|
}
|
|
20528
|
+
// A dynamic entry can be awaited by an entry even if the importing module does
|
|
20529
|
+
// not have a top-level await itself, e.g. if the import is inside a function
|
|
20530
|
+
// that is awaited in the entry. In that case, the entry is still evaluating
|
|
20531
|
+
// when the dynamic entry is executed, so we add all awaiting entries here.
|
|
20532
|
+
function addAwaitingEntries(dynamicallyDependentEntriesByAwaitedDynamicEntry, awaitedDynamicImportsByEntry) {
|
|
20533
|
+
for (const [entryIndex, awaitedDynamicImports] of awaitedDynamicImportsByEntry.entries()) {
|
|
20534
|
+
for (const dynamicEntryIndex of awaitedDynamicImports) {
|
|
20535
|
+
getOrCreate(dynamicallyDependentEntriesByAwaitedDynamicEntry, dynamicEntryIndex, (getNewSet)).add(entryIndex);
|
|
20536
|
+
}
|
|
20537
|
+
}
|
|
20538
|
+
return dynamicallyDependentEntriesByAwaitedDynamicEntry;
|
|
20539
|
+
}
|
|
20518
20540
|
function getDynamicallyDependentEntriesByDynamicEntry(dependentEntriesByModule, dynamicEntries, allEntriesAndManualChunks, getDynamicImporters) {
|
|
20519
20541
|
const dynamicallyDependentEntriesByDynamicEntry = new Map();
|
|
20520
20542
|
for (const dynamicEntryIndex of dynamicEntries) {
|
|
@@ -20609,6 +20631,34 @@ function getAlreadyLoadedAtomsByEntry(staticDependencyAtomsByEntry, dynamicallyD
|
|
|
20609
20631
|
}
|
|
20610
20632
|
return alreadyLoadedAtomsByEntry;
|
|
20611
20633
|
}
|
|
20634
|
+
// Warning: This will consume dynamicallyDependentEntriesByAwaitedDynamicEntry.
|
|
20635
|
+
function getAwaitedAlreadyLoadedAtomsByEntry(staticDependencyAtomsByEntry, dynamicallyDependentEntriesByAwaitedDynamicEntry, awaitedDynamicImportsByEntry, allEntriesCount) {
|
|
20636
|
+
// Unlike already loaded atoms, this is a union and not an intersection: If
|
|
20637
|
+
// any importer that is still evaluating while it awaits a dynamic entry has
|
|
20638
|
+
// loaded an atom, merging that atom into the chunk of this importer would
|
|
20639
|
+
// create a cycle. Entries that are not awaited have no such atoms.
|
|
20640
|
+
const awaitedAlreadyLoadedAtomsByEntry = new Array(allEntriesCount).fill(0n);
|
|
20641
|
+
for (const [dynamicEntryIndex, dynamicallyDependentEntries] of dynamicallyDependentEntriesByAwaitedDynamicEntry) {
|
|
20642
|
+
// We delete here so that they can be added again if necessary to be handled
|
|
20643
|
+
// again by the loop
|
|
20644
|
+
dynamicallyDependentEntriesByAwaitedDynamicEntry.delete(dynamicEntryIndex);
|
|
20645
|
+
const knownLoadedAtoms = awaitedAlreadyLoadedAtomsByEntry[dynamicEntryIndex];
|
|
20646
|
+
let updatedLoadedAtoms = knownLoadedAtoms;
|
|
20647
|
+
for (const entryIndex of dynamicallyDependentEntries) {
|
|
20648
|
+
updatedLoadedAtoms |=
|
|
20649
|
+
staticDependencyAtomsByEntry[entryIndex] | awaitedAlreadyLoadedAtomsByEntry[entryIndex];
|
|
20650
|
+
}
|
|
20651
|
+
// If the knownLoadedAtoms changed, all awaited dynamic imports of this
|
|
20652
|
+
// entry need to be updated again
|
|
20653
|
+
if (updatedLoadedAtoms !== knownLoadedAtoms) {
|
|
20654
|
+
awaitedAlreadyLoadedAtomsByEntry[dynamicEntryIndex] = updatedLoadedAtoms;
|
|
20655
|
+
for (const dynamicImport of awaitedDynamicImportsByEntry[dynamicEntryIndex]) {
|
|
20656
|
+
getOrCreate(dynamicallyDependentEntriesByAwaitedDynamicEntry, dynamicImport, (getNewSet)).add(dynamicEntryIndex);
|
|
20657
|
+
}
|
|
20658
|
+
}
|
|
20659
|
+
}
|
|
20660
|
+
return awaitedAlreadyLoadedAtomsByEntry;
|
|
20661
|
+
}
|
|
20612
20662
|
/**
|
|
20613
20663
|
* This removes all unnecessary dynamic entries from the dependentEntries in its
|
|
20614
20664
|
* first argument if a chunk is already loaded without that entry.
|
package/dist/es/shared/watch.js
CHANGED
package/dist/getLogFilter.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/native.js
CHANGED
|
@@ -5,9 +5,15 @@ const {
|
|
|
5
5
|
xxhashBase16
|
|
6
6
|
} = require('./wasm-node/bindings_wasm.js');
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
// WebAssembly is always little-endian while the buffer is read in the byte
|
|
9
|
+
// order of the host, so on big-endian hosts the parser swaps the byte order
|
|
10
|
+
// of the 32-bit fields.
|
|
11
|
+
const swapByteOrder = new Uint8Array(new Uint32Array([1]).buffer)[0] === 0;
|
|
12
|
+
|
|
13
|
+
exports.parse = (code, allowReturnOutsideFunction, jsx) =>
|
|
14
|
+
parse(code, allowReturnOutsideFunction, jsx, swapByteOrder);
|
|
9
15
|
exports.parseAsync = async (code, allowReturnOutsideFunction, jsx, _signal) =>
|
|
10
|
-
parse(code, allowReturnOutsideFunction, jsx);
|
|
16
|
+
parse(code, allowReturnOutsideFunction, jsx, swapByteOrder);
|
|
11
17
|
exports.xxhashBase64Url = xxhashBase64Url;
|
|
12
18
|
exports.xxhashBase36 = xxhashBase36;
|
|
13
19
|
exports.xxhashBase16 = xxhashBase16;
|
package/dist/parseAst.js
CHANGED
package/dist/rollup.js
CHANGED
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.64.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.64.5
|
|
4
|
+
Sat, 10 Oct 2026 13:02:03 GMT - commit 05a293809848a3d772e7ff2ba44adcbd23bd84b8
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -42,7 +42,7 @@ function _mergeNamespaces(n, m) {
|
|
|
42
42
|
|
|
43
43
|
const promises__namespace = /*#__PURE__*/_interopNamespaceDefault(promises);
|
|
44
44
|
|
|
45
|
-
var version = "4.64.
|
|
45
|
+
var version = "4.64.5";
|
|
46
46
|
const package_ = {
|
|
47
47
|
version: version};
|
|
48
48
|
|
|
@@ -5438,7 +5438,7 @@ var MagicString = class MagicString {
|
|
|
5438
5438
|
while (chunk !== last) {
|
|
5439
5439
|
if (chunk.next !== this.byStart.get(chunk.end)) throw new MagicStringError("cannot overwrite across a split point");
|
|
5440
5440
|
chunk = chunk.next;
|
|
5441
|
-
chunk.edit("", false);
|
|
5441
|
+
chunk.edit("", false, !overwrite);
|
|
5442
5442
|
}
|
|
5443
5443
|
first.edit(content, storeName, !overwrite);
|
|
5444
5444
|
} else {
|
|
@@ -5792,8 +5792,8 @@ var MagicString = class MagicString {
|
|
|
5792
5792
|
if (this._hasRemovedContent(match.index, match.index + match[0].length)) return false;
|
|
5793
5793
|
const replacement = getReplacement(match, this.original);
|
|
5794
5794
|
if (replacement === match[0]) return true;
|
|
5795
|
-
if (match[0].length === 0) this.appendRight(match.index, replacement);
|
|
5796
|
-
else this.overwrite(match.index, match.index + match[0].length, replacement);
|
|
5795
|
+
if (match[0].length === 0) this.appendRight(match.index - this.offset, replacement);
|
|
5796
|
+
else this.overwrite(match.index - this.offset, match.index + match[0].length - this.offset, replacement);
|
|
5797
5797
|
return true;
|
|
5798
5798
|
};
|
|
5799
5799
|
if (searchValue.global) {
|
|
@@ -5820,8 +5820,8 @@ var MagicString = class MagicString {
|
|
|
5820
5820
|
if (typeof replacement === "function") replacement = replacement(string, index, original);
|
|
5821
5821
|
else replacement = expandReplacement(replacement, string, index, original, [], void 0);
|
|
5822
5822
|
if (string !== replacement) {
|
|
5823
|
-
if (string.length === 0) this.appendRight(index, replacement);
|
|
5824
|
-
else this.overwrite(index, index + string.length, replacement);
|
|
5823
|
+
if (string.length === 0) this.appendRight(index - this.offset, replacement);
|
|
5824
|
+
else this.overwrite(index - this.offset, index + string.length - this.offset, replacement);
|
|
5825
5825
|
}
|
|
5826
5826
|
break;
|
|
5827
5827
|
}
|
|
@@ -5842,7 +5842,7 @@ var MagicString = class MagicString {
|
|
|
5842
5842
|
for (let index = 0; index <= original.length; index += 1) {
|
|
5843
5843
|
if (this._hasRemovedContent(index, index)) continue;
|
|
5844
5844
|
const _replacement = typeof replacement === "function" ? replacement("", index, original) : expandReplacement(replacement, "", index, original, [], void 0);
|
|
5845
|
-
if (_replacement !== "") this.appendRight(index, _replacement);
|
|
5845
|
+
if (_replacement !== "") this.appendRight(index - this.offset, _replacement);
|
|
5846
5846
|
}
|
|
5847
5847
|
return this;
|
|
5848
5848
|
}
|
|
@@ -5850,7 +5850,7 @@ var MagicString = class MagicString {
|
|
|
5850
5850
|
if (this._hasRemovedContent(index, index + stringLength)) continue;
|
|
5851
5851
|
const previous = original.slice(index, index + stringLength);
|
|
5852
5852
|
const _replacement = typeof replacement === "function" ? replacement(previous, index, original) : expandReplacement(replacement, previous, index, original, [], void 0);
|
|
5853
|
-
if (previous !== _replacement) this.overwrite(index, index + stringLength, _replacement);
|
|
5853
|
+
if (previous !== _replacement) this.overwrite(index - this.offset, index + stringLength - this.offset, _replacement);
|
|
5854
5854
|
}
|
|
5855
5855
|
return this;
|
|
5856
5856
|
}
|
|
@@ -19703,6 +19703,9 @@ class Module {
|
|
|
19703
19703
|
hasEffects() {
|
|
19704
19704
|
return this.info.moduleSideEffects === 'no-treeshake' || this.ast.hasCachedEffects();
|
|
19705
19705
|
}
|
|
19706
|
+
hasTopLevelAwait() {
|
|
19707
|
+
return this.astContext.usesTopLevelAwait;
|
|
19708
|
+
}
|
|
19706
19709
|
include() {
|
|
19707
19710
|
const context = createInclusionContext();
|
|
19708
19711
|
if (this.ast.shouldBeIncluded(context))
|
|
@@ -21855,7 +21858,8 @@ function getChunkAssignments(entries, manualChunkAliasByEntry, minChunkSize, log
|
|
|
21855
21858
|
// Warning: This will consume dynamicallyDependentEntriesByDynamicEntry.
|
|
21856
21859
|
// If we no longer want this, we should make a copy here.
|
|
21857
21860
|
const alreadyLoadedAtomsByEntry = getAlreadyLoadedAtomsByEntry(staticDependencyAtomsByEntry, dynamicallyDependentEntriesByDynamicEntry, dynamicImportsByEntry, entriesAndManualChunksCount);
|
|
21858
|
-
|
|
21861
|
+
// Warning: This will consume dynamicallyDependentEntriesByAwaitedDynamicEntry.
|
|
21862
|
+
const awaitedAlreadyLoadedAtomsByEntry = getAwaitedAlreadyLoadedAtomsByEntry(staticDependencyAtomsByEntry, dynamicallyDependentEntriesByAwaitedDynamicEntry, awaitedDynamicImportsByEntry, entriesAndManualChunksCount);
|
|
21859
21863
|
// This mutates the dependentEntries in chunkAtoms
|
|
21860
21864
|
removeUnnecessaryDependentEntries(chunkAtoms, alreadyLoadedAtomsByEntry, awaitedAlreadyLoadedAtomsByEntry);
|
|
21861
21865
|
const { chunks, sideEffectAtoms, sizeByAtom } = getChunksWithSameDependentEntriesAndCorrelatedAtoms(chunkAtoms, staticDependencyAtomsByEntry, alreadyLoadedAtomsByEntry, minChunkSize);
|
|
@@ -21918,13 +21922,16 @@ function analyzeModuleGraph(entries, manualChunkModules, manualChunkModulesByMod
|
|
|
21918
21922
|
for (const currentEntryModules of allEntriesAndManualChunks) {
|
|
21919
21923
|
const dynamicImportsForCurrentEntry = new Set();
|
|
21920
21924
|
const awaitedDynamicImportsForCurrentEntry = new Set();
|
|
21925
|
+
const dynamicEntriesForCurrentEntry = new Set();
|
|
21921
21926
|
dynamicImportModulesByEntry[entryOrManualChunkIndex] = dynamicImportsForCurrentEntry;
|
|
21922
21927
|
awaitedDynamicImportModulesByEntry[entryOrManualChunkIndex] =
|
|
21923
21928
|
awaitedDynamicImportsForCurrentEntry;
|
|
21924
21929
|
const staticDependencies = new Set(currentEntryModules);
|
|
21930
|
+
let hasTopLevelAwait = false;
|
|
21925
21931
|
// If we have a very large manual chunk, tracking if it is already added to the dependencies will improve performance
|
|
21926
21932
|
const addedManualChunks = new Set();
|
|
21927
21933
|
for (const module of staticDependencies) {
|
|
21934
|
+
hasTopLevelAwait ||= module.hasTopLevelAwait();
|
|
21928
21935
|
getOrCreate(dependentEntriesByModule, module, (getNewSet)).add(entryOrManualChunkIndex);
|
|
21929
21936
|
const manualChunkMembers = manualChunkModulesByModule.get(module);
|
|
21930
21937
|
if (manualChunkMembers && !addedManualChunks.has(manualChunkMembers)) {
|
|
@@ -21941,17 +21948,13 @@ function analyzeModuleGraph(entries, manualChunkModules, manualChunkModulesByMod
|
|
|
21941
21948
|
for (const { node: { resolution } } of module.dynamicImports) {
|
|
21942
21949
|
if (resolution instanceof Module &&
|
|
21943
21950
|
resolution.includedDynamicImporters.length > 0 &&
|
|
21944
|
-
!allEntriesSet.has(resolution)) {
|
|
21945
|
-
|
|
21946
|
-
allEntriesSet.
|
|
21947
|
-
|
|
21948
|
-
|
|
21949
|
-
|
|
21950
|
-
|
|
21951
|
-
awaitedDynamicEntryModules.add(resolution);
|
|
21952
|
-
awaitedDynamicImportsForCurrentEntry.add(resolution);
|
|
21953
|
-
break;
|
|
21954
|
-
}
|
|
21951
|
+
(dynamicEntryModules.has(resolution) || !allEntriesSet.has(resolution))) {
|
|
21952
|
+
dynamicEntriesForCurrentEntry.add(resolution);
|
|
21953
|
+
if (!allEntriesSet.has(resolution)) {
|
|
21954
|
+
dynamicEntryModules.add(resolution);
|
|
21955
|
+
allEntriesSet.add(resolution);
|
|
21956
|
+
allEntriesAndManualChunks.push([resolution]);
|
|
21957
|
+
dynamicImportsForCurrentEntry.add(resolution);
|
|
21955
21958
|
}
|
|
21956
21959
|
}
|
|
21957
21960
|
}
|
|
@@ -21963,13 +21966,20 @@ function analyzeModuleGraph(entries, manualChunkModules, manualChunkModulesByMod
|
|
|
21963
21966
|
}
|
|
21964
21967
|
}
|
|
21965
21968
|
}
|
|
21969
|
+
// A dynamic import can be awaited indirectly through a static dependency.
|
|
21970
|
+
if (hasTopLevelAwait) {
|
|
21971
|
+
for (const dynamicEntry of dynamicEntriesForCurrentEntry) {
|
|
21972
|
+
awaitedDynamicEntryModules.add(dynamicEntry);
|
|
21973
|
+
awaitedDynamicImportsForCurrentEntry.add(dynamicEntry);
|
|
21974
|
+
}
|
|
21975
|
+
}
|
|
21966
21976
|
entryOrManualChunkIndex++;
|
|
21967
21977
|
}
|
|
21968
21978
|
const { awaitedDynamicEntries, awaitedDynamicImportsByEntry, dynamicEntries, dynamicImportsByEntry } = getDynamicEntries(allEntriesAndManualChunks, dynamicEntryModules, dynamicImportModulesByEntry, awaitedDynamicEntryModules, awaitedDynamicImportModulesByEntry);
|
|
21969
21979
|
return {
|
|
21970
21980
|
awaitedDynamicImportsByEntry,
|
|
21971
21981
|
dependentEntriesByModule,
|
|
21972
|
-
dynamicallyDependentEntriesByAwaitedDynamicEntry: getDynamicallyDependentEntriesByDynamicEntry(dependentEntriesByModule, awaitedDynamicEntries, allEntriesAndManualChunks, dynamicEntry => dynamicEntry.includedTopLevelAwaitingDynamicImporters),
|
|
21982
|
+
dynamicallyDependentEntriesByAwaitedDynamicEntry: addAwaitingEntries(getDynamicallyDependentEntriesByDynamicEntry(dependentEntriesByModule, awaitedDynamicEntries, allEntriesAndManualChunks, dynamicEntry => dynamicEntry.includedTopLevelAwaitingDynamicImporters), awaitedDynamicImportsByEntry),
|
|
21973
21983
|
dynamicallyDependentEntriesByDynamicEntry: getDynamicallyDependentEntriesByDynamicEntry(dependentEntriesByModule, dynamicEntries, allEntriesAndManualChunks, dynamicEntry => dynamicEntry.includedDynamicImporters),
|
|
21974
21984
|
dynamicImportsByEntry,
|
|
21975
21985
|
entriesAndManualChunksCount: allEntriesAndManualChunks.length
|
|
@@ -22011,6 +22021,18 @@ function getDynamicImportsByEntry(dynamicImportModulesByEntry, entryIndexByModul
|
|
|
22011
22021
|
}
|
|
22012
22022
|
return dynamicImportsByEntry;
|
|
22013
22023
|
}
|
|
22024
|
+
// A dynamic entry can be awaited by an entry even if the importing module does
|
|
22025
|
+
// not have a top-level await itself, e.g. if the import is inside a function
|
|
22026
|
+
// that is awaited in the entry. In that case, the entry is still evaluating
|
|
22027
|
+
// when the dynamic entry is executed, so we add all awaiting entries here.
|
|
22028
|
+
function addAwaitingEntries(dynamicallyDependentEntriesByAwaitedDynamicEntry, awaitedDynamicImportsByEntry) {
|
|
22029
|
+
for (const [entryIndex, awaitedDynamicImports] of awaitedDynamicImportsByEntry.entries()) {
|
|
22030
|
+
for (const dynamicEntryIndex of awaitedDynamicImports) {
|
|
22031
|
+
getOrCreate(dynamicallyDependentEntriesByAwaitedDynamicEntry, dynamicEntryIndex, (getNewSet)).add(entryIndex);
|
|
22032
|
+
}
|
|
22033
|
+
}
|
|
22034
|
+
return dynamicallyDependentEntriesByAwaitedDynamicEntry;
|
|
22035
|
+
}
|
|
22014
22036
|
function getDynamicallyDependentEntriesByDynamicEntry(dependentEntriesByModule, dynamicEntries, allEntriesAndManualChunks, getDynamicImporters) {
|
|
22015
22037
|
const dynamicallyDependentEntriesByDynamicEntry = new Map();
|
|
22016
22038
|
for (const dynamicEntryIndex of dynamicEntries) {
|
|
@@ -22105,6 +22127,34 @@ function getAlreadyLoadedAtomsByEntry(staticDependencyAtomsByEntry, dynamicallyD
|
|
|
22105
22127
|
}
|
|
22106
22128
|
return alreadyLoadedAtomsByEntry;
|
|
22107
22129
|
}
|
|
22130
|
+
// Warning: This will consume dynamicallyDependentEntriesByAwaitedDynamicEntry.
|
|
22131
|
+
function getAwaitedAlreadyLoadedAtomsByEntry(staticDependencyAtomsByEntry, dynamicallyDependentEntriesByAwaitedDynamicEntry, awaitedDynamicImportsByEntry, allEntriesCount) {
|
|
22132
|
+
// Unlike already loaded atoms, this is a union and not an intersection: If
|
|
22133
|
+
// any importer that is still evaluating while it awaits a dynamic entry has
|
|
22134
|
+
// loaded an atom, merging that atom into the chunk of this importer would
|
|
22135
|
+
// create a cycle. Entries that are not awaited have no such atoms.
|
|
22136
|
+
const awaitedAlreadyLoadedAtomsByEntry = new Array(allEntriesCount).fill(0n);
|
|
22137
|
+
for (const [dynamicEntryIndex, dynamicallyDependentEntries] of dynamicallyDependentEntriesByAwaitedDynamicEntry) {
|
|
22138
|
+
// We delete here so that they can be added again if necessary to be handled
|
|
22139
|
+
// again by the loop
|
|
22140
|
+
dynamicallyDependentEntriesByAwaitedDynamicEntry.delete(dynamicEntryIndex);
|
|
22141
|
+
const knownLoadedAtoms = awaitedAlreadyLoadedAtomsByEntry[dynamicEntryIndex];
|
|
22142
|
+
let updatedLoadedAtoms = knownLoadedAtoms;
|
|
22143
|
+
for (const entryIndex of dynamicallyDependentEntries) {
|
|
22144
|
+
updatedLoadedAtoms |=
|
|
22145
|
+
staticDependencyAtomsByEntry[entryIndex] | awaitedAlreadyLoadedAtomsByEntry[entryIndex];
|
|
22146
|
+
}
|
|
22147
|
+
// If the knownLoadedAtoms changed, all awaited dynamic imports of this
|
|
22148
|
+
// entry need to be updated again
|
|
22149
|
+
if (updatedLoadedAtoms !== knownLoadedAtoms) {
|
|
22150
|
+
awaitedAlreadyLoadedAtomsByEntry[dynamicEntryIndex] = updatedLoadedAtoms;
|
|
22151
|
+
for (const dynamicImport of awaitedDynamicImportsByEntry[dynamicEntryIndex]) {
|
|
22152
|
+
getOrCreate(dynamicallyDependentEntriesByAwaitedDynamicEntry, dynamicImport, (getNewSet)).add(dynamicEntryIndex);
|
|
22153
|
+
}
|
|
22154
|
+
}
|
|
22155
|
+
}
|
|
22156
|
+
return awaitedAlreadyLoadedAtomsByEntry;
|
|
22157
|
+
}
|
|
22108
22158
|
/**
|
|
22109
22159
|
* This removes all unnecessary dynamic entries from the dependentEntries in its
|
|
22110
22160
|
* first argument if a chunk is already loaded without that entry.
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
|
@@ -4,14 +4,15 @@
|
|
|
4
4
|
* @param {string} code
|
|
5
5
|
* @param {boolean} allow_return_outside_function
|
|
6
6
|
* @param {boolean} jsx
|
|
7
|
+
* @param {boolean} swap_byte_order
|
|
7
8
|
* @returns {Uint8Array}
|
|
8
9
|
*/
|
|
9
|
-
function parse(code, allow_return_outside_function, jsx) {
|
|
10
|
+
function parse(code, allow_return_outside_function, jsx, swap_byte_order) {
|
|
10
11
|
try {
|
|
11
12
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
12
13
|
const ptr0 = passStringToWasm0(code, wasm.__wbindgen_export2, wasm.__wbindgen_export3);
|
|
13
14
|
const len0 = WASM_VECTOR_LEN;
|
|
14
|
-
wasm.parse(retptr, ptr0, len0, allow_return_outside_function, jsx);
|
|
15
|
+
wasm.parse(retptr, ptr0, len0, allow_return_outside_function, jsx, swap_byte_order);
|
|
15
16
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
16
17
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
17
18
|
var v2 = getArrayU8FromWasm0(r0, r1).slice();
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/wasm-node",
|
|
3
|
-
"version": "4.64.
|
|
3
|
+
"version": "4.64.5",
|
|
4
4
|
"description": "Next-generation ES module bundler with Node wasm",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"@rollup/plugin-terser": "^0.4.4",
|
|
59
59
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
60
60
|
"@rollup/pluginutils": "^5.4.0",
|
|
61
|
-
"@shikijs/vitepress-twoslash": "^4.
|
|
61
|
+
"@shikijs/vitepress-twoslash": "^4.5.0",
|
|
62
62
|
"@types/mocha": "^10.0.10",
|
|
63
63
|
"@types/node": "^20.19.43",
|
|
64
64
|
"@types/picomatch": "^4.0.3",
|
|
65
65
|
"@types/semver": "^7.8.0",
|
|
66
66
|
"@types/yargs-parser": "^21.0.3",
|
|
67
|
-
"@vue/language-server": "^3.3.
|
|
68
|
-
"acorn": "^8.
|
|
67
|
+
"@vue/language-server": "^3.3.12",
|
|
68
|
+
"acorn": "^8.19.0",
|
|
69
69
|
"acorn-import-assertions": "^1.9.0",
|
|
70
70
|
"acorn-import-phases": "^1.0.4",
|
|
71
71
|
"acorn-jsx": "^5.3.2",
|
|
@@ -77,22 +77,22 @@
|
|
|
77
77
|
"date-time": "^4.0.0",
|
|
78
78
|
"es5-shim": "^4.6.7",
|
|
79
79
|
"es6-shim": "^0.35.8",
|
|
80
|
-
"eslint": "^10.
|
|
80
|
+
"eslint": "^10.12.0",
|
|
81
81
|
"eslint-config-prettier": "^10.1.8",
|
|
82
82
|
"eslint-plugin-prettier": "^5.5.6",
|
|
83
|
-
"eslint-plugin-unicorn": "^
|
|
83
|
+
"eslint-plugin-unicorn": "^77.0.0",
|
|
84
84
|
"eslint-plugin-vue": "^10.11.1",
|
|
85
85
|
"fixturify": "^3.0.0",
|
|
86
86
|
"flru": "^1.0.2",
|
|
87
87
|
"fs-extra": "^11.4.1",
|
|
88
88
|
"github-api": "^3.4.0",
|
|
89
|
-
"globals": "^17.
|
|
89
|
+
"globals": "^17.13.0",
|
|
90
90
|
"husky": "^9.1.7",
|
|
91
91
|
"is-reference": "^3.0.3",
|
|
92
92
|
"lint-staged": "^17.6.0",
|
|
93
93
|
"locate-character": "^3.0.0",
|
|
94
|
-
"magic-string": "^1.4.
|
|
95
|
-
"memfs": "^4.
|
|
94
|
+
"magic-string": "^1.4.3",
|
|
95
|
+
"memfs": "^4.80.0",
|
|
96
96
|
"mocha": "^11.8.0",
|
|
97
97
|
"nodemon": "^3.1.14",
|
|
98
98
|
"npm-audit-resolver": "^3.0.0-RC.0",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"pretty-bytes": "^7.2.0",
|
|
107
107
|
"pretty-ms": "^9.3.1",
|
|
108
108
|
"requirejs": "^2.3.8",
|
|
109
|
-
"rollup": "^4.
|
|
109
|
+
"rollup": "^4.64.0",
|
|
110
110
|
"rollup-plugin-license": "^3.7.1",
|
|
111
111
|
"semver": "^7.8.5",
|
|
112
112
|
"shx": "^0.4.0",
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
"terser": "^5.51.2",
|
|
118
118
|
"tslib": "^2.8.1",
|
|
119
119
|
"typescript": "^5.9.3",
|
|
120
|
-
"typescript-eslint": "^8.71.
|
|
120
|
+
"typescript-eslint": "^8.71.1",
|
|
121
121
|
"vite": "^7.3.6",
|
|
122
122
|
"vitepress": "^1.6.4",
|
|
123
123
|
"vue": "^3.5.43",
|
|
124
124
|
"vue-eslint-parser": "^10.4.1",
|
|
125
|
-
"vue-tsc": "^3.3.
|
|
125
|
+
"vue-tsc": "^3.3.12",
|
|
126
126
|
"wasm-pack": "^0.15.0",
|
|
127
127
|
"yargs-parser": "^21.1.1"
|
|
128
128
|
},
|