@rollup/wasm-node 4.57.0 → 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.0
5
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.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";
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0";
30
+ var version = "4.58.0";
31
31
 
32
32
  // src/vlq.ts
33
33
  var comma = ",".charCodeAt(0);
@@ -13229,6 +13229,9 @@ class ImportExpression extends NodeBase {
13229
13229
  if (this.shouldIncludeDynamicAttributes) {
13230
13230
  this.options?.include(context, includeChildrenRecursively);
13231
13231
  }
13232
+ if (includeChildrenRecursively) {
13233
+ this.localResolution?.resolution.includeAllExports();
13234
+ }
13232
13235
  }
13233
13236
  includeNode(context) {
13234
13237
  this.included = true;
@@ -18538,26 +18541,26 @@ class Chunk {
18538
18541
  if (this.preliminarySourcemapFileName) {
18539
18542
  return this.preliminarySourcemapFileName;
18540
18543
  }
18541
- let sourcemapFileName = null;
18542
- let hashPlaceholder = null;
18543
18544
  const { sourcemapFileNames, format } = this.outputOptions;
18544
- if (sourcemapFileNames) {
18545
- const [pattern, patternName] = [sourcemapFileNames, 'output.sourcemapFileNames'];
18546
- sourcemapFileName = renderNamePattern(typeof pattern === 'function' ? pattern(this.getPreRenderedChunkInfo()) : pattern, patternName, {
18547
- chunkhash: () => this.getPreliminaryFileName().hashPlaceholder || '',
18548
- format: () => format,
18549
- hash: size => hashPlaceholder ||
18550
- (hashPlaceholder = this.getPlaceholder(patternName, size || DEFAULT_HASH_SIZE)),
18551
- name: () => this.getChunkName()
18552
- });
18553
- if (!hashPlaceholder) {
18554
- sourcemapFileName = makeUnique(sourcemapFileName, this.bundle);
18555
- }
18556
- }
18557
- else {
18545
+ if (!sourcemapFileNames) {
18558
18546
  return null;
18559
18547
  }
18560
- 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
+ });
18561
18564
  }
