rollup 4.57.1 → 4.58.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.57.1
5
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
4
+ Rollup.js v4.58.0
5
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
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.57.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";
30
+ const help = "rollup version 4.58.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.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
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.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
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.57.1";
30
+ var version = "4.58.0";
31
31
 
32
32
  // src/vlq.ts
33
33
  var comma = ",".charCodeAt(0);
@@ -18541,26 +18541,26 @@ class Chunk {
18541
18541
  if (this.preliminarySourcemapFileName) {
18542
18542
  return this.preliminarySourcemapFileName;
18543
18543
  }
18544
- let sourcemapFileName = null;
18545
- let hashPlaceholder = null;
18546
18544
  const { sourcemapFileNames, format } = this.outputOptions;
18547
- if (sourcemapFileNames) {
18548
- const [pattern, patternName] = [sourcemapFileNames, 'output.sourcemapFileNames'];
18549
- sourcemapFileName = renderNamePattern(typeof pattern === 'function' ? pattern(this.getPreRenderedChunkInfo()) : pattern, patternName, {
18550
- chunkhash: () => this.getPreliminaryFileName().hashPlaceholder || '',
18551
- format: () => format,
18552
- hash: size => hashPlaceholder ||
18553
- (hashPlaceholder = this.getPlaceholder(patternName, size || DEFAULT_HASH_SIZE)),
18554
- name: () => this.getChunkName()
18555
- });
18556
- if (!hashPlaceholder) {
18557
- sourcemapFileName = makeUnique(sourcemapFileName, this.bundle);
18558
- }
18559
- }
18560
- else {
18545
+ if (!sourcemapFileNames) {
18561
18546
  return null;
18562
18547
  }
18563
- return (this.preliminarySourcemapFileName = { fileName: sourcemapFileName, hashPlaceholder });
18548
+ let hashPlaceholder = null;
18549
+ const [pattern, patternName] = [sourcemapFileNames, 'output.sourcemapFileNames'];
18550
+ let sourcemapFileName = renderNamePattern(typeof pattern === 'function' ? pattern(this.getPreRenderedChunkInfo()) : pattern, patternName, {
18551
+ chunkhash: () => this.getPreliminaryFileName().hashPlaceholder || '',
18552
+ format: () => format,
18553
+ hash: size => hashPlaceholder ||
18554
+ (hashPlaceholder = this.getPlaceholder(patternName, size || DEFAULT_HASH_SIZE)),
18555
+ name: () => this.getChunkName()
18556
+ });
18557
+ if (!hashPlaceholder) {
18558
+ sourcemapFileName = makeUnique(sourcemapFileName, this.bundle);
18559
+ }
18560
+ return (this.preliminarySourcemapFileName = {
18561
+ fileName: sourcemapFileName,
18562
+ hashPlaceholder
18563
+ });
18564
18564
  }
18565
18565
  getRenderedChunkInfo() {
18566
18566
  if (this.renderedChunkInfo) {
@@ -19005,7 +19005,7 @@ class Chunk {
19005
19005
  for (let exportName of this.getExportNames()) {
19006
19006
  let dependency;
19007
19007
  let imported;
19008
- let needsLiveBinding = false;
19008
+ let needsLiveBinding;
19009
19009
  if (exportName[0] === '*') {
19010
19010
  const id = exportName.slice(1);
19011
19011
  if (interop(id) === 'defaultOnly') {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
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.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
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.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -393,7 +393,7 @@ async function loadAndRegisterPlugin(inputOptions, pluginText) {
393
393
  plugin = await requireOrImport(pluginText);
394
394
  }
395
395
  catch (error) {
396
- throw new Error(`Cannot load plugin "${pluginText}": ${error.message}.`);
396
+ throw new Error(`Cannot load plugin "${pluginText}": ${error.message}.`, { cause: error });
397
397
  }
398
398
  }
399
399
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
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.57.1";
45
+ var version = "4.58.0";
46
46
 
47
47
  function ensureArray$1(items) {
48
48
  if (Array.isArray(items)) {
@@ -20035,26 +20035,26 @@ class Chunk {
20035
20035
  if (this.preliminarySourcemapFileName) {
20036
20036
  return this.preliminarySourcemapFileName;
20037
20037
  }
20038
- let sourcemapFileName = null;
20039
- let hashPlaceholder = null;
20040
20038
  const { sourcemapFileNames, format } = this.outputOptions;
20041
- if (sourcemapFileNames) {
20042
- const [pattern, patternName] = [sourcemapFileNames, 'output.sourcemapFileNames'];
20043
- sourcemapFileName = renderNamePattern(typeof pattern === 'function' ? pattern(this.getPreRenderedChunkInfo()) : pattern, patternName, {
20044
- chunkhash: () => this.getPreliminaryFileName().hashPlaceholder || '',
20045
- format: () => format,
20046
- hash: size => hashPlaceholder ||
20047
- (hashPlaceholder = this.getPlaceholder(patternName, size || DEFAULT_HASH_SIZE)),
20048
- name: () => this.getChunkName()
20049
- });
20050
- if (!hashPlaceholder) {
20051
- sourcemapFileName = makeUnique(sourcemapFileName, this.bundle);
20052
- }
20053
- }
20054
- else {
20039
+ if (!sourcemapFileNames) {
20055
20040
  return null;
20056
20041
  }
20057
- return (this.preliminarySourcemapFileName = { fileName: sourcemapFileName, hashPlaceholder });
20042
+ let hashPlaceholder = null;
20043
+ const [pattern, patternName] = [sourcemapFileNames, 'output.sourcemapFileNames'];
20044
+ let sourcemapFileName = renderNamePattern(typeof pattern === 'function' ? pattern(this.getPreRenderedChunkInfo()) : pattern, patternName, {
20045
+ chunkhash: () => this.getPreliminaryFileName().hashPlaceholder || '',
20046
+ format: () => format,
20047
+ hash: size => hashPlaceholder ||
20048
+ (hashPlaceholder = this.getPlaceholder(patternName, size || DEFAULT_HASH_SIZE)),
20049
+ name: () => this.getChunkName()
20050
+ });
20051
+ if (!hashPlaceholder) {
20052
+ sourcemapFileName = makeUnique(sourcemapFileName, this.bundle);
20053
+ }
20054
+ return (this.preliminarySourcemapFileName = {
20055
+ fileName: sourcemapFileName,
20056
+ hashPlaceholder
20057
+ });
20058
20058
  }
20059
20059
  getRenderedChunkInfo() {
20060
20060
  if (this.renderedChunkInfo) {
@@ -20499,7 +20499,7 @@ class Chunk {
20499
20499
  for (let exportName of this.getExportNames()) {
20500
20500
  let dependency;
20501
20501
  let imported;
20502
- let needsLiveBinding = false;
20502
+ let needsLiveBinding;
20503
20503
  if (exportName[0] === '*') {
20504
20504
  const id = exportName.slice(1);
20505
20505
  if (interop(id) === 'defaultOnly') {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.1
4
- Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
3
+ Rollup.js v4.58.0
4
+ Fri, 20 Feb 2026 12:44:20 GMT - commit 33f39c1f205ea2eadaf4b589e493453e2baa3662
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "4.57.1",
3
+ "version": "4.58.0",
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.57.1",
118
- "@rollup/rollup-android-arm64": "4.57.1",
119
- "@rollup/rollup-win32-arm64-msvc": "4.57.1",
120
- "@rollup/rollup-freebsd-arm64": "4.57.1",
121
- "@rollup/rollup-linux-arm64-gnu": "4.57.1",
122
- "@rollup/rollup-linux-arm64-musl": "4.57.1",
123
- "@rollup/rollup-android-arm-eabi": "4.57.1",
124
- "@rollup/rollup-linux-arm-gnueabihf": "4.57.1",
125
- "@rollup/rollup-linux-arm-musleabihf": "4.57.1",
126
- "@rollup/rollup-win32-ia32-msvc": "4.57.1",
127
- "@rollup/rollup-linux-loong64-gnu": "4.57.1",
128
- "@rollup/rollup-linux-loong64-musl": "4.57.1",
129
- "@rollup/rollup-linux-riscv64-gnu": "4.57.1",
130
- "@rollup/rollup-linux-riscv64-musl": "4.57.1",
131
- "@rollup/rollup-linux-ppc64-gnu": "4.57.1",
132
- "@rollup/rollup-linux-ppc64-musl": "4.57.1",
133
- "@rollup/rollup-linux-s390x-gnu": "4.57.1",
134
- "@rollup/rollup-darwin-x64": "4.57.1",
135
- "@rollup/rollup-win32-x64-gnu": "4.57.1",
136
- "@rollup/rollup-win32-x64-msvc": "4.57.1",
137
- "@rollup/rollup-freebsd-x64": "4.57.1",
138
- "@rollup/rollup-linux-x64-gnu": "4.57.1",
139
- "@rollup/rollup-linux-x64-musl": "4.57.1",
140
- "@rollup/rollup-openbsd-x64": "4.57.1",
141
- "@rollup/rollup-openharmony-arm64": "4.57.1"
117
+ "@rollup/rollup-darwin-arm64": "4.58.0",
118
+ "@rollup/rollup-android-arm64": "4.58.0",
119
+ "@rollup/rollup-win32-arm64-msvc": "4.58.0",
120
+ "@rollup/rollup-freebsd-arm64": "4.58.0",
121
+ "@rollup/rollup-linux-arm64-gnu": "4.58.0",
122
+ "@rollup/rollup-linux-arm64-musl": "4.58.0",
123
+ "@rollup/rollup-android-arm-eabi": "4.58.0",
124
+ "@rollup/rollup-linux-arm-gnueabihf": "4.58.0",
125
+ "@rollup/rollup-linux-arm-musleabihf": "4.58.0",
126
+ "@rollup/rollup-win32-ia32-msvc": "4.58.0",
127
+ "@rollup/rollup-linux-loong64-gnu": "4.58.0",
128
+ "@rollup/rollup-linux-loong64-musl": "4.58.0",
129
+ "@rollup/rollup-linux-riscv64-gnu": "4.58.0",
130
+ "@rollup/rollup-linux-riscv64-musl": "4.58.0",
131
+ "@rollup/rollup-linux-ppc64-gnu": "4.58.0",
132
+ "@rollup/rollup-linux-ppc64-musl": "4.58.0",
133
+ "@rollup/rollup-linux-s390x-gnu": "4.58.0",
134
+ "@rollup/rollup-darwin-x64": "4.58.0",
135
+ "@rollup/rollup-win32-x64-gnu": "4.58.0",
136
+ "@rollup/rollup-win32-x64-msvc": "4.58.0",
137
+ "@rollup/rollup-freebsd-x64": "4.58.0",
138
+ "@rollup/rollup-linux-x64-gnu": "4.58.0",
139
+ "@rollup/rollup-linux-x64-musl": "4.58.0",
140
+ "@rollup/rollup-openbsd-x64": "4.58.0",
141
+ "@rollup/rollup-openharmony-arm64": "4.58.0"
142
142
  },
143
143
  "dependencies": {
144
144
  "@types/estree": "1.0.8"
@@ -147,13 +147,13 @@
147
147
  "core-js": "We only update manually as every update requires a snapshot update"
148
148
  },
149
149
  "devDependencies": {
150
- "@codemirror/commands": "^6.10.1",
150
+ "@codemirror/commands": "^6.10.2",
151
151
  "@codemirror/lang-javascript": "^6.2.4",
152
152
  "@codemirror/language": "^6.12.1",
153
153
  "@codemirror/search": "^6.6.0",
154
154
  "@codemirror/state": "^6.5.4",
155
- "@codemirror/view": "^6.39.11",
156
- "@eslint/js": "^9.39.2",
155
+ "@codemirror/view": "^6.39.14",
156
+ "@eslint/js": "^10.0.1",
157
157
  "@inquirer/prompts": "^7.10.1",
158
158
  "@jridgewell/sourcemap-codec": "^1.5.5",
159
159
  "@mermaid-js/mermaid-cli": "^11.12.0",
@@ -167,9 +167,9 @@
167
167
  "@rollup/plugin-terser": "^0.4.4",
168
168
  "@rollup/plugin-typescript": "^12.3.0",
169
169
  "@rollup/pluginutils": "^5.3.0",
170
- "@shikijs/vitepress-twoslash": "^3.21.0",
170
+ "@shikijs/vitepress-twoslash": "^3.22.0",
171
171
  "@types/mocha": "^10.0.10",
172
- "@types/node": "^20.19.30",
172
+ "@types/node": "^20.19.33",
173
173
  "@types/picomatch": "^4.0.2",
174
174
  "@types/semver": "^7.7.1",
175
175
  "@types/yargs-parser": "^21.0.3",
@@ -186,23 +186,23 @@
186
186
  "date-time": "^4.0.0",
187
187
  "es5-shim": "^4.6.7",
188
188
  "es6-shim": "^0.35.8",
189
- "eslint": "^9.39.2",
189
+ "eslint": "^10.0.0",
190
190
  "eslint-config-prettier": "^10.1.8",
191
191
  "eslint-plugin-prettier": "^5.5.5",
192
- "eslint-plugin-unicorn": "^62.0.0",
193
- "eslint-plugin-vue": "^10.7.0",
192
+ "eslint-plugin-unicorn": "^63.0.0",
193
+ "eslint-plugin-vue": "^10.8.0",
194
194
  "fixturify": "^3.0.0",
195
195
  "flru": "^1.0.2",
196
196
  "fs-extra": "^11.3.3",
197
197
  "github-api": "^3.4.0",
198
- "globals": "^17.1.0",
198
+ "globals": "^17.3.0",
199
199
  "husky": "^9.1.7",
200
200
  "is-reference": "^3.0.3",
201
201
  "lint-staged": "^16.2.7",
202
202
  "locate-character": "^3.0.0",
203
203
  "magic-string": "^0.30.21",
204
204
  "memfs": "^4.56.10",
205
- "mocha": "^11.7.5",
205
+ "mocha": "11.3.0",
206
206
  "nodemon": "^3.1.11",
207
207
  "npm-audit-resolver": "^3.0.0-RC.0",
208
208
  "nyc": "^17.1.0",
@@ -215,9 +215,9 @@
215
215
  "pretty-bytes": "^7.1.0",
216
216
  "pretty-ms": "^9.3.0",
217
217
  "requirejs": "^2.3.8",
218
- "rollup": "^4.56.0",
219
- "rollup-plugin-license": "^3.6.0",
220
- "semver": "^7.7.3",
218
+ "rollup": "^4.57.1",
219
+ "rollup-plugin-license": "^3.7.0",
220
+ "semver": "^7.7.4",
221
221
  "shx": "^0.4.0",
222
222
  "signal-exit": "^4.1.0",
223
223
  "source-map": "^0.7.6",
@@ -226,24 +226,26 @@
226
226
  "terser": "^5.46.0",
227
227
  "tslib": "^2.8.1",
228
228
  "typescript": "^5.9.3",
229
- "typescript-eslint": "^8.54.0",
229
+ "typescript-eslint": "^8.56.0",
230
230
  "vite": "^7.3.1",
231
231
  "vitepress": "^1.6.4",
232
- "vue": "^3.5.27",
233
- "vue-eslint-parser": "^10.2.0",
232
+ "vue": "^3.5.28",
233
+ "vue-eslint-parser": "^10.4.0",
234
234
  "vue-tsc": "^3.2.4",
235
235
  "wasm-pack": "^0.14.0",
236
236
  "yargs-parser": "^21.1.1"
237
237
  },
238
238
  "overrides": {
239
- "axios": "^1.13.3",
239
+ "axios": "^1.13.5",
240
240
  "esbuild": ">0.24.2",
241
- "readable-stream": "npm:@built-in/readable-stream@1",
242
- "semver": "^7.7.3",
243
- "vite": "$vite",
241
+ "lodash-es": ">4.17.22",
244
242
  "path-scurry": {
245
- "lru-cache": "^11.2.5"
246
- }
243
+ "lru-cache": "^11.2.6"
244
+ },
245
+ "readable-stream": "npm:@built-in/readable-stream@1",
246
+ "semver": "^7.7.4",
247
+ "tar": ">7.5.6",
248
+ "vite": "$vite"
247
249
  },
248
250
  "comments": {
249
251
  "vue-tsc": "This is necessary so that prettier-plugin-organize-imports works correctly in Vue templatges"