rollup 4.59.0 → 4.60.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.
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.59.0
4
- Sun, 22 Feb 2026 07:31:53 GMT - commit ae846957f109690a866cc3e4c073613c338d3476
3
+ Rollup.js v4.60.0
4
+ Sun, 22 Mar 2026 06:57:22 GMT - commit 6ecd69fb2ce736c8aabb50829edd227d1792c957
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -272,6 +272,8 @@ const URL_TREESHAKE_PURE = 'configuration-options/#pure';
272
272
  const URL_TREESHAKE_NOSIDEEFFECTS = 'configuration-options/#no-side-effects';
273
273
  const URL_TREESHAKE_MODULESIDEEFFECTS = 'configuration-options/#treeshake-modulesideeffects';
274
274
  const URL_WATCH = 'configuration-options/#watch';
275
+ // es-module-syntax
276
+ const URL_SOURCE_PHASE_IMPORTS = 'es-module-syntax/#source-phase-import';
275
277
  // command-line-interface
276
278
  const URL_BUNDLE_CONFIG_AS_CJS = 'command-line-interface/#bundleconfigascjs';
277
279
  const URL_CONFIGURATION_FILES = 'command-line-interface/#configuration-files';
@@ -332,7 +334,7 @@ function augmentLogMessage(log) {
332
334
  }
333
335
  // Error codes should be sorted alphabetically while errors should be sorted by
334
336
  // error code below
