Refactor filename naming system and apply convention-based renames

Standardize settings file naming and relocate documentation files
Fix code quality violations from rsx:check
Reorganize user_management directory into logical subdirectories
Move Quill Bundle to core and align with Tom Select pattern
Simplify Site Settings page to focus on core site information
Complete Phase 5: Multi-tenant authentication with login flow and site selection
Add route query parameter rule and synchronize filename validation logic
Fix critical bug in UpdateNpmCommand causing missing JavaScript stubs
Implement filename convention rule and resolve VS Code auto-rename conflict
Implement js-sanitizer RPC server to eliminate 900+ Node.js process spawns
Implement RPC server architecture for JavaScript parsing
WIP: Add RPC server infrastructure for JS parsing (partial implementation)
Update jqhtml terminology from destroy to stop, fix datagrid DOM preservation
Add JQHTML-CLASS-01 rule and fix redundant class names
Improve code quality rules and resolve violations
Remove legacy fatal error format in favor of unified 'fatal' error type
Filter internal keys from window.rsxapp output
Update button styling and comprehensive form/modal documentation
Add conditional fly-in animation for modals
Fix non-deterministic bundle compilation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-13 19:10:02 +00:00
parent fc494c1e08
commit 77b4d10af8
28155 changed files with 2191860 additions and 12967 deletions

2
node_modules/rollup/LICENSE.md generated vendored
View File

@@ -395,7 +395,7 @@ Repository: git+https://gitlab.com/Rich-Harris/locate-character.git
## magic-string
License: MIT
By: Rich Harris
Repository: https://github.com/rich-harris/magic-string.git
Repository: git+https://github.com/Rich-Harris/magic-string.git
> Copyright 2018 Rich Harris
>

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env node
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup

4
node_modules/rollup/dist/es/getLogFilter.js generated vendored Executable file → Normal file
View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup

4
node_modules/rollup/dist/es/parseAst.js generated vendored Executable file → Normal file
View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup

211
node_modules/rollup/dist/es/shared/node-entry.js generated vendored Executable file → Normal file
View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup
@@ -27,7 +27,7 @@ function _mergeNamespaces(n, m) {
return Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' });
}
var version = "4.52.5";
var version = "4.53.2";
// src/vlq.ts
var comma = ",".charCodeAt(0);
@@ -2500,6 +2500,7 @@ const RESERVED_NAMES = new Set([
'enum',
'eval',
'export',
'exports',
'extends',
'false',
'finally',
@@ -2612,6 +2613,7 @@ class ExternalModule {
isIncluded: null,
meta,
moduleSideEffects,
safeVariableNames: null,
syntheticNamedExports: false
};
}
@@ -5588,13 +5590,10 @@ class ChildScope extends Scope {
this.parent.addReturnExpression(expression);
}
}
addUsedOutsideNames(usedNames, format, exportNamesByVariable, accessedGlobalsByScope) {
addUsedOutsideNames(usedNames, accessedGlobalsByScope) {
for (const variable of this.accessedOutsideVariables.values()) {
if (variable.included) {
usedNames.add(variable.getBaseVariableName());
if (format === 'system' && exportNamesByVariable.has(variable)) {
usedNames.add('exports');
}
}
}
const accessedGlobals = accessedGlobalsByScope.get(this);
@@ -5609,7 +5608,7 @@ class ChildScope extends Scope {
}
deconflict(format, exportNamesByVariable, accessedGlobalsByScope) {
const usedNames = new Set();
this.addUsedOutsideNames(usedNames, format, exportNamesByVariable, accessedGlobalsByScope);
this.addUsedOutsideNames(usedNames, accessedGlobalsByScope);
if (this.accessedDynamicImports) {
for (const importExpression of this.accessedDynamicImports) {
if (importExpression.inlineNamespace) {
@@ -6900,6 +6899,13 @@ function getFunctionIdInsertPosition(code, start) {
return declarationEnd + generatorStarPos + 1;
}
class ExportDefaultDeclaration extends NodeBase {
bind() {
super.bind();
const name = this.declarationName || this.scope.context.getModuleName();
// Check if there's already a variable with the same name in the scope. This
// can cause inconsistencies when using the cache.
this.variable.name = this.scope.variables.get(name) ? `${name}_default` : name;
}
include(context, includeChildrenRecursively) {
this.included = true;
this.declaration.include(context, includeChildrenRecursively);
@@ -6916,7 +6922,7 @@ class ExportDefaultDeclaration extends NodeBase {
const declaration = this.declaration;
this.declarationName =
(declaration.id && declaration.id.name) || this.declaration.name;
this.variable = this.scope.addExportDefaultDeclaration(this.declarationName || this.scope.context.getModuleName(), this, this.scope.context);
this.variable = this.scope.addExportDefaultDeclaration(this, this.scope.context);
this.scope.context.addExport(this);
}
removeAnnotations(code) {
@@ -7845,8 +7851,8 @@ class UndefinedVariable extends Variable {
}
class ExportDefaultVariable extends LocalVariable {
constructor(name, exportDefaultDeclaration, context) {
super(name, exportDefaultDeclaration, exportDefaultDeclaration.declaration, EMPTY_PATH, context, 'other');
constructor(exportDefaultDeclaration, context) {
super('default', exportDefaultDeclaration, exportDefaultDeclaration.declaration, EMPTY_PATH, context, 'other');
this.hasId = false;
this.originalId = null;
this.originalVariable = null;
@@ -8154,10 +8160,10 @@ function getCompleteAmdId(options, chunkId) {
return options.id ?? '';
}
function getExportBlock$1(exports, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal, mechanism = 'return ') {
function getExportBlock$1(exports$1, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal, mechanism = 'return ') {
const { _, getDirectReturnFunction, getFunctionIntro, getPropertyAccess, n, s } = snippets;
if (!namedExportsMode) {
return `${n}${n}${mechanism}${getSingleDefaultExport(exports, dependencies, interop, externalLiveBindings, getPropertyAccess)};`;
return `${n}${n}${mechanism}${getSingleDefaultExport(exports$1, dependencies, interop, externalLiveBindings, getPropertyAccess)};`;
}
let exportBlock = '';
if (namedExportsMode) {
@@ -8194,7 +8200,7 @@ function getExportBlock$1(exports, dependencies, namedExportsMode, interop, snip
}
}
}
for (const { exported, local } of exports) {
for (const { exported, local } of exports$1) {
const lhs = `exports${getPropertyAccess(exported)}`;
const rhs = local;
if (lhs !== rhs) {
@@ -8241,9 +8247,9 @@ function getExportBlock$1(exports, dependencies, namedExportsMode, interop, snip
}
return '';
}
function getSingleDefaultExport(exports, dependencies, interop, externalLiveBindings, getPropertyAccess) {
if (exports.length > 0) {
return exports[0].local;
function getSingleDefaultExport(exports$1, dependencies, interop, externalLiveBindings, getPropertyAccess) {
if (exports$1.length > 0) {
return exports$1[0].local;
}
else {
for (const { defaultVariableName, importPath, isChunk, name, namedExportsMode: depNamedExportsMode, namespaceVariableName, reexports } of dependencies) {
@@ -8504,12 +8510,12 @@ function warnOnBuiltins(log, dependencies) {
log(LOGLEVEL_WARN, logMissingNodeBuiltins(externalBuiltins));
}
function amd(magicString, { accessedGlobals, dependencies, exports, hasDefaultExport, hasExports, id, indent: t, intro, isEntryFacade, isModuleFacade, namedExportsMode, log, outro, snippets }, { amd, esModule, externalLiveBindings, freeze, generatedCode: { symbols }, interop, reexportProtoFromExternal, strict }) {
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 }) {
warnOnBuiltins(log, dependencies);
const deps = dependencies.map(m => `'${updateExtensionForRelativeAmdId(m.importPath, amd.forceJsExtensionForImports)}'`);
const parameters = dependencies.map(m => m.name);
const { n, getNonArrowFunctionIntro, _ } = snippets;
if (hasExports && (namedExportsMode || exports[0]?.local === 'exports.default')) {
if (hasExports && (namedExportsMode || exports$1[0]?.local === 'exports.default')) {
parameters.unshift(`exports`);
deps.unshift(`'exports'`);
}
@@ -8526,7 +8532,7 @@ function amd(magicString, { accessedGlobals, dependencies, exports, hasDefaultEx
(deps.length > 0 ? `[${deps.join(`,${_}`)}],${_}` : ``);
const useStrict = strict ? `${_}'use strict';` : '';
magicString.prepend(`${intro}${getInteropBlock(dependencies, interop, externalLiveBindings, freeze, symbols, accessedGlobals, t, snippets)}`);
const exportBlock = getExportBlock$1(exports, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal);
const exportBlock = getExportBlock$1(exports$1, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal);
let namespaceMarkers = getNamespaceMarkers(namedExportsMode && hasExports, isEntryFacade && (esModule === true || (esModule === 'if-default-prop' && hasDefaultExport)), isModuleFacade && symbols, snippets);
if (namespaceMarkers) {
namespaceMarkers = n + n + namespaceMarkers;
@@ -8543,7 +8549,7 @@ function amd(magicString, { accessedGlobals, dependencies, exports, hasDefaultEx
.append(`${n}${n}}));`);
}
function cjs(magicString, { accessedGlobals, dependencies, exports, hasDefaultExport, hasExports, indent: t, intro, isEntryFacade, isModuleFacade, namedExportsMode, outro, snippets }, { compact, esModule, externalLiveBindings, freeze, interop, generatedCode: { symbols }, reexportProtoFromExternal, strict }) {
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 }) {
const { _, n } = snippets;
const useStrict = strict ? `'use strict';${n}${n}` : '';
let namespaceMarkers = getNamespaceMarkers(namedExportsMode && hasExports, isEntryFacade && (esModule === true || (esModule === 'if-default-prop' && hasDefaultExport)), isModuleFacade && symbols, snippets);
@@ -8553,7 +8559,7 @@ function cjs(magicString, { accessedGlobals, dependencies, exports, hasDefaultEx
const importBlock = getImportBlock$1(dependencies, snippets, compact);
const interopBlock = getInteropBlock(dependencies, interop, externalLiveBindings, freeze, symbols, accessedGlobals, t, snippets);
magicString.prepend(`${useStrict}${intro}${namespaceMarkers}${importBlock}${interopBlock}`);
const exportBlock = getExportBlock$1(exports, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal, `module.exports${_}=${_}`);
const exportBlock = getExportBlock$1(exports$1, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal, `module.exports${_}=${_}`);
magicString.append(`${exportBlock}${outro}`);
}
function getImportBlock$1(dependencies, { _, cnst, n }, compact) {
@@ -8579,7 +8585,7 @@ function getImportBlock$1(dependencies, { _, cnst, n }, compact) {
return '';
}
function es(magicString, { accessedGlobals, indent: t, intro, outro, dependencies, exports, snippets }, { externalLiveBindings, freeze, generatedCode: { symbols }, importAttributesKey }) {
function es(magicString, { accessedGlobals, indent: t, intro, outro, dependencies, exports: exports$1, snippets }, { externalLiveBindings, freeze, generatedCode: { symbols }, importAttributesKey }) {
const { n } = snippets;
const importBlock = getImportBlock(dependencies, importAttributesKey, snippets);
if (importBlock.length > 0)
@@ -8587,7 +8593,7 @@ function es(magicString, { accessedGlobals, indent: t, intro, outro, dependencie
intro += getHelpersBlock(null, accessedGlobals, t, snippets, externalLiveBindings, freeze, symbols);
if (intro)
magicString.prepend(intro);
const exportBlock = getExportBlock(exports, snippets);
const exportBlock = getExportBlock(exports$1, snippets);
if (exportBlock.length > 0)
magicString.append(n + n + exportBlock.join(n).trim());
if (outro)
@@ -8672,11 +8678,11 @@ function getImportBlock(dependencies, importAttributesKey, { _ }) {
}
return importBlock;
}
function getExportBlock(exports, { _, cnst }) {
function getExportBlock(exports$1, { _, cnst }) {
const exportBlock = [];
const exportDeclaration = new Array(exports.length);
const exportDeclaration = new Array(exports$1.length);
let index = 0;
for (const specifier of exports) {
for (const specifier of exports$1) {
if (specifier.expression) {
exportBlock.push(`${cnst} ${specifier.local}${_}=${_}${specifier.expression};`);
}
@@ -8754,7 +8760,7 @@ function trimEmptyImports(dependencies) {
return [];
}
function iife(magicString, { accessedGlobals, dependencies, exports, hasDefaultExport, hasExports, indent: t, intro, namedExportsMode, log, outro, snippets }, { compact, esModule, extend, freeze, externalLiveBindings, reexportProtoFromExternal, globals, interop, name, generatedCode: { symbols }, strict }) {
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 }) {
const { _, getNonArrowFunctionIntro, getPropertyAccess, n } = snippets;
const isNamespaced = name && name.includes('.');
const useVariableAssignment = !extend && !isNamespaced;
@@ -8768,7 +8774,7 @@ function iife(magicString, { accessedGlobals, dependencies, exports, hasDefaultE
if (hasExports && !name) {
log(LOGLEVEL_WARN, logMissingNameOptionForIifeExport());
}
if (hasExports && (namedExportsMode || exports[0]?.local === 'exports.default')) {
if (hasExports && (namedExportsMode || exports$1[0]?.local === 'exports.default')) {
if (extend) {
deps.unshift(`this${keypath(name, getPropertyAccess)}${_}=${_}this${keypath(name, getPropertyAccess)}${_}||${_}{}`);
parameters.unshift('exports');
@@ -8799,7 +8805,7 @@ function iife(magicString, { accessedGlobals, dependencies, exports, hasDefaultE
if (hasExports && !extend && namedExportsMode) {
wrapperOutro = `${n}${n}${t}return exports;${wrapperOutro}`;
}
const exportBlock = getExportBlock$1(exports, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal);
const exportBlock = getExportBlock$1(exports$1, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal);
let namespaceMarkers = getNamespaceMarkers(namedExportsMode && hasExports, esModule === true || (esModule === 'if-default-prop' && hasDefaultExport), symbols, snippets);
if (namespaceMarkers) {
namespaceMarkers = n + n + namespaceMarkers;
@@ -8813,9 +8819,9 @@ function iife(magicString, { accessedGlobals, dependencies, exports, hasDefaultE
const MISSING_EXPORT_SHIM_VARIABLE = '_missingExportShim';
function system(magicString, { accessedGlobals, dependencies, exports, hasExports, indent: t, intro, snippets, outro, usesTopLevelAwait }, { externalLiveBindings, freeze, name, generatedCode: { symbols }, strict, systemNullSetters }) {
function system(magicString, { accessedGlobals, dependencies, exports: exports$1, hasExports, indent: t, intro, snippets, outro, usesTopLevelAwait }, { externalLiveBindings, freeze, name, generatedCode: { symbols }, strict, systemNullSetters }) {
const { _, getFunctionIntro, getNonArrowFunctionIntro, n, s } = snippets;
const { importBindings, setters, starExcludes } = analyzeDependencies(dependencies, exports, t, snippets);
const { importBindings, setters, starExcludes } = analyzeDependencies(dependencies, exports$1, t, snippets);
const registeredName = name ? `'${name}',${_}` : '';
const wrapperParameters = accessedGlobals.has('module')
? ['exports', 'module']
@@ -8852,15 +8858,15 @@ function system(magicString, { accessedGlobals, dependencies, exports, hasExport
magicString
.prepend(intro +
getHelpersBlock(null, accessedGlobals, t, snippets, externalLiveBindings, freeze, symbols) +
getHoistedExportsBlock(exports, t, snippets))
getHoistedExportsBlock(exports$1, t, snippets))
.append(`${outro}${n}${n}` +
getSyntheticExportsBlock(exports, t, snippets) +
getMissingExportsBlock(exports, t, snippets))
getSyntheticExportsBlock(exports$1, t, snippets) +
getMissingExportsBlock(exports$1, t, snippets))
.indent(`${t}${t}${t}`)
.append(wrapperEnd)
.prepend(wrapperStart);
}
function analyzeDependencies(dependencies, exports, t, { _, cnst, getObject, getPropertyAccess, n }) {
function analyzeDependencies(dependencies, exports$1, t, { _, cnst, getObject, getPropertyAccess, n }) {
const importBindings = [];
const setters = [];
let starExcludes = null;
@@ -8894,7 +8900,7 @@ function analyzeDependencies(dependencies, exports, t, { _, cnst, getObject, get
if (reexportedNames.length > 1 || hasStarReexport) {
if (hasStarReexport) {
if (!starExcludes) {
starExcludes = getStarExcludes({ dependencies, exports });
starExcludes = getStarExcludes({ dependencies, exports: exports$1 });
}
reexportedNames.unshift([null, `__proto__:${_}null`]);
const exportMapping = getObject(reexportedNames, { lineBreakIndent: null });
@@ -8914,8 +8920,8 @@ function analyzeDependencies(dependencies, exports, t, { _, cnst, getObject, get
}
return { importBindings, setters, starExcludes };
}
const getStarExcludes = ({ dependencies, exports }) => {
const starExcludes = new Set(exports.map(expt => expt.exported));
const getStarExcludes = ({ dependencies, exports: exports$1 }) => {
const starExcludes = new Set(exports$1.map(expt => expt.exported));
starExcludes.add('default');
for (const { reexports } of dependencies) {
if (reexports) {
@@ -8941,24 +8947,24 @@ const getStarExcludesBlock = (starExcludes, t, { _, cnst, getObject, n }) => {
return '';
};
const getImportBindingsBlock = (importBindings, t, { _, n }) => (importBindings.length > 0 ? `${n}${t}var ${importBindings.join(`,${_}`)};` : '');
const getHoistedExportsBlock = (exports, t, snippets) => getExportsBlock(exports.filter(expt => expt.hoisted).map(expt => ({ name: expt.exported, value: expt.local })), t, snippets);
function getExportsBlock(exports, t, { _, n }) {
if (exports.length === 0) {
const getHoistedExportsBlock = (exports$1, t, snippets) => getExportsBlock(exports$1.filter(expt => expt.hoisted).map(expt => ({ name: expt.exported, value: expt.local })), t, snippets);
function getExportsBlock(exports$1, t, { _, n }) {
if (exports$1.length === 0) {
return '';
}
if (exports.length === 1) {
return `exports(${JSON.stringify(exports[0].name)},${_}${exports[0].value});${n}${n}`;
if (exports$1.length === 1) {
return `exports(${JSON.stringify(exports$1[0].name)},${_}${exports$1[0].value});${n}${n}`;
}
return (`exports({${n}` +
exports
exports$1
.map(({ name, value }) => `${t}${stringifyObjectKeyIfNeeded(name)}:${_}${value}`)
.join(`,${n}`) +
`${n}});${n}${n}`);
}
const getSyntheticExportsBlock = (exports, t, snippets) => getExportsBlock(exports
const getSyntheticExportsBlock = (exports$1, t, snippets) => getExportsBlock(exports$1
.filter(expt => expt.expression)
.map(expt => ({ name: expt.exported, value: expt.local })), t, snippets);
const getMissingExportsBlock = (exports, t, snippets) => getExportsBlock(exports
const getMissingExportsBlock = (exports$1, t, snippets) => getExportsBlock(exports$1
.filter(expt => expt.local === MISSING_EXPORT_SHIM_VARIABLE)
.map(expt => ({ name: expt.exported, value: MISSING_EXPORT_SHIM_VARIABLE })), t, snippets);
@@ -8974,7 +8980,7 @@ function safeAccess(name, globalVariable, { _, getPropertyAccess }) {
.map(part => (propertyPath += getPropertyAccess(part)))
.join(`${_}&&${_}`);
}
function umd(magicString, { accessedGlobals, dependencies, exports, hasDefaultExport, hasExports, id, indent: t, intro, namedExportsMode, log, outro, snippets }, { amd, compact, esModule, extend, externalLiveBindings, freeze, interop, name, generatedCode: { symbols }, globals, noConflict, reexportProtoFromExternal, strict }) {
function umd(magicString, { accessedGlobals, dependencies, exports: exports$1, hasDefaultExport, hasExports, id, indent: t, intro, namedExportsMode, log, outro, snippets }, { amd, compact, esModule, extend, externalLiveBindings, freeze, interop, name, generatedCode: { symbols }, globals, noConflict, reexportProtoFromExternal, strict }) {
const { _, cnst, getFunctionIntro, getNonArrowFunctionIntro, getPropertyAccess, n, s } = snippets;
const factoryVariable = compact ? 'f' : 'factory';
const globalVariable = compact ? 'g' : 'global';
@@ -8988,7 +8994,7 @@ function umd(magicString, { accessedGlobals, dependencies, exports, hasDefaultEx
const globalDeps = trimmedImports.map(module => globalProperty(module.globalName, globalVariable, getPropertyAccess));
const factoryParameters = trimmedImports.map(m => m.name);
if ((hasExports || noConflict) &&
(namedExportsMode || (hasExports && exports[0]?.local === 'exports.default'))) {
(namedExportsMode || (hasExports && exports$1[0]?.local === 'exports.default'))) {
amdDeps.unshift(`'exports'`);
cjsDeps.unshift(`exports`);
globalDeps.unshift(assignToDeepVariable(name, globalVariable, globals, `${extend ? `${globalProperty(name, globalVariable, getPropertyAccess)}${_}||${_}` : ''}{}`, snippets, log));
@@ -9056,7 +9062,7 @@ function umd(magicString, { accessedGlobals, dependencies, exports, hasDefaultEx
})}{${useStrict}${n}`;
const wrapperOutro = n + n + '}));';
magicString.prepend(`${intro}${getInteropBlock(dependencies, interop, externalLiveBindings, freeze, symbols, accessedGlobals, t, snippets)}`);
const exportBlock = getExportBlock$1(exports, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal);
const exportBlock = getExportBlock$1(exports$1, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal);
let namespaceMarkers = getNamespaceMarkers(namedExportsMode && hasExports, esModule === true || (esModule === 'if-default-prop' && hasDefaultExport), symbols, snippets);
if (namespaceMarkers) {
namespaceMarkers = n + n + namespaceMarkers;
@@ -9301,7 +9307,7 @@ var hasRequiredUtils;
function requireUtils () {
if (hasRequiredUtils) return utils;
hasRequiredUtils = 1;
(function (exports) {
(function (exports$1) {
const {
REGEX_BACKSLASH,
@@ -9310,13 +9316,13 @@ function requireUtils () {
REGEX_SPECIAL_CHARS_GLOBAL
} = /*@__PURE__*/ requireConstants();
exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
exports$1.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
exports$1.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
exports$1.isRegexChar = str => str.length === 1 && exports$1.hasRegexChars(str);
exports$1.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
exports$1.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
exports.isWindows = () => {
exports$1.isWindows = () => {
if (typeof navigator !== 'undefined' && navigator.platform) {
const platform = navigator.platform.toLowerCase();
return platform === 'win32' || platform === 'windows';
@@ -9329,20 +9335,20 @@ function requireUtils () {
return false;
};
exports.removeBackslashes = str => {
exports$1.removeBackslashes = str => {
return str.replace(REGEX_REMOVE_BACKSLASH, match => {
return match === '\\' ? '' : match;
});
};
exports.escapeLast = (input, char, lastIdx) => {
exports$1.escapeLast = (input, char, lastIdx) => {
const idx = input.lastIndexOf(char, lastIdx);
if (idx === -1) return input;
if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
if (input[idx - 1] === '\\') return exports$1.escapeLast(input, char, idx - 1);
return `${input.slice(0, idx)}\\${input.slice(idx)}`;
};
exports.removePrefix = (input, state = {}) => {
exports$1.removePrefix = (input, state = {}) => {
let output = input;
if (output.startsWith('./')) {
output = output.slice(2);
@@ -9351,7 +9357,7 @@ function requireUtils () {
return output;
};
exports.wrapOutput = (input, state = {}, options = {}) => {
exports$1.wrapOutput = (input, state = {}, options = {}) => {
const prepend = options.contains ? '' : '^';
const append = options.contains ? '' : '$';
@@ -9362,7 +9368,7 @@ function requireUtils () {
return output;
};
exports.basename = (path, { windows } = {}) => {
exports$1.basename = (path, { windows } = {}) => {
const segs = path.split(windows ? /[\\/]/ : '/');
const last = segs[segs.length - 1];
@@ -15039,8 +15045,8 @@ class ModuleScope extends ChildScope {
}
return super.addDeclaration(identifier, context, init, destructuredInitPath, kind);
}
addExportDefaultDeclaration(name, exportDefaultDeclaration, context) {
const variable = new ExportDefaultVariable(name, exportDefaultDeclaration, context);
addExportDefaultDeclaration(exportDefaultDeclaration, context) {
const variable = new ExportDefaultVariable(exportDefaultDeclaration, context);
this.variables.set('default', variable);
return variable;
}
@@ -16261,7 +16267,7 @@ const bufferParsers = [
const flags = buffer[position];
node.tail = (flags & 1) === 1;
const cookedPosition = buffer[position + 1];
const cooked = cookedPosition === 0 ? undefined : buffer.convertString(cookedPosition);
const cooked = cookedPosition === 0 ? null : buffer.convertString(cookedPosition);
const raw = buffer.convertString(buffer[position + 2]);
node.value = { cooked, raw };
},
@@ -16836,7 +16842,7 @@ class Module {
this.preserveSignature = this.options.preserveEntrySignatures;
// eslint-disable-next-line @typescript-eslint/no-this-alias
const module = this;
const { dynamicImports, dynamicImporters, exportAllSources, exports, implicitlyLoadedAfter, implicitlyLoadedBefore, importers, reexportDescriptions, sourcesWithAttributes } = this;
const { dynamicImports, dynamicImporters, exportAllSources, exports: exports$1, implicitlyLoadedAfter, implicitlyLoadedBefore, importers, reexportDescriptions, sourcesWithAttributes } = this;
this.info = {
ast: null,
attributes,
@@ -16855,7 +16861,7 @@ class Module {
return dynamicImporters.sort();
},
get exportedBindings() {
const exportBindings = { '.': [...exports.keys()] };
const exportBindings = { '.': [...exports$1.keys()] };
for (const [name, { source }] of reexportDescriptions) {
(exportBindings[source] ??= []).push(name);
}
@@ -16866,7 +16872,7 @@ class Module {
},
get exports() {
return [
...exports.keys(),
...exports$1.keys(),
...reexportDescriptions.keys(),
...[...exportAllSources].map(() => '*')
];
@@ -16906,6 +16912,7 @@ class Module {
},
meta: { ...meta },
moduleSideEffects,
safeVariableNames: null,
syntheticNamedExports
};
}
@@ -17256,13 +17263,14 @@ class Module {
}
return { source, usesTopLevelAwait };
}
async setSource({ ast, code, customTransformCache, originalCode, originalSourcemap, resolvedIds, sourcemapChain, transformDependencies, transformFiles, ...moduleOptions }) {
async setSource({ ast, code, customTransformCache, originalCode, originalSourcemap, resolvedIds, sourcemapChain, transformDependencies, transformFiles, safeVariableNames, ...moduleOptions }) {
timeStart('generate ast', 3);
if (code.startsWith('#!')) {
const shebangEndPosition = code.indexOf('\n');
this.shebang = code.slice(2, shebangEndPosition);
}
this.info.code = code;
this.info.safeVariableNames = safeVariableNames;
this.originalCode = originalCode;
// We need to call decodedSourcemap on the input in case they were hydrated from json in the cache and don't
// have the lazy evaluation cache configured. Right now this isn't enforced by the type system because the
@@ -17369,6 +17377,7 @@ class Module {
originalCode: this.originalCode,
originalSourcemap: this.originalSourcemap,
resolvedIds: this.resolvedIds,
safeVariableNames: this.info.safeVariableNames,
sourcemapChain: this.sourcemapChain,
syntheticNamedExports: this.info.syntheticNamedExports,
transformDependencies: this.transformDependencies,
@@ -17787,7 +17796,7 @@ const DECONFLICT_IMPORTED_VARIABLES_BY_FORMAT = {
function deconflictChunk(modules, dependenciesToBeDeconflicted, imports, usedNames, format, interop, preserveModules, externalLiveBindings, chunkByModule, externalChunkByModule, syntheticExports, exportNamesByVariable, accessedGlobalsByScope, includedNamespaces) {
const reversedModules = [...modules].reverse();
for (const module of reversedModules) {
module.scope.addUsedOutsideNames(usedNames, format, exportNamesByVariable, accessedGlobalsByScope);
module.scope.addUsedOutsideNames(usedNames, accessedGlobalsByScope);
}
deconflictTopLevelVariables(usedNames, reversedModules, includedNamespaces);
DECONFLICT_IMPORTED_VARIABLES_BY_FORMAT[format](usedNames, imports, dependenciesToBeDeconflicted, interop, preserveModules, externalLiveBindings, chunkByModule, externalChunkByModule, syntheticExports);
@@ -17880,12 +17889,22 @@ function deconflictImportsOther(usedNames, imports, { deconflictedDefault, decon
}
function deconflictTopLevelVariables(usedNames, modules, includedNamespaces) {
for (const module of modules) {
module.info.safeVariableNames ||= {};
for (const variable of module.scope.variables.values()) {
if (variable.included &&
// this will only happen for exports in some formats
!(variable.renderBaseName ||
(variable instanceof ExportDefaultVariable && variable.getOriginalVariable() !== variable))) {
// We need to make sure that variables that corresponding to object
// prototype methods are not accidentally matched.
const cachedSafeVariableName = Object.getOwnPropertyDescriptor(module.info.safeVariableNames, variable.name)?.value;
if (cachedSafeVariableName && !usedNames.has(cachedSafeVariableName)) {
usedNames.add(cachedSafeVariableName);
variable.setRenderNames(null, cachedSafeVariableName);
continue;
}
variable.setRenderNames(null, getSafeName(variable.name, usedNames, variable.forbiddenNames));
module.info.safeVariableNames[variable.name] = variable.renderName;
}
}
if (includedNamespaces.has(module)) {
@@ -17895,9 +17914,9 @@ function deconflictTopLevelVariables(usedNames, modules, includedNamespaces) {
}
}
function assignExportsToMangledNames(exports, exportsByName, exportNamesByVariable) {
function assignExportsToMangledNames(exports$1, exportsByName, exportNamesByVariable) {
let nameIndex = 0;
for (const variable of exports) {
for (const variable of exports$1) {
let [exportName] = variable.name;
if (exportsByName.has(exportName)) {
do {
@@ -17913,8 +17932,8 @@ function assignExportsToMangledNames(exports, exportsByName, exportNamesByVariab
exportNamesByVariable.set(variable, [exportName]);
}
}
function assignExportsToNames(exports, exportsByName, exportNamesByVariable) {
for (const variable of exports) {
function assignExportsToNames(exports$1, exportsByName, exportNamesByVariable) {
for (const variable of exports$1) {
let nameIndex = 0;
let exportName = variable.name;
while (exportsByName.has(exportName)) {
@@ -18130,6 +18149,16 @@ function makeUnique(name, { [lowercaseBundleKeys]: reservedLowercaseBundleKeys }
return uniqueName;
}
const RESERVED_USED_NAMES = [
'Object',
'Promise',
'module',
'exports',
'require',
'__filename',
'__dirname',
...HELPER_NAMES
];
const NON_ASSET_EXTENSIONS = new Set([
'.js',
'.jsx',
@@ -18682,7 +18711,7 @@ class Chunk {
return 'chunk';
}
getChunkExportDeclarations(format) {
const exports = [];
const exports$1 = [];
for (const exportName of this.getExportNames()) {
if (exportName[0] === '*')
continue;
@@ -18727,14 +18756,14 @@ class Chunk {
local = variable.renderName;
}
}
exports.push({
exports$1.push({
exported: exportName,
expression,
hoisted,
local
});
}
return exports;
return exports$1;
}
getDependenciesToBeDeconflicted(addNonNamespacesAndInteropHelpers, addDependenciesWithoutBindings, interop) {
const dependencies = new Set();
@@ -19151,32 +19180,13 @@ class Chunk {
break;
}
}
const usedNames = new Set(['Object', 'Promise']);
const usedNames = new Set(RESERVED_USED_NAMES);
if (this.needsExportsShim) {
usedNames.add(MISSING_EXPORT_SHIM_VARIABLE);
}
if (symbols) {
usedNames.add('Symbol');
}
switch (format) {
case 'system': {
usedNames.add('module').add('exports');
break;
}
case 'es': {
break;
}
case 'cjs': {
usedNames.add('module').add('require').add('__filename').add('__dirname');
}
// fallthrough
default: {
usedNames.add('exports');
for (const helper of HELPER_NAMES) {
usedNames.add(helper);
}
}
}
deconflictChunk(this.orderedModules, this.getDependenciesToBeDeconflicted(format !== 'es' && format !== 'system', format === 'amd' || format === 'umd' || format === 'iife', interop), this.imports, usedNames, format, interop, preserveModules, externalLiveBindings, this.chunkByModule, this.externalChunkByModule, syntheticExports, this.exportNamesByVariable, this.accessedGlobalsByScope, this.includedNamespaces);
}
setImportMetaResolutions(fileName) {
@@ -21197,6 +21207,7 @@ async function transform(source, module, pluginDriver, log) {
customTransformCache,
originalCode,
originalSourcemap,
safeVariableNames: null,
sourcemapChain,
transformDependencies
};
@@ -23339,7 +23350,9 @@ async function rollupInternal(rawInputOptions, watcher) {
});
timeEnd('BUILD', 1);
const result = {
cache: useCache ? graph.getCache() : undefined,
get cache() {
return useCache ? graph.getCache() : undefined;
},
async close() {
if (result.closed)
return;

6
node_modules/rollup/dist/es/shared/parseAst.js generated vendored Executable file → Normal file
View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup
@@ -1930,7 +1930,7 @@ const nodeConverters = [
function templateElement(position, buffer) {
const flags = buffer[position + 2];
const cookedPosition = buffer[position + 3];
const cooked = cookedPosition === 0 ? undefined : buffer.convertString(cookedPosition);
const cooked = cookedPosition === 0 ? null : buffer.convertString(cookedPosition);
const raw = buffer.convertString(buffer[position + 4]);
return {
type: 'TemplateElement',

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup
@@ -218,7 +218,7 @@ var hasRequiredUtils$2;
function requireUtils$2 () {
if (hasRequiredUtils$2) return utils$2;
hasRequiredUtils$2 = 1;
(function (exports) {
(function (exports$1) {
const path = require$$0$1;
const win32 = process.platform === 'win32';
@@ -229,19 +229,19 @@ function requireUtils$2 () {
REGEX_SPECIAL_CHARS_GLOBAL
} = /*@__PURE__*/ requireConstants$3();
exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
exports$1.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
exports$1.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
exports$1.isRegexChar = str => str.length === 1 && exports$1.hasRegexChars(str);
exports$1.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
exports$1.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
exports.removeBackslashes = str => {
exports$1.removeBackslashes = str => {
return str.replace(REGEX_REMOVE_BACKSLASH, match => {
return match === '\\' ? '' : match;
});
};
exports.supportsLookbehinds = () => {
exports$1.supportsLookbehinds = () => {
const segs = process.version.slice(1).split('.').map(Number);
if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
return true;
@@ -249,21 +249,21 @@ function requireUtils$2 () {
return false;
};
exports.isWindows = options => {
exports$1.isWindows = options => {
if (options && typeof options.windows === 'boolean') {
return options.windows;
}
return win32 === true || path.sep === '\\';
};
exports.escapeLast = (input, char, lastIdx) => {
exports$1.escapeLast = (input, char, lastIdx) => {
const idx = input.lastIndexOf(char, lastIdx);
if (idx === -1) return input;
if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
if (input[idx - 1] === '\\') return exports$1.escapeLast(input, char, idx - 1);
return `${input.slice(0, idx)}\\${input.slice(idx)}`;
};
exports.removePrefix = (input, state = {}) => {
exports$1.removePrefix = (input, state = {}) => {
let output = input;
if (output.startsWith('./')) {
output = output.slice(2);
@@ -272,7 +272,7 @@ function requireUtils$2 () {
return output;
};
exports.wrapOutput = (input, state = {}, options = {}) => {
exports$1.wrapOutput = (input, state = {}, options = {}) => {
const prepend = options.contains ? '' : '^';
const append = options.contains ? '' : '$';
@@ -2629,7 +2629,7 @@ var hasRequiredUtils$1;
function requireUtils$1 () {
if (hasRequiredUtils$1) return utils$1;
hasRequiredUtils$1 = 1;
(function (exports) {
(function (exports$1) {
const path = require$$0$1;
const win32 = process.platform === 'win32';
@@ -2640,19 +2640,19 @@ function requireUtils$1 () {
REGEX_SPECIAL_CHARS_GLOBAL
} = /*@__PURE__*/ requireConstants$2();
exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
exports$1.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
exports$1.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
exports$1.isRegexChar = str => str.length === 1 && exports$1.hasRegexChars(str);
exports$1.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
exports$1.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
exports.removeBackslashes = str => {
exports$1.removeBackslashes = str => {
return str.replace(REGEX_REMOVE_BACKSLASH, match => {
return match === '\\' ? '' : match;
});
};
exports.supportsLookbehinds = () => {
exports$1.supportsLookbehinds = () => {
const segs = process.version.slice(1).split('.').map(Number);
if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
return true;
@@ -2660,21 +2660,21 @@ function requireUtils$1 () {
return false;
};
exports.isWindows = options => {
exports$1.isWindows = options => {
if (options && typeof options.windows === 'boolean') {
return options.windows;
}
return win32 === true || path.sep === '\\';
};
exports.escapeLast = (input, char, lastIdx) => {
exports$1.escapeLast = (input, char, lastIdx) => {
const idx = input.lastIndexOf(char, lastIdx);
if (idx === -1) return input;
if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
if (input[idx - 1] === '\\') return exports$1.escapeLast(input, char, idx - 1);
return `${input.slice(0, idx)}\\${input.slice(idx)}`;
};
exports.removePrefix = (input, state = {}) => {
exports$1.removePrefix = (input, state = {}) => {
let output = input;
if (output.startsWith('./')) {
output = output.slice(2);
@@ -2683,7 +2683,7 @@ function requireUtils$1 () {
return output;
};
exports.wrapOutput = (input, state = {}, options = {}) => {
exports$1.wrapOutput = (input, state = {}, options = {}) => {
const prepend = options.contains ? '' : '^';
const append = options.contains ? '' : '$';
@@ -4951,9 +4951,9 @@ var hasRequiredUtils;
function requireUtils () {
if (hasRequiredUtils) return utils;
hasRequiredUtils = 1;
(function (exports) {
(function (exports$1) {
exports.isInteger = num => {
exports$1.isInteger = num => {
if (typeof num === 'number') {
return Number.isInteger(num);
}
@@ -4967,15 +4967,15 @@ function requireUtils () {
* Find a node of the given type
*/
exports.find = (node, type) => node.nodes.find(node => node.type === type);
exports$1.find = (node, type) => node.nodes.find(node => node.type === type);
/**
* Find a node of the given type
*/
exports.exceedsLimit = (min, max, step = 1, limit) => {
exports$1.exceedsLimit = (min, max, step = 1, limit) => {
if (limit === false) return false;
if (!exports.isInteger(min) || !exports.isInteger(max)) return false;
if (!exports$1.isInteger(min) || !exports$1.isInteger(max)) return false;
return ((Number(max) - Number(min)) / Number(step)) >= limit;
};
@@ -4983,7 +4983,7 @@ function requireUtils () {
* Escape the given node with '\\' before node.value
*/
exports.escapeNode = (block, n = 0, type) => {
exports$1.escapeNode = (block, n = 0, type) => {
const node = block.nodes[n];
if (!node) return;
@@ -4999,7 +4999,7 @@ function requireUtils () {
* Returns true if the given brace node should be enclosed in literal braces
*/
exports.encloseBrace = node => {
exports$1.encloseBrace = node => {
if (node.type !== 'brace') return false;
if ((node.commas >> 0 + node.ranges >> 0) === 0) {
node.invalid = true;
@@ -5012,7 +5012,7 @@ function requireUtils () {
* Returns true if a brace node is invalid.
*/
exports.isInvalidBrace = block => {
exports$1.isInvalidBrace = block => {
if (block.type !== 'brace') return false;
if (block.invalid === true || block.dollar) return true;
if ((block.commas >> 0 + block.ranges >> 0) === 0) {
@@ -5030,7 +5030,7 @@ function requireUtils () {
* Returns true if a node is an open or close node
*/
exports.isOpenOrClose = node => {
exports$1.isOpenOrClose = node => {
if (node.type === 'open' || node.type === 'close') {
return true;
}
@@ -5041,7 +5041,7 @@ function requireUtils () {
* Reduce an array of text nodes.
*/
exports.reduce = nodes => nodes.reduce((acc, node) => {
exports$1.reduce = nodes => nodes.reduce((acc, node) => {
if (node.type === 'text') acc.push(node.value);
if (node.type === 'range') node.type = 'text';
return acc;
@@ -5051,7 +5051,7 @@ function requireUtils () {
* Flatten an array
*/
exports.flatten = (...args) => {
exports$1.flatten = (...args) => {
const result = [];
const flat = arr => {
@@ -6761,72 +6761,72 @@ var hasRequiredConstants;
function requireConstants () {
if (hasRequiredConstants) return constants;
hasRequiredConstants = 1;
(function (exports) {
(function (exports$1) {
const {sep} = require$$0$1;
const {platform} = process;
const os = require$$2$1;
exports.EV_ALL = 'all';
exports.EV_READY = 'ready';
exports.EV_ADD = 'add';
exports.EV_CHANGE = 'change';
exports.EV_ADD_DIR = 'addDir';
exports.EV_UNLINK = 'unlink';
exports.EV_UNLINK_DIR = 'unlinkDir';
exports.EV_RAW = 'raw';
exports.EV_ERROR = 'error';
exports$1.EV_ALL = 'all';
exports$1.EV_READY = 'ready';
exports$1.EV_ADD = 'add';
exports$1.EV_CHANGE = 'change';
exports$1.EV_ADD_DIR = 'addDir';
exports$1.EV_UNLINK = 'unlink';
exports$1.EV_UNLINK_DIR = 'unlinkDir';
exports$1.EV_RAW = 'raw';
exports$1.EV_ERROR = 'error';
exports.STR_DATA = 'data';
exports.STR_END = 'end';
exports.STR_CLOSE = 'close';
exports$1.STR_DATA = 'data';
exports$1.STR_END = 'end';
exports$1.STR_CLOSE = 'close';
exports.FSEVENT_CREATED = 'created';
exports.FSEVENT_MODIFIED = 'modified';
exports.FSEVENT_DELETED = 'deleted';
exports.FSEVENT_MOVED = 'moved';
exports.FSEVENT_CLONED = 'cloned';
exports.FSEVENT_UNKNOWN = 'unknown';
exports.FSEVENT_FLAG_MUST_SCAN_SUBDIRS = 1;
exports.FSEVENT_TYPE_FILE = 'file';
exports.FSEVENT_TYPE_DIRECTORY = 'directory';
exports.FSEVENT_TYPE_SYMLINK = 'symlink';
exports$1.FSEVENT_CREATED = 'created';
exports$1.FSEVENT_MODIFIED = 'modified';
exports$1.FSEVENT_DELETED = 'deleted';
exports$1.FSEVENT_MOVED = 'moved';
exports$1.FSEVENT_CLONED = 'cloned';
exports$1.FSEVENT_UNKNOWN = 'unknown';
exports$1.FSEVENT_FLAG_MUST_SCAN_SUBDIRS = 1;
exports$1.FSEVENT_TYPE_FILE = 'file';
exports$1.FSEVENT_TYPE_DIRECTORY = 'directory';
exports$1.FSEVENT_TYPE_SYMLINK = 'symlink';
exports.KEY_LISTENERS = 'listeners';
exports.KEY_ERR = 'errHandlers';
exports.KEY_RAW = 'rawEmitters';
exports.HANDLER_KEYS = [exports.KEY_LISTENERS, exports.KEY_ERR, exports.KEY_RAW];
exports$1.KEY_LISTENERS = 'listeners';
exports$1.KEY_ERR = 'errHandlers';
exports$1.KEY_RAW = 'rawEmitters';
exports$1.HANDLER_KEYS = [exports$1.KEY_LISTENERS, exports$1.KEY_ERR, exports$1.KEY_RAW];
exports.DOT_SLASH = `.${sep}`;
exports$1.DOT_SLASH = `.${sep}`;
exports.BACK_SLASH_RE = /\\/g;
exports.DOUBLE_SLASH_RE = /\/\//;
exports.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
exports.DOT_RE = /\..*\.(sw[px])$|~$|\.subl.*\.tmp/;
exports.REPLACER_RE = /^\.[/\\]/;
exports$1.BACK_SLASH_RE = /\\/g;
exports$1.DOUBLE_SLASH_RE = /\/\//;
exports$1.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
exports$1.DOT_RE = /\..*\.(sw[px])$|~$|\.subl.*\.tmp/;
exports$1.REPLACER_RE = /^\.[/\\]/;
exports.SLASH = '/';
exports.SLASH_SLASH = '//';
exports.BRACE_START = '{';
exports.BANG = '!';
exports.ONE_DOT = '.';
exports.TWO_DOTS = '..';
exports.STAR = '*';
exports.GLOBSTAR = '**';
exports.ROOT_GLOBSTAR = '/**/*';
exports.SLASH_GLOBSTAR = '/**';
exports.DIR_SUFFIX = 'Dir';
exports.ANYMATCH_OPTS = {dot: true};
exports.STRING_TYPE = 'string';
exports.FUNCTION_TYPE = 'function';
exports.EMPTY_STR = '';
exports.EMPTY_FN = () => {};
exports.IDENTITY_FN = val => val;
exports$1.SLASH = '/';
exports$1.SLASH_SLASH = '//';
exports$1.BRACE_START = '{';
exports$1.BANG = '!';
exports$1.ONE_DOT = '.';
exports$1.TWO_DOTS = '..';
exports$1.STAR = '*';
exports$1.GLOBSTAR = '**';
exports$1.ROOT_GLOBSTAR = '/**/*';
exports$1.SLASH_GLOBSTAR = '/**';
exports$1.DIR_SUFFIX = 'Dir';
exports$1.ANYMATCH_OPTS = {dot: true};
exports$1.STRING_TYPE = 'string';
exports$1.FUNCTION_TYPE = 'function';
exports$1.EMPTY_STR = '';
exports$1.EMPTY_FN = () => {};
exports$1.IDENTITY_FN = val => val;
exports.isWindows = platform === 'win32';
exports.isMacos = platform === 'darwin';
exports.isLinux = platform === 'linux';
exports.isIBMi = os.type() === 'OS400';
exports$1.isWindows = platform === 'win32';
exports$1.isMacos = platform === 'darwin';
exports$1.isLinux = platform === 'linux';
exports$1.isIBMi = os.type() === 'OS400';
} (constants));
return constants;
}

4
node_modules/rollup/dist/getLogFilter.js generated vendored Executable file → Normal file
View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup

4
node_modules/rollup/dist/loadConfigFile.js generated vendored Executable file → Normal file
View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup

0
node_modules/rollup/dist/native.js generated vendored Executable file → Normal file
View File

4
node_modules/rollup/dist/parseAst.js generated vendored Executable file → Normal file
View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup

View File

@@ -125,6 +125,7 @@ export interface SourceDescription extends Partial<PartialNull<ModuleOptions>> {
export interface TransformModuleJSON {
ast?: ProgramNode | undefined;
code: string;
safeVariableNames: Record<string, string> | null;
// note if plugins use new this.cache to opt-out auto transform cache
customTransformCache: boolean;
originalCode: string;
@@ -134,6 +135,7 @@ export interface TransformModuleJSON {
}
export interface ModuleJSON extends TransformModuleJSON, ModuleOptions {
safeVariableNames: Record<string, string> | null;
ast: ProgramNode;
dependencies: string[];
id: string;
@@ -198,6 +200,7 @@ export interface ModuleInfo extends ModuleOptions {
dynamicallyImportedIds: readonly string[];
exportedBindings: Record<string, string[]> | null;
exports: string[] | null;
safeVariableNames: Record<string, string> | null;
hasDefaultExport: boolean | null;
id: string;
implicitlyLoadedAfterOneOf: readonly string[];

4
node_modules/rollup/dist/rollup.js generated vendored
View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup

4
node_modules/rollup/dist/shared/fsevents-importer.js generated vendored Executable file → Normal file
View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup

186
node_modules/rollup/dist/shared/index.js generated vendored Executable file → Normal file
View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup
@@ -214,7 +214,7 @@ var hasRequiredUtils$2;
function requireUtils$2 () {
if (hasRequiredUtils$2) return utils$2;
hasRequiredUtils$2 = 1;
(function (exports) {
(function (exports$1) {
const path = require$$0$1;
const win32 = process.platform === 'win32';
@@ -225,19 +225,19 @@ function requireUtils$2 () {
REGEX_SPECIAL_CHARS_GLOBAL
} = /*@__PURE__*/ requireConstants$3();
exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
exports$1.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
exports$1.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
exports$1.isRegexChar = str => str.length === 1 && exports$1.hasRegexChars(str);
exports$1.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
exports$1.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
exports.removeBackslashes = str => {
exports$1.removeBackslashes = str => {
return str.replace(REGEX_REMOVE_BACKSLASH, match => {
return match === '\\' ? '' : match;
});
};
exports.supportsLookbehinds = () => {
exports$1.supportsLookbehinds = () => {
const segs = process.version.slice(1).split('.').map(Number);
if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
return true;
@@ -245,21 +245,21 @@ function requireUtils$2 () {
return false;
};
exports.isWindows = options => {
exports$1.isWindows = options => {
if (options && typeof options.windows === 'boolean') {
return options.windows;
}
return win32 === true || path.sep === '\\';
};
exports.escapeLast = (input, char, lastIdx) => {
exports$1.escapeLast = (input, char, lastIdx) => {
const idx = input.lastIndexOf(char, lastIdx);
if (idx === -1) return input;
if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
if (input[idx - 1] === '\\') return exports$1.escapeLast(input, char, idx - 1);
return `${input.slice(0, idx)}\\${input.slice(idx)}`;
};
exports.removePrefix = (input, state = {}) => {
exports$1.removePrefix = (input, state = {}) => {
let output = input;
if (output.startsWith('./')) {
output = output.slice(2);
@@ -268,7 +268,7 @@ function requireUtils$2 () {
return output;
};
exports.wrapOutput = (input, state = {}, options = {}) => {
exports$1.wrapOutput = (input, state = {}, options = {}) => {
const prepend = options.contains ? '' : '^';
const append = options.contains ? '' : '$';
@@ -2625,7 +2625,7 @@ var hasRequiredUtils$1;
function requireUtils$1 () {
if (hasRequiredUtils$1) return utils$1;
hasRequiredUtils$1 = 1;
(function (exports) {
(function (exports$1) {
const path = require$$0$1;
const win32 = process.platform === 'win32';
@@ -2636,19 +2636,19 @@ function requireUtils$1 () {
REGEX_SPECIAL_CHARS_GLOBAL
} = /*@__PURE__*/ requireConstants$2();
exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
exports$1.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
exports$1.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
exports$1.isRegexChar = str => str.length === 1 && exports$1.hasRegexChars(str);
exports$1.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
exports$1.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
exports.removeBackslashes = str => {
exports$1.removeBackslashes = str => {
return str.replace(REGEX_REMOVE_BACKSLASH, match => {
return match === '\\' ? '' : match;
});
};
exports.supportsLookbehinds = () => {
exports$1.supportsLookbehinds = () => {
const segs = process.version.slice(1).split('.').map(Number);
if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
return true;
@@ -2656,21 +2656,21 @@ function requireUtils$1 () {
return false;
};
exports.isWindows = options => {
exports$1.isWindows = options => {
if (options && typeof options.windows === 'boolean') {
return options.windows;
}
return win32 === true || path.sep === '\\';
};
exports.escapeLast = (input, char, lastIdx) => {
exports$1.escapeLast = (input, char, lastIdx) => {
const idx = input.lastIndexOf(char, lastIdx);
if (idx === -1) return input;
if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
if (input[idx - 1] === '\\') return exports$1.escapeLast(input, char, idx - 1);
return `${input.slice(0, idx)}\\${input.slice(idx)}`;
};
exports.removePrefix = (input, state = {}) => {
exports$1.removePrefix = (input, state = {}) => {
let output = input;
if (output.startsWith('./')) {
output = output.slice(2);
@@ -2679,7 +2679,7 @@ function requireUtils$1 () {
return output;
};
exports.wrapOutput = (input, state = {}, options = {}) => {
exports$1.wrapOutput = (input, state = {}, options = {}) => {
const prepend = options.contains ? '' : '^';
const append = options.contains ? '' : '$';
@@ -4947,9 +4947,9 @@ var hasRequiredUtils;
function requireUtils () {
if (hasRequiredUtils) return utils;
hasRequiredUtils = 1;
(function (exports) {
(function (exports$1) {
exports.isInteger = num => {
exports$1.isInteger = num => {
if (typeof num === 'number') {
return Number.isInteger(num);
}
@@ -4963,15 +4963,15 @@ function requireUtils () {
* Find a node of the given type
*/
exports.find = (node, type) => node.nodes.find(node => node.type === type);
exports$1.find = (node, type) => node.nodes.find(node => node.type === type);
/**
* Find a node of the given type
*/
exports.exceedsLimit = (min, max, step = 1, limit) => {
exports$1.exceedsLimit = (min, max, step = 1, limit) => {
if (limit === false) return false;
if (!exports.isInteger(min) || !exports.isInteger(max)) return false;
if (!exports$1.isInteger(min) || !exports$1.isInteger(max)) return false;
return ((Number(max) - Number(min)) / Number(step)) >= limit;
};
@@ -4979,7 +4979,7 @@ function requireUtils () {
* Escape the given node with '\\' before node.value
*/
exports.escapeNode = (block, n = 0, type) => {
exports$1.escapeNode = (block, n = 0, type) => {
const node = block.nodes[n];
if (!node) return;
@@ -4995,7 +4995,7 @@ function requireUtils () {
* Returns true if the given brace node should be enclosed in literal braces
*/
exports.encloseBrace = node => {
exports$1.encloseBrace = node => {
if (node.type !== 'brace') return false;
if ((node.commas >> 0 + node.ranges >> 0) === 0) {
node.invalid = true;
@@ -5008,7 +5008,7 @@ function requireUtils () {
* Returns true if a brace node is invalid.
*/
exports.isInvalidBrace = block => {
exports$1.isInvalidBrace = block => {
if (block.type !== 'brace') return false;
if (block.invalid === true || block.dollar) return true;
if ((block.commas >> 0 + block.ranges >> 0) === 0) {
@@ -5026,7 +5026,7 @@ function requireUtils () {
* Returns true if a node is an open or close node
*/
exports.isOpenOrClose = node => {
exports$1.isOpenOrClose = node => {
if (node.type === 'open' || node.type === 'close') {
return true;
}
@@ -5037,7 +5037,7 @@ function requireUtils () {
* Reduce an array of text nodes.
*/
exports.reduce = nodes => nodes.reduce((acc, node) => {
exports$1.reduce = nodes => nodes.reduce((acc, node) => {
if (node.type === 'text') acc.push(node.value);
if (node.type === 'range') node.type = 'text';
return acc;
@@ -5047,7 +5047,7 @@ function requireUtils () {
* Flatten an array
*/
exports.flatten = (...args) => {
exports$1.flatten = (...args) => {
const result = [];
const flat = arr => {
@@ -6757,72 +6757,72 @@ var hasRequiredConstants;
function requireConstants () {
if (hasRequiredConstants) return constants;
hasRequiredConstants = 1;
(function (exports) {
(function (exports$1) {
const {sep} = require$$0$1;
const {platform} = process;
const os = require$$2$1;
exports.EV_ALL = 'all';
exports.EV_READY = 'ready';
exports.EV_ADD = 'add';
exports.EV_CHANGE = 'change';
exports.EV_ADD_DIR = 'addDir';
exports.EV_UNLINK = 'unlink';
exports.EV_UNLINK_DIR = 'unlinkDir';
exports.EV_RAW = 'raw';
exports.EV_ERROR = 'error';
exports$1.EV_ALL = 'all';
exports$1.EV_READY = 'ready';
exports$1.EV_ADD = 'add';
exports$1.EV_CHANGE = 'change';
exports$1.EV_ADD_DIR = 'addDir';
exports$1.EV_UNLINK = 'unlink';
exports$1.EV_UNLINK_DIR = 'unlinkDir';
exports$1.EV_RAW = 'raw';
exports$1.EV_ERROR = 'error';
exports.STR_DATA = 'data';
exports.STR_END = 'end';
exports.STR_CLOSE = 'close';
exports$1.STR_DATA = 'data';
exports$1.STR_END = 'end';
exports$1.STR_CLOSE = 'close';
exports.FSEVENT_CREATED = 'created';
exports.FSEVENT_MODIFIED = 'modified';
exports.FSEVENT_DELETED = 'deleted';
exports.FSEVENT_MOVED = 'moved';
exports.FSEVENT_CLONED = 'cloned';
exports.FSEVENT_UNKNOWN = 'unknown';
exports.FSEVENT_FLAG_MUST_SCAN_SUBDIRS = 1;
exports.FSEVENT_TYPE_FILE = 'file';
exports.FSEVENT_TYPE_DIRECTORY = 'directory';
exports.FSEVENT_TYPE_SYMLINK = 'symlink';
exports$1.FSEVENT_CREATED = 'created';
exports$1.FSEVENT_MODIFIED = 'modified';
exports$1.FSEVENT_DELETED = 'deleted';
exports$1.FSEVENT_MOVED = 'moved';
exports$1.FSEVENT_CLONED = 'cloned';
exports$1.FSEVENT_UNKNOWN = 'unknown';
exports$1.FSEVENT_FLAG_MUST_SCAN_SUBDIRS = 1;
exports$1.FSEVENT_TYPE_FILE = 'file';
exports$1.FSEVENT_TYPE_DIRECTORY = 'directory';
exports$1.FSEVENT_TYPE_SYMLINK = 'symlink';
exports.KEY_LISTENERS = 'listeners';
exports.KEY_ERR = 'errHandlers';
exports.KEY_RAW = 'rawEmitters';
exports.HANDLER_KEYS = [exports.KEY_LISTENERS, exports.KEY_ERR, exports.KEY_RAW];
exports$1.KEY_LISTENERS = 'listeners';
exports$1.KEY_ERR = 'errHandlers';
exports$1.KEY_RAW = 'rawEmitters';
exports$1.HANDLER_KEYS = [exports$1.KEY_LISTENERS, exports$1.KEY_ERR, exports$1.KEY_RAW];
exports.DOT_SLASH = `.${sep}`;
exports$1.DOT_SLASH = `.${sep}`;
exports.BACK_SLASH_RE = /\\/g;
exports.DOUBLE_SLASH_RE = /\/\//;
exports.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
exports.DOT_RE = /\..*\.(sw[px])$|~$|\.subl.*\.tmp/;
exports.REPLACER_RE = /^\.[/\\]/;
exports$1.BACK_SLASH_RE = /\\/g;
exports$1.DOUBLE_SLASH_RE = /\/\//;
exports$1.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
exports$1.DOT_RE = /\..*\.(sw[px])$|~$|\.subl.*\.tmp/;
exports$1.REPLACER_RE = /^\.[/\\]/;
exports.SLASH = '/';
exports.SLASH_SLASH = '//';
exports.BRACE_START = '{';
exports.BANG = '!';
exports.ONE_DOT = '.';
exports.TWO_DOTS = '..';
exports.STAR = '*';
exports.GLOBSTAR = '**';
exports.ROOT_GLOBSTAR = '/**/*';
exports.SLASH_GLOBSTAR = '/**';
exports.DIR_SUFFIX = 'Dir';
exports.ANYMATCH_OPTS = {dot: true};
exports.STRING_TYPE = 'string';
exports.FUNCTION_TYPE = 'function';
exports.EMPTY_STR = '';
exports.EMPTY_FN = () => {};
exports.IDENTITY_FN = val => val;
exports$1.SLASH = '/';
exports$1.SLASH_SLASH = '//';
exports$1.BRACE_START = '{';
exports$1.BANG = '!';
exports$1.ONE_DOT = '.';
exports$1.TWO_DOTS = '..';
exports$1.STAR = '*';
exports$1.GLOBSTAR = '**';
exports$1.ROOT_GLOBSTAR = '/**/*';
exports$1.SLASH_GLOBSTAR = '/**';
exports$1.DIR_SUFFIX = 'Dir';
exports$1.ANYMATCH_OPTS = {dot: true};
exports$1.STRING_TYPE = 'string';
exports$1.FUNCTION_TYPE = 'function';
exports$1.EMPTY_STR = '';
exports$1.EMPTY_FN = () => {};
exports$1.IDENTITY_FN = val => val;
exports.isWindows = platform === 'win32';
exports.isMacos = platform === 'darwin';
exports.isLinux = platform === 'linux';
exports.isIBMi = os.type() === 'OS400';
exports$1.isWindows = platform === 'win32';
exports$1.isMacos = platform === 'darwin';
exports$1.isLinux = platform === 'linux';
exports$1.isIBMi = os.type() === 'OS400';
} (constants));
return constants;
}

4
node_modules/rollup/dist/shared/loadConfigFile.js generated vendored Executable file → Normal file
View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup

6
node_modules/rollup/dist/shared/parseAst.js generated vendored Executable file → Normal file
View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup
@@ -1993,7 +1993,7 @@ const nodeConverters = [
function templateElement(position, buffer) {
const flags = buffer[position + 2];
const cookedPosition = buffer[position + 3];
const cooked = cookedPosition === 0 ? undefined : buffer.convertString(cookedPosition);
const cooked = cookedPosition === 0 ? null : buffer.convertString(cookedPosition);
const raw = buffer.convertString(buffer[position + 4]);
return {
type: 'TemplateElement',

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup
@@ -42,7 +42,7 @@ function _mergeNamespaces(n, m) {
const promises__namespace = /*#__PURE__*/_interopNamespaceDefault(promises);
var version = "4.52.5";
var version = "4.53.2";
function ensureArray$1(items) {
if (Array.isArray(items)) {
@@ -1165,7 +1165,7 @@ var hasRequiredUtils;
function requireUtils () {
if (hasRequiredUtils) return utils;
hasRequiredUtils = 1;
(function (exports) {
(function (exports$1) {
const {
REGEX_BACKSLASH,
@@ -1174,13 +1174,13 @@ function requireUtils () {
REGEX_SPECIAL_CHARS_GLOBAL
} = /*@__PURE__*/ requireConstants();
exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
exports$1.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
exports$1.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
exports$1.isRegexChar = str => str.length === 1 && exports$1.hasRegexChars(str);
exports$1.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
exports$1.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
exports.isWindows = () => {
exports$1.isWindows = () => {
if (typeof navigator !== 'undefined' && navigator.platform) {
const platform = navigator.platform.toLowerCase();
return platform === 'win32' || platform === 'windows';
@@ -1193,20 +1193,20 @@ function requireUtils () {
return false;
};
exports.removeBackslashes = str => {
exports$1.removeBackslashes = str => {
return str.replace(REGEX_REMOVE_BACKSLASH, match => {
return match === '\\' ? '' : match;
});
};
exports.escapeLast = (input, char, lastIdx) => {
exports$1.escapeLast = (input, char, lastIdx) => {
const idx = input.lastIndexOf(char, lastIdx);
if (idx === -1) return input;
if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
if (input[idx - 1] === '\\') return exports$1.escapeLast(input, char, idx - 1);
return `${input.slice(0, idx)}\\${input.slice(idx)}`;
};
exports.removePrefix = (input, state = {}) => {
exports$1.removePrefix = (input, state = {}) => {
let output = input;
if (output.startsWith('./')) {
output = output.slice(2);
@@ -1215,7 +1215,7 @@ function requireUtils () {
return output;
};
exports.wrapOutput = (input, state = {}, options = {}) => {
exports$1.wrapOutput = (input, state = {}, options = {}) => {
const prepend = options.contains ? '' : '^';
const append = options.contains ? '' : '$';
@@ -1226,7 +1226,7 @@ function requireUtils () {
return output;
};
exports.basename = (path, { windows } = {}) => {
exports$1.basename = (path, { windows } = {}) => {
const segs = path.split(windows ? /[\\/]/ : '/');
const last = segs[segs.length - 1];
@@ -6291,6 +6291,7 @@ const RESERVED_NAMES = new Set([
'enum',
'eval',
'export',
'exports',
'extends',
'false',
'finally',
@@ -6403,6 +6404,7 @@ class ExternalModule {
isIncluded: null,
meta,
moduleSideEffects,
safeVariableNames: null,
syntheticNamedExports: false
};
}
@@ -9365,13 +9367,10 @@ class ChildScope extends Scope {
this.parent.addReturnExpression(expression);
}
}
addUsedOutsideNames(usedNames, format, exportNamesByVariable, accessedGlobalsByScope) {
addUsedOutsideNames(usedNames, accessedGlobalsByScope) {
for (const variable of this.accessedOutsideVariables.values()) {
if (variable.included) {
usedNames.add(variable.getBaseVariableName());
if (format === 'system' && exportNamesByVariable.has(variable)) {
usedNames.add('exports');
}
}
}
const accessedGlobals = accessedGlobalsByScope.get(this);
@@ -9386,7 +9385,7 @@ class ChildScope extends Scope {
}
deconflict(format, exportNamesByVariable, accessedGlobalsByScope) {
const usedNames = new Set();
this.addUsedOutsideNames(usedNames, format, exportNamesByVariable, accessedGlobalsByScope);
this.addUsedOutsideNames(usedNames, accessedGlobalsByScope);
if (this.accessedDynamicImports) {
for (const importExpression of this.accessedDynamicImports) {
if (importExpression.inlineNamespace) {
@@ -10677,6 +10676,13 @@ function getFunctionIdInsertPosition(code, start) {
return declarationEnd + generatorStarPos + 1;
}
class ExportDefaultDeclaration extends NodeBase {
bind() {
super.bind();
const name = this.declarationName || this.scope.context.getModuleName();
// Check if there's already a variable with the same name in the scope. This
// can cause inconsistencies when using the cache.
this.variable.name = this.scope.variables.get(name) ? `${name}_default` : name;
}
include(context, includeChildrenRecursively) {
this.included = true;
this.declaration.include(context, includeChildrenRecursively);
@@ -10693,7 +10699,7 @@ class ExportDefaultDeclaration extends NodeBase {
const declaration = this.declaration;
this.declarationName =
(declaration.id && declaration.id.name) || this.declaration.name;
this.variable = this.scope.addExportDefaultDeclaration(this.declarationName || this.scope.context.getModuleName(), this, this.scope.context);
this.variable = this.scope.addExportDefaultDeclaration(this, this.scope.context);
this.scope.context.addExport(this);
}
removeAnnotations(code) {
@@ -11622,8 +11628,8 @@ class UndefinedVariable extends Variable {
}
class ExportDefaultVariable extends LocalVariable {
constructor(name, exportDefaultDeclaration, context) {
super(name, exportDefaultDeclaration, exportDefaultDeclaration.declaration, EMPTY_PATH, context, 'other');
constructor(exportDefaultDeclaration, context) {
super('default', exportDefaultDeclaration, exportDefaultDeclaration.declaration, EMPTY_PATH, context, 'other');
this.hasId = false;
this.originalId = null;
this.originalVariable = null;
@@ -11931,10 +11937,10 @@ function getCompleteAmdId(options, chunkId) {
return options.id ?? '';
}
function getExportBlock$1(exports, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal, mechanism = 'return ') {
function getExportBlock$1(exports$1, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal, mechanism = 'return ') {
const { _, getDirectReturnFunction, getFunctionIntro, getPropertyAccess, n, s } = snippets;
if (!namedExportsMode) {
return `${n}${n}${mechanism}${getSingleDefaultExport(exports, dependencies, interop, externalLiveBindings, getPropertyAccess)};`;
return `${n}${n}${mechanism}${getSingleDefaultExport(exports$1, dependencies, interop, externalLiveBindings, getPropertyAccess)};`;
}
let exportBlock = '';
if (namedExportsMode) {
@@ -11971,7 +11977,7 @@ function getExportBlock$1(exports, dependencies, namedExportsMode, interop, snip
}
}
}
for (const { exported, local } of exports) {
for (const { exported, local } of exports$1) {
const lhs = `exports${getPropertyAccess(exported)}`;
const rhs = local;
if (lhs !== rhs) {
@@ -12018,9 +12024,9 @@ function getExportBlock$1(exports, dependencies, namedExportsMode, interop, snip
}
return '';
}
function getSingleDefaultExport(exports, dependencies, interop, externalLiveBindings, getPropertyAccess) {
if (exports.length > 0) {
return exports[0].local;
function getSingleDefaultExport(exports$1, dependencies, interop, externalLiveBindings, getPropertyAccess) {
if (exports$1.length > 0) {
return exports$1[0].local;
}
else {
for (const { defaultVariableName, importPath, isChunk, name, namedExportsMode: depNamedExportsMode, namespaceVariableName, reexports } of dependencies) {
@@ -12281,12 +12287,12 @@ function warnOnBuiltins(log, dependencies) {
log(parseAst_js.LOGLEVEL_WARN, parseAst_js.logMissingNodeBuiltins(externalBuiltins));
}
function amd(magicString, { accessedGlobals, dependencies, exports, hasDefaultExport, hasExports, id, indent: t, intro, isEntryFacade, isModuleFacade, namedExportsMode, log, outro, snippets }, { amd, esModule, externalLiveBindings, freeze, generatedCode: { symbols }, interop, reexportProtoFromExternal, strict }) {
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 }) {
warnOnBuiltins(log, dependencies);
const deps = dependencies.map(m => `'${updateExtensionForRelativeAmdId(m.importPath, amd.forceJsExtensionForImports)}'`);
const parameters = dependencies.map(m => m.name);
const { n, getNonArrowFunctionIntro, _ } = snippets;
if (hasExports && (namedExportsMode || exports[0]?.local === 'exports.default')) {
if (hasExports && (namedExportsMode || exports$1[0]?.local === 'exports.default')) {
parameters.unshift(`exports`);
deps.unshift(`'exports'`);
}
@@ -12303,7 +12309,7 @@ function amd(magicString, { accessedGlobals, dependencies, exports, hasDefaultEx
(deps.length > 0 ? `[${deps.join(`,${_}`)}],${_}` : ``);
const useStrict = strict ? `${_}'use strict';` : '';
magicString.prepend(`${intro}${getInteropBlock(dependencies, interop, externalLiveBindings, freeze, symbols, accessedGlobals, t, snippets)}`);
const exportBlock = getExportBlock$1(exports, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal);
const exportBlock = getExportBlock$1(exports$1, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal);
let namespaceMarkers = getNamespaceMarkers(namedExportsMode && hasExports, isEntryFacade && (esModule === true || (esModule === 'if-default-prop' && hasDefaultExport)), isModuleFacade && symbols, snippets);
if (namespaceMarkers) {
namespaceMarkers = n + n + namespaceMarkers;
@@ -12320,7 +12326,7 @@ function amd(magicString, { accessedGlobals, dependencies, exports, hasDefaultEx
.append(`${n}${n}}));`);
}
function cjs(magicString, { accessedGlobals, dependencies, exports, hasDefaultExport, hasExports, indent: t, intro, isEntryFacade, isModuleFacade, namedExportsMode, outro, snippets }, { compact, esModule, externalLiveBindings, freeze, interop, generatedCode: { symbols }, reexportProtoFromExternal, strict }) {
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 }) {
const { _, n } = snippets;
const useStrict = strict ? `'use strict';${n}${n}` : '';
let namespaceMarkers = getNamespaceMarkers(namedExportsMode && hasExports, isEntryFacade && (esModule === true || (esModule === 'if-default-prop' && hasDefaultExport)), isModuleFacade && symbols, snippets);
@@ -12330,7 +12336,7 @@ function cjs(magicString, { accessedGlobals, dependencies, exports, hasDefaultEx
const importBlock = getImportBlock$1(dependencies, snippets, compact);
const interopBlock = getInteropBlock(dependencies, interop, externalLiveBindings, freeze, symbols, accessedGlobals, t, snippets);
magicString.prepend(`${useStrict}${intro}${namespaceMarkers}${importBlock}${interopBlock}`);
const exportBlock = getExportBlock$1(exports, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal, `module.exports${_}=${_}`);
const exportBlock = getExportBlock$1(exports$1, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal, `module.exports${_}=${_}`);
magicString.append(`${exportBlock}${outro}`);
}
function getImportBlock$1(dependencies, { _, cnst, n }, compact) {
@@ -12356,7 +12362,7 @@ function getImportBlock$1(dependencies, { _, cnst, n }, compact) {
return '';
}
function es(magicString, { accessedGlobals, indent: t, intro, outro, dependencies, exports, snippets }, { externalLiveBindings, freeze, generatedCode: { symbols }, importAttributesKey }) {
function es(magicString, { accessedGlobals, indent: t, intro, outro, dependencies, exports: exports$1, snippets }, { externalLiveBindings, freeze, generatedCode: { symbols }, importAttributesKey }) {
const { n } = snippets;
const importBlock = getImportBlock(dependencies, importAttributesKey, snippets);
if (importBlock.length > 0)
@@ -12364,7 +12370,7 @@ function es(magicString, { accessedGlobals, indent: t, intro, outro, dependencie
intro += getHelpersBlock(null, accessedGlobals, t, snippets, externalLiveBindings, freeze, symbols);
if (intro)
magicString.prepend(intro);
const exportBlock = getExportBlock(exports, snippets);
const exportBlock = getExportBlock(exports$1, snippets);
if (exportBlock.length > 0)
magicString.append(n + n + exportBlock.join(n).trim());
if (outro)
@@ -12449,11 +12455,11 @@ function getImportBlock(dependencies, importAttributesKey, { _ }) {
}
return importBlock;
}
function getExportBlock(exports, { _, cnst }) {
function getExportBlock(exports$1, { _, cnst }) {
const exportBlock = [];
const exportDeclaration = new Array(exports.length);
const exportDeclaration = new Array(exports$1.length);
let index = 0;
for (const specifier of exports) {
for (const specifier of exports$1) {
if (specifier.expression) {
exportBlock.push(`${cnst} ${specifier.local}${_}=${_}${specifier.expression};`);
}
@@ -12531,7 +12537,7 @@ function trimEmptyImports(dependencies) {
return [];
}
function iife(magicString, { accessedGlobals, dependencies, exports, hasDefaultExport, hasExports, indent: t, intro, namedExportsMode, log, outro, snippets }, { compact, esModule, extend, freeze, externalLiveBindings, reexportProtoFromExternal, globals, interop, name, generatedCode: { symbols }, strict }) {
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 }) {
const { _, getNonArrowFunctionIntro, getPropertyAccess, n } = snippets;
const isNamespaced = name && name.includes('.');
const useVariableAssignment = !extend && !isNamespaced;
@@ -12545,7 +12551,7 @@ function iife(magicString, { accessedGlobals, dependencies, exports, hasDefaultE
if (hasExports && !name) {
log(parseAst_js.LOGLEVEL_WARN, parseAst_js.logMissingNameOptionForIifeExport());
}
if (hasExports && (namedExportsMode || exports[0]?.local === 'exports.default')) {
if (hasExports && (namedExportsMode || exports$1[0]?.local === 'exports.default')) {
if (extend) {
deps.unshift(`this${keypath(name, getPropertyAccess)}${_}=${_}this${keypath(name, getPropertyAccess)}${_}||${_}{}`);
parameters.unshift('exports');
@@ -12576,7 +12582,7 @@ function iife(magicString, { accessedGlobals, dependencies, exports, hasDefaultE
if (hasExports && !extend && namedExportsMode) {
wrapperOutro = `${n}${n}${t}return exports;${wrapperOutro}`;
}
const exportBlock = getExportBlock$1(exports, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal);
const exportBlock = getExportBlock$1(exports$1, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal);
let namespaceMarkers = getNamespaceMarkers(namedExportsMode && hasExports, esModule === true || (esModule === 'if-default-prop' && hasDefaultExport), symbols, snippets);
if (namespaceMarkers) {
namespaceMarkers = n + n + namespaceMarkers;
@@ -12590,9 +12596,9 @@ function iife(magicString, { accessedGlobals, dependencies, exports, hasDefaultE
const MISSING_EXPORT_SHIM_VARIABLE = '_missingExportShim';
function system(magicString, { accessedGlobals, dependencies, exports, hasExports, indent: t, intro, snippets, outro, usesTopLevelAwait }, { externalLiveBindings, freeze, name, generatedCode: { symbols }, strict, systemNullSetters }) {
function system(magicString, { accessedGlobals, dependencies, exports: exports$1, hasExports, indent: t, intro, snippets, outro, usesTopLevelAwait }, { externalLiveBindings, freeze, name, generatedCode: { symbols }, strict, systemNullSetters }) {
const { _, getFunctionIntro, getNonArrowFunctionIntro, n, s } = snippets;
const { importBindings, setters, starExcludes } = analyzeDependencies(dependencies, exports, t, snippets);
const { importBindings, setters, starExcludes } = analyzeDependencies(dependencies, exports$1, t, snippets);
const registeredName = name ? `'${name}',${_}` : '';
const wrapperParameters = accessedGlobals.has('module')
? ['exports', 'module']
@@ -12629,15 +12635,15 @@ function system(magicString, { accessedGlobals, dependencies, exports, hasExport
magicString
.prepend(intro +
getHelpersBlock(null, accessedGlobals, t, snippets, externalLiveBindings, freeze, symbols) +
getHoistedExportsBlock(exports, t, snippets))
getHoistedExportsBlock(exports$1, t, snippets))
.append(`${outro}${n}${n}` +
getSyntheticExportsBlock(exports, t, snippets) +
getMissingExportsBlock(exports, t, snippets))
getSyntheticExportsBlock(exports$1, t, snippets) +
getMissingExportsBlock(exports$1, t, snippets))
.indent(`${t}${t}${t}`)
.append(wrapperEnd)
.prepend(wrapperStart);
}
function analyzeDependencies(dependencies, exports, t, { _, cnst, getObject, getPropertyAccess, n }) {
function analyzeDependencies(dependencies, exports$1, t, { _, cnst, getObject, getPropertyAccess, n }) {
const importBindings = [];
const setters = [];
let starExcludes = null;
@@ -12671,7 +12677,7 @@ function analyzeDependencies(dependencies, exports, t, { _, cnst, getObject, get
if (reexportedNames.length > 1 || hasStarReexport) {
if (hasStarReexport) {
if (!starExcludes) {
starExcludes = getStarExcludes({ dependencies, exports });
starExcludes = getStarExcludes({ dependencies, exports: exports$1 });
}
reexportedNames.unshift([null, `__proto__:${_}null`]);
const exportMapping = getObject(reexportedNames, { lineBreakIndent: null });
@@ -12691,8 +12697,8 @@ function analyzeDependencies(dependencies, exports, t, { _, cnst, getObject, get
}
return { importBindings, setters, starExcludes };
}
const getStarExcludes = ({ dependencies, exports }) => {
const starExcludes = new Set(exports.map(expt => expt.exported));
const getStarExcludes = ({ dependencies, exports: exports$1 }) => {
const starExcludes = new Set(exports$1.map(expt => expt.exported));
starExcludes.add('default');
for (const { reexports } of dependencies) {
if (reexports) {
@@ -12718,24 +12724,24 @@ const getStarExcludesBlock = (starExcludes, t, { _, cnst, getObject, n }) => {
return '';
};
const getImportBindingsBlock = (importBindings, t, { _, n }) => (importBindings.length > 0 ? `${n}${t}var ${importBindings.join(`,${_}`)};` : '');
const getHoistedExportsBlock = (exports, t, snippets) => getExportsBlock(exports.filter(expt => expt.hoisted).map(expt => ({ name: expt.exported, value: expt.local })), t, snippets);
function getExportsBlock(exports, t, { _, n }) {
if (exports.length === 0) {
const getHoistedExportsBlock = (exports$1, t, snippets) => getExportsBlock(exports$1.filter(expt => expt.hoisted).map(expt => ({ name: expt.exported, value: expt.local })), t, snippets);
function getExportsBlock(exports$1, t, { _, n }) {
if (exports$1.length === 0) {
return '';
}
if (exports.length === 1) {
return `exports(${JSON.stringify(exports[0].name)},${_}${exports[0].value});${n}${n}`;
if (exports$1.length === 1) {
return `exports(${JSON.stringify(exports$1[0].name)},${_}${exports$1[0].value});${n}${n}`;
}
return (`exports({${n}` +
exports
exports$1
.map(({ name, value }) => `${t}${stringifyObjectKeyIfNeeded(name)}:${_}${value}`)
.join(`,${n}`) +
`${n}});${n}${n}`);
}
const getSyntheticExportsBlock = (exports, t, snippets) => getExportsBlock(exports
const getSyntheticExportsBlock = (exports$1, t, snippets) => getExportsBlock(exports$1
.filter(expt => expt.expression)
.map(expt => ({ name: expt.exported, value: expt.local })), t, snippets);
const getMissingExportsBlock = (exports, t, snippets) => getExportsBlock(exports
const getMissingExportsBlock = (exports$1, t, snippets) => getExportsBlock(exports$1
.filter(expt => expt.local === MISSING_EXPORT_SHIM_VARIABLE)
.map(expt => ({ name: expt.exported, value: MISSING_EXPORT_SHIM_VARIABLE })), t, snippets);
@@ -12751,7 +12757,7 @@ function safeAccess(name, globalVariable, { _, getPropertyAccess }) {
.map(part => (propertyPath += getPropertyAccess(part)))
.join(`${_}&&${_}`);
}
function umd(magicString, { accessedGlobals, dependencies, exports, hasDefaultExport, hasExports, id, indent: t, intro, namedExportsMode, log, outro, snippets }, { amd, compact, esModule, extend, externalLiveBindings, freeze, interop, name, generatedCode: { symbols }, globals, noConflict, reexportProtoFromExternal, strict }) {
function umd(magicString, { accessedGlobals, dependencies, exports: exports$1, hasDefaultExport, hasExports, id, indent: t, intro, namedExportsMode, log, outro, snippets }, { amd, compact, esModule, extend, externalLiveBindings, freeze, interop, name, generatedCode: { symbols }, globals, noConflict, reexportProtoFromExternal, strict }) {
const { _, cnst, getFunctionIntro, getNonArrowFunctionIntro, getPropertyAccess, n, s } = snippets;
const factoryVariable = compact ? 'f' : 'factory';
const globalVariable = compact ? 'g' : 'global';
@@ -12765,7 +12771,7 @@ function umd(magicString, { accessedGlobals, dependencies, exports, hasDefaultEx
const globalDeps = trimmedImports.map(module => globalProperty(module.globalName, globalVariable, getPropertyAccess));
const factoryParameters = trimmedImports.map(m => m.name);
if ((hasExports || noConflict) &&
(namedExportsMode || (hasExports && exports[0]?.local === 'exports.default'))) {
(namedExportsMode || (hasExports && exports$1[0]?.local === 'exports.default'))) {
amdDeps.unshift(`'exports'`);
cjsDeps.unshift(`exports`);
globalDeps.unshift(assignToDeepVariable(name, globalVariable, globals, `${extend ? `${globalProperty(name, globalVariable, getPropertyAccess)}${_}||${_}` : ''}{}`, snippets, log));
@@ -12833,7 +12839,7 @@ function umd(magicString, { accessedGlobals, dependencies, exports, hasDefaultEx
})}{${useStrict}${n}`;
const wrapperOutro = n + n + '}));';
magicString.prepend(`${intro}${getInteropBlock(dependencies, interop, externalLiveBindings, freeze, symbols, accessedGlobals, t, snippets)}`);
const exportBlock = getExportBlock$1(exports, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal);
const exportBlock = getExportBlock$1(exports$1, dependencies, namedExportsMode, interop, snippets, t, externalLiveBindings, reexportProtoFromExternal);
let namespaceMarkers = getNamespaceMarkers(namedExportsMode && hasExports, esModule === true || (esModule === 'if-default-prop' && hasDefaultExport), symbols, snippets);
if (namespaceMarkers) {
namespaceMarkers = n + n + namespaceMarkers;
@@ -16649,8 +16655,8 @@ class ModuleScope extends ChildScope {
}
return super.addDeclaration(identifier, context, init, destructuredInitPath, kind);
}
addExportDefaultDeclaration(name, exportDefaultDeclaration, context) {
const variable = new ExportDefaultVariable(name, exportDefaultDeclaration, context);
addExportDefaultDeclaration(exportDefaultDeclaration, context) {
const variable = new ExportDefaultVariable(exportDefaultDeclaration, context);
this.variables.set('default', variable);
return variable;
}
@@ -17871,7 +17877,7 @@ const bufferParsers = [
const flags = buffer[position];
node.tail = (flags & 1) === 1;
const cookedPosition = buffer[position + 1];
const cooked = cookedPosition === 0 ? undefined : buffer.convertString(cookedPosition);
const cooked = cookedPosition === 0 ? null : buffer.convertString(cookedPosition);
const raw = buffer.convertString(buffer[position + 2]);
node.value = { cooked, raw };
},
@@ -18439,7 +18445,7 @@ class Module {
this.preserveSignature = this.options.preserveEntrySignatures;
// eslint-disable-next-line @typescript-eslint/no-this-alias
const module = this;
const { dynamicImports, dynamicImporters, exportAllSources, exports, implicitlyLoadedAfter, implicitlyLoadedBefore, importers, reexportDescriptions, sourcesWithAttributes } = this;
const { dynamicImports, dynamicImporters, exportAllSources, exports: exports$1, implicitlyLoadedAfter, implicitlyLoadedBefore, importers, reexportDescriptions, sourcesWithAttributes } = this;
this.info = {
ast: null,
attributes,
@@ -18458,7 +18464,7 @@ class Module {
return dynamicImporters.sort();
},
get exportedBindings() {
const exportBindings = { '.': [...exports.keys()] };
const exportBindings = { '.': [...exports$1.keys()] };
for (const [name, { source }] of reexportDescriptions) {
(exportBindings[source] ??= []).push(name);
}
@@ -18469,7 +18475,7 @@ class Module {
},
get exports() {
return [
...exports.keys(),
...exports$1.keys(),
...reexportDescriptions.keys(),
...[...exportAllSources].map(() => '*')
];
@@ -18509,6 +18515,7 @@ class Module {
},
meta: { ...meta },
moduleSideEffects,
safeVariableNames: null,
syntheticNamedExports
};
}
@@ -18859,13 +18866,14 @@ class Module {
}
return { source, usesTopLevelAwait };
}
async setSource({ ast, code, customTransformCache, originalCode, originalSourcemap, resolvedIds, sourcemapChain, transformDependencies, transformFiles, ...moduleOptions }) {
async setSource({ ast, code, customTransformCache, originalCode, originalSourcemap, resolvedIds, sourcemapChain, transformDependencies, transformFiles, safeVariableNames, ...moduleOptions }) {
timeStart('generate ast', 3);
if (code.startsWith('#!')) {
const shebangEndPosition = code.indexOf('\n');
this.shebang = code.slice(2, shebangEndPosition);
}
this.info.code = code;
this.info.safeVariableNames = safeVariableNames;
this.originalCode = originalCode;
// We need to call decodedSourcemap on the input in case they were hydrated from json in the cache and don't
// have the lazy evaluation cache configured. Right now this isn't enforced by the type system because the
@@ -18972,6 +18980,7 @@ class Module {
originalCode: this.originalCode,
originalSourcemap: this.originalSourcemap,
resolvedIds: this.resolvedIds,
safeVariableNames: this.info.safeVariableNames,
sourcemapChain: this.sourcemapChain,
syntheticNamedExports: this.info.syntheticNamedExports,
transformDependencies: this.transformDependencies,
@@ -19390,7 +19399,7 @@ const DECONFLICT_IMPORTED_VARIABLES_BY_FORMAT = {
function deconflictChunk(modules, dependenciesToBeDeconflicted, imports, usedNames, format, interop, preserveModules, externalLiveBindings, chunkByModule, externalChunkByModule, syntheticExports, exportNamesByVariable, accessedGlobalsByScope, includedNamespaces) {
const reversedModules = [...modules].reverse();
for (const module of reversedModules) {
module.scope.addUsedOutsideNames(usedNames, format, exportNamesByVariable, accessedGlobalsByScope);
module.scope.addUsedOutsideNames(usedNames, accessedGlobalsByScope);
}
deconflictTopLevelVariables(usedNames, reversedModules, includedNamespaces);
DECONFLICT_IMPORTED_VARIABLES_BY_FORMAT[format](usedNames, imports, dependenciesToBeDeconflicted, interop, preserveModules, externalLiveBindings, chunkByModule, externalChunkByModule, syntheticExports);
@@ -19483,12 +19492,22 @@ function deconflictImportsOther(usedNames, imports, { deconflictedDefault, decon
}
function deconflictTopLevelVariables(usedNames, modules, includedNamespaces) {
for (const module of modules) {
module.info.safeVariableNames ||= {};
for (const variable of module.scope.variables.values()) {
if (variable.included &&
// this will only happen for exports in some formats
!(variable.renderBaseName ||
(variable instanceof ExportDefaultVariable && variable.getOriginalVariable() !== variable))) {
// We need to make sure that variables that corresponding to object
// prototype methods are not accidentally matched.
const cachedSafeVariableName = Object.getOwnPropertyDescriptor(module.info.safeVariableNames, variable.name)?.value;
if (cachedSafeVariableName && !usedNames.has(cachedSafeVariableName)) {
usedNames.add(cachedSafeVariableName);
variable.setRenderNames(null, cachedSafeVariableName);
continue;
}
variable.setRenderNames(null, getSafeName(variable.name, usedNames, variable.forbiddenNames));
module.info.safeVariableNames[variable.name] = variable.renderName;
}
}
if (includedNamespaces.has(module)) {
@@ -19498,9 +19517,9 @@ function deconflictTopLevelVariables(usedNames, modules, includedNamespaces) {
}
}
function assignExportsToMangledNames(exports, exportsByName, exportNamesByVariable) {
function assignExportsToMangledNames(exports$1, exportsByName, exportNamesByVariable) {
let nameIndex = 0;
for (const variable of exports) {
for (const variable of exports$1) {
let [exportName] = variable.name;
if (exportsByName.has(exportName)) {
do {
@@ -19516,8 +19535,8 @@ function assignExportsToMangledNames(exports, exportsByName, exportNamesByVariab
exportNamesByVariable.set(variable, [exportName]);
}
}
function assignExportsToNames(exports, exportsByName, exportNamesByVariable) {
for (const variable of exports) {
function assignExportsToNames(exports$1, exportsByName, exportNamesByVariable) {
for (const variable of exports$1) {
let nameIndex = 0;
let exportName = variable.name;
while (exportsByName.has(exportName)) {
@@ -19624,6 +19643,16 @@ function addStaticDependencies(module, staticDependencies, handledModules, chunk
}
}
const RESERVED_USED_NAMES = [
'Object',
'Promise',
'module',
'exports',
'require',
'__filename',
'__dirname',
...HELPER_NAMES
];
const NON_ASSET_EXTENSIONS = new Set([
'.js',
'.jsx',
@@ -20176,7 +20205,7 @@ class Chunk {
return 'chunk';
}
getChunkExportDeclarations(format) {
const exports = [];
const exports$1 = [];
for (const exportName of this.getExportNames()) {
if (exportName[0] === '*')
continue;
@@ -20221,14 +20250,14 @@ class Chunk {
local = variable.renderName;
}
}
exports.push({
exports$1.push({
exported: exportName,
expression,
hoisted,
local
});
}
return exports;
return exports$1;
}
getDependenciesToBeDeconflicted(addNonNamespacesAndInteropHelpers, addDependenciesWithoutBindings, interop) {
const dependencies = new Set();
@@ -20645,32 +20674,13 @@ class Chunk {
break;
}
}
const usedNames = new Set(['Object', 'Promise']);
const usedNames = new Set(RESERVED_USED_NAMES);
if (this.needsExportsShim) {
usedNames.add(MISSING_EXPORT_SHIM_VARIABLE);
}
if (symbols) {
usedNames.add('Symbol');
}
switch (format) {
case 'system': {
usedNames.add('module').add('exports');
break;
}
case 'es': {
break;
}
case 'cjs': {
usedNames.add('module').add('require').add('__filename').add('__dirname');
}
// fallthrough
default: {
usedNames.add('exports');
for (const helper of HELPER_NAMES) {
usedNames.add(helper);
}
}
}
deconflictChunk(this.orderedModules, this.getDependenciesToBeDeconflicted(format !== 'es' && format !== 'system', format === 'amd' || format === 'umd' || format === 'iife', interop), this.imports, usedNames, format, interop, preserveModules, externalLiveBindings, this.chunkByModule, this.externalChunkByModule, syntheticExports, this.exportNamesByVariable, this.accessedGlobalsByScope, this.includedNamespaces);
}
setImportMetaResolutions(fileName) {
@@ -22426,6 +22436,7 @@ async function transform(source, module, pluginDriver, log) {
customTransformCache,
originalCode,
originalSourcemap,
safeVariableNames: null,
sourcemapChain,
transformDependencies
};
@@ -23676,7 +23687,9 @@ async function rollupInternal(rawInputOptions, watcher) {
});
timeEnd('BUILD', 1);
const result = {
cache: useCache ? graph.getCache() : undefined,
get cache() {
return useCache ? graph.getCache() : undefined;
},
async close() {
if (result.closed)
return;

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.52.5
Sat, 18 Oct 2025 06:53:02 GMT - commit 55a8fd5a70820f274921edf394efbbaa620f0962
Rollup.js v4.53.2
Mon, 10 Nov 2025 08:56:08 GMT - commit d8b0150971681d9efa4f173de5edd2c79a6e03d9
https://github.com/rollup/rollup

103
node_modules/rollup/package.json generated vendored
View File

@@ -1,6 +1,6 @@
{
"name": "rollup",
"version": "4.52.5",
"version": "4.53.2",
"description": "Next-generation ES module bundler",
"main": "dist/rollup.js",
"module": "dist/es/rollup.js",
@@ -69,7 +69,7 @@
"lint:rust": "cd rust && cargo fmt && cargo clippy --fix --allow-dirty",
"lint:rust:nofix": "cd rust && cargo fmt --check && cargo clippy",
"perf": "npm run build:bootstrap:cjs && node --expose-gc scripts/perf-report/index.js",
"prepare": "husky && node scripts/check-release.js || npm run build:prepare",
"prepare": "husky && patch-package && node scripts/check-release.js || npm run build:prepare",
"prepublishOnly": "node scripts/check-release.js && node scripts/prepublish.js",
"postpublish": "node scripts/postpublish.js",
"prepublish:napi": "napi prepublish --no-gh-release",
@@ -86,7 +86,7 @@
"test:package": "node scripts/test-package.js",
"test:options": "node scripts/test-options.js",
"test:only": "mocha test/test.js",
"test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit && tsc --noEmit -p scripts",
"test:typescript": "echo skipped",
"test:browser": "mocha test/browser/index.js",
"watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
},
@@ -109,28 +109,28 @@
"homepage": "https://rollupjs.org/",
"optionalDependencies": {
"fsevents": "~2.3.2",
"@rollup/rollup-darwin-arm64": "4.52.5",
"@rollup/rollup-android-arm64": "4.52.5",
"@rollup/rollup-win32-arm64-msvc": "4.52.5",
"@rollup/rollup-freebsd-arm64": "4.52.5",
"@rollup/rollup-linux-arm64-gnu": "4.52.5",
"@rollup/rollup-linux-arm64-musl": "4.52.5",
"@rollup/rollup-android-arm-eabi": "4.52.5",
"@rollup/rollup-linux-arm-gnueabihf": "4.52.5",
"@rollup/rollup-linux-arm-musleabihf": "4.52.5",
"@rollup/rollup-win32-ia32-msvc": "4.52.5",
"@rollup/rollup-linux-loong64-gnu": "4.52.5",
"@rollup/rollup-linux-riscv64-gnu": "4.52.5",
"@rollup/rollup-linux-riscv64-musl": "4.52.5",
"@rollup/rollup-linux-ppc64-gnu": "4.52.5",
"@rollup/rollup-linux-s390x-gnu": "4.52.5",
"@rollup/rollup-darwin-x64": "4.52.5",
"@rollup/rollup-win32-x64-gnu": "4.52.5",
"@rollup/rollup-win32-x64-msvc": "4.52.5",
"@rollup/rollup-freebsd-x64": "4.52.5",
"@rollup/rollup-linux-x64-gnu": "4.52.5",
"@rollup/rollup-linux-x64-musl": "4.52.5",
"@rollup/rollup-openharmony-arm64": "4.52.5"
"@rollup/rollup-darwin-arm64": "4.53.2",
"@rollup/rollup-android-arm64": "4.53.2",
"@rollup/rollup-win32-arm64-msvc": "4.53.2",
"@rollup/rollup-freebsd-arm64": "4.53.2",
"@rollup/rollup-linux-arm64-gnu": "4.53.2",
"@rollup/rollup-linux-arm64-musl": "4.53.2",
"@rollup/rollup-android-arm-eabi": "4.53.2",
"@rollup/rollup-linux-arm-gnueabihf": "4.53.2",
"@rollup/rollup-linux-arm-musleabihf": "4.53.2",
"@rollup/rollup-win32-ia32-msvc": "4.53.2",
"@rollup/rollup-linux-loong64-gnu": "4.53.2",
"@rollup/rollup-linux-riscv64-gnu": "4.53.2",
"@rollup/rollup-linux-riscv64-musl": "4.53.2",
"@rollup/rollup-linux-ppc64-gnu": "4.53.2",
"@rollup/rollup-linux-s390x-gnu": "4.53.2",
"@rollup/rollup-darwin-x64": "4.53.2",
"@rollup/rollup-win32-x64-gnu": "4.53.2",
"@rollup/rollup-win32-x64-msvc": "4.53.2",
"@rollup/rollup-freebsd-x64": "4.53.2",
"@rollup/rollup-linux-x64-gnu": "4.53.2",
"@rollup/rollup-linux-x64-musl": "4.53.2",
"@rollup/rollup-openharmony-arm64": "4.53.2"
},
"dependencies": {
"@types/estree": "1.0.8"
@@ -139,33 +139,33 @@
"core-js": "We only update manually as every update requires a snapshot update"
},
"devDependencies": {
"@codemirror/commands": "^6.9.0",
"@codemirror/commands": "^6.10.0",
"@codemirror/lang-javascript": "^6.2.4",
"@codemirror/language": "^6.11.3",
"@codemirror/search": "^6.5.11",
"@codemirror/state": "^6.5.2",
"@codemirror/view": "^6.38.6",
"@eslint/js": "^9.37.0",
"@eslint/js": "^9.39.1",
"@inquirer/prompts": "^7.9.0",
"@jridgewell/sourcemap-codec": "^1.5.5",
"@mermaid-js/mermaid-cli": "^11.4.0",
"@napi-rs/cli": "^3.3.1",
"@rollup/plugin-alias": "^5.1.1",
"@napi-rs/cli": "^3.4.1",
"@rollup/plugin-alias": "^6.0.0",
"@rollup/plugin-buble": "^1.0.3",
"@rollup/plugin-commonjs": "^28.0.7",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-replace": "^6.0.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.4",
"@rollup/plugin-typescript": "^12.3.0",
"@rollup/pluginutils": "^5.3.0",
"@shikijs/vitepress-twoslash": "^3.13.0",
"@shikijs/vitepress-twoslash": "^3.14.0",
"@types/mocha": "^10.0.10",
"@types/node": "^20.19.21",
"@types/node": "^20.19.24",
"@types/picomatch": "^4.0.2",
"@types/semver": "^7.7.1",
"@types/yargs-parser": "^21.0.3",
"@vue/language-server": "^3.1.1",
"@vue/language-server": "^3.1.3",
"acorn": "^8.15.0",
"acorn-import-assertions": "^1.9.0",
"acorn-jsx": "^5.3.2",
@@ -178,25 +178,26 @@
"date-time": "^4.0.0",
"es5-shim": "^4.6.7",
"es6-shim": "^0.35.8",
"eslint": "^9.37.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-unicorn": "^61.0.2",
"eslint-plugin-vue": "^10.5.0",
"eslint-plugin-unicorn": "^62.0.0",
"eslint-plugin-vue": "^10.5.1",
"fixturify": "^3.0.0",
"flru": "^1.0.2",
"fs-extra": "^11.3.2",
"github-api": "^3.4.0",
"globals": "^16.4.0",
"globals": "^16.5.0",
"husky": "^9.1.7",
"is-reference": "^3.0.3",
"lint-staged": "^16.2.4",
"lint-staged": "^16.2.6",
"locate-character": "^3.0.0",
"magic-string": "^0.30.19",
"memfs": "^4.49.0",
"magic-string": "^0.30.21",
"memfs": "^4.50.0",
"mocha": "^11.7.4",
"nodemon": "^3.1.10",
"nyc": "^17.1.0",
"patch-package": "^8.0.1",
"picocolors": "^1.1.1",
"picomatch": "^4.0.3",
"pinia": "^3.0.3",
@@ -205,7 +206,7 @@
"pretty-bytes": "^7.1.0",
"pretty-ms": "^9.3.0",
"requirejs": "^2.3.7",
"rollup": "^4.52.4",
"rollup": "^4.52.5",
"rollup-plugin-license": "^3.6.0",
"rollup-plugin-string": "^3.0.0",
"semver": "^7.7.3",
@@ -217,20 +218,24 @@
"terser": "^5.44.0",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.1",
"vite": "^7.1.10",
"typescript-eslint": "^8.46.3",
"vite": "^7.1.12",
"vitepress": "^1.6.4",
"vue": "^3.5.22",
"vue-eslint-parser": "^10.2.0",
"vue-tsc": "^2.2.12",
"vue-tsc": "^3.1.3",
"wasm-pack": "^0.13.1",
"yargs-parser": "^21.1.1"
},
"overrides": {
"axios": "^1.12.2",
"semver": "^7.7.3",
"axios": "^1.13.1",
"esbuild": ">0.24.2",
"readable-stream": "npm:@built-in/readable-stream@1",
"esbuild": ">0.24.2"
"semver": "^7.7.3",
"vite": "$vite",
"path-scurry": {
"lru-cache": "^11.2.2"
}
},
"comments": {
"vue-tsc": "This is necessary so that prettier-plugin-organize-imports works correctly in Vue templatges"