Fix code quality violations for publish

Progressive breadcrumb resolution with caching, fix double headers

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-16 04:43:47 +00:00
parent ba3268caca
commit 14dd2fd223
1456 changed files with 136243 additions and 7631 deletions

0
node_modules/rollup/LICENSE.md generated vendored Executable file → Normal file
View File

0
node_modules/rollup/README.md generated vendored Executable file → Normal file
View File

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env node
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
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.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

0
node_modules/rollup/dist/es/package.json generated vendored Executable file → Normal file
View File

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

116
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.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup
@@ -27,7 +27,7 @@ function _mergeNamespaces(n, m) {
return Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' });
}
var version = "4.53.3";
var version = "4.53.4";
// src/vlq.ts
var comma = ",".charCodeAt(0);
@@ -2002,6 +2002,10 @@ const UnknownKey = Symbol('Unknown Key');
const UnknownNonAccessorKey = Symbol('Unknown Non-Accessor Key');
const UnknownInteger = Symbol('Unknown Integer');
const SymbolToStringTag = Symbol('Symbol.toStringTag');
const SymbolDispose = Symbol('Symbol.asyncDispose');
const SymbolAsyncDispose = Symbol('Symbol.dispose');
const WELL_KNOWN_SYMBOLS_LIST = [SymbolToStringTag, SymbolDispose, SymbolAsyncDispose];
const WELL_KNOWN_SYMBOLS = new Set(WELL_KNOWN_SYMBOLS_LIST);
const EMPTY_PATH = [];
const UNKNOWN_PATH = [UnknownKey];
// For deoptimizations, this means we are modifying an unknown property but did
@@ -4270,6 +4274,27 @@ const knownGlobals = {
for: PF,
keyFor: PF,
prototype: O,
asyncDispose: {
__proto__: null,
[ValueProperties]: {
deoptimizeArgumentsOnCall: doNothing,
getLiteralValue() {
return SymbolAsyncDispose;
},
// This might not be needed, but then we need to check a few more cases
hasEffectsWhenCalled: returnTrue
}
},
dispose: {
__proto__: null,
[ValueProperties]: {
deoptimizeArgumentsOnCall: doNothing,
getLiteralValue() {
return SymbolDispose;
},
hasEffectsWhenCalled: returnTrue
}
},
toStringTag: {
__proto__: null,
[ValueProperties]: {
@@ -7670,11 +7695,11 @@ class MemberExpression extends NodeBase {
this.dynamicPropertyKey = this.propertyKey;
const value = this.property.getLiteralValueAtPath(EMPTY_PATH, SHARED_RECURSION_TRACKER, this);
return (this.dynamicPropertyKey =
value === SymbolToStringTag
? value
: typeof value === 'symbol'
? UnknownKey
: String(value));
typeof value === 'symbol'
? WELL_KNOWN_SYMBOLS.has(value)
? value
: UnknownKey
: String(value));
}
return this.dynamicPropertyKey;
}
@@ -13052,8 +13077,9 @@ function isReassignedExportsMember(variable, exportNamesByVariable) {
}
class VariableDeclarator extends NodeBase {
declareDeclarator(kind, isUsingDeclaration) {
this.isUsingDeclaration = isUsingDeclaration;
declareDeclarator(kind) {
this.isUsingDeclaration = kind === 'using';
this.isAsyncUsingDeclaration = kind === 'await using';
this.id.declare(kind, EMPTY_PATH, this.init || UNDEFINED_EXPRESSION);
}
deoptimizePath(path) {
@@ -13064,6 +13090,7 @@ class VariableDeclarator extends NodeBase {
this.id.markDeclarationReached();
return (initEffect ||
this.isUsingDeclaration ||
this.isAsyncUsingDeclaration ||
this.id.hasEffects(context) ||
(this.scope.context.options.treeshake
.propertyReadSideEffects &&
@@ -13072,7 +13099,7 @@ class VariableDeclarator extends NodeBase {
include(context, includeChildrenRecursively) {
const { id, init } = this;
if (!this.included)
this.includeNode();
this.includeNode(context);
init?.include(context, includeChildrenRecursively);
id.markDeclarationReached();
if (includeChildrenRecursively) {
@@ -13088,7 +13115,7 @@ class VariableDeclarator extends NodeBase {
render(code, options) {
const { exportNamesByVariable, snippets: { _, getPropertyAccess } } = options;
const { end, id, init, start } = this;
const renderId = id.included || this.isUsingDeclaration;
const renderId = id.included || this.isUsingDeclaration || this.isAsyncUsingDeclaration;
if (renderId) {
id.render(code, options);
}
@@ -13110,20 +13137,30 @@ class VariableDeclarator extends NodeBase {
code.appendLeft(end, `${_}=${_}void 0`);
}
}
includeNode() {
includeNode(context) {
this.included = true;
const { id, init } = this;
if (init && id instanceof Identifier && init instanceof ClassExpression && !init.id) {
const { name, variable } = id;
for (const accessedVariable of init.scope.accessedOutsideVariables.values()) {
if (accessedVariable !== variable) {
accessedVariable.forbidName(name);
if (init) {
if (this.isUsingDeclaration) {
init.includePath(SYMBOL_DISPOSE_PATH, context);
}
else if (this.isAsyncUsingDeclaration) {
init.includePath(SYMBOL_ASYNC_DISPOSE_PATH, context);
}
if (id instanceof Identifier && init instanceof ClassExpression && !init.id) {
const { name, variable } = id;
for (const accessedVariable of init.scope.accessedOutsideVariables.values()) {
if (accessedVariable !== variable) {
accessedVariable.forbidName(name);
}
}
}
}
}
}
VariableDeclarator.prototype.applyDeoptimizations = doNotDeoptimize;
const SYMBOL_DISPOSE_PATH = [SymbolDispose];
const SYMBOL_ASYNC_DISPOSE_PATH = [SymbolAsyncDispose];
function getChunkInfoWithPath(chunk) {
return { fileName: chunk.getFileName(), ...chunk.getPreRenderedChunkInfo() };
@@ -15361,23 +15398,6 @@ class UpdateExpression extends NodeBase {
}
UpdateExpression.prototype.includeNode = onlyIncludeSelf;
function areAllDeclarationsIncludedAndNotExported(declarations, exportNamesByVariable) {
for (const declarator of declarations) {
if (!declarator.id.included)
return false;
if (declarator.id.type === Identifier$1) {
if (exportNamesByVariable.has(declarator.id.variable))
return false;
}
else {
const exportedVariables = [];
declarator.id.addExportedVariables(exportedVariables, exportNamesByVariable);
if (exportedVariables.length > 0)
return false;
}
}
return true;
}
class VariableDeclaration extends NodeBase {
deoptimizePath() {
for (const declarator of this.declarations) {
@@ -15407,17 +15427,15 @@ class VariableDeclaration extends NodeBase {
}
initialise() {
super.initialise();
this.isUsingDeclaration = this.kind === 'await using' || this.kind === 'using';
for (const declarator of this.declarations) {
declarator.declareDeclarator(this.kind, this.isUsingDeclaration);
declarator.declareDeclarator(this.kind);
}
}
removeAnnotations(code) {
this.declarations[0].removeAnnotations(code);
}
render(code, options, nodeRenderOptions = BLANK) {
if (this.isUsingDeclaration ||
areAllDeclarationsIncludedAndNotExported(this.declarations, options.exportNamesByVariable)) {
if (this.areAllDeclarationsIncludedAndNotExported(options.exportNamesByVariable)) {
for (const declarator of this.declarations) {
declarator.render(code, options);
}
@@ -15517,6 +15535,26 @@ class VariableDeclaration extends NodeBase {
}
this.renderDeclarationEnd(code, separatorString, lastSeparatorPos, actualContentEnd, renderedContentEnd, aggregatedSystemExports, options);
}
areAllDeclarationsIncludedAndNotExported(exportNamesByVariable) {
if (this.kind === 'await using' || this.kind === 'using') {
return true;
}
for (const declarator of this.declarations) {
if (!declarator.id.included)
return false;
if (declarator.id.type === Identifier$1) {
if (exportNamesByVariable.has(declarator.id.variable))
return false;
}
else {
const exportedVariables = [];
declarator.id.addExportedVariables(exportedVariables, exportNamesByVariable);
if (exportedVariables.length > 0)
return false;
}
}
return true;
}
}
function gatherSystemExportsAndGetSingleExport(separatedNodes, options, aggregatedSystemExports) {
let singleSystemExport = null;

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

0
node_modules/rollup/dist/getLogFilter.d.ts generated vendored Executable file → Normal file
View File

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

0
node_modules/rollup/dist/loadConfigFile.d.ts generated vendored Executable file → Normal file
View File

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

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

0
node_modules/rollup/dist/parseAst.d.ts 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.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

8
node_modules/rollup/dist/rollup.d.ts generated vendored Executable file → Normal file
View File

@@ -562,7 +562,8 @@ export type PluginHooks = {
};
export interface OutputPlugin
extends Partial<{ [K in OutputPluginHooks]: PluginHooks[K] }>,
extends
Partial<{ [K in OutputPluginHooks]: PluginHooks[K] }>,
Partial<Record<AddonHooks, ObjectHook<AddonHook>>> {
cacheKey?: string | undefined;
name: string;
@@ -618,8 +619,9 @@ export interface NormalizedTreeshakingOptions {
unknownGlobalSideEffects: boolean;
}
export interface TreeshakingOptions
extends Partial<Omit<NormalizedTreeshakingOptions, 'moduleSideEffects'>> {
export interface TreeshakingOptions extends Partial<
Omit<NormalizedTreeshakingOptions, 'moduleSideEffects'>
> {
moduleSideEffects?: ModuleSideEffectsOption | undefined;
preset?: TreeshakingPreset | undefined;
}

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
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.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup
@@ -42,7 +42,7 @@ function _mergeNamespaces(n, m) {
const promises__namespace = /*#__PURE__*/_interopNamespaceDefault(promises);
var version = "4.53.3";
var version = "4.53.4";
function ensureArray$1(items) {
if (Array.isArray(items)) {
@@ -5793,6 +5793,10 @@ const UnknownKey = Symbol('Unknown Key');
const UnknownNonAccessorKey = Symbol('Unknown Non-Accessor Key');
const UnknownInteger = Symbol('Unknown Integer');
const SymbolToStringTag = Symbol('Symbol.toStringTag');
const SymbolDispose = Symbol('Symbol.asyncDispose');
const SymbolAsyncDispose = Symbol('Symbol.dispose');
const WELL_KNOWN_SYMBOLS_LIST = [SymbolToStringTag, SymbolDispose, SymbolAsyncDispose];
const WELL_KNOWN_SYMBOLS = new Set(WELL_KNOWN_SYMBOLS_LIST);
const EMPTY_PATH = [];
const UNKNOWN_PATH = [UnknownKey];
// For deoptimizations, this means we are modifying an unknown property but did
@@ -8059,6 +8063,27 @@ const knownGlobals = {
for: PF,
keyFor: PF,
prototype: O,
asyncDispose: {
__proto__: null,
[ValueProperties]: {
deoptimizeArgumentsOnCall: doNothing,
getLiteralValue() {
return SymbolAsyncDispose;
},
// This might not be needed, but then we need to check a few more cases
hasEffectsWhenCalled: returnTrue
}
},
dispose: {
__proto__: null,
[ValueProperties]: {
deoptimizeArgumentsOnCall: doNothing,
getLiteralValue() {
return SymbolDispose;
},
hasEffectsWhenCalled: returnTrue
}
},
toStringTag: {
__proto__: null,
[ValueProperties]: {
@@ -11447,11 +11472,11 @@ class MemberExpression extends NodeBase {
this.dynamicPropertyKey = this.propertyKey;
const value = this.property.getLiteralValueAtPath(EMPTY_PATH, SHARED_RECURSION_TRACKER, this);
return (this.dynamicPropertyKey =
value === SymbolToStringTag
? value
: typeof value === 'symbol'
? UnknownKey
: String(value));
typeof value === 'symbol'
? WELL_KNOWN_SYMBOLS.has(value)
? value
: UnknownKey
: String(value));
}
return this.dynamicPropertyKey;
}
@@ -14662,8 +14687,9 @@ function isReassignedExportsMember(variable, exportNamesByVariable) {
}
class VariableDeclarator extends NodeBase {
declareDeclarator(kind, isUsingDeclaration) {
this.isUsingDeclaration = isUsingDeclaration;
declareDeclarator(kind) {
this.isUsingDeclaration = kind === 'using';
this.isAsyncUsingDeclaration = kind === 'await using';
this.id.declare(kind, EMPTY_PATH, this.init || UNDEFINED_EXPRESSION);
}
deoptimizePath(path) {
@@ -14674,6 +14700,7 @@ class VariableDeclarator extends NodeBase {
this.id.markDeclarationReached();
return (initEffect ||
this.isUsingDeclaration ||
this.isAsyncUsingDeclaration ||
this.id.hasEffects(context) ||
(this.scope.context.options.treeshake
.propertyReadSideEffects &&
@@ -14682,7 +14709,7 @@ class VariableDeclarator extends NodeBase {
include(context, includeChildrenRecursively) {
const { id, init } = this;
if (!this.included)
this.includeNode();
this.includeNode(context);
init?.include(context, includeChildrenRecursively);
id.markDeclarationReached();
if (includeChildrenRecursively) {
@@ -14698,7 +14725,7 @@ class VariableDeclarator extends NodeBase {
render(code, options) {
const { exportNamesByVariable, snippets: { _, getPropertyAccess } } = options;
const { end, id, init, start } = this;
const renderId = id.included || this.isUsingDeclaration;
const renderId = id.included || this.isUsingDeclaration || this.isAsyncUsingDeclaration;
if (renderId) {
id.render(code, options);
}
@@ -14720,20 +14747,30 @@ class VariableDeclarator extends NodeBase {
code.appendLeft(end, `${_}=${_}void 0`);
}
}
includeNode() {
includeNode(context) {
this.included = true;
const { id, init } = this;
if (init && id instanceof Identifier && init instanceof ClassExpression && !init.id) {
const { name, variable } = id;
for (const accessedVariable of init.scope.accessedOutsideVariables.values()) {
if (accessedVariable !== variable) {
accessedVariable.forbidName(name);
if (init) {
if (this.isUsingDeclaration) {
init.includePath(SYMBOL_DISPOSE_PATH, context);
}
else if (this.isAsyncUsingDeclaration) {
init.includePath(SYMBOL_ASYNC_DISPOSE_PATH, context);
}
if (id instanceof Identifier && init instanceof ClassExpression && !init.id) {
const { name, variable } = id;
for (const accessedVariable of init.scope.accessedOutsideVariables.values()) {
if (accessedVariable !== variable) {
accessedVariable.forbidName(name);
}
}
}
}
}
}
VariableDeclarator.prototype.applyDeoptimizations = doNotDeoptimize;
const SYMBOL_DISPOSE_PATH = [SymbolDispose];
const SYMBOL_ASYNC_DISPOSE_PATH = [SymbolAsyncDispose];
function getChunkInfoWithPath(chunk) {
return { fileName: chunk.getFileName(), ...chunk.getPreRenderedChunkInfo() };
@@ -16971,23 +17008,6 @@ class UpdateExpression extends NodeBase {
}
UpdateExpression.prototype.includeNode = onlyIncludeSelf;
function areAllDeclarationsIncludedAndNotExported(declarations, exportNamesByVariable) {
for (const declarator of declarations) {
if (!declarator.id.included)
return false;
if (declarator.id.type === parseAst_js.Identifier) {
if (exportNamesByVariable.has(declarator.id.variable))
return false;
}
else {
const exportedVariables = [];
declarator.id.addExportedVariables(exportedVariables, exportNamesByVariable);
if (exportedVariables.length > 0)
return false;
}
}
return true;
}
class VariableDeclaration extends NodeBase {
deoptimizePath() {
for (const declarator of this.declarations) {
@@ -17017,17 +17037,15 @@ class VariableDeclaration extends NodeBase {
}
initialise() {
super.initialise();
this.isUsingDeclaration = this.kind === 'await using' || this.kind === 'using';
for (const declarator of this.declarations) {
declarator.declareDeclarator(this.kind, this.isUsingDeclaration);
declarator.declareDeclarator(this.kind);
}
}
removeAnnotations(code) {
this.declarations[0].removeAnnotations(code);
}
render(code, options, nodeRenderOptions = parseAst_js.BLANK) {
if (this.isUsingDeclaration ||
areAllDeclarationsIncludedAndNotExported(this.declarations, options.exportNamesByVariable)) {
if (this.areAllDeclarationsIncludedAndNotExported(options.exportNamesByVariable)) {
for (const declarator of this.declarations) {
declarator.render(code, options);
}
@@ -17127,6 +17145,26 @@ class VariableDeclaration extends NodeBase {
}
this.renderDeclarationEnd(code, separatorString, lastSeparatorPos, actualContentEnd, renderedContentEnd, aggregatedSystemExports, options);
}
areAllDeclarationsIncludedAndNotExported(exportNamesByVariable) {
if (this.kind === 'await using' || this.kind === 'using') {
return true;
}
for (const declarator of this.declarations) {
if (!declarator.id.included)
return false;
if (declarator.id.type === parseAst_js.Identifier) {
if (exportNamesByVariable.has(declarator.id.variable))
return false;
}
else {
const exportedVariables = [];
declarator.id.addExportedVariables(exportedVariables, exportNamesByVariable);
if (exportedVariables.length > 0)
return false;
}
}
return true;
}
}
function gatherSystemExportsAndGetSingleExport(separatedNodes, options, aggregatedSystemExports) {
let singleSystemExport = null;

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.53.3
Wed, 19 Nov 2025 06:31:27 GMT - commit 998b5950a6ea7cea1a7b994e8dab45472c3cbe7e
Rollup.js v4.53.4
Mon, 15 Dec 2025 12:00:59 GMT - commit 7df7947fdb51ead87b71d38ece3752796bd0249c
https://github.com/rollup/rollup

78
node_modules/rollup/package.json generated vendored Executable file → Normal file
View File

@@ -1,6 +1,6 @@
{
"name": "rollup",
"version": "4.53.3",
"version": "4.53.4",
"description": "Next-generation ES module bundler",
"main": "dist/rollup.js",
"module": "dist/es/rollup.js",
@@ -111,28 +111,28 @@
"homepage": "https://rollupjs.org/",
"optionalDependencies": {
"fsevents": "~2.3.2",
"@rollup/rollup-darwin-arm64": "4.53.3",
"@rollup/rollup-android-arm64": "4.53.3",
"@rollup/rollup-win32-arm64-msvc": "4.53.3",
"@rollup/rollup-freebsd-arm64": "4.53.3",
"@rollup/rollup-linux-arm64-gnu": "4.53.3",
"@rollup/rollup-linux-arm64-musl": "4.53.3",
"@rollup/rollup-android-arm-eabi": "4.53.3",
"@rollup/rollup-linux-arm-gnueabihf": "4.53.3",
"@rollup/rollup-linux-arm-musleabihf": "4.53.3",
"@rollup/rollup-win32-ia32-msvc": "4.53.3",
"@rollup/rollup-linux-loong64-gnu": "4.53.3",
"@rollup/rollup-linux-riscv64-gnu": "4.53.3",
"@rollup/rollup-linux-riscv64-musl": "4.53.3",
"@rollup/rollup-linux-ppc64-gnu": "4.53.3",
"@rollup/rollup-linux-s390x-gnu": "4.53.3",
"@rollup/rollup-darwin-x64": "4.53.3",
"@rollup/rollup-win32-x64-gnu": "4.53.3",
"@rollup/rollup-win32-x64-msvc": "4.53.3",
"@rollup/rollup-freebsd-x64": "4.53.3",
"@rollup/rollup-linux-x64-gnu": "4.53.3",
"@rollup/rollup-linux-x64-musl": "4.53.3",
"@rollup/rollup-openharmony-arm64": "4.53.3"
"@rollup/rollup-darwin-arm64": "4.53.4",
"@rollup/rollup-android-arm64": "4.53.4",
"@rollup/rollup-win32-arm64-msvc": "4.53.4",
"@rollup/rollup-freebsd-arm64": "4.53.4",
"@rollup/rollup-linux-arm64-gnu": "4.53.4",
"@rollup/rollup-linux-arm64-musl": "4.53.4",
"@rollup/rollup-android-arm-eabi": "4.53.4",
"@rollup/rollup-linux-arm-gnueabihf": "4.53.4",
"@rollup/rollup-linux-arm-musleabihf": "4.53.4",
"@rollup/rollup-win32-ia32-msvc": "4.53.4",
"@rollup/rollup-linux-loong64-gnu": "4.53.4",
"@rollup/rollup-linux-riscv64-gnu": "4.53.4",
"@rollup/rollup-linux-riscv64-musl": "4.53.4",
"@rollup/rollup-linux-ppc64-gnu": "4.53.4",
"@rollup/rollup-linux-s390x-gnu": "4.53.4",
"@rollup/rollup-darwin-x64": "4.53.4",
"@rollup/rollup-win32-x64-gnu": "4.53.4",
"@rollup/rollup-win32-x64-msvc": "4.53.4",
"@rollup/rollup-freebsd-x64": "4.53.4",
"@rollup/rollup-linux-x64-gnu": "4.53.4",
"@rollup/rollup-linux-x64-musl": "4.53.4",
"@rollup/rollup-openharmony-arm64": "4.53.4"
},
"dependencies": {
"@types/estree": "1.0.8"
@@ -146,12 +146,12 @@
"@codemirror/language": "^6.11.3",
"@codemirror/search": "^6.5.11",
"@codemirror/state": "^6.5.2",
"@codemirror/view": "^6.38.6",
"@codemirror/view": "^6.39.3",
"@eslint/js": "^9.39.1",
"@inquirer/prompts": "^7.10.0",
"@inquirer/prompts": "^7.10.1",
"@jridgewell/sourcemap-codec": "^1.5.5",
"@mermaid-js/mermaid-cli": "^11.12.0",
"@napi-rs/cli": "^3.4.1",
"@napi-rs/cli": "3.4.1",
"@rollup/plugin-alias": "^6.0.0",
"@rollup/plugin-buble": "^1.0.3",
"@rollup/plugin-commonjs": "^29.0.0",
@@ -161,13 +161,13 @@
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.3.0",
"@rollup/pluginutils": "^5.3.0",
"@shikijs/vitepress-twoslash": "^3.15.0",
"@shikijs/vitepress-twoslash": "^3.19.0",
"@types/mocha": "^10.0.10",
"@types/node": "^20.19.25",
"@types/node": "^20.19.26",
"@types/picomatch": "^4.0.2",
"@types/semver": "^7.7.1",
"@types/yargs-parser": "^21.0.3",
"@vue/language-server": "^3.1.3",
"@vue/language-server": "^3.1.8",
"acorn": "^8.15.0",
"acorn-import-assertions": "^1.9.0",
"acorn-jsx": "^5.3.2",
@@ -184,7 +184,7 @@
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-unicorn": "^62.0.0",
"eslint-plugin-vue": "^10.5.1",
"eslint-plugin-vue": "^10.6.2",
"fixturify": "^3.0.0",
"flru": "^1.0.2",
"fs-extra": "^11.3.2",
@@ -192,10 +192,10 @@
"globals": "^16.5.0",
"husky": "^9.1.7",
"is-reference": "^3.0.3",
"lint-staged": "^16.2.6",
"lint-staged": "^16.2.7",
"locate-character": "^3.0.0",
"magic-string": "^0.30.21",
"memfs": "^4.50.0",
"memfs": "^4.51.1",
"mocha": "^11.7.5",
"nodemon": "^3.1.11",
"npm-audit-resolver": "^3.0.0-RC.0",
@@ -204,12 +204,12 @@
"picocolors": "^1.1.1",
"picomatch": "^4.0.3",
"pinia": "^3.0.4",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"prettier-plugin-organize-imports": "^4.3.0",
"pretty-bytes": "^7.1.0",
"pretty-ms": "^9.3.0",
"requirejs": "^2.3.7",
"rollup": "^4.53.2",
"requirejs": "^2.3.8",
"rollup": "^4.53.3",
"rollup-plugin-license": "^3.6.0",
"rollup-plugin-string": "^3.0.0",
"semver": "^7.7.3",
@@ -221,12 +221,12 @@
"terser": "^5.44.1",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.4",
"vite": "^7.2.2",
"typescript-eslint": "^8.49.0",
"vite": "^7.2.7",
"vitepress": "^1.6.4",
"vue": "^3.5.24",
"vue": "^3.5.25",
"vue-eslint-parser": "^10.2.0",
"vue-tsc": "^3.1.3",
"vue-tsc": "^3.1.8",
"wasm-pack": "^0.13.1",
"yargs-parser": "^21.1.1"
},