335
- const ADDON_ERROR = 'ADDON_ERROR', ALREADY_CLOSED = 'ALREADY_CLOSED', AMBIGUOUS_EXTERNAL_NAMESPACES = 'AMBIGUOUS_EXTERNAL_NAMESPACES', ANONYMOUS_PLUGIN_CACHE = 'ANONYMOUS_PLUGIN_CACHE', ASSET_NOT_FINALISED = 'ASSET_NOT_FINALISED', ASSET_NOT_FOUND = 'ASSET_NOT_FOUND', ASSET_SOURCE_ALREADY_SET = 'ASSET_SOURCE_ALREADY_SET', ASSET_SOURCE_MISSING = 'ASSET_SOURCE_MISSING', BAD_LOADER = 'BAD_LOADER', CANNOT_CALL_NAMESPACE = 'CANNOT_CALL_NAMESPACE', CANNOT_EMIT_FROM_OPTIONS_HOOK = 'CANNOT_EMIT_FROM_OPTIONS_HOOK', CHUNK_NOT_GENERATED = 'CHUNK_NOT_GENERATED', CHUNK_INVALID = 'CHUNK_INVALID', CIRCULAR_CHUNK = 'CIRCULAR_CHUNK', CIRCULAR_DEPENDENCY = 'CIRCULAR_DEPENDENCY', CIRCULAR_REEXPORT = 'CIRCULAR_REEXPORT', CONST_REASSIGN = 'CONST_REASSIGN', CYCLIC_CROSS_CHUNK_REEXPORT = 'CYCLIC_CROSS_CHUNK_REEXPORT', DEPRECATED_FEATURE = 'DEPRECATED_FEATURE', DUPLICATE_ARGUMENT_NAME = 'DUPLICATE_ARGUMENT_NAME', DUPLICATE_EXPORT = 'DUPLICATE_EXPORT', DUPLICATE_IMPORT_OPTIONS = 'DUPLICATE_IMPORT_OPTIONS', DUPLICATE_PLUGIN_NAME = 'DUPLICATE_PLUGIN_NAME', EMPTY_BUNDLE = 'EMPTY_BUNDLE', EVAL = 'EVAL', EXTERNAL_MODULES_CANNOT_BE_INCLUDED_IN_MANUAL_CHUNKS = 'EXTERNAL_MODULES_CANNOT_BE_INCLUDED_IN_MANUAL_CHUNKS', EXTERNAL_MODULES_CANNOT_BE_TRANSFORMED_TO_MODULES = 'EXTERNAL_MODULES_CANNOT_BE_TRANSFORMED_TO_MODULES', EXTERNAL_SYNTHETIC_EXPORTS = 'EXTERNAL_SYNTHETIC_EXPORTS', FAIL_AFTER_WARNINGS = 'FAIL_AFTER_WARNINGS', FILE_NAME_CONFLICT = 'FILE_NAME_CONFLICT', FILE_NAME_OUTSIDE_OUTPUT_DIRECTORY = 'FILE_NAME_OUTSIDE_OUTPUT_DIRECTORY', FILE_NOT_FOUND = 'FILE_NOT_FOUND', FIRST_SIDE_EFFECT = 'FIRST_SIDE_EFFECT', ILLEGAL_IDENTIFIER_AS_NAME = 'ILLEGAL_IDENTIFIER_AS_NAME', ILLEGAL_REASSIGNMENT = 'ILLEGAL_REASSIGNMENT', INCONSISTENT_IMPORT_ATTRIBUTES = 'INCONSISTENT_IMPORT_ATTRIBUTES', INVALID_ANNOTATION = 'INVALID_ANNOTATION', INPUT_HOOK_IN_OUTPUT_PLUGIN = 'INPUT_HOOK_IN_OUTPUT_PLUGIN', INVALID_CHUNK = 'INVALID_CHUNK', INVALID_CONFIG_MODULE_FORMAT = 'INVALID_CONFIG_MODULE_FORMAT', INVALID_EXPORT_OPTION = 'INVALID_EXPORT_OPTION', INVALID_EXTERNAL_ID = 'INVALID_EXTERNAL_ID', INVALID_IMPORT_ATTRIBUTE = 'INVALID_IMPORT_ATTRIBUTE', INVALID_LOG_POSITION = 'INVALID_LOG_POSITION', INVALID_OPTION = 'INVALID_OPTION', INVALID_PLUGIN_HOOK = 'INVALID_PLUGIN_HOOK', INVALID_ROLLUP_PHASE = 'INVALID_ROLLUP_PHASE', INVALID_SETASSETSOURCE = 'INVALID_SETASSETSOURCE', INVALID_TLA_FORMAT = 'INVALID_TLA_FORMAT', MISSING_CONFIG = 'MISSING_CONFIG', MISSING_EXPORT = 'MISSING_EXPORT', MISSING_EXTERNAL_CONFIG = 'MISSING_EXTERNAL_CONFIG', MISSING_GLOBAL_NAME = 'MISSING_GLOBAL_NAME', MISSING_IMPLICIT_DEPENDANT = 'MISSING_IMPLICIT_DEPENDANT', MISSING_JSX_EXPORT = 'MISSING_JSX_EXPORT', MISSING_NAME_OPTION_FOR_IIFE_EXPORT = 'MISSING_NAME_OPTION_FOR_IIFE_EXPORT', MISSING_NODE_BUILTINS = 'MISSING_NODE_BUILTINS', MISSING_OPTION = 'MISSING_OPTION', MIXED_EXPORTS = 'MIXED_EXPORTS', MODULE_LEVEL_DIRECTIVE = 'MODULE_LEVEL_DIRECTIVE', NAMESPACE_CONFLICT = 'NAMESPACE_CONFLICT', NO_TRANSFORM_MAP_OR_AST_WITHOUT_CODE = 'NO_TRANSFORM_MAP_OR_AST_WITHOUT_CODE', ONLY_INLINE_SOURCEMAPS = 'ONLY_INLINE_SOURCEMAPS', OPTIMIZE_CHUNK_STATUS = 'OPTIMIZE_CHUNK_STATUS', PARSE_ERROR = 'PARSE_ERROR', PLUGIN_ERROR = 'PLUGIN_ERROR', REDECLARATION_ERROR = 'REDECLARATION_ERROR', RESERVED_NAMESPACE = 'RESERVED_NAMESPACE', SHIMMED_EXPORT = 'SHIMMED_EXPORT', SOURCEMAP_BROKEN = 'SOURCEMAP_BROKEN', SOURCEMAP_ERROR = 'SOURCEMAP_ERROR', SYNTHETIC_NAMED_EXPORTS_NEED_NAMESPACE_EXPORT = 'SYNTHETIC_NAMED_EXPORTS_NEED_NAMESPACE_EXPORT', THIS_IS_UNDEFINED = 'THIS_IS_UNDEFINED', UNEXPECTED_NAMED_IMPORT = 'UNEXPECTED_NAMED_IMPORT', UNKNOWN_OPTION = 'UNKNOWN_OPTION', UNRESOLVED_ENTRY = 'UNRESOLVED_ENTRY', UNRESOLVED_IMPORT = 'UNRESOLVED_IMPORT', UNUSED_EXTERNAL_IMPORT = 'UNUSED_EXTERNAL_IMPORT', VALIDATION_ERROR = 'VALIDATION_ERROR';
337
+ const ADDON_ERROR = 'ADDON_ERROR', ALREADY_CLOSED = 'ALREADY_CLOSED', AMBIGUOUS_EXTERNAL_NAMESPACES = 'AMBIGUOUS_EXTERNAL_NAMESPACES', ANONYMOUS_PLUGIN_CACHE = 'ANONYMOUS_PLUGIN_CACHE', ASSET_NOT_FINALISED = 'ASSET_NOT_FINALISED', ASSET_NOT_FOUND = 'ASSET_NOT_FOUND', ASSET_SOURCE_ALREADY_SET = 'ASSET_SOURCE_ALREADY_SET', ASSET_SOURCE_MISSING = 'ASSET_SOURCE_MISSING', BAD_LOADER = 'BAD_LOADER', CANNOT_CALL_NAMESPACE = 'CANNOT_CALL_NAMESPACE', CANNOT_EMIT_FROM_OPTIONS_HOOK = 'CANNOT_EMIT_FROM_OPTIONS_HOOK', CHUNK_NOT_GENERATED = 'CHUNK_NOT_GENERATED', CHUNK_INVALID = 'CHUNK_INVALID', CIRCULAR_CHUNK = 'CIRCULAR_CHUNK', CIRCULAR_DEPENDENCY = 'CIRCULAR_DEPENDENCY', CIRCULAR_REEXPORT = 'CIRCULAR_REEXPORT', CONST_REASSIGN = 'CONST_REASSIGN', CYCLIC_CROSS_CHUNK_REEXPORT = 'CYCLIC_CROSS_CHUNK_REEXPORT', DEPRECATED_FEATURE = 'DEPRECATED_FEATURE', DUPLICATE_ARGUMENT_NAME = 'DUPLICATE_ARGUMENT_NAME', DUPLICATE_EXPORT = 'DUPLICATE_EXPORT', DUPLICATE_IMPORT_OPTIONS = 'DUPLICATE_IMPORT_OPTIONS', DUPLICATE_PLUGIN_NAME = 'DUPLICATE_PLUGIN_NAME', EMPTY_BUNDLE = 'EMPTY_BUNDLE', EVAL = 'EVAL', EXTERNAL_MODULES_CANNOT_BE_INCLUDED_IN_MANUAL_CHUNKS = 'EXTERNAL_MODULES_CANNOT_BE_INCLUDED_IN_MANUAL_CHUNKS', EXTERNAL_MODULES_CANNOT_BE_TRANSFORMED_TO_MODULES = 'EXTERNAL_MODULES_CANNOT_BE_TRANSFORMED_TO_MODULES', EXTERNAL_SYNTHETIC_EXPORTS = 'EXTERNAL_SYNTHETIC_EXPORTS', FAIL_AFTER_WARNINGS = 'FAIL_AFTER_WARNINGS', FILE_NAME_CONFLICT = 'FILE_NAME_CONFLICT', FILE_NAME_OUTSIDE_OUTPUT_DIRECTORY = 'FILE_NAME_OUTSIDE_OUTPUT_DIRECTORY', FILE_NOT_FOUND = 'FILE_NOT_FOUND', FIRST_SIDE_EFFECT = 'FIRST_SIDE_EFFECT', ILLEGAL_IDENTIFIER_AS_NAME = 'ILLEGAL_IDENTIFIER_AS_NAME', ILLEGAL_REASSIGNMENT = 'ILLEGAL_REASSIGNMENT', INCONSISTENT_IMPORT_ATTRIBUTES = 'INCONSISTENT_IMPORT_ATTRIBUTES', INVALID_ANNOTATION = 'INVALID_ANNOTATION', INPUT_HOOK_IN_OUTPUT_PLUGIN = 'INPUT_HOOK_IN_OUTPUT_PLUGIN', INVALID_CHUNK = 'INVALID_CHUNK', INVALID_CONFIG_MODULE_FORMAT = 'INVALID_CONFIG_MODULE_FORMAT', INVALID_EXPORT_OPTION = 'INVALID_EXPORT_OPTION', INVALID_EXTERNAL_ID = 'INVALID_EXTERNAL_ID', INVALID_IMPORT_ATTRIBUTE = 'INVALID_IMPORT_ATTRIBUTE', INVALID_LOG_POSITION = 'INVALID_LOG_POSITION', INVALID_OPTION = 'INVALID_OPTION', INVALID_PLUGIN_HOOK = 'INVALID_PLUGIN_HOOK', INVALID_ROLLUP_PHASE = 'INVALID_ROLLUP_PHASE', INVALID_SETASSETSOURCE = 'INVALID_SETASSETSOURCE', INVALID_TLA_FORMAT = 'INVALID_TLA_FORMAT', MISSING_CONFIG = 'MISSING_CONFIG', MISSING_EXPORT = 'MISSING_EXPORT', MISSING_EXTERNAL_CONFIG = 'MISSING_EXTERNAL_CONFIG', MISSING_GLOBAL_NAME = 'MISSING_GLOBAL_NAME', MISSING_IMPLICIT_DEPENDANT = 'MISSING_IMPLICIT_DEPENDANT', MISSING_JSX_EXPORT = 'MISSING_JSX_EXPORT', MISSING_NAME_OPTION_FOR_IIFE_EXPORT = 'MISSING_NAME_OPTION_FOR_IIFE_EXPORT', MISSING_NODE_BUILTINS = 'MISSING_NODE_BUILTINS', MISSING_OPTION = 'MISSING_OPTION', MIXED_EXPORTS = 'MIXED_EXPORTS', MODULE_LEVEL_DIRECTIVE = 'MODULE_LEVEL_DIRECTIVE', NAMESPACE_CONFLICT = 'NAMESPACE_CONFLICT', NON_EXTERNAL_SOURCE_PHASE_IMPORT = 'NON_EXTERNAL_SOURCE_PHASE_IMPORT', NO_TRANSFORM_MAP_OR_AST_WITHOUT_CODE = 'NO_TRANSFORM_MAP_OR_AST_WITHOUT_CODE', ONLY_INLINE_SOURCEMAPS = 'ONLY_INLINE_SOURCEMAPS', OPTIMIZE_CHUNK_STATUS = 'OPTIMIZE_CHUNK_STATUS', PARSE_ERROR = 'PARSE_ERROR', PLUGIN_ERROR = 'PLUGIN_ERROR', REDECLARATION_ERROR = 'REDECLARATION_ERROR', RESERVED_NAMESPACE = 'RESERVED_NAMESPACE', SHIMMED_EXPORT = 'SHIMMED_EXPORT', SOURCE_PHASE_FORMAT_UNSUPPORTED = 'SOURCE_PHASE_FORMAT_UNSUPPORTED', SOURCEMAP_BROKEN = 'SOURCEMAP_BROKEN', SOURCEMAP_ERROR = 'SOURCEMAP_ERROR', SYNTHETIC_NAMED_EXPORTS_NEED_NAMESPACE_EXPORT = 'SYNTHETIC_NAMED_EXPORTS_NEED_NAMESPACE_EXPORT', THIS_IS_UNDEFINED = 'THIS_IS_UNDEFINED', UNEXPECTED_NAMED_IMPORT = 'UNEXPECTED_NAMED_IMPORT', UNKNOWN_OPTION = 'UNKNOWN_OPTION', UNRESOLVED_ENTRY = 'UNRESOLVED_ENTRY', UNRESOLVED_IMPORT = 'UNRESOLVED_IMPORT', UNUSED_EXTERNAL_IMPORT = 'UNUSED_EXTERNAL_IMPORT', VALIDATION_ERROR = 'VALIDATION_ERROR';
336
338
  function logAddonNotGenerated(message, hook, plugin) {
337
339
  return {
338
340
  code: ADDON_ERROR,
@@ -829,6 +831,13 @@ function logNamespaceConflict(binding, reexportingModuleId, sources) {
829
831
  reexporter: reexportingModuleId
830
832
  };
831
833
  }
834
+ function logNonExternalSourcePhaseImport(source, importer) {
835
+ return {
836
+ code: NON_EXTERNAL_SOURCE_PHASE_IMPORT,
837
+ message: `Source phase import "${source}" in "${relativeId(importer)}" must be external. Source phase imports are only supported for external modules. Use the "external" option to mark this module as external.`,
838
+ url: getRollupUrl(URL_SOURCE_PHASE_IMPORTS)
839
+ };
840
+ }
832
841
  function logNoTransformMapOrAstWithoutCode(pluginName) {
833
842
  return {
834
843
  code: NO_TRANSFORM_MAP_OR_AST_WITHOUT_CODE,
@@ -906,6 +915,13 @@ function logShimmedExport(id, binding) {
906
915
  message: `Missing export "${binding}" has been shimmed in module "${relativeId(id)}".`
907
916
  };
908
917
  }
918
+ function logSourcePhaseFormatUnsupported(outputFormat, chunkId, dependencyId) {
919
+ return {
920
+ code: SOURCE_PHASE_FORMAT_UNSUPPORTED,
921
+ message: `Source phase imports are not supported for the "${outputFormat}" output format, importing "${dependencyId}" in "${chunkId}". Use the "es" output format to support source phase imports.`,
922
+ url: getRollupUrl(URL_SOURCE_PHASE_IMPORTS)
923
+ };
924
+ }
909
925
  function logSourcemapBroken(plugin) {
910
926
  return {
911
927
  code: SOURCEMAP_BROKEN,
@@ -1143,7 +1159,9 @@ const FIXED_STRINGS = [
1143
1159
  'noSideEffects',
1144
1160
  'sourcemap',
1145
1161
  'using',
1146
- 'await using'
1162
+ 'await using',
1163
+ 'source',
1164
+ 'defer'
1147
1165
  ];
1148
1166
 
1149
1167
  const ANNOTATION_KEY = '_rollupAnnotations';
@@ -1559,13 +1577,15 @@ const nodeConverters = [
1559
1577
  };
1560
1578
  },
1561
1579
  function importDeclaration(position, buffer) {
1580
+ const phaseIndex = buffer[position + 5];
1562
1581
  return {
1563
1582
  type: 'ImportDeclaration',
1564
1583
  start: buffer[position],
1565
1584
  end: buffer[position + 1],
1566
1585
  specifiers: convertNodeList(buffer[position + 2], buffer),
1567
1586
  source: convertNode(buffer[position + 3], buffer),
1568
- attributes: convertNodeList(buffer[position + 4], buffer)
1587
+ attributes: convertNodeList(buffer[position + 4], buffer),
1588
+ ...(phaseIndex === 0 ? {} : { phase: FIXED_STRINGS[phaseIndex] })
1569
1589
  };
1570
1590
  },
1571
1591
  function importDefaultSpecifier(position, buffer) {
@@ -1578,12 +1598,14 @@ const nodeConverters = [
1578
1598
  },
1579
1599
  function importExpression(position, buffer) {
1580
1600
  const optionsPosition = buffer[position + 3];
1601
+ const phaseIndex = buffer[position + 4];
1581
1602
  return {
1582
1603
  type: 'ImportExpression',
1583
1604
  start: buffer[position],
1584
1605
  end: buffer[position + 1],
1585
1606
  source: convertNode(buffer[position + 2], buffer),
1586
- options: optionsPosition === 0 ? null : convertNode(optionsPosition, buffer)
1607
+ options: optionsPosition === 0 ? null : convertNode(optionsPosition, buffer),
1608
+ ...(phaseIndex === 0 ? {} : { phase: FIXED_STRINGS[phaseIndex] })
1587
1609
  };
1588
1610
  },
1589
1611
  function importNamespaceSpecifier(position, buffer) {
@@ -2309,6 +2331,7 @@ exports.logModuleParseError = logModuleParseError;
2309
2331
  exports.logNamespaceConflict = logNamespaceConflict;
2310
2332
  exports.logNoAssetSourceSet = logNoAssetSourceSet;
2311
2333
  exports.logNoTransformMapOrAstWithoutCode = logNoTransformMapOrAstWithoutCode;
2334
+ exports.logNonExternalSourcePhaseImport = logNonExternalSourcePhaseImport;
2312
2335
  exports.logOnlyInlineSourcemapsForStdout = logOnlyInlineSourcemapsForStdout;
2313
2336
  exports.logOptimizeChunkStatus = logOptimizeChunkStatus;
2314
2337
  exports.logParseError = logParseError;
@@ -2316,6 +2339,7 @@ exports.logPluginError = logPluginError;
2316
2339
  exports.logRedeclarationError = logRedeclarationError;
2317
2340
  exports.logReservedNamespace = logReservedNamespace;
2318
2341
  exports.logShimmedExport = logShimmedExport;
2342
+ exports.logSourcePhaseFormatUnsupported = logSourcePhaseFormatUnsupported;
2319
2343
  exports.logSourcemapBroken = logSourcemapBroken;
2320
2344
  exports.logSyntheticNamedExportsNeedNamespaceExport = logSyntheticNamedExportsNeedNamespaceExport;
2321
2345
  exports.logThisIsUndefined = logThisIsUndefined;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.59.0
4
- Sun, 22 Feb 2026 07:31:53 GMT - commit ae846957f109690a866cc3e4c073613c338d3476
3
+ Rollup.js v4.60.0
4
+ Sun, 22 Mar 2026 06:57:22 GMT - commit 6ecd69fb2ce736c8aabb50829edd227d1792c957
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.59.0";
45
+ var version = "4.60.0";
46
46
 
47
47
  function ensureArray$1(items) {
48
48
  if (Array.isArray(items)) {
@@ -6255,12 +6255,15 @@ class Variable extends ExpressionEntity {
6255
6255
  }
6256
6256
  }
6257
6257
 
6258
+ /** Synthetic import name for source phase imports, similar to '*' for namespaces */
6259
+ const SOURCE_PHASE_IMPORT = '*source';
6258
6260
  class ExternalVariable extends Variable {
6259
6261
  constructor(module, name) {
6260
6262
  super(name);
6261
6263
  this.referenced = false;
6262
6264
  this.module = module;
6263
6265
  this.isNamespace = name === '*';
6266
+ this.isSourcePhase = name === SOURCE_PHASE_IMPORT;
6264
6267
  }
6265
6268
  addReference(identifier) {
6266
6269
  this.referenced = true;
@@ -12209,6 +12212,13 @@ function getInteropBlock(dependencies, interop, externalLiveBindings, freeze, sy
12209
12212
  return `${getHelpersBlock(neededInteropHelpers, accessedGlobals, indent, snippets, externalLiveBindings, freeze, symbols)}${interopStatements.length > 0 ? `${interopStatements.join(n)}${n}${n}` : ''}`;
12210
12213
  }
12211
12214
 
12215
+ function throwOnPhase(outputFormat, chunkId, dependencies) {
12216
+ const sourcePhaseDependency = dependencies.find(dependency => dependency.sourcePhaseImport);
12217
+ if (sourcePhaseDependency) {
12218
+ parseAst_js.error(parseAst_js.logSourcePhaseFormatUnsupported(outputFormat, chunkId, sourcePhaseDependency.importPath));
12219
+ }
12220
+ }
12221
+
12212
12222
  function addJsExtension(name) {
12213
12223
  return name.endsWith('.js') ? name : name + '.js';
12214
12224
  }
@@ -12347,6 +12357,7 @@ function warnOnBuiltins(log, dependencies) {
12347
12357
 
12348
12358
  function amd(magicString, { accessedGlobals, dependencies, exports: exports$1, hasDefaultExport, hasExports, id, indent: t, intro, isEntryFacade, isModuleFacade, namedExportsMode, log, outro, snippets }, { amd, esModule, externalLiveBindings, freeze, generatedCode: { symbols }, interop, reexportProtoFromExternal, strict }) {
12349
12359
  warnOnBuiltins(log, dependencies);
12360
+ throwOnPhase('amd', id, dependencies);
12350
12361
  const deps = dependencies.map(m => `'${updateExtensionForRelativeAmdId(m.importPath, amd.forceJsExtensionForImports)}'`);
12351
12362
  const parameters = dependencies.map(m => m.name);
12352
12363
  const { n, getNonArrowFunctionIntro, _ } = snippets;
@@ -12384,7 +12395,8 @@ function amd(magicString, { accessedGlobals, dependencies, exports: exports$1, h
12384
12395
  .append(`${n}${n}}));`);
12385
12396
  }
12386
12397
 
12387
- function cjs(magicString, { accessedGlobals, dependencies, exports: exports$1, hasDefaultExport, hasExports, indent: t, intro, isEntryFacade, isModuleFacade, namedExportsMode, outro, snippets }, { compact, esModule, externalLiveBindings, freeze, interop, generatedCode: { symbols }, reexportProtoFromExternal, strict }) {
12398
+ function cjs(magicString, { accessedGlobals, dependencies, exports: exports$1, hasDefaultExport, hasExports, id, indent: t, intro, isEntryFacade, isModuleFacade, namedExportsMode, outro, snippets }, { compact, esModule, externalLiveBindings, freeze, interop, generatedCode: { symbols }, reexportProtoFromExternal, strict }) {
12399
+ throwOnPhase('cjs', id, dependencies);
12388
12400
  const { _, n } = snippets;
12389
12401
  const useStrict = strict ? `'use strict';${n}${n}` : '';
12390
12402
  let namespaceMarkers = getNamespaceMarkers(namedExportsMode && hasExports, isEntryFacade && (esModule === true || (esModule === 'if-default-prop' && hasDefaultExport)), isModuleFacade && symbols, snippets);
@@ -12437,11 +12449,16 @@ function es(magicString, { accessedGlobals, indent: t, intro, outro, dependencie
12437
12449
  }
12438
12450
  function getImportBlock(dependencies, importAttributesKey, { _ }) {
12439
12451
  const importBlock = [];
12440
- for (const { importPath, reexports, imports, name, attributes } of dependencies) {
12452
+ for (const { importPath, reexports, imports, name, attributes, sourcePhaseImport } of dependencies) {
12441
12453
  const assertion = attributes ? `${_}${importAttributesKey}${_}${attributes}` : '';
12442
12454
  const pathWithAssertion = `'${importPath}'${assertion};`;
12455
+ if (sourcePhaseImport) {
12456
+ importBlock.push(`import source ${sourcePhaseImport} from${_}${pathWithAssertion}`);
12457
+ }
12443
12458
  if (!reexports && !imports) {
12444
- importBlock.push(`import${_}${pathWithAssertion}`);
12459
+ if (!sourcePhaseImport) {
12460
+ importBlock.push(`import${_}${pathWithAssertion}`);
12461
+ }
12445
12462
  continue;
12446
12463
  }
12447
12464
  if (imports) {
@@ -12595,7 +12612,8 @@ function trimEmptyImports(dependencies) {
12595
12612
  return [];
12596
12613
  }
12597
12614
 
12598
- function iife(magicString, { accessedGlobals, dependencies, exports: exports$1, hasDefaultExport, hasExports, indent: t, intro, namedExportsMode, log, outro, snippets }, { compact, esModule, extend, freeze, externalLiveBindings, reexportProtoFromExternal, globals, interop, name, generatedCode: { symbols }, strict }) {
12615
+ function iife(magicString, { accessedGlobals, dependencies, exports: exports$1, hasDefaultExport, hasExports, id, indent: t, intro, namedExportsMode, log, outro, snippets }, { compact, esModule, extend, freeze, externalLiveBindings, reexportProtoFromExternal, globals, interop, name, generatedCode: { symbols }, strict }) {
12616
+ throwOnPhase('iife', id, dependencies);
12599
12617
  const { _, getNonArrowFunctionIntro, getPropertyAccess, n } = snippets;
12600
12618
  const isNamespaced = name && name.includes('.');
12601
12619
  const useVariableAssignment = !extend && !isNamespaced;
@@ -12654,7 +12672,8 @@ function iife(magicString, { accessedGlobals, dependencies, exports: exports$1,
12654
12672
 
12655
12673
  const MISSING_EXPORT_SHIM_VARIABLE = '_missingExportShim';
12656
12674
 
12657
- function system(magicString, { accessedGlobals, dependencies, exports: exports$1, hasExports, indent: t, intro, snippets, outro, usesTopLevelAwait }, { externalLiveBindings, freeze, name, generatedCode: { symbols }, strict, systemNullSetters }) {
12675
+ function system(magicString, { accessedGlobals, dependencies, exports: exports$1, hasExports, id, indent: t, intro, snippets, outro, usesTopLevelAwait }, { externalLiveBindings, freeze, name, generatedCode: { symbols }, strict, systemNullSetters }) {
12676
+ throwOnPhase('system', id, dependencies);
12658
12677
  const { _, getFunctionIntro, getNonArrowFunctionIntro, n, s } = snippets;
12659
12678
  const { importBindings, setters, starExcludes } = analyzeDependencies(dependencies, exports$1, t, snippets);
12660
12679
  const registeredName = name ? `'${name}',${_}` : '';
@@ -12822,6 +12841,7 @@ function umd(magicString, { accessedGlobals, dependencies, exports: exports$1, h
12822
12841
  if (hasExports && !name) {
12823
12842
  return parseAst_js.error(parseAst_js.logMissingNameOptionForUmdExport());
12824
12843
  }
12844
+ throwOnPhase('umd', id, dependencies);
12825
12845
  warnOnBuiltins(log, dependencies);
12826
12846
  const amdDeps = dependencies.map(m => `'${updateExtensionForRelativeAmdId(m.importPath, amd.forceJsExtensionForImports)}'`);
12827
12847
  const cjsDeps = dependencies.map(m => `require('${m.importPath}')`);
@@ -17730,6 +17750,8 @@ const bufferParsers = [
17730
17750
  node.specifiers = convertNodeList(node, scope, buffer[position], buffer);
17731
17751
  node.source = convertNode(node, scope, buffer[position + 1], buffer);
17732
17752
  node.attributes = convertNodeList(node, scope, buffer[position + 2], buffer);
17753
+ const phaseIndex = buffer[position + 3];
17754
+ node.phase = phaseIndex === 0 ? undefined : parseAst_js.FIXED_STRINGS[phaseIndex];
17733
17755
  },
17734
17756
  function importDefaultSpecifier(node, position, buffer) {
17735
17757
  const { scope } = node;
@@ -17741,6 +17763,8 @@ const bufferParsers = [
17741
17763
  node.sourceAstNode = parseAst_js.convertNode(buffer[position], buffer);
17742
17764
  const optionsPosition = buffer[position + 1];
17743
17765
  node.options = optionsPosition === 0 ? null : convertNode(node, scope, optionsPosition, buffer);
17766
+ const phaseIndex = buffer[position + 2];
17767
+ node.phase = phaseIndex === 0 ? undefined : parseAst_js.FIXED_STRINGS[phaseIndex];
17744
17768
  },
17745
17769
  function importNamespaceSpecifier(node, position, buffer) {
17746
17770
  const { scope } = node;
@@ -18519,6 +18543,7 @@ class Module {
18519
18543
  this.isUserDefinedEntryPoint = false;
18520
18544
  this.needsExportShim = false;
18521
18545
  this.sideEffectDependenciesByVariable = new Map();
18546
+ this.sourcePhaseSources = new Set();
18522
18547
  this.sourcesWithAttributes = new Map();
18523
18548
  this.allExportsIncluded = false;
18524
18549
  this.ast = null;
@@ -19169,16 +19194,19 @@ class Module {
19169
19194
  if (this.scope.variables.has(localName) || this.importDescriptions.has(localName)) {
19170
19195
  this.error(parseAst_js.logRedeclarationError(localName), specifier.local.start);
19171
19196
  }
19172
- const name = specifier instanceof ImportDefaultSpecifier
19173
- ? 'default'
19174
- : specifier instanceof ImportNamespaceSpecifier
19175
- ? '*'
19176
- : specifier.imported instanceof Identifier
19177
- ? specifier.imported.name
19178
- : specifier.imported.value;
19197
+ const name = node.phase === 'source'
19198
+ ? SOURCE_PHASE_IMPORT
19199
+ : specifier instanceof ImportDefaultSpecifier
19200
+ ? 'default'
19201
+ : specifier instanceof ImportNamespaceSpecifier
19202
+ ? '*'
19203
+ : specifier.imported instanceof Identifier
19204
+ ? specifier.imported.name
19205
+ : specifier.imported.value;
19179
19206
  this.importDescriptions.set(localName, {
19180
19207
  module: null, // filled in later
19181
19208
  name,
19209
+ phase: node.phase === 'source' ? 'source' : 'instance',
19182
19210
  source,
19183
19211
  start: specifier.start
19184
19212
  });
@@ -19251,6 +19279,9 @@ class Module {
19251
19279
  else {
19252
19280
  this.sourcesWithAttributes.set(source, parsedAttributes);
19253
19281
  }
19282
+ if (declaration.phase === 'source') {
19283
+ this.sourcePhaseSources.add(source);
19284
+ }
19254
19285
  }
19255
19286
  getImportedJsxFactoryVariable(baseName, nodeStart, importSource) {
19256
19287
  const { id } = this.resolvedIds[importSource];
@@ -19464,6 +19495,9 @@ function deconflictImportsEsmOrSystem(usedNames, imports, dependenciesToBeDeconf
19464
19495
  ? externalChunkByModule.get(module)
19465
19496
  : chunkByModule.get(module)).variableName);
19466
19497
  }
19498
+ else if (module instanceof ExternalModule && variable.isSourcePhase) {
19499
+ variable.setRenderNames(null, getSafeName(module.suggestedVariableName + '__source', usedNames, variable.forbiddenNames));
19500
+ }
19467
19501
  else if (module instanceof ExternalModule && name === 'default') {
19468
19502
  variable.setRenderNames(null, getSafeName([...module.exportedVariables].some(([exportedVariable, exportedName]) => exportedName === '*' && exportedVariable.included)
19469
19503
  ? module.suggestedVariableName + '__default'
@@ -20401,10 +20435,14 @@ class Chunk {
20401
20435
  const module = variable.module;
20402
20436
  let dependency;
20403
20437
  let imported;
20438
+ const isSourcePhase = module instanceof ExternalModule && variable.isSourcePhase;
20404
20439
  if (module instanceof ExternalModule) {
20405
20440
  dependency = this.externalChunkByModule.get(module);
20406
20441
  imported = variable.name;
20407
- if (imported !== 'default' && imported !== '*' && interop(module.id) === 'defaultOnly') {
20442
+ if (!isSourcePhase &&
20443
+ imported !== 'default' &&
20444
+ imported !== '*' &&
20445
+ interop(module.id) === 'defaultOnly') {
20408
20446
  return parseAst_js.error(parseAst_js.logUnexpectedNamedImport(module.id, imported, false));
20409
20447
  }
20410
20448
  }
@@ -20414,7 +20452,8 @@ class Chunk {
20414
20452
  }
20415
20453
  getOrCreate(importsByDependency, dependency, getNewArray).push({
20416
20454
  imported,
20417
- local: variable.getName(this.snippets.getPropertyAccess)
20455
+ local: variable.getName(this.snippets.getPropertyAccess),
20456
+ phase: isSourcePhase ? 'source' : 'instance'
20418
20457
  });
20419
20458
  }
20420
20459
  return importsByDependency;
@@ -20565,6 +20604,9 @@ class Chunk {
20565
20604
  const reexports = reexportSpecifiers.get(dependency) || null;
20566
20605
  const namedExportsMode = dependency instanceof ExternalChunk || dependency.exportMode !== 'default';
20567
20606
  const importPath = dependency.getImportPath(fileName);
20607
+ // Separate source-phase imports from regular imports
20608
+ const sourcePhaseImport = imports?.find(index => index.phase === 'source');
20609
+ const instanceImports = imports?.filter(index => index.phase !== 'source') ?? null;
20568
20610
  renderedDependencies.set(dependency, {
20569
20611
  attributes: dependency instanceof ExternalChunk
20570
20612
  ? dependency.getImportAttributes(this.snippets)
@@ -20574,12 +20616,13 @@ class Chunk {
20574
20616
  (this.outputOptions.format === 'umd' || this.outputOptions.format === 'iife') &&
20575
20617
  getGlobalName(dependency, this.outputOptions.globals, (imports || reexports) !== null, this.inputOptions.onLog),
20576
20618
  importPath,
20577
- imports,
20619
+ imports: instanceImports && instanceImports.length > 0 ? instanceImports : null,
20578
20620
  isChunk: dependency instanceof Chunk,
20579
20621
  name: dependency.variableName,
20580
20622
  namedExportsMode,
20581
20623
  namespaceVariableName: dependency.namespaceVariableName,
20582
- reexports
20624
+ reexports,
20625
+ sourcePhaseImport: sourcePhaseImport?.local
20583
20626
  });
20584
20627
  }
20585
20628
  return (this.renderedDependencies = renderedDependencies);
@@ -21088,7 +21131,11 @@ function getDynamicallyDependentEntriesByDynamicEntry(dependentEntriesByModule,
21088
21131
  getDynamicImporters(dynamicEntry),
21089
21132
  dynamicEntry.implicitlyLoadedAfter
21090
21133
  ])) {
21091
- for (const entry of dependentEntriesByModule.get(importer)) {
21134
+ const importerEntries = dependentEntriesByModule.get(importer);
21135
+ if (!importerEntries) {
21136
+ continue;
21137
+ }
21138
+ for (const entry of importerEntries) {
21092
21139
  dynamicallyDependentEntries.add(entry);
21093
21140
  }
21094
21141
  }
@@ -22744,13 +22791,16 @@ class ModuleLoader {
22744
22791
  return loadNewModulesPromise;
22745
22792
  }
22746
22793
  async fetchDynamicDependencies(module, resolveDynamicImportPromises) {
22747
- const dependencies = await Promise.all(resolveDynamicImportPromises.map(resolveDynamicImportPromise => resolveDynamicImportPromise.then(async ([{ node }, resolvedId]) => {
22794
+ const dependencies = await Promise.all(resolveDynamicImportPromises.map(resolveDynamicImportPromise => resolveDynamicImportPromise.then(async ([{ argument, node }, resolvedId]) => {
22748
22795
  if (resolvedId === null)
22749
22796
  return null;
22750
22797
  if (typeof resolvedId === 'string') {
22751
22798
  node.resolution = resolvedId;
22752
22799
  return null;
22753
22800
  }
22801
+ if (node.phase === 'source' && !resolvedId.external) {
22802
+ return parseAst_js.error(parseAst_js.logNonExternalSourcePhaseImport(typeof argument === 'string' ? argument : parseAst_js.relativeId(resolvedId.id), module.id));
22803
+ }
22754
22804
  return (node.resolution = await this.fetchResolvedDependency(parseAst_js.relativeId(resolvedId.id), module.id, resolvedId));
22755
22805
  })));
22756
22806
  for (const dependency of dependencies) {
@@ -22830,7 +22880,12 @@ class ModuleLoader {
22830
22880
  return this.fetchModule(resolvedId, importer, false, false);
22831
22881
  }
22832
22882
  async fetchStaticDependencies(module, resolveStaticDependencyPromises) {
22833
- for (const dependency of await Promise.all(resolveStaticDependencyPromises.map(resolveStaticDependencyPromise => resolveStaticDependencyPromise.then(([source, resolvedId]) => this.fetchResolvedDependency(source, module.id, resolvedId))))) {
22883
+ for (const dependency of await Promise.all(resolveStaticDependencyPromises.map(resolveStaticDependencyPromise => resolveStaticDependencyPromise.then(([source, resolvedId]) => {
22884
+ if (module.sourcePhaseSources.has(source) && !resolvedId.external) {
22885
+ return parseAst_js.error(parseAst_js.logNonExternalSourcePhaseImport(source, module.id));
22886
+ }
22887
+ return this.fetchResolvedDependency(source, module.id, resolvedId);
22888
+ })))) {
22834
22889
  module.dependencies.add(dependency);
22835
22890
  dependency.importers.push(module.id);
22836
22891
  }
@@ -23242,7 +23297,7 @@ class Graph {
23242
23297
  warnForMissingExports() {
23243
23298
  for (const module of this.modules) {
23244
23299
  for (const importDescription of module.importDescriptions.values()) {
23245
- if (importDescription.name !== '*') {
23300
+ if (importDescription.name !== '*' && importDescription.phase !== 'source') {
23246
23301
  const [variable, options] = importDescription.module.getVariableForExportName(importDescription.name, { importChain: [module.id] });
23247
23302
  if (!variable) {
23248
23303
  module.log(parseAst_js.LOGLEVEL_WARN, parseAst_js.logMissingExport(importDescription.name, module.id, importDescription.module.id, !!options?.missingButExportExists), importDescription.start);
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.59.0
4
- Sun, 22 Feb 2026 07:31:53 GMT - commit ae846957f109690a866cc3e4c073613c338d3476
3
+ Rollup.js v4.60.0
4
+ Sun, 22 Mar 2026 06:57:22 GMT - commit 6ecd69fb2ce736c8aabb50829edd227d1792c957
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.59.0
4
- Sun, 22 Feb 2026 07:31:53 GMT - commit ae846957f109690a866cc3e4c073613c338d3476
3
+ Rollup.js v4.60.0
4
+ Sun, 22 Mar 2026 06:57:22 GMT - commit 6ecd69fb2ce736c8aabb50829edd227d1792c957
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.59.0",
3
+ "version": "4.60.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.59.0",
118
- "@rollup/rollup-android-arm64": "4.59.0",
119
- "@rollup/rollup-win32-arm64-msvc": "4.59.0",
120
- "@rollup/rollup-freebsd-arm64": "4.59.0",
121
- "@rollup/rollup-linux-arm64-gnu": "4.59.0",
122
- "@rollup/rollup-linux-arm64-musl": "4.59.0",
123
- "@rollup/rollup-android-arm-eabi": "4.59.0",
124
- "@rollup/rollup-linux-arm-gnueabihf": "4.59.0",
125
- "@rollup/rollup-linux-arm-musleabihf": "4.59.0",
126
- "@rollup/rollup-win32-ia32-msvc": "4.59.0",
127
- "@rollup/rollup-linux-loong64-gnu": "4.59.0",
128
- "@rollup/rollup-linux-loong64-musl": "4.59.0",
129
- "@rollup/rollup-linux-riscv64-gnu": "4.59.0",
130
- "@rollup/rollup-linux-riscv64-musl": "4.59.0",
131
- "@rollup/rollup-linux-ppc64-gnu": "4.59.0",
132
- "@rollup/rollup-linux-ppc64-musl": "4.59.0",
133
- "@rollup/rollup-linux-s390x-gnu": "4.59.0",
134
- "@rollup/rollup-darwin-x64": "4.59.0",
135
- "@rollup/rollup-win32-x64-gnu": "4.59.0",
136
- "@rollup/rollup-win32-x64-msvc": "4.59.0",
137
- "@rollup/rollup-freebsd-x64": "4.59.0",
138
- "@rollup/rollup-linux-x64-gnu": "4.59.0",
139
- "@rollup/rollup-linux-x64-musl": "4.59.0",
140
- "@rollup/rollup-openbsd-x64": "4.59.0",
141
- "@rollup/rollup-openharmony-arm64": "4.59.0"
117
+ "@rollup/rollup-darwin-arm64": "4.60.0",
118
+ "@rollup/rollup-android-arm64": "4.60.0",
119
+ "@rollup/rollup-win32-arm64-msvc": "4.60.0",
120
+ "@rollup/rollup-freebsd-arm64": "4.60.0",
121
+ "@rollup/rollup-linux-arm64-gnu": "4.60.0",
122
+ "@rollup/rollup-linux-arm64-musl": "4.60.0",
123
+ "@rollup/rollup-android-arm-eabi": "4.60.0",
124
+ "@rollup/rollup-linux-arm-gnueabihf": "4.60.0",
125
+ "@rollup/rollup-linux-arm-musleabihf": "4.60.0",
126
+ "@rollup/rollup-win32-ia32-msvc": "4.60.0",
127
+ "@rollup/rollup-linux-loong64-gnu": "4.60.0",
128
+ "@rollup/rollup-linux-loong64-musl": "4.60.0",
129
+ "@rollup/rollup-linux-riscv64-gnu": "4.60.0",
130
+ "@rollup/rollup-linux-riscv64-musl": "4.60.0",
131
+ "@rollup/rollup-linux-ppc64-gnu": "4.60.0",
132
+ "@rollup/rollup-linux-ppc64-musl": "4.60.0",
133
+ "@rollup/rollup-linux-s390x-gnu": "4.60.0",
134
+ "@rollup/rollup-darwin-x64": "4.60.0",
135
+ "@rollup/rollup-win32-x64-gnu": "4.60.0",
136
+ "@rollup/rollup-win32-x64-msvc": "4.60.0",
137
+ "@rollup/rollup-freebsd-x64": "4.60.0",
138
+ "@rollup/rollup-linux-x64-gnu": "4.60.0",
139
+ "@rollup/rollup-linux-x64-musl": "4.60.0",
140
+ "@rollup/rollup-openbsd-x64": "4.60.0",
141
+ "@rollup/rollup-openharmony-arm64": "4.60.0"
142
142
  },
143
143
  "dependencies": {
144
144
  "@types/estree": "1.0.8"
@@ -147,12 +147,12 @@
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.2",
151
- "@codemirror/lang-javascript": "^6.2.4",
152
- "@codemirror/language": "^6.12.1",
150
+ "@codemirror/commands": "^6.10.3",
151
+ "@codemirror/lang-javascript": "^6.2.5",
152
+ "@codemirror/language": "^6.12.2",
153
153
  "@codemirror/search": "^6.6.0",
154
- "@codemirror/state": "^6.5.4",
155
- "@codemirror/view": "^6.39.14",
154
+ "@codemirror/state": "^6.6.0",
155
+ "@codemirror/view": "^6.40.0",
156
156
  "@eslint/js": "^10.0.1",
157
157
  "@inquirer/prompts": "^7.10.1",
158
158
  "@jridgewell/sourcemap-codec": "^1.5.5",
@@ -160,22 +160,23 @@
160
160
  "@napi-rs/cli": "3.4.1",
161
161
  "@rollup/plugin-alias": "^6.0.0",
162
162
  "@rollup/plugin-buble": "^1.0.3",
163
- "@rollup/plugin-commonjs": "^29.0.0",
163
+ "@rollup/plugin-commonjs": "^29.0.2",
164
164
  "@rollup/plugin-json": "^6.1.0",
165
165
  "@rollup/plugin-node-resolve": "^16.0.3",
166
166
  "@rollup/plugin-replace": "^6.0.3",
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.22.0",
170
+ "@shikijs/vitepress-twoslash": "^4.0.2",
171
171
  "@types/mocha": "^10.0.10",
172
- "@types/node": "^20.19.33",
172
+ "@types/node": "^20.19.37",
173
173
  "@types/picomatch": "^4.0.2",
174
174
  "@types/semver": "^7.7.1",
175
175
  "@types/yargs-parser": "^21.0.3",
176
- "@vue/language-server": "^3.2.4",
177
- "acorn": "^8.15.0",
176
+ "@vue/language-server": "^3.2.5",
177
+ "acorn": "^8.16.0",
178
178
  "acorn-import-assertions": "^1.9.0",
179
+ "acorn-import-phases": "^1.0.4",
179
180
  "acorn-jsx": "^5.3.2",
180
181
  "buble": "^0.20.0",
181
182
  "builtin-modules": "^5.0.0",
@@ -186,26 +187,26 @@
186
187
  "date-time": "^4.0.0",
187
188
  "es5-shim": "^4.6.7",
188
189
  "es6-shim": "^0.35.8",
189
- "eslint": "^10.0.0",
190
+ "eslint": "^10.1.0",
190
191
  "eslint-config-prettier": "^10.1.8",
191
192
  "eslint-plugin-prettier": "^5.5.5",
192
193
  "eslint-plugin-unicorn": "^63.0.0",
193
194
  "eslint-plugin-vue": "^10.8.0",
194
195
  "fixturify": "^3.0.0",
195
196
  "flru": "^1.0.2",
196
- "fs-extra": "^11.3.3",
197
+ "fs-extra": "^11.3.4",
197
198
  "github-api": "^3.4.0",
198
- "globals": "^17.3.0",
199
+ "globals": "^17.4.0",
199
200
  "husky": "^9.1.7",
200
201
  "is-reference": "^3.0.3",
201
- "lint-staged": "^16.2.7",
202
+ "lint-staged": "^16.4.0",
202
203
  "locate-character": "^3.0.0",
203
204
  "magic-string": "^0.30.21",
204
- "memfs": "^4.56.10",
205
- "mocha": "11.3.0",
206
- "nodemon": "^3.1.11",
205
+ "memfs": "^4.56.11",
206
+ "mocha": "11.7.5",
207
+ "nodemon": "^3.1.14",
207
208
  "npm-audit-resolver": "^3.0.0-RC.0",
208
- "nyc": "^17.1.0",
209
+ "nyc": "^18.0.0",
209
210
  "patch-package": "^8.0.1",
210
211
  "picocolors": "^1.1.1",
211
212
  "picomatch": "^4.0.3",
@@ -215,7 +216,7 @@
215
216
  "pretty-bytes": "^7.1.0",
216
217
  "pretty-ms": "^9.3.0",
217
218
  "requirejs": "^2.3.8",
218
- "rollup": "^4.57.1",
219
+ "rollup": "^4.59.0",
219
220
  "rollup-plugin-license": "^3.7.0",
220
221
  "semver": "^7.7.4",
221
222
  "shx": "^0.4.0",
@@ -223,24 +224,24 @@
223
224
  "source-map": "^0.7.6",
224
225
  "source-map-support": "^0.5.21",
225
226
  "systemjs": "^6.15.1",
226
- "terser": "^5.46.0",
227
+ "terser": "^5.46.1",
227
228
  "tslib": "^2.8.1",
228
229
  "typescript": "^5.9.3",
229
- "typescript-eslint": "^8.56.0",
230
+ "typescript-eslint": "^8.57.1",
230
231
  "vite": "^7.3.1",
231
232
  "vitepress": "^1.6.4",
232
- "vue": "^3.5.28",
233
+ "vue": "^3.5.30",
233
234
  "vue-eslint-parser": "^10.4.0",
234
- "vue-tsc": "^3.2.4",
235
+ "vue-tsc": "^3.2.5",
235
236
  "wasm-pack": "^0.14.0",
236
237
  "yargs-parser": "^21.1.1"
237
238
  },
238
239
  "overrides": {
239
- "axios": "^1.13.5",
240
+ "axios": "^1.13.6",
240
241
  "esbuild": ">0.24.2",
241
242
  "lodash-es": ">4.17.22",
242
243
  "path-scurry": {
243
- "lru-cache": "^11.2.6"
244
+ "lru-cache": "^11.2.7"
244
245
  },
245
246
  "readable-stream": "npm:@built-in/readable-stream@1",
246
247
  "semver": "^7.7.4",