rollup 4.64.2 → 4.64.4

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.64.2
5
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
4
+ Rollup.js v4.64.4
5
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -27,7 +27,7 @@ require('node:perf_hooks');
27
27
  require('node:url');
28
28
  require('../getLogFilter.js');
29
29
 
30
- const help = "rollup version 4.64.2\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.64.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";
31
31
 
32
32
  /**
33
33
  * @license
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
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.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,13 +1,13 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
8
8
  Released under the MIT License.
9
9
  */
10
- import { EMPTY_OBJECT, ExportDefaultDeclaration as ExportDefaultDeclaration$1, CallExpression as CallExpression$1, EMPTY_ARRAY, LOGLEVEL_WARN, logUnusedExternalImports, ANNOTATION_KEY, INVALID_ANNOTATION_KEY, Identifier as Identifier$1, ExpressionStatement as ExpressionStatement$1, AwaitExpression as AwaitExpression$1, MemberExpression as MemberExpression$1, FunctionExpression as FunctionExpression$1, ArrowFunctionExpression as ArrowFunctionExpression$1, ObjectExpression as ObjectExpression$1, Property as Property$1, Program as Program$1, logIllegalImportReassignment, BLANK, logRedeclarationError, StaticBlock as StaticBlock$1, CatchClause as CatchClause$1, logDuplicateArgumentNameError, logModuleLevelDirective, ReturnStatement as ReturnStatement$1, VariableDeclarator as VariableDeclarator$1, logMissingExport, normalize, getImportPath, error, logSourcePhaseFormatUnsupported, logMissingNodeBuiltins, logReservedNamespace, logIllegalIdentifierAsName, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, RestElement as RestElement$1, logConstVariableReassignError, EMPTY_SET, logCannotCallNamespace, logEval, BlockStatement as BlockStatement$1, getRollupError, logModuleParseError, logParseError, LOGLEVEL_INFO, logFirstSideEffect, locate, logInvalidAnnotation, logThisIsUndefined, getAstBuffer, convertAnnotations, FIXED_STRINGS, convertNode as convertNode$1, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logMissingEntryExport, logSyntheticNamedExportsNeedNamespaceExport, logDuplicateExportError, logInvalidSourcemapForError, augmentCodeLocation, logInconsistentImportAttributes, logMissingJsxExport, logNamespaceConflict, logAmbiguousExternalNamespaces, logShimmedExport, parseAst, TemplateLiteral as TemplateLiteral$1, Literal as Literal$1, logCircularReexport, logInvalidFormatForTopLevelAwait, logAddonNotGenerated, logIncompatibleExportOptionValue, logMixedExport, logFailedValidation, isPathFragment, logCyclicCrossChunkReexport, getAliasName, logUnexpectedNamedImport, isAbsolute as isAbsolute$1, relative as relative$1, logUnexpectedNamespaceReexport, logEmptyChunk, logMissingGlobalName, logOptimizeChunkStatus, logSourcemapBroken, logConflictingSourcemapSources, logChunkInvalid, logInvalidOption, URL_OUTPUT_FORMAT, URL_OUTPUT_DIR, URL_OUTPUT_SOURCEMAPFILE, URL_OUTPUT_AMD_ID, logFileNameOutsideOutputDirectory, logCannotAssignModuleToChunk, logCircularChunk, logUnknownOption, printQuotedStringList, LOGLEVEL_ERROR, logLevelPriority, LOGLEVEL_DEBUG, logAnonymousPluginCache, logDuplicatePluginName, logInvalidSetAssetSourceCall, logPluginError, logNoTransformMapOrAstWithoutCode, warnDeprecation, URL_TRANSFORM, relativeId, logBadLoader, logNonExternalSourcePhaseImport, logInternalIdCannotBeExternal, isRelative, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logExternalSyntheticExports, logUnresolvedEntry, logUnresolvedImplicitDependant, logExternalModulesCannotBeIncludedInManualChunks, logEntryCannotBeExternal, logImplicitDependantCannotBeExternal, logExternalModulesCannotBeTransformedToModules, URL_LOAD, logNoAssetSourceSet, logFileReferenceIdNotFoundForFilename, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logInvalidRollupPhaseForChunkEmission, logChunkNotGeneratedForFileName, logAssetNotFinalisedForFileName, logFileNameConflict, URL_GENERATEBUNDLE, logInvalidLogPosition, logInputHookInOutputPlugin, logInvalidAddonPluginHook, logInvalidFunctionPluginHook, logImplicitDependantIsNotIncluded, logCircularDependency, augmentLogMessage, URL_JSX, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_PRESERVEENTRYSIGNATURES, URL_OUTPUT_GENERATEDCODE, isValidUrl, addTrailingSlashIfMissed, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_MANUALCHUNKS, logInvalidExportOptionValue, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_INTEROP, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, logAlreadyClosed, logMissingFileOrDirOption, logCannotEmitFromOptionsHook, URL_WATCH } from './parseAst.js';
10
+ import { EMPTY_OBJECT, ExportDefaultDeclaration as ExportDefaultDeclaration$1, CallExpression as CallExpression$1, EMPTY_ARRAY, LOGLEVEL_WARN, logUnusedExternalImports, ANNOTATION_KEY, INVALID_ANNOTATION_KEY, ArrowFunctionExpression as ArrowFunctionExpression$1, FunctionExpression as FunctionExpression$1, Identifier as Identifier$1, ExpressionStatement as ExpressionStatement$1, AwaitExpression as AwaitExpression$1, MemberExpression as MemberExpression$1, ObjectExpression as ObjectExpression$1, Property as Property$1, Program as Program$1, logIllegalImportReassignment, BLANK, logRedeclarationError, StaticBlock as StaticBlock$1, CatchClause as CatchClause$1, logDuplicateArgumentNameError, logModuleLevelDirective, ReturnStatement as ReturnStatement$1, VariableDeclarator as VariableDeclarator$1, logMissingExport, normalize, getImportPath, error, logSourcePhaseFormatUnsupported, logMissingNodeBuiltins, logReservedNamespace, logIllegalIdentifierAsName, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, RestElement as RestElement$1, logConstVariableReassignError, EMPTY_SET, logCannotCallNamespace, logEval, BlockStatement as BlockStatement$1, getRollupError, logModuleParseError, logParseError, LOGLEVEL_INFO, logFirstSideEffect, locate, logInvalidAnnotation, logThisIsUndefined, getAstBuffer, convertAnnotations, FIXED_STRINGS, convertNode as convertNode$1, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logMissingEntryExport, logSyntheticNamedExportsNeedNamespaceExport, logDuplicateExportError, logInvalidSourcemapForError, augmentCodeLocation, logInconsistentImportAttributes, logMissingJsxExport, logNamespaceConflict, logAmbiguousExternalNamespaces, logShimmedExport, parseAst, TemplateLiteral as TemplateLiteral$1, Literal as Literal$1, logCircularReexport, logInvalidFormatForTopLevelAwait, logAddonNotGenerated, logIncompatibleExportOptionValue, logMixedExport, logFailedValidation, isPathFragment, logCyclicCrossChunkReexport, getAliasName, logUnexpectedNamedImport, isAbsolute as isAbsolute$1, relative as relative$1, logUnexpectedNamespaceReexport, logEmptyChunk, logMissingGlobalName, logOptimizeChunkStatus, logSourcemapBroken, logConflictingSourcemapSources, logChunkInvalid, logInvalidOption, URL_OUTPUT_FORMAT, URL_OUTPUT_DIR, URL_OUTPUT_SOURCEMAPFILE, URL_OUTPUT_AMD_ID, logFileNameOutsideOutputDirectory, logCannotAssignModuleToChunk, logCircularChunk, logUnknownOption, printQuotedStringList, LOGLEVEL_ERROR, logLevelPriority, LOGLEVEL_DEBUG, logAnonymousPluginCache, logDuplicatePluginName, logInvalidSetAssetSourceCall, logPluginError, logNoTransformMapOrAstWithoutCode, warnDeprecation, URL_TRANSFORM, relativeId, logBadLoader, logNonExternalSourcePhaseImport, logInternalIdCannotBeExternal, isRelative, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logExternalSyntheticExports, logUnresolvedEntry, logUnresolvedImplicitDependant, logExternalModulesCannotBeIncludedInManualChunks, logEntryCannotBeExternal, logImplicitDependantCannotBeExternal, logExternalModulesCannotBeTransformedToModules, URL_LOAD, logNoAssetSourceSet, logFileReferenceIdNotFoundForFilename, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logInvalidRollupPhaseForChunkEmission, logChunkNotGeneratedForFileName, logAssetNotFinalisedForFileName, logFileNameConflict, URL_GENERATEBUNDLE, logInvalidLogPosition, logInputHookInOutputPlugin, logInvalidAddonPluginHook, logInvalidFunctionPluginHook, logImplicitDependantIsNotIncluded, logCircularDependency, augmentLogMessage, URL_JSX, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_PRESERVEENTRYSIGNATURES, URL_OUTPUT_GENERATEDCODE, isValidUrl, addTrailingSlashIfMissed, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_MANUALCHUNKS, logInvalidExportOptionValue, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_INTEROP, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, logAlreadyClosed, logMissingFileOrDirOption, logCannotEmitFromOptionsHook, URL_WATCH } from './parseAst.js';
11
11
  import { relative, dirname, basename, extname, resolve as resolve$1, join } from 'node:path';