18562
18565
  getRenderedChunkInfo() {
18563
18566
  if (this.renderedChunkInfo) {
@@ -19002,7 +19005,7 @@ class Chunk {
19002
19005
  for (let exportName of this.getExportNames()) {
19003
19006
  let dependency;
19004
19007
  let imported;
19005
- let needsLiveBinding = false;
19008
+ let needsLiveBinding;
19006
19009
  if (exportName[0] === '*') {
19007
19010
  const id = exportName.slice(1);
19008
19011
  if (interop(id) === 'defaultOnly') {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0";
45
+ var version = "4.58.0";
46
46
 
47
47
  function ensureArray$1(items) {
48
48
  if (Array.isArray(items)) {
@@ -14839,6 +14839,9 @@ class ImportExpression extends NodeBase {
14839
14839
  if (this.shouldIncludeDynamicAttributes) {
14840
14840
  this.options?.include(context, includeChildrenRecursively);
14841
14841
  }
14842
+ if (includeChildrenRecursively) {
14843
+ this.localResolution?.resolution.includeAllExports();
14844
+ }
14842
14845
  }
14843
14846
  includeNode(context) {
14844
14847
  this.included = true;
@@ -20032,26 +20035,26 @@ class Chunk {
20032
20035
  if (this.preliminarySourcemapFileName) {
20033
20036
  return this.preliminarySourcemapFileName;
20034
20037
  }
20035
- let sourcemapFileName = null;
20036
- let hashPlaceholder = null;
20037
20038
  const { sourcemapFileNames, format } = this.outputOptions;
20038
- if (sourcemapFileNames) {
20039
- const [pattern, patternName] = [sourcemapFileNames, 'output.sourcemapFileNames'];
20040
- sourcemapFileName = renderNamePattern(typeof pattern === 'function' ? pattern(this.getPreRenderedChunkInfo()) : pattern, patternName, {
20041
- chunkhash: () => this.getPreliminaryFileName().hashPlaceholder || '',
20042
- format: () => format,
20043
- hash: size => hashPlaceholder ||
20044
- (hashPlaceholder = this.getPlaceholder(patternName, size || DEFAULT_HASH_SIZE)),
20045
- name: () => this.getChunkName()
20046
- });
20047
- if (!hashPlaceholder) {
20048
- sourcemapFileName = makeUnique(sourcemapFileName, this.bundle);
20049
- }
20050
- }
20051
- else {
20039
+ if (!sourcemapFileNames) {
20052
20040
  return null;
20053
20041
  }
20054
- 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
+ });
20055
20058
  }
20056
20059
  getRenderedChunkInfo() {
20057
20060
  if (this.renderedChunkInfo) {
@@ -20496,7 +20499,7 @@ class Chunk {
20496
20499
  for (let exportName of this.getExportNames()) {
20497
20500
  let dependency;
20498
20501
  let imported;
20499
- let needsLiveBinding = false;
20502
+ let needsLiveBinding;
20500
20503
  if (exportName[0] === '*') {
20501
20504
  const id = exportName.slice(1);
20502
20505
  if (interop(id) === 'defaultOnly') {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.57.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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.0
4
- Tue, 27 Jan 2026 07:16:05 GMT - commit 743d0546f59799a8f7e4e2f4e1ad167f7dae333d
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/wasm-node",
3
- "version": "4.57.0",
3
+ "version": "4.58.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",
@@ -35,13 +35,13 @@
35
35
  "core-js": "We only update manually as every update requires a snapshot update"
36
36
  },
37
37
  "devDependencies": {
38
- "@codemirror/commands": "^6.10.1",
38
+ "@codemirror/commands": "^6.10.2",
39
39
  "@codemirror/lang-javascript": "^6.2.4",
40
40
  "@codemirror/language": "^6.12.1",
41
41
  "@codemirror/search": "^6.6.0",
42
42
  "@codemirror/state": "^6.5.4",
43
- "@codemirror/view": "^6.39.11",
44
- "@eslint/js": "^9.39.2",
43
+ "@codemirror/view": "^6.39.14",
44
+ "@eslint/js": "^10.0.1",
45
45
  "@inquirer/prompts": "^7.10.1",
46
46
  "@jridgewell/sourcemap-codec": "^1.5.5",
47
47
  "@mermaid-js/mermaid-cli": "^11.12.0",
@@ -55,13 +55,13 @@
55
55
  "@rollup/plugin-terser": "^0.4.4",
56
56
  "@rollup/plugin-typescript": "^12.3.0",
57
57
  "@rollup/pluginutils": "^5.3.0",
58
- "@shikijs/vitepress-twoslash": "^3.21.0",
58
+ "@shikijs/vitepress-twoslash": "^3.22.0",
59
59
  "@types/mocha": "^10.0.10",
60
- "@types/node": "^20.19.30",
60
+ "@types/node": "^20.19.33",
61
61
  "@types/picomatch": "^4.0.2",
62
62
  "@types/semver": "^7.7.1",
63
63
  "@types/yargs-parser": "^21.0.3",
64
- "@vue/language-server": "^3.2.2",
64
+ "@vue/language-server": "^3.2.4",
65
65
  "acorn": "^8.15.0",
66
66
  "acorn-import-assertions": "^1.9.0",
67
67
  "acorn-jsx": "^5.3.2",
@@ -74,23 +74,23 @@
74
74
  "date-time": "^4.0.0",
75
75
  "es5-shim": "^4.6.7",
76
76
  "es6-shim": "^0.35.8",
77
- "eslint": "^9.39.2",
77
+ "eslint": "^10.0.0",
78
78
  "eslint-config-prettier": "^10.1.8",
79
79
  "eslint-plugin-prettier": "^5.5.5",
80
- "eslint-plugin-unicorn": "^62.0.0",
81
- "eslint-plugin-vue": "^10.7.0",
80
+ "eslint-plugin-unicorn": "^63.0.0",
81
+ "eslint-plugin-vue": "^10.8.0",
82
82
  "fixturify": "^3.0.0",
83
83
  "flru": "^1.0.2",
84
84
  "fs-extra": "^11.3.3",
85
85
  "github-api": "^3.4.0",
86
- "globals": "^17.0.0",
86
+ "globals": "^17.3.0",
87
87
  "husky": "^9.1.7",
88
88
  "is-reference": "^3.0.3",
89
89
  "lint-staged": "^16.2.7",
90
90
  "locate-character": "^3.0.0",
91
91
  "magic-string": "^0.30.21",
92
- "memfs": "^4.56.2",
93
- "mocha": "^11.7.5",
92
+ "memfs": "^4.56.10",
93
+ "mocha": "11.3.0",
94
94
  "nodemon": "^3.1.11",
95
95
  "npm-audit-resolver": "^3.0.0-RC.0",
96
96
  "nyc": "^17.1.0",
@@ -98,14 +98,14 @@
98
98
  "picocolors": "^1.1.1",
99
99
  "picomatch": "^4.0.3",
100
100
  "pinia": "^3.0.4",
101
- "prettier": "^3.8.0",
101
+ "prettier": "^3.8.1",
102
102
  "prettier-plugin-organize-imports": "^4.3.0",
103
103
  "pretty-bytes": "^7.1.0",
104
104
  "pretty-ms": "^9.3.0",
105
105
  "requirejs": "^2.3.8",
106
- "rollup": "^4.55.2",
107
- "rollup-plugin-license": "^3.6.0",
108
- "semver": "^7.7.3",
106
+ "rollup": "^4.57.1",
107
+ "rollup-plugin-license": "^3.7.0",
108
+ "semver": "^7.7.4",
109
109
  "shx": "^0.4.0",
110
110
  "signal-exit": "^4.1.0",
111
111
  "source-map": "^0.7.6",
@@ -114,24 +114,26 @@
114
114
  "terser": "^5.46.0",
115
115
  "tslib": "^2.8.1",
116
116
  "typescript": "^5.9.3",
117
- "typescript-eslint": "^8.53.1",
117
+ "typescript-eslint": "^8.56.0",
118
118
  "vite": "^7.3.1",
119
119
  "vitepress": "^1.6.4",
120
- "vue": "^3.5.27",
121
- "vue-eslint-parser": "^10.2.0",
122
- "vue-tsc": "^3.2.2",
123
- "wasm-pack": "^0.13.1",
120
+ "vue": "^3.5.28",
121
+ "vue-eslint-parser": "^10.4.0",
122
+ "vue-tsc": "^3.2.4",
123
+ "wasm-pack": "^0.14.0",
124
124
  "yargs-parser": "^21.1.1"
125
125
  },
126
126
  "overrides": {
127
- "axios": "^1.13.2",
127
+ "axios": "^1.13.5",
128
128
  "esbuild": ">0.24.2",
129
- "readable-stream": "npm:@built-in/readable-stream@1",
130
- "semver": "^7.7.3",
131
- "vite": "$vite",
129
+ "lodash-es": ">4.17.22",
132
130
  "path-scurry": {
133
- "lru-cache": "^11.2.4"
134
- }
131
+ "lru-cache": "^11.2.6"
132
+ },
133
+ "readable-stream": "npm:@built-in/readable-stream@1",
134
+ "semver": "^7.7.4",
135
+ "tar": ">7.5.6",
136
+ "vite": "$vite"
135
137
  },
136
138
  "comments": {
137
139
  "vue-tsc": "This is necessary so that prettier-plugin-organize-imports works correctly in Vue templatges"