@rollup/wasm-node 4.60.4 → 4.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin/rollup CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
3
  @license
4
- Rollup.js v4.60.4
5
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
4
+ Rollup.js v4.61.0
5
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
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.60.4\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";
30
+ const help = "rollup version 4.61.0\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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
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.60.4";
30
+ var version = "4.61.0";
31
31
 
32
32
  // src/vlq.ts
33
33
  var comma = ",".charCodeAt(0);
@@ -8493,6 +8493,7 @@ const builtinModules = [
8493
8493
  "domain",
8494
8494
  "node:events",
8495
8495
  "events",
8496
+ "node:ffi",
8496
8497
  "node:fs",
8497
8498
  "fs",
8498
8499
  "node:fs/promises",
@@ -18343,8 +18344,7 @@ function deconflictTopLevelVariables(usedNames, modules, includedNamespaces) {
18343
18344
 
18344
18345
  function assignExportsToMangledNames(exports, exportsByName, exportNamesByVariable) {
18345
18346
  let nameIndex = 0;
18346
- const sortedExports = [...exports].sort((a, b) => a.name < b.name ? -1 : a.name > b.name ? 1 : 0);
18347
- for (const variable of sortedExports) {
18347
+ for (const variable of exports) {
18348
18348
  let [exportName] = variable.name;
18349
18349
  if (exportsByName.has(exportName)) {
18350
18350
  do {
@@ -21756,12 +21756,11 @@ class ModuleLoader {
21756
21756
  this.options = options;
21757
21757
  this.pluginDriver = pluginDriver;
21758
21758
  this.implicitEntryModules = new Set();
21759
- this.indexedEntryModules = [];
21759
+ this.sortedEntryModules = [];
21760
+ this.entryModules = new Set();
21760
21761
  this.latestLoadModulesPromise = Promise.resolve();
21761
21762
  this.moduleLoadPromises = new Map();
21762
21763
  this.modulesWithLoadedDependencies = new Set();
21763
- this.nextChunkNamePriority = 0;
21764
- this.nextEntryModuleIndex = 0;
21765
21764
  this.resolveId = async (source, importer, customOptions, isEntry, attributes, importerAttributes, skip = null) => this.getResolvedIdWithDefaults(this.getNormalizedResolvedIdWithoutDefaults(this.options.external(source, importer, false)
21766
21765
  ? false
21767
21766
  : await resolveId(source, importer, this.options.preserveSymlinks, this.pluginDriver, this.resolveId, skip, customOptions, typeof isEntry === 'boolean' ? isEntry : !importer, attributes, importerAttributes, this.options.fs), importer, source), attributes);
@@ -21775,32 +21774,26 @@ class ModuleLoader {
21775
21774
  return result;
21776
21775
  }
21777
21776
  async addEntryModules(unresolvedEntryModules, isUserDefined) {
21778
- const firstEntryModuleIndex = this.nextEntryModuleIndex;
21779
- this.nextEntryModuleIndex += unresolvedEntryModules.length;
21780
- const firstChunkNamePriority = this.nextChunkNamePriority;
21781
- this.nextChunkNamePriority += unresolvedEntryModules.length;
21782
21777
  const newEntryModules = await this.extendLoadModulesPromise(Promise.all(unresolvedEntryModules.map(({ id, importer }) => this.loadEntryModule(id, true, importer, null, undefined, undefined))).then(entryModules => {
21778
+ let shouldReorder = false;
21783
21779
  for (const [index, entryModule] of entryModules.entries()) {
21784
21780
  entryModule.isUserDefinedEntryPoint =
21785
21781
  entryModule.isUserDefinedEntryPoint || isUserDefined;
21786
- addChunkNamesToModule(entryModule, unresolvedEntryModules[index], isUserDefined, firstChunkNamePriority + index);
21787
- const existingIndexedModule = this.indexedEntryModules.find(indexedModule => indexedModule.module === entryModule);
21788
- if (existingIndexedModule) {
21789
- existingIndexedModule.index = Math.min(existingIndexedModule.index, firstEntryModuleIndex + index);
21790
- }
21791
- else {
21792
- this.indexedEntryModules.push({
21793
- index: firstEntryModuleIndex + index,
21794
- module: entryModule
21795
- });
21782
+ addChunkNamesToModule(entryModule, unresolvedEntryModules[index], isUserDefined);
21783
+ if (!this.entryModules.has(entryModule)) {
21784
+ this.sortedEntryModules.push(entryModule);
21785
+ this.entryModules.add(entryModule);
21786
+ shouldReorder = true;
21796
21787
  }
21797
21788
  }
21798
- this.indexedEntryModules.sort(({ index: indexA }, { index: indexB }) => indexA > indexB ? 1 : -1);
21789
+ if (shouldReorder) {
21790
+ this.sortedEntryModules.sort((a, b) => (a.id > b.id ? 1 : -1));
21791
+ }
21799
21792
  return entryModules;
21800
21793
  }));
21801
21794
  await this.awaitLoadModulesPromise();
21802
21795
  return {
21803
- entryModules: this.indexedEntryModules.map(({ module }) => module),
21796
+ entryModules: this.sortedEntryModules,
21804
21797
  implicitEntryModules: [...this.implicitEntryModules],
21805
21798
  newEntryModules
21806
21799
  };
@@ -21825,9 +21818,8 @@ class ModuleLoader {
21825
21818
  return module.info;
21826
21819
  }
21827
21820
  addEntryWithImplicitDependants(unresolvedModule, implicitlyLoadedAfter) {
21828
- const chunkNamePriority = this.nextChunkNamePriority++;
21829
21821
  return this.extendLoadModulesPromise(this.loadEntryModule(unresolvedModule.id, false, unresolvedModule.importer, null, undefined, undefined).then(async (entryModule) => {
21830
- addChunkNamesToModule(entryModule, unresolvedModule, false, chunkNamePriority);
21822
+ addChunkNamesToModule(entryModule, unresolvedModule, false);
21831
21823
  if (!entryModule.info.isEntry) {
21832
21824
  const implicitlyLoadedAfterModules = await Promise.all(implicitlyLoadedAfter.map(id => this.loadEntryModule(id, false, unresolvedModule.importer, entryModule.id, undefined, undefined)));
21833
21825
  // We need to check again if this is still an entry module as these
@@ -22196,16 +22188,13 @@ function normalizeRelativeExternalId(source, importer) {
22196
22188
  : resolve$1(source)
22197
22189
  : source;
22198
22190
  }
22199
- function addChunkNamesToModule(module, { fileName, name }, isUserDefined, priority) {
22191
+ function addChunkNamesToModule(module, { fileName, name }, isUserDefined) {
22200
22192
  if (fileName !== null) {
22201
22193
  module.chunkFileNames.add(fileName);
22202
22194
  }
22203
22195
  else if (name !== null) {
22204
- // Always keep chunkNames sorted by priority
22205
- let namePosition = 0;
22206
- while (module.chunkNames[namePosition]?.priority < priority)
22207
- namePosition++;
22208
- module.chunkNames.splice(namePosition, 0, { isUserDefined, name, priority });
22196
+ module.chunkNames.push({ isUserDefined, name });
22197
+ module.chunkNames.sort((a, b) => (a.name > b.name ? 1 : -1));
22209
22198
  }
22210
22199
  }
22211
22200
  function isNotAbsoluteExternal(id, source, makeAbsoluteExternalsRelative) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -10,6 +10,37 @@
10
10
  import { parse, parseAsync } from '../../native.js';
11
11
  import { resolve, dirname, basename, extname } from 'node:path';
12
12
 
13
+ const ANY_SLASH_REGEX = /[/\\]/;
14
+ function relative(from, to) {
15
+ const fromParts = from.split(ANY_SLASH_REGEX).filter(Boolean);
16
+ const toParts = to.split(ANY_SLASH_REGEX).filter(Boolean);
17
+ if (fromParts[0] === '.')
18
+ fromParts.shift();
19
+ if (toParts[0] === '.')
20
+ toParts.shift();
21
+ while (fromParts[0] && toParts[0] && fromParts[0] === toParts[0]) {
22
+ fromParts.shift();
23
+ toParts.shift();
24
+ }
25
+ while (toParts[0] === '..' && fromParts.length > 0) {
26
+ toParts.shift();
27
+ fromParts.pop();
28
+ }
29
+ while (fromParts.pop()) {
30
+ toParts.unshift('..');
31
+ }
32
+ return toParts.join('/');
33
+ }
34
+
35
+ const BLANK = Object.freeze(Object.create(null));
36
+ const EMPTY_OBJECT = Object.freeze({});
37
+ const EMPTY_ARRAY = Object.freeze([]);
38
+ const EMPTY_SET = Object.freeze(new (class extends Set {
39
+ add() {
40
+ throw new Error('Cannot add to empty set');
41
+ }
42
+ })());
43
+
13
44
  // This file is generated by scripts/generate-node-types.js.
14
45
  // Do not edit this file directly.
15
46
  const ArrowFunctionExpression = 'ArrowFunctionExpression';
@@ -34,104 +65,6 @@ const StaticBlock = 'StaticBlock';
34
65
  const TemplateLiteral = 'TemplateLiteral';
35
66
  const VariableDeclarator = 'VariableDeclarator';
36
67
 
37
- const BLANK = Object.freeze(Object.create(null));
38
- const EMPTY_OBJECT = Object.freeze({});
39
- const EMPTY_ARRAY = Object.freeze([]);
40
- const EMPTY_SET = Object.freeze(new (class extends Set {
41
- add() {
42
- throw new Error('Cannot add to empty set');
43
- }
44
- })());
45
-
46
- // This file is generated by scripts/generate-string-constants.js.
47
- // Do not edit this file directly.
48
- const FIXED_STRINGS = [
49
- 'var',
50
- 'let',
51
- 'const',
52
- 'init',
53
- 'get',
54
- 'set',
55
- 'constructor',
56
- 'method',
57
- '-',
58
- '+',
59
- '!',
60
- '~',
61
- 'typeof',
62
- 'void',
63
- 'delete',
64
- '++',
65
- '--',
66
- '==',
67
- '!=',
68
- '===',
69
- '!==',
70
- '<',
71
- '<=',
72
- '>',
73
- '>=',
74
- '<<',
75
- '>>',
76
- '>>>',
77
- '+',
78
- '-',
79
- '*',
80
- '/',
81
- '%',
82
- '|',
83
- '^',
84
- '&',
85
- '||',
86
- '&&',
87
- 'in',
88
- 'instanceof',
89
- '**',
90
- '??',
91
- '=',
92
- '+=',
93
- '-=',
94
- '*=',
95
- '/=',
96
- '%=',
97
- '<<=',
98
- '>>=',
99
- '>>>=',
100
- '|=',
101
- '^=',
102
- '&=',
103
- '**=',
104
- '&&=',
105
- '||=',
106
- '??=',
107
- 'pure',
108
- 'noSideEffects',
109
- 'sourcemap',
110
- 'using',
111
- 'await using',
112
- 'source',
113
- 'defer'
114
- ];
115
-
116
- const ANNOTATION_KEY = '_rollupAnnotations';
117
- const INVALID_ANNOTATION_KEY = '_rollupRemoved';
118
- const convertAnnotations = (position, buffer) => {
119
- if (position === 0)
120
- return EMPTY_ARRAY;
121
- const length = buffer[position++];
122
- const list = new Array(length);
123
- for (let index = 0; index < length; index++) {
124
- list[index] = convertAnnotation(buffer[position++], buffer);
125
- }
126
- return list;
127
- };
128
- const convertAnnotation = (position, buffer) => {
129
- const start = buffer[position++];
130
- const end = buffer[position++];
131
- const type = FIXED_STRINGS[buffer[position]];
132
- return { end, start, type };
133
- };
134
-
135
68
  /** @typedef {import('./types').Location} Location */
136
69
 
137
70
  /**
@@ -289,28 +222,6 @@ function printQuotedStringList(list, verbs) {
289
222
  return output;
290
223
  }
291
224
 
292
- const ANY_SLASH_REGEX = /[/\\]/;
293
- function relative(from, to) {
294
- const fromParts = from.split(ANY_SLASH_REGEX).filter(Boolean);
295
- const toParts = to.split(ANY_SLASH_REGEX).filter(Boolean);
296
- if (fromParts[0] === '.')
297
- fromParts.shift();
298
- if (toParts[0] === '.')
299
- toParts.shift();
300
- while (fromParts[0] && toParts[0] && fromParts[0] === toParts[0]) {
301
- fromParts.shift();
302
- toParts.shift();
303
- }
304
- while (toParts[0] === '..' && fromParts.length > 0) {
305
- toParts.shift();
306
- fromParts.pop();
307
- }
308
- while (fromParts.pop()) {
309
- toParts.unshift('..');
310
- }
311
- return toParts.join('/');
312
- }
313
-
314
225
  function getAliasName(id) {
315
226
  const base = basename(id);
316
227
  return base.slice(0, Math.max(0, base.length - extname(id).length));
@@ -1120,6 +1031,95 @@ function warnDeprecationWithOptions(deprecation, urlSnippet, activeDeprecation,
1120
1031
  }
1121
1032
  }
1122
1033
 
1034
+ // This file is generated by scripts/generate-string-constants.js.
1035
+ // Do not edit this file directly.
1036
+ const FIXED_STRINGS = [
1037
+ 'var',
1038
+ 'let',
1039
+ 'const',
1040
+ 'init',
1041
+ 'get',
1042
+ 'set',
1043
+ 'constructor',
1044
+ 'method',
1045
+ '-',
1046
+ '+',
1047
+ '!',
1048
+ '~',
1049
+ 'typeof',
1050
+ 'void',
1051
+ 'delete',
1052
+ '++',
1053
+ '--',
1054
+ '==',
1055
+ '!=',
1056
+ '===',
1057
+ '!==',
1058
+ '<',
1059
+ '<=',
1060
+ '>',
1061
+ '>=',
1062
+ '<<',
1063
+ '>>',
1064
+ '>>>',
1065
+ '+',
1066
+ '-',
1067
+ '*',
1068
+ '/',
1069
+ '%',
1070
+ '|',
1071
+ '^',
1072
+ '&',
1073
+ '||',
1074
+ '&&',
1075
+ 'in',
1076
+ 'instanceof',
1077
+ '**',
1078
+ '??',
1079
+ '=',
1080
+ '+=',
1081
+ '-=',
1082
+ '*=',
1083
+ '/=',
1084
+ '%=',
1085
+ '<<=',
1086
+ '>>=',
1087
+ '>>>=',
1088
+ '|=',
1089
+ '^=',
1090
+ '&=',
1091
+ '**=',
1092
+ '&&=',
1093
+ '||=',
1094
+ '??=',
1095
+ 'pure',
1096
+ 'noSideEffects',
1097
+ 'sourcemap',
1098
+ 'using',
1099
+ 'await using',
1100
+ 'source',
1101
+ 'defer'
1102
+ ];
1103
+
1104
+ const ANNOTATION_KEY = '_rollupAnnotations';
1105
+ const INVALID_ANNOTATION_KEY = '_rollupRemoved';
1106
+ const convertAnnotations = (position, buffer) => {
1107
+ if (position === 0)
1108
+ return EMPTY_ARRAY;
1109
+ const length = buffer[position++];
1110
+ const list = new Array(length);
1111
+ for (let index = 0; index < length; index++) {
1112
+ list[index] = convertAnnotation(buffer[position++], buffer);
1113
+ }
1114
+ return list;
1115
+ };
1116
+ const convertAnnotation = (position, buffer) => {
1117
+ const start = buffer[position++];
1118
+ const end = buffer[position++];
1119
+ const type = FIXED_STRINGS[buffer[position]];
1120
+ return { end, start, type };
1121
+ };
1122
+
1123
1123
  // This file is generated by scripts/generate-buffer-to-ast.js.
1124
1124
  // Do not edit this file directly.
1125
1125
  function convertProgram(buffer) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/parseAst.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
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.60.4";
45
+ var version = "4.61.0";
46
46
 
47
47
  function ensureArray$1(items) {
48
48
  if (Array.isArray(items)) {
@@ -12583,6 +12583,7 @@ const builtinModules = [
12583
12583
  "domain",
12584
12584
  "node:events",
12585
12585
  "events",
12586
+ "node:ffi",
12586
12587
  "node:fs",
12587
12588
  "fs",
12588
12589
  "node:fs/promises",
@@ -19946,8 +19947,7 @@ function deconflictTopLevelVariables(usedNames, modules, includedNamespaces) {
19946
19947
 
19947
19948
  function assignExportsToMangledNames(exports, exportsByName, exportNamesByVariable) {
19948
19949
  let nameIndex = 0;
19949
- const sortedExports = [...exports].sort((a, b) => a.name < b.name ? -1 : a.name > b.name ? 1 : 0);
19950
- for (const variable of sortedExports) {
19950
+ for (const variable of exports) {
19951
19951
  let [exportName] = variable.name;
19952
19952
  if (exportsByName.has(exportName)) {
19953
19953
  do {
@@ -22985,12 +22985,11 @@ class ModuleLoader {
22985
22985
  this.options = options;
22986
22986
  this.pluginDriver = pluginDriver;
22987
22987
  this.implicitEntryModules = new Set();
22988
- this.indexedEntryModules = [];
22988
+ this.sortedEntryModules = [];
22989
+ this.entryModules = new Set();
22989
22990
  this.latestLoadModulesPromise = Promise.resolve();
22990
22991
  this.moduleLoadPromises = new Map();
22991
22992
  this.modulesWithLoadedDependencies = new Set();
22992
- this.nextChunkNamePriority = 0;
22993
- this.nextEntryModuleIndex = 0;
22994
22993
  this.resolveId = async (source, importer, customOptions, isEntry, attributes, importerAttributes, skip = null) => this.getResolvedIdWithDefaults(this.getNormalizedResolvedIdWithoutDefaults(this.options.external(source, importer, false)
22995
22994
  ? false
22996
22995
  : await resolveId(source, importer, this.options.preserveSymlinks, this.pluginDriver, this.resolveId, skip, customOptions, typeof isEntry === 'boolean' ? isEntry : !importer, attributes, importerAttributes, this.options.fs), importer, source), attributes);
@@ -23004,32 +23003,26 @@ class ModuleLoader {
23004
23003
  return result;
23005
23004
  }
23006
23005
  async addEntryModules(unresolvedEntryModules, isUserDefined) {
23007
- const firstEntryModuleIndex = this.nextEntryModuleIndex;
23008
- this.nextEntryModuleIndex += unresolvedEntryModules.length;
23009
- const firstChunkNamePriority = this.nextChunkNamePriority;
23010
- this.nextChunkNamePriority += unresolvedEntryModules.length;
23011
23006
  const newEntryModules = await this.extendLoadModulesPromise(Promise.all(unresolvedEntryModules.map(({ id, importer }) => this.loadEntryModule(id, true, importer, null, undefined, undefined))).then(entryModules => {
23007
+ let shouldReorder = false;
23012
23008
  for (const [index, entryModule] of entryModules.entries()) {
23013
23009
  entryModule.isUserDefinedEntryPoint =
23014
23010
  entryModule.isUserDefinedEntryPoint || isUserDefined;
23015
- addChunkNamesToModule(entryModule, unresolvedEntryModules[index], isUserDefined, firstChunkNamePriority + index);
23016
- const existingIndexedModule = this.indexedEntryModules.find(indexedModule => indexedModule.module === entryModule);
23017
- if (existingIndexedModule) {
23018
- existingIndexedModule.index = Math.min(existingIndexedModule.index, firstEntryModuleIndex + index);
23019
- }
23020
- else {
23021
- this.indexedEntryModules.push({
23022
- index: firstEntryModuleIndex + index,
23023
- module: entryModule
23024
- });
23011
+ addChunkNamesToModule(entryModule, unresolvedEntryModules[index], isUserDefined);
23012
+ if (!this.entryModules.has(entryModule)) {
23013
+ this.sortedEntryModules.push(entryModule);
23014
+ this.entryModules.add(entryModule);
23015
+ shouldReorder = true;
23025
23016
  }
23026
23017
  }
23027
- this.indexedEntryModules.sort(({ index: indexA }, { index: indexB }) => indexA > indexB ? 1 : -1);
23018
+ if (shouldReorder) {
23019
+ this.sortedEntryModules.sort((a, b) => (a.id > b.id ? 1 : -1));
23020
+ }
23028
23021
  return entryModules;
23029
23022
  }));
23030
23023
  await this.awaitLoadModulesPromise();
23031
23024
  return {
23032
- entryModules: this.indexedEntryModules.map(({ module }) => module),
23025
+ entryModules: this.sortedEntryModules,
23033
23026
  implicitEntryModules: [...this.implicitEntryModules],
23034
23027
  newEntryModules
23035
23028
  };
@@ -23054,9 +23047,8 @@ class ModuleLoader {
23054
23047
  return module.info;
23055
23048
  }
23056
23049
  addEntryWithImplicitDependants(unresolvedModule, implicitlyLoadedAfter) {
23057
- const chunkNamePriority = this.nextChunkNamePriority++;
23058
23050
  return this.extendLoadModulesPromise(this.loadEntryModule(unresolvedModule.id, false, unresolvedModule.importer, null, undefined, undefined).then(async (entryModule) => {
23059
- addChunkNamesToModule(entryModule, unresolvedModule, false, chunkNamePriority);
23051
+ addChunkNamesToModule(entryModule, unresolvedModule, false);
23060
23052
  if (!entryModule.info.isEntry) {
23061
23053
  const implicitlyLoadedAfterModules = await Promise.all(implicitlyLoadedAfter.map(id => this.loadEntryModule(id, false, unresolvedModule.importer, entryModule.id, undefined, undefined)));
23062
23054
  // We need to check again if this is still an entry module as these
@@ -23425,16 +23417,13 @@ function normalizeRelativeExternalId(source, importer) {
23425
23417
  : path.resolve(source)
23426
23418
  : source;
23427
23419
  }
23428
- function addChunkNamesToModule(module, { fileName, name }, isUserDefined, priority) {
23420
+ function addChunkNamesToModule(module, { fileName, name }, isUserDefined) {
23429
23421
  if (fileName !== null) {
23430
23422
  module.chunkFileNames.add(fileName);
23431
23423
  }
23432
23424
  else if (name !== null) {
23433
- // Always keep chunkNames sorted by priority
23434
- let namePosition = 0;
23435
- while (module.chunkNames[namePosition]?.priority < priority)
23436
- namePosition++;
23437
- module.chunkNames.splice(namePosition, 0, { isUserDefined, name, priority });
23425
+ module.chunkNames.push({ isUserDefined, name });
23426
+ module.chunkNames.sort((a, b) => (a.name > b.name ? 1 : -1));
23438
23427
  }
23439
23428
  }
23440
23429
  function isNotAbsoluteExternal(id, source, makeAbsoluteExternalsRelative) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.60.4
4
- Thu, 14 May 2026 17:52:21 GMT - commit d311a84b0bb4d4a6f50d19ffd2c29cca28660c88
3
+ Rollup.js v4.61.0
4
+ Mon, 01 Jun 2026 05:40:11 GMT - commit 765167f1edc66adebef89fea5e3f260f4587b64e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -91,7 +91,7 @@ exports.xxhashBase64Url = xxhashBase64Url;
91
91
  function __wbg_get_imports() {
92
92
  const import0 = {
93
93
  __proto__: null,
94
- __wbg___wbindgen_throw_9c31b086c2b26051: function(arg0, arg1) {
94
+ __wbg___wbindgen_throw_1506f2235d1bdba0: function(arg0, arg1) {
95
95
  throw new Error(getStringFromWasm0(arg0, arg1));
96
96
  },
97
97
  __wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
@@ -105,7 +105,7 @@ function __wbg_get_imports() {
105
105
  wasm.__wbindgen_export(deferred0_0, deferred0_1, 1);
106
106
  }
107
107
  },
108
- __wbg_length_56fcd3e2b7e0299d: function(arg0) {
108
+ __wbg_length_4a591ecaa01354d9: function(arg0) {
109
109
  const ret = getObject(arg0).length;
110
110
  return ret;
111
111
  },
@@ -113,7 +113,7 @@ function __wbg_get_imports() {
113
113
  const ret = new Error();
114
114
  return addHeapObject(ret);
115
115
  },
116
- __wbg_prototypesetcall_5f9bdc8d75e07276: function(arg0, arg1, arg2) {
116
+ __wbg_prototypesetcall_3249fc62a0fafa30: function(arg0, arg1, arg2) {
117
117
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
118
118
  },
119
119
  __wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/wasm-node",
3
- "version": "4.60.4",
3
+ "version": "4.61.0",
4
4
  "description": "Next-generation ES module bundler with Node wasm",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -29,7 +29,7 @@
29
29
  "fsevents": "~2.3.2"
30
30
  },
31
31
  "dependencies": {
32
- "@types/estree": "1.0.8"
32
+ "@types/estree": "1.0.9"
33
33
  },
34
34
  "devDependenciesComments": {
35
35
  "core-js": "We only update manually as every update requires a snapshot update"
@@ -40,13 +40,13 @@
40
40
  "@codemirror/language": "^6.12.3",
41
41
  "@codemirror/search": "^6.7.0",
42
42
  "@codemirror/state": "^6.6.0",
43
- "@codemirror/view": "^6.41.1",
43
+ "@codemirror/view": "^6.43.0",
44
44
  "@emnapi/core": "^1.10.0",
45
45
  "@emnapi/runtime": "^1.10.0",
46
46
  "@eslint/js": "^10.0.1",
47
47
  "@inquirer/prompts": "^7.10.1",
48
48
  "@jridgewell/sourcemap-codec": "^1.5.5",
49
- "@mermaid-js/mermaid-cli": "^11.14.0",
49
+ "@mermaid-js/mermaid-cli": "^11.15.0",
50
50
  "@napi-rs/cli": "3.4.1",
51
51
  "@rollup/plugin-alias": "^6.0.0",
52
52
  "@rollup/plugin-buble": "^1.0.3",
@@ -57,42 +57,42 @@
57
57
  "@rollup/plugin-terser": "^0.4.4",
58
58
  "@rollup/plugin-typescript": "^12.3.0",
59
59
  "@rollup/pluginutils": "^5.3.0",
60
- "@shikijs/vitepress-twoslash": "^4.0.2",
60
+ "@shikijs/vitepress-twoslash": "^4.1.0",
61
61
  "@types/mocha": "^10.0.10",
62
- "@types/node": "^20.19.39",
62
+ "@types/node": "^20.19.41",
63
63
  "@types/picomatch": "^4.0.3",
64
64
  "@types/semver": "^7.7.1",
65
65
  "@types/yargs-parser": "^21.0.3",
66
- "@vue/language-server": "^3.2.8",
66
+ "@vue/language-server": "^3.3.2",
67
67
  "acorn": "^8.16.0",
68
68
  "acorn-import-assertions": "^1.9.0",
69
69
  "acorn-import-phases": "^1.0.4",
70
70
  "acorn-jsx": "^5.3.2",
71
71
  "buble": "^0.20.0",
72
- "builtin-modules": "^5.1.0",
72
+ "builtin-modules": "^5.2.0",
73
73
  "chokidar": "^3.6.0",
74
74
  "concurrently": "^9.2.1",
75
75
  "core-js": "3.38.1",
76
76
  "date-time": "^4.0.0",
77
77
  "es5-shim": "^4.6.7",
78
78
  "es6-shim": "^0.35.8",
79
- "eslint": "^10.3.0",
79
+ "eslint": "^10.4.0",
80
80
  "eslint-config-prettier": "^10.1.8",
81
81
  "eslint-plugin-prettier": "^5.5.5",
82
82
  "eslint-plugin-unicorn": "^64.0.0",
83
- "eslint-plugin-vue": "^10.9.0",
83
+ "eslint-plugin-vue": "^10.9.1",
84
84
  "fixturify": "^3.0.0",
85
85
  "flru": "^1.0.2",
86
- "fs-extra": "^11.3.4",
86
+ "fs-extra": "^11.3.5",
87
87
  "github-api": "^3.4.0",
88
88
  "globals": "^17.6.0",
89
89
  "husky": "^9.1.7",
90
90
  "is-reference": "^3.0.3",
91
- "lint-staged": "^16.4.0",
91
+ "lint-staged": "^17.0.5",
92
92
  "locate-character": "^3.0.0",
93
93
  "magic-string": "^0.30.21",
94
94
  "memfs": "^4.57.2",
95
- "mocha": "11.7.5",
95
+ "mocha": "11.7.6",
96
96
  "nodemon": "^3.1.14",
97
97
  "npm-audit-resolver": "^3.0.0-RC.0",
98
98
  "nyc": "^18.0.0",
@@ -104,38 +104,38 @@
104
104
  "prettier-plugin-organize-imports": "^4.3.0",
105
105
  "pretty-bytes": "^7.1.0",
106
106
  "pretty-ms": "^9.3.0",
107
- "react": "^19.2.5",
108
- "react-dom": "^19.2.5",
109
107
  "requirejs": "^2.3.8",
110
- "rollup": "^4.60.3",
108
+ "rollup": "^4.60.4",
111
109
  "rollup-plugin-license": "^3.7.1",
112
- "semver": "^7.7.4",
110
+ "semver": "^7.8.1",
113
111
  "shx": "^0.4.0",
114
112
  "signal-exit": "^4.1.0",
115
113
  "source-map": "^0.7.6",
116
114
  "source-map-support": "^0.5.21",
117
115
  "systemjs": "^6.15.1",
118
- "terser": "^5.46.2",
116
+ "terser": "^5.48.0",
119
117
  "tslib": "^2.8.1",
120
118
  "typescript": "^5.9.3",
121
- "typescript-eslint": "^8.59.2",
122
- "vite": "^7.3.2",
119
+ "typescript-eslint": "^8.60.0",
120
+ "vite": "^7.3.3",
123
121
  "vitepress": "^1.6.4",
124
- "vue": "^3.5.33",
122
+ "vue": "^3.5.34",
125
123
  "vue-eslint-parser": "^10.4.0",
126
- "vue-tsc": "^3.2.8",
127
- "wasm-pack": "^0.13.1",
124
+ "vue-tsc": "^3.3.2",
125
+ "wasm-pack": "^0.15.0",
128
126
  "yargs-parser": "^21.1.1"
129
127
  },
130
128
  "overrides": {
131
- "axios": "^1.16.0",
129
+ "axios": "^1.16.1",
132
130
  "esbuild": ">0.24.2",
133
131
  "lodash-es": ">4.17.22",
134
132
  "path-scurry": {
135
133
  "lru-cache": ">=11.0.0"
136
134
  },
137
135
  "readable-stream": "npm:@built-in/readable-stream@1",
138
- "semver": "^7.7.4",
136
+ "react": "^18.3.1",
137
+ "react-dom": "^18.3.1",
138
+ "semver": "^7.8.1",
139
139
  "tar": ">7.5.6",
140
140
  "vite": "$vite"
141
141
  },