12
12
  import { posix, isAbsolute, resolve, win32 } from 'path';
13
13
  import { parseAsync, xxhashBase16, xxhashBase64Url, xxhashBase36 } from '../../native.js';
@@ -27,7 +27,7 @@ function _mergeNamespaces(n, m) {
27
27
  return Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' });
28
28
  }
29
29
 
30
- var version = "4.64.2";
30
+ var version = "4.64.4";
31
31
  const pkg = {
32
32
  version: version};
33
33
 
@@ -1248,7 +1248,7 @@ var MagicString = class MagicString {
1248
1248
  while (chunk !== last) {
1249
1249
  if (chunk.next !== this.byStart.get(chunk.end)) throw new MagicStringError("cannot overwrite across a split point");
1250
1250
  chunk = chunk.next;
1251
- chunk.edit("", false);
1251
+ chunk.edit("", false, !overwrite);
1252
1252
  }
1253
1253
  first.edit(content, storeName, !overwrite);
1254
1254
  } else {
@@ -1602,8 +1602,8 @@ var MagicString = class MagicString {
1602
1602
  if (this._hasRemovedContent(match.index, match.index + match[0].length)) return false;
1603
1603
  const replacement = getReplacement(match, this.original);
1604
1604
  if (replacement === match[0]) return true;
1605
- if (match[0].length === 0) this.appendRight(match.index, replacement);
1606
- else this.overwrite(match.index, match.index + match[0].length, replacement);
1605
+ if (match[0].length === 0) this.appendRight(match.index - this.offset, replacement);
1606
+ else this.overwrite(match.index - this.offset, match.index + match[0].length - this.offset, replacement);
1607
1607
  return true;
1608
1608
  };
1609
1609
  if (searchValue.global) {
@@ -1630,8 +1630,8 @@ var MagicString = class MagicString {
1630
1630
  if (typeof replacement === "function") replacement = replacement(string, index, original);
1631
1631
  else replacement = expandReplacement(replacement, string, index, original, [], void 0);
1632
1632
  if (string !== replacement) {
1633
- if (string.length === 0) this.appendRight(index, replacement);
1634
- else this.overwrite(index, index + string.length, replacement);
1633
+ if (string.length === 0) this.appendRight(index - this.offset, replacement);
1634
+ else this.overwrite(index - this.offset, index + string.length - this.offset, replacement);
1635
1635
  }
1636
1636
  break;
1637
1637
  }
@@ -1652,7 +1652,7 @@ var MagicString = class MagicString {
1652
1652
  for (let index = 0; index <= original.length; index += 1) {
1653
1653
  if (this._hasRemovedContent(index, index)) continue;
1654
1654
  const _replacement = typeof replacement === "function" ? replacement("", index, original) : expandReplacement(replacement, "", index, original, [], void 0);
1655
- if (_replacement !== "") this.appendRight(index, _replacement);
1655
+ if (_replacement !== "") this.appendRight(index - this.offset, _replacement);
1656
1656
  }
1657
1657
  return this;
1658
1658
  }
@@ -1660,7 +1660,7 @@ var MagicString = class MagicString {
1660
1660
  if (this._hasRemovedContent(index, index + stringLength)) continue;
1661
1661
  const previous = original.slice(index, index + stringLength);
1662
1662
  const _replacement = typeof replacement === "function" ? replacement(previous, index, original) : expandReplacement(replacement, previous, index, original, [], void 0);
1663
- if (previous !== _replacement) this.overwrite(index, index + stringLength, _replacement);
1663
+ if (previous !== _replacement) this.overwrite(index - this.offset, index + stringLength - this.offset, _replacement);
1664
1664
  }
1665
1665
  return this;
1666
1666
  }
@@ -2437,7 +2437,6 @@ function createInclusionContext() {
2437
2437
  hasBreak: false,
2438
2438
  hasContinue: false,
2439
2439
  includedCallArguments: new Set(),
2440
- includedCallArgumentsOfPossibleValues: null,
2441
2440
  includedLabels: new Set()
2442
2441
  };
2443
2442
  }
@@ -5331,10 +5330,9 @@ class LocalVariable extends Variable {
5331
5330
  this.kind = kind;
5332
5331
  this.calledFromTryStatement = false;
5333
5332
  this.additionalInitializers = null;
5334
- // A possibly incomplete list of values assigned to this variable after its
5335
- // declaration; as it is incomplete, it must never be used for value queries
5336
- // but only to forward call arguments to possible values
5337
- this.reassignedValues = null;
5333
+ // A possibly incomplete list of functions assigned to this variable; only used
5334
+ // to retain call arguments of assigned try-catch helpers, never for value queries
5335
+ this.assignedFunctions = null;
5338
5336
  this.includedPathTracker = new IncludedFullPathTracker();
5339
5337
  this.expressionsToBeDeoptimized = [];
5340
5338
  this.declarations = declarator ? [declarator] : [];
@@ -5460,16 +5458,12 @@ class LocalVariable extends Variable {
5460
5458
  }
5461
5459
  includeCallArgumentsWhenCalledAtPath(path, interaction, context) {
5462
5460
  if (this.isReassigned) {
5463
- // Even when the value is unknown, it may be one of the assigned values;
5464
- // forwarding to all of them retains the arguments of try-catch helpers
5461
+ // The value may still be one of the assigned functions, whose try-catch
5462
+ // helpers need their call arguments retained
5465
5463
  includeInteraction(interaction, context);
5466
- // Each possible value is visited at most once per path and call
5467
- // per traversal so that dense assignment graphs do not repeat work
5468
- // for every simple path
5469
- const previousTracker = context.includedCallArgumentsOfPossibleValues;
5470
- context.includedCallArgumentsOfPossibleValues ??= new DiscriminatedPathTracker();
5471
- this.includeCallArgumentsOfPossibleValues(path, interaction, context, context.includedCallArgumentsOfPossibleValues);
5472
- context.includedCallArgumentsOfPossibleValues = previousTracker;
5464
+ if (path.length === 0) {
5465
+ this.includeCallArgumentsOfAssignedTryCatchHelpers(interaction, context);
5466
+ }
5473
5467
  return;
5474
5468
  }
5475
5469
  if (context.includedCallArguments.has(this.init) ||
@@ -5481,25 +5475,25 @@ class LocalVariable extends Variable {
5481
5475
  this.init.includeCallArgumentsWhenCalledAtPath([...this.initPath, ...path], interaction, context);
5482
5476
  context.includedCallArguments.delete(this.init);
5483
5477
  }
5484
- includeCallArgumentsOfPossibleValues(path, interaction, context, tracker) {
5485
- if (this.reassignedValues === null || path.length + this.initPath.length > MAX_PATH_DEPTH) {
5486
- return;
5478
+ includeCallArgumentsOfAssignedTryCatchHelpers(interaction, context) {
5479
+ if (this.initPath.length === 0) {
5480
+ this.includeCallArgumentsOfTryCatchHelper(this.init, interaction, context);
5487
5481
  }
5488
- this.includeCallArgumentsOfPossibleValue(this.init, [...this.initPath, ...path], interaction, context, tracker);
5489
- for (const entity of this.reassignedValues) {
5490
- this.includeCallArgumentsOfPossibleValue(entity, path, interaction, context, tracker);
5482
+ for (const assignedFunction of this.assignedFunctions ?? EMPTY_ARRAY) {
5483
+ this.includeCallArgumentsOfTryCatchHelper(assignedFunction, interaction, context);
5491
5484
  }
5492
5485
  }
5493
- includeCallArgumentsOfPossibleValue(entity, path, interaction, context, tracker) {
5494
- if (entity === UNKNOWN_EXPRESSION ||
5495
- entity === UNDEFINED_EXPRESSION ||
5496
- tracker.trackEntityAtPathAndGetIfTracked(path, interaction, entity)) {
5497
- return;
5486
+ includeCallArgumentsOfTryCatchHelper(value, interaction, context) {
5487
+ if (isArrowFunctionExpressionNode(value) || isFunctionExpressionNode(value)) {
5488
+ if (value.scope.hasParameterCalledFromTryStatement()) {
5489
+ value.scope.includeCallArguments(interaction, context);
5490
+ }
5498
5491
  }
5499
- entity.includeCallArgumentsWhenCalledAtPath(path, interaction, context);
5500
5492
  }
5501
5493
  addReassignedValue(value) {
5502
- (this.reassignedValues ??= []).push(value);
5494
+ if (isArrowFunctionExpressionNode(value) || isFunctionExpressionNode(value)) {
5495
+ (this.assignedFunctions ??= []).push(value);
5496
+ }
5503
5497
  }
5504
5498
  markCalledFromTryStatement() {
5505
5499
  this.calledFromTryStatement = true;
@@ -6665,6 +6659,9 @@ class ParameterScope extends ChildScope {
6665
6659
  }
6666
6660
  this.hasRest = hasRest;
6667
6661
  }
6662
+ hasParameterCalledFromTryStatement() {
6663
+ return this.parameters.some(parameterVariables => parameterVariables.some(variable => variable.calledFromTryStatement));
6664
+ }
6668
6665
  includeCallArguments({ args }, context) {
6669
6666
  let calledFromTryStatement = false;
6670
6667
  let argumentIncluded = false;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
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.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
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.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -42,7 +42,7 @@ function _mergeNamespaces(n, m) {
42
42
 
43
43
  const promises__namespace = /*#__PURE__*/_interopNamespaceDefault(promises);
44
44
 
45
- var version = "4.64.2";
45
+ var version = "4.64.4";
46
46
  const package_ = {
47
47
  version: version};
48
48
 
@@ -5438,7 +5438,7 @@ var MagicString = class MagicString {
5438
5438
  while (chunk !== last) {
5439
5439
  if (chunk.next !== this.byStart.get(chunk.end)) throw new MagicStringError("cannot overwrite across a split point");
5440
5440
  chunk = chunk.next;
5441
- chunk.edit("", false);
5441
+ chunk.edit("", false, !overwrite);
5442
5442
  }
5443
5443
  first.edit(content, storeName, !overwrite);
5444
5444
  } else {
@@ -5792,8 +5792,8 @@ var MagicString = class MagicString {
5792
5792
  if (this._hasRemovedContent(match.index, match.index + match[0].length)) return false;
5793
5793
  const replacement = getReplacement(match, this.original);
5794
5794
  if (replacement === match[0]) return true;
5795
- if (match[0].length === 0) this.appendRight(match.index, replacement);
5796
- else this.overwrite(match.index, match.index + match[0].length, replacement);
5795
+ if (match[0].length === 0) this.appendRight(match.index - this.offset, replacement);
5796
+ else this.overwrite(match.index - this.offset, match.index + match[0].length - this.offset, replacement);
5797
5797
  return true;
5798
5798
  };
5799
5799
  if (searchValue.global) {
@@ -5820,8 +5820,8 @@ var MagicString = class MagicString {
5820
5820
  if (typeof replacement === "function") replacement = replacement(string, index, original);
5821
5821
  else replacement = expandReplacement(replacement, string, index, original, [], void 0);
5822
5822
  if (string !== replacement) {
5823
- if (string.length === 0) this.appendRight(index, replacement);
5824
- else this.overwrite(index, index + string.length, replacement);
5823
+ if (string.length === 0) this.appendRight(index - this.offset, replacement);
5824
+ else this.overwrite(index - this.offset, index + string.length - this.offset, replacement);
5825
5825
  }
5826
5826
  break;
5827
5827
  }
@@ -5842,7 +5842,7 @@ var MagicString = class MagicString {
5842
5842
  for (let index = 0; index <= original.length; index += 1) {
5843
5843
  if (this._hasRemovedContent(index, index)) continue;
5844
5844
  const _replacement = typeof replacement === "function" ? replacement("", index, original) : expandReplacement(replacement, "", index, original, [], void 0);
5845
- if (_replacement !== "") this.appendRight(index, _replacement);
5845
+ if (_replacement !== "") this.appendRight(index - this.offset, _replacement);
5846
5846
  }
5847
5847
  return this;
5848
5848
  }
@@ -5850,7 +5850,7 @@ var MagicString = class MagicString {
5850
5850
  if (this._hasRemovedContent(index, index + stringLength)) continue;
5851
5851
  const previous = original.slice(index, index + stringLength);
5852
5852
  const _replacement = typeof replacement === "function" ? replacement(previous, index, original) : expandReplacement(replacement, previous, index, original, [], void 0);
5853
- if (previous !== _replacement) this.overwrite(index, index + stringLength, _replacement);
5853
+ if (previous !== _replacement) this.overwrite(index - this.offset, index + stringLength - this.offset, _replacement);
5854
5854
  }
5855
5855
  return this;
5856
5856
  }
@@ -6611,7 +6611,6 @@ function createInclusionContext() {
6611
6611
  hasBreak: false,
6612
6612
  hasContinue: false,
6613
6613
  includedCallArguments: new Set(),
6614
- includedCallArgumentsOfPossibleValues: null,
6615
6614
  includedLabels: new Set()
6616
6615
  };
6617
6616
  }
@@ -9503,10 +9502,9 @@ class LocalVariable extends Variable {
9503
9502
  this.kind = kind;
9504
9503
  this.calledFromTryStatement = false;
9505
9504
  this.additionalInitializers = null;
9506
- // A possibly incomplete list of values assigned to this variable after its
9507
- // declaration; as it is incomplete, it must never be used for value queries
9508
- // but only to forward call arguments to possible values
9509
- this.reassignedValues = null;
9505
+ // A possibly incomplete list of functions assigned to this variable; only used
9506
+ // to retain call arguments of assigned try-catch helpers, never for value queries
9507
+ this.assignedFunctions = null;
9510
9508
  this.includedPathTracker = new IncludedFullPathTracker();
9511
9509
  this.expressionsToBeDeoptimized = [];
9512
9510
  this.declarations = declarator ? [declarator] : [];
@@ -9632,16 +9630,12 @@ class LocalVariable extends Variable {
9632
9630
  }
9633
9631
  includeCallArgumentsWhenCalledAtPath(path, interaction, context) {
9634
9632
  if (this.isReassigned) {
9635
- // Even when the value is unknown, it may be one of the assigned values;
9636
- // forwarding to all of them retains the arguments of try-catch helpers
9633
+ // The value may still be one of the assigned functions, whose try-catch
9634
+ // helpers need their call arguments retained
9637
9635
  includeInteraction(interaction, context);
9638
- // Each possible value is visited at most once per path and call
9639
- // per traversal so that dense assignment graphs do not repeat work
9640
- // for every simple path
9641
- const previousTracker = context.includedCallArgumentsOfPossibleValues;
9642
- context.includedCallArgumentsOfPossibleValues ??= new DiscriminatedPathTracker();
9643
- this.includeCallArgumentsOfPossibleValues(path, interaction, context, context.includedCallArgumentsOfPossibleValues);
9644
- context.includedCallArgumentsOfPossibleValues = previousTracker;
9636
+ if (path.length === 0) {
9637
+ this.includeCallArgumentsOfAssignedTryCatchHelpers(interaction, context);
9638
+ }
9645
9639
  return;
9646
9640
  }
9647
9641
  if (context.includedCallArguments.has(this.init) ||
@@ -9653,25 +9647,25 @@ class LocalVariable extends Variable {
9653
9647
  this.init.includeCallArgumentsWhenCalledAtPath([...this.initPath, ...path], interaction, context);
9654
9648
  context.includedCallArguments.delete(this.init);
9655
9649
  }
9656
- includeCallArgumentsOfPossibleValues(path, interaction, context, tracker) {
9657
- if (this.reassignedValues === null || path.length + this.initPath.length > MAX_PATH_DEPTH) {
9658
- return;
9650
+ includeCallArgumentsOfAssignedTryCatchHelpers(interaction, context) {
9651
+ if (this.initPath.length === 0) {
9652
+ this.includeCallArgumentsOfTryCatchHelper(this.init, interaction, context);
9659
9653
  }
9660
- this.includeCallArgumentsOfPossibleValue(this.init, [...this.initPath, ...path], interaction, context, tracker);
9661
- for (const entity of this.reassignedValues) {
9662
- this.includeCallArgumentsOfPossibleValue(entity, path, interaction, context, tracker);
9654
+ for (const assignedFunction of this.assignedFunctions ?? parseAst_js.EMPTY_ARRAY) {
9655
+ this.includeCallArgumentsOfTryCatchHelper(assignedFunction, interaction, context);
9663
9656
  }
9664
9657
  }
9665
- includeCallArgumentsOfPossibleValue(entity, path, interaction, context, tracker) {
9666
- if (entity === UNKNOWN_EXPRESSION ||
9667
- entity === UNDEFINED_EXPRESSION ||
9668
- tracker.trackEntityAtPathAndGetIfTracked(path, interaction, entity)) {
9669
- return;
9658
+ includeCallArgumentsOfTryCatchHelper(value, interaction, context) {
9659
+ if (isArrowFunctionExpressionNode(value) || isFunctionExpressionNode(value)) {
9660
+ if (value.scope.hasParameterCalledFromTryStatement()) {
9661
+ value.scope.includeCallArguments(interaction, context);
9662
+ }
9670
9663
  }
9671
- entity.includeCallArgumentsWhenCalledAtPath(path, interaction, context);
9672
9664
  }
9673
9665
  addReassignedValue(value) {
9674
- (this.reassignedValues ??= []).push(value);
9666
+ if (isArrowFunctionExpressionNode(value) || isFunctionExpressionNode(value)) {
9667
+ (this.assignedFunctions ??= []).push(value);
9668
+ }
9675
9669
  }
9676
9670
  markCalledFromTryStatement() {
9677
9671
  this.calledFromTryStatement = true;
@@ -10825,6 +10819,9 @@ class ParameterScope extends ChildScope {
10825
10819
  }
10826
10820
  this.hasRest = hasRest;
10827
10821
  }
10822
+ hasParameterCalledFromTryStatement() {
10823
+ return this.parameters.some(parameterVariables => parameterVariables.some(variable => variable.calledFromTryStatement));
10824
+ }
10828
10825
  includeCallArguments({ args }, context) {
10829
10826
  let calledFromTryStatement = false;
10830
10827
  let argumentIncluded = false;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.64.2
4
- Wed, 07 Oct 2026 17:38:44 GMT - commit 19e0dcbf5aaeab7cc8efd92f7604ca3a20406cd2
3
+ Rollup.js v4.64.4
4
+ Sat, 10 Oct 2026 06:06:18 GMT - commit 9568144c546fd1def46183b75ca711b6e3bbafa9
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.64.2",
3
+ "version": "4.64.4",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -116,31 +116,31 @@
116
116
  "optionalDependencies": {
117
117
  "@napi-rs/lzma-linux-x64-gnu": "1.5.1",
118
118
  "fsevents": "~2.3.2",
119
- "@rollup/rollup-darwin-arm64": "4.64.2",
120
- "@rollup/rollup-android-arm64": "4.64.2",
121
- "@rollup/rollup-win32-arm64-msvc": "4.64.2",
122
- "@rollup/rollup-freebsd-arm64": "4.64.2",
123
- "@rollup/rollup-linux-arm64-gnu": "4.64.2",
124
- "@rollup/rollup-linux-arm64-musl": "4.64.2",
125
- "@rollup/rollup-android-arm-eabi": "4.64.2",
126
- "@rollup/rollup-linux-arm-gnueabihf": "4.64.2",
127
- "@rollup/rollup-linux-arm-musleabihf": "4.64.2",
128
- "@rollup/rollup-win32-ia32-msvc": "4.64.2",
129
- "@rollup/rollup-linux-loong64-gnu": "4.64.2",
130
- "@rollup/rollup-linux-loong64-musl": "4.64.2",
131
- "@rollup/rollup-linux-riscv64-gnu": "4.64.2",
132
- "@rollup/rollup-linux-riscv64-musl": "4.64.2",
133
- "@rollup/rollup-linux-ppc64-gnu": "4.64.2",
134
- "@rollup/rollup-linux-ppc64-musl": "4.64.2",
135
- "@rollup/rollup-linux-s390x-gnu": "4.64.2",
136
- "@rollup/rollup-darwin-x64": "4.64.2",
137
- "@rollup/rollup-win32-x64-gnu": "4.64.2",
138
- "@rollup/rollup-win32-x64-msvc": "4.64.2",
139
- "@rollup/rollup-freebsd-x64": "4.64.2",
140
- "@rollup/rollup-linux-x64-gnu": "4.64.2",
141
- "@rollup/rollup-linux-x64-musl": "4.64.2",
142
- "@rollup/rollup-openbsd-x64": "4.64.2",
143
- "@rollup/rollup-openharmony-arm64": "4.64.2"
119
+ "@rollup/rollup-darwin-arm64": "4.64.4",
120
+ "@rollup/rollup-android-arm64": "4.64.4",
121
+ "@rollup/rollup-win32-arm64-msvc": "4.64.4",
122
+ "@rollup/rollup-freebsd-arm64": "4.64.4",
123
+ "@rollup/rollup-linux-arm64-gnu": "4.64.4",
124
+ "@rollup/rollup-linux-arm64-musl": "4.64.4",
125
+ "@rollup/rollup-android-arm-eabi": "4.64.4",
126
+ "@rollup/rollup-linux-arm-gnueabihf": "4.64.4",
127
+ "@rollup/rollup-linux-arm-musleabihf": "4.64.4",
128
+ "@rollup/rollup-win32-ia32-msvc": "4.64.4",
129
+ "@rollup/rollup-linux-loong64-gnu": "4.64.4",
130
+ "@rollup/rollup-linux-loong64-musl": "4.64.4",
131
+ "@rollup/rollup-linux-riscv64-gnu": "4.64.4",
132
+ "@rollup/rollup-linux-riscv64-musl": "4.64.4",
133
+ "@rollup/rollup-linux-ppc64-gnu": "4.64.4",
134
+ "@rollup/rollup-linux-ppc64-musl": "4.64.4",
135
+ "@rollup/rollup-linux-s390x-gnu": "4.64.4",
136
+ "@rollup/rollup-darwin-x64": "4.64.4",
137
+ "@rollup/rollup-win32-x64-gnu": "4.64.4",
138
+ "@rollup/rollup-win32-x64-msvc": "4.64.4",
139
+ "@rollup/rollup-freebsd-x64": "4.64.4",
140
+ "@rollup/rollup-linux-x64-gnu": "4.64.4",
141
+ "@rollup/rollup-linux-x64-musl": "4.64.4",
142
+ "@rollup/rollup-openbsd-x64": "4.64.4",
143
+ "@rollup/rollup-openharmony-arm64": "4.64.4"
144
144
  },
145
145
  "dependencies": {
146
146
  "@types/estree": "1.0.9"
@@ -171,14 +171,14 @@
171
171
  "@rollup/plugin-terser": "^0.4.4",
172
172
  "@rollup/plugin-typescript": "^12.3.0",
173
173
  "@rollup/pluginutils": "^5.4.0",
174
- "@shikijs/vitepress-twoslash": "^4.4.3",
174
+ "@shikijs/vitepress-twoslash": "^4.5.0",
175
175
  "@types/mocha": "^10.0.10",
176
176
  "@types/node": "^20.19.43",
177
177
  "@types/picomatch": "^4.0.3",
178
178
  "@types/semver": "^7.8.0",
179
179
  "@types/yargs-parser": "^21.0.3",
180
- "@vue/language-server": "^3.3.11",
181
- "acorn": "^8.18.0",
180
+ "@vue/language-server": "^3.3.12",
181
+ "acorn": "^8.19.0",
182
182
  "acorn-import-assertions": "^1.9.0",
183
183
  "acorn-import-phases": "^1.0.4",
184
184
  "acorn-jsx": "^5.3.2",
@@ -190,22 +190,22 @@
190
190
  "date-time": "^4.0.0",
191
191
  "es5-shim": "^4.6.7",
192
192
  "es6-shim": "^0.35.8",
193
- "eslint": "^10.11.0",
193
+ "eslint": "^10.12.0",
194
194
  "eslint-config-prettier": "^10.1.8",
195
195
  "eslint-plugin-prettier": "^5.5.6",
196
- "eslint-plugin-unicorn": "^76.0.0",
196
+ "eslint-plugin-unicorn": "^77.0.0",
197
197
  "eslint-plugin-vue": "^10.11.1",
198
198
  "fixturify": "^3.0.0",
199
199
  "flru": "^1.0.2",
200
200
  "fs-extra": "^11.4.1",
201
201
  "github-api": "^3.4.0",
202
- "globals": "^17.12.0",
202
+ "globals": "^17.13.0",
203
203
  "husky": "^9.1.7",
204
204
  "is-reference": "^3.0.3",
205
205
  "lint-staged": "^17.6.0",
206
206
  "locate-character": "^3.0.0",
207
- "magic-string": "^1.4.2",
208
- "memfs": "^4.79.0",
207
+ "magic-string": "^1.4.3",
208
+ "memfs": "^4.80.0",
209
209
  "mocha": "^11.8.0",
210
210
  "nodemon": "^3.1.14",
211
211
  "npm-audit-resolver": "^3.0.0-RC.0",
@@ -219,7 +219,7 @@
219
219
  "pretty-bytes": "^7.2.0",
220
220
  "pretty-ms": "^9.3.1",
221
221
  "requirejs": "^2.3.8",
222
- "rollup": "^4.63.5",
222
+ "rollup": "^4.64.0",
223
223
  "rollup-plugin-license": "^3.7.1",
224
224
  "semver": "^7.8.5",
225
225
  "shx": "^0.4.0",
@@ -230,12 +230,12 @@
230
230
  "terser": "^5.51.2",
231
231
  "tslib": "^2.8.1",
232
232
  "typescript": "^5.9.3",
233
- "typescript-eslint": "^8.71.0",
233
+ "typescript-eslint": "^8.71.1",
234
234
  "vite": "^7.3.6",
235
235
  "vitepress": "^1.6.4",
236
236
  "vue": "^3.5.43",
237
237
  "vue-eslint-parser": "^10.4.1",
238
- "vue-tsc": "^3.3.11",
238
+ "vue-tsc": "^3.3.12",
239
239
  "wasm-pack": "^0.15.0",
240
240
  "yargs-parser": "^21.1.1"
241
241
  },