full site update

This commit is contained in:
2025-07-24 18:46:24 +02:00
parent bfe2b90d8d
commit 37a6e0ab31
6912 changed files with 540482 additions and 361712 deletions

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

@@ -18,12 +18,10 @@ MIT, ISC, 0BSD
# Bundled dependencies:
## @jridgewell/sourcemap-codec
License: MIT
By: Rich Harris
Repository: git+https://github.com/jridgewell/sourcemap-codec.git
By: Justin Ridgewell
Repository: git+https://github.com/jridgewell/sourcemaps.git
> The MIT License
>
> Copyright (c) 2015 Rich Harris
> Copyright 2024 Justin Ridgewell <justin@ridgewell.name>
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
@@ -40,8 +38,8 @@ Repository: git+https://github.com/jridgewell/sourcemap-codec.git
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
---------------------------------------

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

@@ -125,7 +125,7 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
## Special Sponsor
<a href="https://www.tngtech.com/en/index.html" target="_blank"><img src="https://www.tngtech.com/fileadmin/Public/Images/Logos/TNG_Logo_medium_400x64.svg" alt="TNG Logo" width="280"/></a>
<a href="https://www.tngtech.com/en/index.html" target="_blank"><img src="https://avatars.githubusercontent.com/u/432256?s=200&v=4" alt="TNG Logo"/></a>
TNG has been supporting the work of [Lukas Taegert-Atkinson](https://github.com/lukastaegert) on Rollup since 2017.

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup

View File

@@ -1,205 +1,204 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup
Released under the MIT License.
*/
import { EMPTY_OBJECT, ExportDefaultDeclaration as ExportDefaultDeclaration$1, CallExpression as CallExpression$1, EMPTY_ARRAY, LOGLEVEL_WARN, logUnusedExternalImports, ANNOTATION_KEY, INVALID_ANNOTATION_KEY, ArrowFunctionExpression as ArrowFunctionExpression$1, MemberExpression as MemberExpression$1, Identifier as Identifier$1, ImportExpression as ImportExpression$1, AwaitExpression as AwaitExpression$1, ObjectExpression as ObjectExpression$1, Property as Property$1, Program as Program$1, logIllegalImportReassignment, BLANK, logRedeclarationError, StaticBlock as StaticBlock$1, CatchClause as CatchClause$1, logDuplicateArgumentNameError, logModuleLevelDirective, ReturnStatement as ReturnStatement$1, VariableDeclarator as VariableDeclarator$1, ExpressionStatement as ExpressionStatement$1, logMissingExport, normalize, getImportPath, logMissingNodeBuiltins, logReservedNamespace, error, logIllegalIdentifierAsName, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, RestElement as RestElement$1, logConstVariableReassignError, EMPTY_SET, logCannotCallNamespace, logEval, BlockStatement as BlockStatement$1, getRollupError, logModuleParseError, logParseError, LOGLEVEL_INFO, logFirstSideEffect, locate, logInvalidAnnotation, logThisIsUndefined, getAstBuffer, convertAnnotations, FIXED_STRINGS, convertNode as convertNode$1, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logSyntheticNamedExportsNeedNamespaceExport, logMissingEntryExport, logDuplicateExportError, logInvalidSourcemapForError, augmentCodeLocation, logInconsistentImportAttributes, logMissingJsxExport, logNamespaceConflict, logAmbiguousExternalNamespaces, logShimmedExport, parseAst, logInvalidFormatForTopLevelAwait, TemplateLiteral as TemplateLiteral$1, Literal as Literal$1, logCircularReexport, logAddonNotGenerated, logIncompatibleExportOptionValue, logMixedExport, logFailedValidation, isPathFragment, logCyclicCrossChunkReexport, getAliasName, logUnexpectedNamedImport, isAbsolute as isAbsolute$1, relative as relative$1, logUnexpectedNamespaceReexport, logEmptyChunk, logMissingGlobalName, logOptimizeChunkStatus, logSourcemapBroken, logConflictingSourcemapSources, logChunkInvalid, logInvalidOption, URL_OUTPUT_FORMAT, URL_OUTPUT_DIR, URL_OUTPUT_SOURCEMAPFILE, URL_OUTPUT_AMD_ID, logCannotAssignModuleToChunk, logAnonymousPluginCache, logDuplicatePluginName, logUnknownOption, LOGLEVEL_ERROR, logLevelPriority, LOGLEVEL_DEBUG, printQuotedStringList, logInvalidSetAssetSourceCall, logPluginError, logNoTransformMapOrAstWithoutCode, relativeId, logBadLoader, logExternalModulesCannotBeTransformedToModules, logInternalIdCannotBeExternal, isRelative, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logExternalSyntheticExports, logUnresolvedEntry, logUnresolvedImplicitDependant, logExternalModulesCannotBeIncludedInManualChunks, logEntryCannotBeExternal, logImplicitDependantCannotBeExternal, logNoAssetSourceSet, logFileReferenceIdNotFoundForFilename, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logInvalidRollupPhaseForChunkEmission, warnDeprecation, logChunkNotGeneratedForFileName, logAssetNotFinalisedForFileName, logFileNameConflict, URL_GENERATEBUNDLE, logInvalidLogPosition, logInputHookInOutputPlugin, logInvalidAddonPluginHook, logInvalidFunctionPluginHook, logImplicitDependantIsNotIncluded, logCircularDependency, augmentLogMessage, URL_JSX, URL_TREESHAKE_MODULESIDEEFFECTS, URL_TREESHAKE, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_PRESERVEENTRYSIGNATURES, URL_OUTPUT_GENERATEDCODE, isValidUrl, addTrailingSlashIfMissed, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_MANUALCHUNKS, logInvalidExportOptionValue, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_INTEROP, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, logAlreadyClosed, logMissingFileOrDirOption, logCannotEmitFromOptionsHook, URL_WATCH } from './parseAst.js';
import { EMPTY_OBJECT, ExportDefaultDeclaration as ExportDefaultDeclaration$1, CallExpression as CallExpression$1, EMPTY_ARRAY, LOGLEVEL_WARN, logUnusedExternalImports, ANNOTATION_KEY, INVALID_ANNOTATION_KEY, ArrowFunctionExpression as ArrowFunctionExpression$1, FunctionExpression as FunctionExpression$1, MemberExpression as MemberExpression$1, Identifier as Identifier$1, ImportExpression as ImportExpression$1, AwaitExpression as AwaitExpression$1, ObjectExpression as ObjectExpression$1, Property as Property$1, Program as Program$1, logIllegalImportReassignment, BLANK, logRedeclarationError, StaticBlock as StaticBlock$1, CatchClause as CatchClause$1, logDuplicateArgumentNameError, logModuleLevelDirective, ReturnStatement as ReturnStatement$1, VariableDeclarator as VariableDeclarator$1, ExpressionStatement as ExpressionStatement$1, logMissingExport, normalize, getImportPath, logMissingNodeBuiltins, logReservedNamespace, error, logIllegalIdentifierAsName, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, RestElement as RestElement$1, logConstVariableReassignError, EMPTY_SET, logCannotCallNamespace, logEval, BlockStatement as BlockStatement$1, getRollupError, logModuleParseError, logParseError, LOGLEVEL_INFO, logFirstSideEffect, locate, logInvalidAnnotation, logThisIsUndefined, getAstBuffer, convertAnnotations, FIXED_STRINGS, convertNode as convertNode$1, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logSyntheticNamedExportsNeedNamespaceExport, logMissingEntryExport, logDuplicateExportError, logInvalidSourcemapForError, augmentCodeLocation, logInconsistentImportAttributes, logMissingJsxExport, logNamespaceConflict, logAmbiguousExternalNamespaces, logShimmedExport, parseAst, logInvalidFormatForTopLevelAwait, TemplateLiteral as TemplateLiteral$1, Literal as Literal$1, logCircularReexport, logAddonNotGenerated, logIncompatibleExportOptionValue, logMixedExport, logFailedValidation, isPathFragment, logCyclicCrossChunkReexport, getAliasName, logUnexpectedNamedImport, isAbsolute as isAbsolute$1, relative as relative$1, logUnexpectedNamespaceReexport, logEmptyChunk, logMissingGlobalName, logOptimizeChunkStatus, logSourcemapBroken, logConflictingSourcemapSources, logChunkInvalid, logInvalidOption, URL_OUTPUT_FORMAT, URL_OUTPUT_DIR, URL_OUTPUT_SOURCEMAPFILE, URL_OUTPUT_AMD_ID, logCannotAssignModuleToChunk, logAnonymousPluginCache, logDuplicatePluginName, logUnknownOption, LOGLEVEL_ERROR, logLevelPriority, LOGLEVEL_DEBUG, printQuotedStringList, logInvalidSetAssetSourceCall, logPluginError, logNoTransformMapOrAstWithoutCode, relativeId, logBadLoader, logExternalModulesCannotBeTransformedToModules, logInternalIdCannotBeExternal, isRelative, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logExternalSyntheticExports, logUnresolvedEntry, logUnresolvedImplicitDependant, logExternalModulesCannotBeIncludedInManualChunks, logEntryCannotBeExternal, logImplicitDependantCannotBeExternal, logNoAssetSourceSet, logFileReferenceIdNotFoundForFilename, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logInvalidRollupPhaseForChunkEmission, warnDeprecation, logChunkNotGeneratedForFileName, logAssetNotFinalisedForFileName, logFileNameConflict, URL_GENERATEBUNDLE, logInvalidLogPosition, logInputHookInOutputPlugin, logInvalidAddonPluginHook, logInvalidFunctionPluginHook, logImplicitDependantIsNotIncluded, logCircularDependency, augmentLogMessage, URL_JSX, URL_TREESHAKE_MODULESIDEEFFECTS, URL_TREESHAKE, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_PRESERVEENTRYSIGNATURES, URL_OUTPUT_GENERATEDCODE, isValidUrl, addTrailingSlashIfMissed, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_MANUALCHUNKS, logInvalidExportOptionValue, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_INTEROP, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, logAlreadyClosed, logMissingFileOrDirOption, logCannotEmitFromOptionsHook, URL_WATCH } from './parseAst.js';
import { relative, dirname, basename, extname, resolve as resolve$1 } from 'node:path';
import { posix, isAbsolute, resolve, win32 } from 'path';
import { parseAsync, xxhashBase16, xxhashBase64Url, xxhashBase36 } from '../../native.js';
import process$1, { env } from 'node:process';
import { performance } from 'node:perf_hooks';
import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
import * as promises from 'node:fs/promises';
var version = "4.41.0";
function _mergeNamespaces(n, m) {
for (var i = 0; i < m.length; i++) {
const e = m[i];
if (typeof e !== 'string' && !Array.isArray(e)) { for (const k in e) {
if (k !== 'default' && !(k in n)) {
n[k] = e[k];
}
} }
}
return Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' });
}
const comma = ','.charCodeAt(0);
const semicolon = ';'.charCodeAt(0);
const chars$1 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
const intToChar = new Uint8Array(64); // 64 possible chars.
const charToInt = new Uint8Array(128); // z is 122 in ASCII
var version = "4.45.1";
// src/vlq.ts
var comma = ",".charCodeAt(0);
var semicolon = ";".charCodeAt(0);
var chars$1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var intToChar = new Uint8Array(64);
var charToInt = new Uint8Array(128);
for (let i = 0; i < chars$1.length; i++) {
const c = chars$1.charCodeAt(i);
intToChar[i] = c;
charToInt[c] = i;
const c = chars$1.charCodeAt(i);
intToChar[i] = c;
charToInt[c] = i;
}
function decodeInteger(reader, relative) {
let value = 0;
let shift = 0;
let integer = 0;
do {
const c = reader.next();
integer = charToInt[c];
value |= (integer & 31) << shift;
shift += 5;
} while (integer & 32);
const shouldNegate = value & 1;
value >>>= 1;
if (shouldNegate) {
value = -2147483648 | -value;
}
return relative + value;
let value = 0;
let shift = 0;
let integer = 0;
do {
const c = reader.next();
integer = charToInt[c];
value |= (integer & 31) << shift;
shift += 5;
} while (integer & 32);
const shouldNegate = value & 1;
value >>>= 1;
if (shouldNegate) {
value = -2147483648 | -value;
}
return relative + value;
}
function encodeInteger(builder, num, relative) {
let delta = num - relative;
delta = delta < 0 ? (-delta << 1) | 1 : delta << 1;
do {
let clamped = delta & 0b011111;
delta >>>= 5;
if (delta > 0)
clamped |= 0b100000;
builder.write(intToChar[clamped]);
} while (delta > 0);
return num;
let delta = num - relative;
delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
do {
let clamped = delta & 31;
delta >>>= 5;
if (delta > 0) clamped |= 32;
builder.write(intToChar[clamped]);
} while (delta > 0);
return num;
}
function hasMoreVlq(reader, max) {
if (reader.pos >= max)
return false;
return reader.peek() !== comma;
if (reader.pos >= max) return false;
return reader.peek() !== comma;
}
const bufLength = 1024 * 16;
// Provide a fallback for older environments.
const td = typeof TextDecoder !== 'undefined'
? /* #__PURE__ */ new TextDecoder()
: typeof Buffer !== 'undefined'
? {
decode(buf) {
const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
return out.toString();
},
}
: {
decode(buf) {
let out = '';
for (let i = 0; i < buf.length; i++) {
out += String.fromCharCode(buf[i]);
}
return out;
},
};
class StringWriter {
constructor() {
this.pos = 0;
this.out = '';
this.buffer = new Uint8Array(bufLength);
// src/strings.ts
var bufLength = 1024 * 16;
var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? {
decode(buf) {
const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
return out.toString();
}
} : {
decode(buf) {
let out = "";
for (let i = 0; i < buf.length; i++) {
out += String.fromCharCode(buf[i]);
}
write(v) {
const { buffer } = this;
buffer[this.pos++] = v;
if (this.pos === bufLength) {
this.out += td.decode(buffer);
this.pos = 0;
}
return out;
}
};
var StringWriter = class {
constructor() {
this.pos = 0;
this.out = "";
this.buffer = new Uint8Array(bufLength);
}
write(v) {
const { buffer } = this;
buffer[this.pos++] = v;
if (this.pos === bufLength) {
this.out += td.decode(buffer);
this.pos = 0;
}
flush() {
const { buffer, out, pos } = this;
return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
}
}
class StringReader {
constructor(buffer) {
this.pos = 0;
this.buffer = buffer;
}
next() {
return this.buffer.charCodeAt(this.pos++);
}
peek() {
return this.buffer.charCodeAt(this.pos);
}
indexOf(char) {
const { buffer, pos } = this;
const idx = buffer.indexOf(char, pos);
return idx === -1 ? buffer.length : idx;
}
}
}
flush() {
const { buffer, out, pos } = this;
return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
}
};
var StringReader = class {
constructor(buffer) {
this.pos = 0;
this.buffer = buffer;
}
next() {
return this.buffer.charCodeAt(this.pos++);
}
peek() {
return this.buffer.charCodeAt(this.pos);
}
indexOf(char) {
const { buffer, pos } = this;
const idx = buffer.indexOf(char, pos);
return idx === -1 ? buffer.length : idx;
}
};
// src/sourcemap-codec.ts
function decode(mappings) {
const { length } = mappings;
const reader = new StringReader(mappings);
const decoded = [];
let genColumn = 0;
let sourcesIndex = 0;
let sourceLine = 0;
let sourceColumn = 0;
let namesIndex = 0;
do {
const semi = reader.indexOf(';');
const line = [];
let sorted = true;
let lastCol = 0;
genColumn = 0;
while (reader.pos < semi) {
let seg;
genColumn = decodeInteger(reader, genColumn);
if (genColumn < lastCol)
sorted = false;
lastCol = genColumn;
if (hasMoreVlq(reader, semi)) {
sourcesIndex = decodeInteger(reader, sourcesIndex);
sourceLine = decodeInteger(reader, sourceLine);
sourceColumn = decodeInteger(reader, sourceColumn);
if (hasMoreVlq(reader, semi)) {
namesIndex = decodeInteger(reader, namesIndex);
seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];
}
else {
seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];
}
}
else {
seg = [genColumn];
}
line.push(seg);
reader.pos++;
const { length } = mappings;
const reader = new StringReader(mappings);
const decoded = [];
let genColumn = 0;
let sourcesIndex = 0;
let sourceLine = 0;
let sourceColumn = 0;
let namesIndex = 0;
do {
const semi = reader.indexOf(";");
const line = [];
let sorted = true;
let lastCol = 0;
genColumn = 0;
while (reader.pos < semi) {
let seg;
genColumn = decodeInteger(reader, genColumn);
if (genColumn < lastCol) sorted = false;
lastCol = genColumn;
if (hasMoreVlq(reader, semi)) {
sourcesIndex = decodeInteger(reader, sourcesIndex);
sourceLine = decodeInteger(reader, sourceLine);
sourceColumn = decodeInteger(reader, sourceColumn);
if (hasMoreVlq(reader, semi)) {
namesIndex = decodeInteger(reader, namesIndex);
seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];
} else {
seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];
}
if (!sorted)
sort(line);
decoded.push(line);
reader.pos = semi + 1;
} while (reader.pos <= length);
return decoded;
} else {
seg = [genColumn];
}
line.push(seg);
reader.pos++;
}
if (!sorted) sort(line);
decoded.push(line);
reader.pos = semi + 1;
} while (reader.pos <= length);
return decoded;
}
function sort(line) {
line.sort(sortComparator);
line.sort(sortComparator);
}
function sortComparator(a, b) {
return a[0] - b[0];
return a[0] - b[0];
}
function encode(decoded) {
const writer = new StringWriter();
let sourcesIndex = 0;
let sourceLine = 0;
let sourceColumn = 0;
let namesIndex = 0;
for (let i = 0; i < decoded.length; i++) {
const line = decoded[i];
if (i > 0)
writer.write(semicolon);
if (line.length === 0)
continue;
let genColumn = 0;
for (let j = 0; j < line.length; j++) {
const segment = line[j];
if (j > 0)
writer.write(comma);
genColumn = encodeInteger(writer, segment[0], genColumn);
if (segment.length === 1)
continue;
sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
sourceLine = encodeInteger(writer, segment[2], sourceLine);
sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
if (segment.length === 4)
continue;
namesIndex = encodeInteger(writer, segment[4], namesIndex);
}
const writer = new StringWriter();
let sourcesIndex = 0;
let sourceLine = 0;
let sourceColumn = 0;
let namesIndex = 0;
for (let i = 0; i < decoded.length; i++) {
const line = decoded[i];
if (i > 0) writer.write(semicolon);
if (line.length === 0) continue;
let genColumn = 0;
for (let j = 0; j < line.length; j++) {
const segment = line[j];
if (j > 0) writer.write(comma);
genColumn = encodeInteger(writer, segment[0], genColumn);
if (segment.length === 1) continue;
sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
sourceLine = encodeInteger(writer, segment[2], sourceLine);
sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
if (segment.length === 4) continue;
namesIndex = encodeInteger(writer, segment[4], namesIndex);
}
return writer.flush();
}
return writer.flush();
}
class BitSet {
@@ -2975,6 +2974,9 @@ function isPropertyNode(node) {
function isArrowFunctionExpressionNode(node) {
return node instanceof NodeBase && node.type === ArrowFunctionExpression$1;
}
function isFunctionExpressionNode(node) {
return node instanceof NodeBase && node.type === FunctionExpression$1;
}
function isCallExpressionNode(node) {
return node instanceof NodeBase && node.type === CallExpression$1;
}
@@ -5129,7 +5131,8 @@ class LocalVariable extends Variable {
* })
*/
if (this.kind === 'parameter' &&
isArrowFunctionExpressionNode(declaration.parent) &&
(isArrowFunctionExpressionNode(declaration.parent) ||
isFunctionExpressionNode(declaration.parent)) &&
isCallExpressionNode(declaration.parent.parent) &&
isMemberExpressionNode(declaration.parent.parent.callee) &&
isIdentifierNode(declaration.parent.parent.callee.property) &&
@@ -6519,6 +6522,7 @@ class BlockStatement extends NodeBase {
}
initialise() {
super.initialise();
this.scope.context.magicString.addSourcemapLocation(this.end - 1);
const firstBodyStatement = this.body[0];
this.deoptimizeBody =
firstBodyStatement instanceof ExpressionStatement &&
@@ -9043,7 +9047,11 @@ function getAugmentedNamespace(n) {
var f = n.default;
if (typeof f == "function") {
var a = function a () {
if (this instanceof a) {
var isInstance = false;
try {
isInstance = this instanceof a;
} catch {}
if (isInstance) {
return Reflect.construct(f, arguments, this.constructor);
}
return f.apply(this, arguments);
@@ -12219,11 +12227,20 @@ class ConditionalExpression extends NodeBase {
set isBranchResolutionAnalysed(value) {
this.flags = setFlag(this.flags, 65536 /* Flag.isBranchResolutionAnalysed */, value);
}
get hasDeoptimizedCache() {
return isFlagSet(this.flags, 33554432 /* Flag.hasDeoptimizedCache */);
}
set hasDeoptimizedCache(value) {
this.flags = setFlag(this.flags, 33554432 /* Flag.hasDeoptimizedCache */, value);
}
deoptimizeArgumentsOnInteractionAtPath(interaction, path, recursionTracker) {
this.consequent.deoptimizeArgumentsOnInteractionAtPath(interaction, path, recursionTracker);
this.alternate.deoptimizeArgumentsOnInteractionAtPath(interaction, path, recursionTracker);
}
deoptimizeCache() {
if (this.hasDeoptimizedCache)
return;
this.hasDeoptimizedCache = true;
if (this.usedBranch !== null) {
const unusedBranch = this.usedBranch === this.consequent ? this.alternate : this.consequent;
this.usedBranch = null;
@@ -12250,8 +12267,23 @@ class ConditionalExpression extends NodeBase {
}
getLiteralValueAtPath(path, recursionTracker, origin) {
const usedBranch = this.getUsedBranch();
if (!usedBranch)
return UnknownValue;
if (!usedBranch) {
if (this.hasDeoptimizedCache) {
return UnknownValue;
}
const consequentValue = this.consequent.getLiteralValueAtPath(path, recursionTracker, origin);
const castedConsequentValue = tryCastLiteralValueToBoolean(consequentValue);
if (castedConsequentValue === UnknownValue)
return UnknownValue;
const alternateValue = this.alternate.getLiteralValueAtPath(path, recursionTracker, origin);
const castedAlternateValue = tryCastLiteralValueToBoolean(alternateValue);
if (castedConsequentValue !== castedAlternateValue)
return UnknownValue;
this.expressionsToBeDeoptimized.push(origin);
if (consequentValue !== alternateValue)
return castedConsequentValue ? UnknownTruthyValue : UnknownFalsyValue;
return consequentValue;
}
this.expressionsToBeDeoptimized.push(origin);
return usedBranch.getLiteralValueAtPath(path, recursionTracker, origin);
}
@@ -15101,8 +15133,11 @@ class UnaryExpression extends NodeBase {
if (!this.deoptimized)
this.applyDeoptimizations();
this.included = true;
// Check if the argument is an identifier that should be preserved as a reference for readability
const shouldPreserveArgument = this.argument instanceof Identifier && this.argument.variable?.included;
if (typeof this.getRenderedLiteralValue(includeChildrenRecursively) === 'symbol' ||
this.argument.shouldBeIncluded(context)) {
this.argument.shouldBeIncluded(context) ||
shouldPreserveArgument) {
this.argument.include(context, includeChildrenRecursively);
this.renderedLiteralValue = UnknownValue;
}
@@ -15711,7 +15746,10 @@ const bufferParsers = [
const body = (node.body = new Array(length));
for (let index = 0; index < length; index++) {
const nodePosition = buffer[bodyPosition + 1 + index];
body[index] = convertNode(node, (buffer[nodePosition + 3] & 1) === 0 ? scope.instanceScope : scope, nodePosition, buffer);
body[index] = convertNode(node, buffer[nodePosition] !== 79 &&
(buffer[nodePosition + 3] & /* the static flag is always first */ 1) === 0
? scope.instanceScope
: scope, nodePosition, buffer);
}
}
else {
@@ -16406,14 +16444,18 @@ function getOriginalLocation(sourcemapChain, location) {
if (line) {
const filteredLine = line.filter((segment) => segment.length > 1);
const lastSegment = filteredLine[filteredLine.length - 1];
for (const segment of filteredLine) {
let previousSegment = filteredLine[0];
for (let segment of filteredLine) {
if (segment[0] >= location.column || segment === lastSegment) {
const notMatched = segment[0] !== location.column;
segment = notMatched ? previousSegment : segment;
location = {
column: segment[3],
line: segment[2] + 1
};
continue traceSourcemap;
}
previousSegment = segment;
}
}
throw new Error("Can't resolve original location of error.");
@@ -20004,10 +20046,21 @@ class Link {
let searchEnd = segments.length - 1;
while (searchStart <= searchEnd) {
const m = (searchStart + searchEnd) >> 1;
const segment = segments[m];
let segment = segments[m];
// If a sourcemap does not have sufficient resolution to contain a
// necessary mapping, e.g. because it only contains line information, we
// use the best approximation we could find
// necessary mapping, e.g. because it only contains line information or
// the column is not precise (e.g. the sourcemap is generated by esbuild, segment[0] may be shorter than the location of the first letter),
// we approximate by finding the closest segment whose segment[0] is less than the given column
if (segment[0] !== column && searchStart === searchEnd) {
let approximatedSegmentIndex = 0;
for (let index = 0; index < segments.length; index++) {
if (segments[index][0] > column) {
break;
}
approximatedSegmentIndex = index;
}
segment = segments[approximatedSegmentIndex];
}
if (segment[0] === column || searchStart === searchEnd) {
if (segment.length == 1)
return null;
@@ -20592,6 +20645,16 @@ function resolveIdViaPlugins(source, importer, pluginDriver, moduleLoaderResolve
...pluginContext,
resolve: (source, importer, { attributes, custom, isEntry, skipSelf } = BLANK) => {
skipSelf ??= true;
if (skipSelf &&
skip.findIndex(skippedCall => {
return (skippedCall.plugin === plugin &&
skippedCall.source === source &&
skippedCall.importer === importer);
}) !== -1) {
// This means that the plugin recursively called itself
// Thus returning Promise.resolve(null) in purpose of fallback to default behavior of `resolveId` plugin hook.
return Promise.resolve(null);
}
return moduleLoaderResolveId(source, importer, custom, isEntry, attributes || EMPTY_OBJECT, skipSelf ? [...skip, { importer, plugin, source }] : skip);
}
});
@@ -20599,7 +20662,7 @@ function resolveIdViaPlugins(source, importer, pluginDriver, moduleLoaderResolve
return pluginDriver.hookFirstAndGetPlugin('resolveId', [source, importer, { attributes, custom: customOptions, isEntry }], replaceContext, skipped);
}
async function resolveId(source, importer, preserveSymlinks, pluginDriver, moduleLoaderResolveId, skip, customOptions, isEntry, attributes) {
async function resolveId(source, importer, preserveSymlinks, pluginDriver, moduleLoaderResolveId, skip, customOptions, isEntry, attributes, fs) {
const pluginResult = await resolveIdViaPlugins(source, importer, pluginDriver, moduleLoaderResolveId, skip, customOptions, isEntry, attributes);
if (pluginResult != null) {
const [resolveIdResult, plugin] = pluginResult;
@@ -20625,22 +20688,22 @@ async function resolveId(source, importer, preserveSymlinks, pluginDriver, modul
// absolute path is created. Absolute importees therefore shortcircuit the
// resolve call and require no special handing on our part.
// See https://nodejs.org/api/path.html#path_path_resolve_paths
return addJsExtensionIfNecessary(importer ? resolve$1(dirname(importer), source) : resolve$1(source), preserveSymlinks);
return addJsExtensionIfNecessary(importer ? resolve$1(dirname(importer), source) : resolve$1(source), preserveSymlinks, fs);
}
async function addJsExtensionIfNecessary(file, preserveSymlinks) {
return ((await findFile(file, preserveSymlinks)) ??
(await findFile(file + '.mjs', preserveSymlinks)) ??
(await findFile(file + '.js', preserveSymlinks)));
async function addJsExtensionIfNecessary(file, preserveSymlinks, fs) {
return ((await findFile(file, preserveSymlinks, fs)) ??
(await findFile(file + '.mjs', preserveSymlinks, fs)) ??
(await findFile(file + '.js', preserveSymlinks, fs)));
}
async function findFile(file, preserveSymlinks) {
async function findFile(file, preserveSymlinks, fs) {
try {
const stats = await lstat(file);
const stats = await fs.lstat(file);
if (!preserveSymlinks && stats.isSymbolicLink())
return await findFile(await realpath(file), preserveSymlinks);
return await findFile(await fs.realpath(file), preserveSymlinks, fs);
if ((preserveSymlinks && stats.isSymbolicLink()) || stats.isFile()) {
// check case
const name = basename(file);
const files = await readdir(dirname(file));
const files = await fs.readdir(dirname(file));
if (files.includes(name))
return file;
}
@@ -21036,7 +21099,7 @@ class ModuleLoader {
this.nextEntryModuleIndex = 0;
this.resolveId = async (source, importer, customOptions, isEntry, attributes, skip = null) => this.getResolvedIdWithDefaults(this.getNormalizedResolvedIdWithoutDefaults(this.options.external(source, importer, false)
? false
: await resolveId(source, importer, this.options.preserveSymlinks, this.pluginDriver, this.resolveId, skip, customOptions, typeof isEntry === 'boolean' ? isEntry : !importer, attributes), importer, source), attributes);
: await resolveId(source, importer, this.options.preserveSymlinks, this.pluginDriver, this.resolveId, skip, customOptions, typeof isEntry === 'boolean' ? isEntry : !importer, attributes, this.options.fs), importer, source), attributes);
this.hasModuleSideEffects = options.treeshake
? options.treeshake.moduleSideEffects
: () => true;
@@ -21127,7 +21190,7 @@ class ModuleLoader {
if (content !== null)
return content;
this.graph.watchFiles[id] = true;
return await readFile(id, 'utf8');
return (await this.options.fs.readFile(id, { encoding: 'utf8' }));
});
}
catch (error_) {
@@ -21395,7 +21458,7 @@ class ModuleLoader {
return resolvedId;
}
async loadEntryModule(unresolvedId, isEntry, importer, implicitlyLoadedBefore, isLoadForManualChunks = false) {
const resolveIdResult = await resolveId(unresolvedId, importer, this.options.preserveSymlinks, this.pluginDriver, this.resolveId, null, EMPTY_OBJECT, true, EMPTY_OBJECT);
const resolveIdResult = await resolveId(unresolvedId, importer, this.options.preserveSymlinks, this.pluginDriver, this.resolveId, null, EMPTY_OBJECT, true, EMPTY_OBJECT, this.options.fs);
if (resolveIdResult == null) {
return error(implicitlyLoadedBefore === null
? logUnresolvedEntry(unresolvedId)
@@ -21917,6 +21980,7 @@ function getPluginContext(plugin, pluginCache, graph, options, fileEmitter, exis
error(error_) {
return error(logPluginError(normalizeLog(error_), plugin.name));
},
fs: options.fs,
getFileName: fileEmitter.getFileName,
getModuleIds: () => graph.modulesById.keys(),
getModuleInfo: graph.getModuleInfo,
@@ -22636,6 +22700,10 @@ function getLogger(plugins, onLog, watchMode, logLevel) {
return logger;
}
const fs = /*#__PURE__*/_mergeNamespaces({
__proto__: null
}, [promises]);
async function normalizeInputOptions(config, watchMode) {
// These are options that may trigger special warnings or behaviour later
// if the user did not select an explicit value
@@ -22652,6 +22720,7 @@ async function normalizeInputOptions(config, watchMode) {
experimentalCacheExpiry: config.experimentalCacheExpiry ?? 10,
experimentalLogSideEffects: config.experimentalLogSideEffects || false,
external: getIdMatcher(config.external),
fs: config.fs ?? fs,
input: getInput(config),
jsx: getJsx(config),
logLevel,
@@ -22746,7 +22815,7 @@ const getMaxParallelFileOps = (config) => {
return Infinity;
return maxParallelFileOps;
}
return 20;
return 1000;
};
const getModuleContext = (config, context) => {
const configModuleContext = config.moduleContext;
@@ -23219,7 +23288,7 @@ async function handleGenerateWrite(isWrite, inputOptions, unsetInputOptions, raw
if (!outputOptions.dir && !outputOptions.file) {
return error(logMissingFileOrDirOption());
}
await Promise.all(Object.values(generated).map(chunk => graph.fileOperationQueue.run(() => writeOutputFile(chunk, outputOptions))));
await Promise.all(Object.values(generated).map(chunk => graph.fileOperationQueue.run(() => writeOutputFile(chunk, outputOptions, inputOptions))));
await outputPluginDriver.hookParallel('writeBundle', [outputOptions, generated]);
timeEnd('WRITE', 1);
}
@@ -23268,7 +23337,7 @@ function getSortingFileType(file) {
}
return SortingFileType.SECONDARY_CHUNK;
}
async function writeOutputFile(outputFile, outputOptions) {
async function writeOutputFile(outputFile, outputOptions, { fs: { mkdir, writeFile } }) {
const fileName = resolve$1(outputOptions.dir || dirname(outputOptions.file), outputFile.fileName);
// 'recursive: true' does not throw if the folder structure, or parts of it, already exist
await mkdir(dirname(fileName), { recursive: true });
@@ -23449,7 +23518,7 @@ async function mergeOptions(config, watchMode, rawCommandOptions = EMPTY_COMMAND
outputOptionsArray.push({});
const outputOptions = await Promise.all(outputOptionsArray.map(singleOutputOptions => mergeOutputOptions(singleOutputOptions, command, log)));
warnUnknownOptions(command, [
...Object.keys(inputOptions),
...Object.keys(inputOptions).filter(option => option !== 'fs'),
...Object.keys(outputOptions[0]).filter(option => option !== 'sourcemapIgnoreList' && option !== 'sourcemapPathTransform'),
...Object.keys(commandAliases),
'bundleConfigAsCjs',
@@ -23495,6 +23564,7 @@ function mergeInputOptions(config, overrides, plugins, log, onLog) {
experimentalCacheExpiry: getOption('experimentalCacheExpiry'),
experimentalLogSideEffects: getOption('experimentalLogSideEffects'),
external: getExternal(config, overrides),
fs: getOption('fs'),
input: getOption('input') || [],
jsx: getObjectOption(config, overrides, 'jsx', objectifyOptionWithPresets(jsxPresets, 'jsx', URL_JSX, 'false, ')),
logLevel: getOption('logLevel'),
@@ -23598,6 +23668,29 @@ async function mergeOutputOptions(config, overrides, log) {
return outputOptions;
}
let fsEvents;
let fsEventsImportError;
async function loadFsEvents() {
try {
({ default: fsEvents } = await import('fsevents'));
}
catch (error) {
fsEventsImportError = error;
}
}
// A call to this function will be injected into the chokidar code
function getFsEvents() {
if (fsEventsImportError)
throw fsEventsImportError;
return fsEvents;
}
const fseventsImporter = /*#__PURE__*/Object.defineProperty({
__proto__: null,
getFsEvents,
loadFsEvents
}, Symbol.toStringTag, { value: 'Module' });
class WatchEmitter {
constructor() {
this.currentHandlers = Object.create(null);
@@ -23651,29 +23744,6 @@ class WatchEmitter {
}
}
let fsEvents;
let fsEventsImportError;
async function loadFsEvents() {
try {
({ default: fsEvents } = await import('fsevents'));
}
catch (error) {
fsEventsImportError = error;
}
}
// A call to this function will be injected into the chokidar code
function getFsEvents() {
if (fsEventsImportError)
throw fsEventsImportError;
return fsEvents;
}
const fseventsImporter = /*#__PURE__*/Object.defineProperty({
__proto__: null,
getFsEvents,
loadFsEvents
}, Symbol.toStringTag, { value: 'Module' });
function watch(configs) {
const emitter = new WatchEmitter();
watchInternal(configs, emitter).catch(error => {
@@ -23681,7 +23751,7 @@ function watch(configs) {
});
return emitter;
}
function withTrailingSlash(path) {
function ensureTrailingSlash(path) {
if (path[path.length - 1] !== '/') {
return `${path}/`;
}
@@ -23689,21 +23759,20 @@ function withTrailingSlash(path) {
}
function checkWatchConfig(config) {
for (const item of config) {
if (typeof item.watch !== 'boolean' && item.watch?.allowInputInsideOutputPath) {
break;
}
if (item.input && item.output) {
const input = typeof item.input === 'string' ? ensureArray(item.input) : item.input;
const output = ensureArray(item.output);
const outputs = ensureArray(item.output);
for (const index in input) {
const inputPath = input[index];
const subPath = output.find(o => {
if (!o.dir || typeof inputPath !== 'string') {
return false;
}
const _outPath = withTrailingSlash(o.dir);
const _inputPath = withTrailingSlash(inputPath);
return _inputPath.startsWith(_outPath);
});
if (subPath) {
error(logInvalidOption('watch', URL_WATCH, `the input "${inputPath}" is a subpath of the output "${subPath.dir}"`));
if (typeof inputPath !== 'string') {
continue;
}
const outputWithInputAsSubPath = outputs.find(({ dir }) => dir && ensureTrailingSlash(inputPath).startsWith(ensureTrailingSlash(dir)));
if (outputWithInputAsSubPath) {
error(logInvalidOption('watch', URL_WATCH, `the input "${inputPath}" is a subpath of the output "${outputWithInputAsSubPath.dir}"`));
}
}
}

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup
@@ -19,6 +19,7 @@ const CallExpression = 'CallExpression';
const CatchClause = 'CatchClause';
const ExportDefaultDeclaration = 'ExportDefaultDeclaration';
const ExpressionStatement = 'ExpressionStatement';
const FunctionExpression = 'FunctionExpression';
const Identifier = 'Identifier';
const ImportExpression = 'ImportExpression';
const Literal = 'Literal';
@@ -893,7 +894,7 @@ function logRedeclarationError(name) {
function logReservedNamespace(namespace) {
return {
code: RESERVED_NAMESPACE,
message: `You have overided reserved namespace "${namespace}"`
message: `You have overridden reserved namespace "${namespace}"`
};
}
function logModuleParseError(error, moduleId) {
@@ -2073,4 +2074,4 @@ function getAstBuffer(astBuffer) {
const parseAst = (input, { allowReturnOutsideFunction = false, jsx = false } = {}) => convertProgram(getAstBuffer(parse(input, allowReturnOutsideFunction, jsx)));
const parseAstAsync = async (input, { allowReturnOutsideFunction = false, jsx = false, signal } = {}) => convertProgram(getAstBuffer(await parseAsync(input, allowReturnOutsideFunction, jsx, signal)));
export { ANNOTATION_KEY, ArrowFunctionExpression, AwaitExpression, BLANK, BlockStatement, CallExpression, CatchClause, EMPTY_ARRAY, EMPTY_OBJECT, EMPTY_SET, ExportDefaultDeclaration, ExpressionStatement, FIXED_STRINGS, INVALID_ANNOTATION_KEY, Identifier, ImportExpression, LOGLEVEL_DEBUG, LOGLEVEL_ERROR, LOGLEVEL_INFO, LOGLEVEL_WARN, Literal, MemberExpression, ObjectExpression, Program, Property, RestElement, ReturnStatement, StaticBlock, TemplateLiteral, URL_GENERATEBUNDLE, URL_JSX, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_AMD_ID, URL_OUTPUT_DIR, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, URL_OUTPUT_FORMAT, URL_OUTPUT_GENERATEDCODE, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_OUTPUT_INTEROP, URL_OUTPUT_MANUALCHUNKS, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_SOURCEMAPFILE, URL_PRESERVEENTRYSIGNATURES, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, URL_WATCH, VariableDeclarator, addTrailingSlashIfMissed, augmentCodeLocation, augmentLogMessage, convertAnnotations, convertNode, error, getAliasName, getAstBuffer, getImportPath, getRollupError, isAbsolute, isPathFragment, isRelative, isValidUrl, locate, logAddonNotGenerated, logAlreadyClosed, logAmbiguousExternalNamespaces, logAnonymousPluginCache, logAssetNotFinalisedForFileName, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logBadLoader, logCannotAssignModuleToChunk, logCannotCallNamespace, logCannotEmitFromOptionsHook, logChunkInvalid, logChunkNotGeneratedForFileName, logCircularDependency, logCircularReexport, logConflictingSourcemapSources, logConstVariableReassignError, logCyclicCrossChunkReexport, logDuplicateArgumentNameError, logDuplicateExportError, logDuplicatePluginName, logEmptyChunk, logEntryCannotBeExternal, logEval, logExternalModulesCannotBeIncludedInManualChunks, logExternalModulesCannotBeTransformedToModules, logExternalSyntheticExports, logFailedValidation, logFileNameConflict, logFileReferenceIdNotFoundForFilename, logFirstSideEffect, logIllegalIdentifierAsName, logIllegalImportReassignment, logImplicitDependantCannotBeExternal, logImplicitDependantIsNotIncluded, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logIncompatibleExportOptionValue, logInconsistentImportAttributes, logInputHookInOutputPlugin, logInternalIdCannotBeExternal, logInvalidAddonPluginHook, logInvalidAnnotation, logInvalidExportOptionValue, logInvalidFormatForTopLevelAwait, logInvalidFunctionPluginHook, logInvalidLogPosition, logInvalidOption, logInvalidRollupPhaseForChunkEmission, logInvalidSetAssetSourceCall, logInvalidSourcemapForError, logLevelPriority, logMissingEntryExport, logMissingExport, logMissingFileOrDirOption, logMissingGlobalName, logMissingJsxExport, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, logMissingNodeBuiltins, logMixedExport, logModuleLevelDirective, logModuleParseError, logNamespaceConflict, logNoAssetSourceSet, logNoTransformMapOrAstWithoutCode, logOptimizeChunkStatus, logParseError, logPluginError, logRedeclarationError, logReservedNamespace, logShimmedExport, logSourcemapBroken, logSyntheticNamedExportsNeedNamespaceExport, logThisIsUndefined, logUnexpectedNamedImport, logUnexpectedNamespaceReexport, logUnknownOption, logUnresolvedEntry, logUnresolvedImplicitDependant, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logUnusedExternalImports, normalize, parseAst, parseAstAsync, printQuotedStringList, relative, relativeId, warnDeprecation };
export { ANNOTATION_KEY, ArrowFunctionExpression, AwaitExpression, BLANK, BlockStatement, CallExpression, CatchClause, EMPTY_ARRAY, EMPTY_OBJECT, EMPTY_SET, ExportDefaultDeclaration, ExpressionStatement, FIXED_STRINGS, FunctionExpression, INVALID_ANNOTATION_KEY, Identifier, ImportExpression, LOGLEVEL_DEBUG, LOGLEVEL_ERROR, LOGLEVEL_INFO, LOGLEVEL_WARN, Literal, MemberExpression, ObjectExpression, Program, Property, RestElement, ReturnStatement, StaticBlock, TemplateLiteral, URL_GENERATEBUNDLE, URL_JSX, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_AMD_ID, URL_OUTPUT_DIR, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, URL_OUTPUT_FORMAT, URL_OUTPUT_GENERATEDCODE, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_OUTPUT_INTEROP, URL_OUTPUT_MANUALCHUNKS, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_SOURCEMAPFILE, URL_PRESERVEENTRYSIGNATURES, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, URL_WATCH, VariableDeclarator, addTrailingSlashIfMissed, augmentCodeLocation, augmentLogMessage, convertAnnotations, convertNode, error, getAliasName, getAstBuffer, getImportPath, getRollupError, isAbsolute, isPathFragment, isRelative, isValidUrl, locate, logAddonNotGenerated, logAlreadyClosed, logAmbiguousExternalNamespaces, logAnonymousPluginCache, logAssetNotFinalisedForFileName, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logBadLoader, logCannotAssignModuleToChunk, logCannotCallNamespace, logCannotEmitFromOptionsHook, logChunkInvalid, logChunkNotGeneratedForFileName, logCircularDependency, logCircularReexport, logConflictingSourcemapSources, logConstVariableReassignError, logCyclicCrossChunkReexport, logDuplicateArgumentNameError, logDuplicateExportError, logDuplicatePluginName, logEmptyChunk, logEntryCannotBeExternal, logEval, logExternalModulesCannotBeIncludedInManualChunks, logExternalModulesCannotBeTransformedToModules, logExternalSyntheticExports, logFailedValidation, logFileNameConflict, logFileReferenceIdNotFoundForFilename, logFirstSideEffect, logIllegalIdentifierAsName, logIllegalImportReassignment, logImplicitDependantCannotBeExternal, logImplicitDependantIsNotIncluded, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logIncompatibleExportOptionValue, logInconsistentImportAttributes, logInputHookInOutputPlugin, logInternalIdCannotBeExternal, logInvalidAddonPluginHook, logInvalidAnnotation, logInvalidExportOptionValue, logInvalidFormatForTopLevelAwait, logInvalidFunctionPluginHook, logInvalidLogPosition, logInvalidOption, logInvalidRollupPhaseForChunkEmission, logInvalidSetAssetSourceCall, logInvalidSourcemapForError, logLevelPriority, logMissingEntryExport, logMissingExport, logMissingFileOrDirOption, logMissingGlobalName, logMissingJsxExport, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, logMissingNodeBuiltins, logMixedExport, logModuleLevelDirective, logModuleParseError, logNamespaceConflict, logNoAssetSourceSet, logNoTransformMapOrAstWithoutCode, logOptimizeChunkStatus, logParseError, logPluginError, logRedeclarationError, logReservedNamespace, logShimmedExport, logSourcemapBroken, logSyntheticNamedExportsNeedNamespaceExport, logThisIsUndefined, logUnexpectedNamedImport, logUnexpectedNamespaceReexport, logUnknownOption, logUnresolvedEntry, logUnresolvedImplicitDependant, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logUnusedExternalImports, normalize, parseAst, parseAstAsync, printQuotedStringList, relative, relativeId, warnDeprecation };

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup

77
node_modules/rollup/dist/rollup.d.ts generated vendored
View File

@@ -244,6 +244,7 @@ export interface PluginContext extends MinimalPluginContext {
debug: LoggingFunction;
emitFile: EmitFile;
error: (error: RollupError | string) => never;
fs: RollupFsModule;
getFileName: (fileReferenceId: string) => string;
getModuleIds: () => IterableIterator<string>;
getModuleInfo: GetModuleInfo;
@@ -671,6 +672,7 @@ export interface InputOptions {
experimentalCacheExpiry?: number;
experimentalLogSideEffects?: boolean;
external?: ExternalOption;
fs?: RollupFsModule;
input?: InputOption;
jsx?: false | JsxPreset | JsxOptions;
logLevel?: LogLevelOption;
@@ -699,6 +701,7 @@ export interface NormalizedInputOptions {
experimentalCacheExpiry: number;
experimentalLogSideEffects: boolean;
external: IsExternal;
fs: RollupFsModule;
input: string[] | Record<string, string>;
jsx: false | NormalizedJsxOptions;
logLevel: LogLevelOption;
@@ -1009,6 +1012,7 @@ export interface ChokidarOptions {
export type RollupWatchHooks = 'onError' | 'onStart' | 'onBundleStart' | 'onBundleEnd' | 'onEnd';
export interface WatcherOptions {
allowInputInsideOutputPath?: boolean;
buildDelay?: number;
chokidar?: ChokidarOptions;
clearScreen?: boolean;
@@ -1102,3 +1106,76 @@ export function defineConfig(optionsFunction: RollupOptionsFunction): RollupOpti
export type RollupOptionsFunction = (
commandLineArguments: Record<string, any>
) => MaybePromise<RollupOptions | RollupOptions[]>;
export interface RollupFsModule {
appendFile(
path: string,
data: string | Uint8Array,
options?: { encoding?: BufferEncoding | null; mode?: string | number; flag?: string | number }
): Promise<void>;
copyFile(source: string, destination: string, mode?: string | number): Promise<void>;
mkdir(path: string, options?: { recursive?: boolean; mode?: string | number }): Promise<void>;
mkdtemp(prefix: string): Promise<string>;
readdir(path: string, options?: { withFileTypes?: false }): Promise<string[]>;
readdir(path: string, options?: { withFileTypes: true }): Promise<RollupDirectoryEntry[]>;
readFile(
path: string,
options?: { encoding?: null; flag?: string | number; signal?: AbortSignal }
): Promise<Uint8Array>;
readFile(
path: string,
options?: { encoding: BufferEncoding; flag?: string | number; signal?: AbortSignal }
): Promise<string>;
realpath(path: string): Promise<string>;
rename(oldPath: string, newPath: string): Promise<void>;
rmdir(path: string, options?: { recursive?: boolean }): Promise<void>;
stat(path: string): Promise<RollupFileStats>;
lstat(path: string): Promise<RollupFileStats>;
unlink(path: string): Promise<void>;
writeFile(
path: string,
data: string | Uint8Array,
options?: { encoding?: BufferEncoding | null; mode?: string | number; flag?: string | number }
): Promise<void>;
}
export type BufferEncoding =
| 'ascii'
| 'utf8'
| 'utf16le'
| 'ucs2'
| 'base64'
| 'base64url'
| 'latin1'
| 'binary'
| 'hex';
export interface RollupDirectoryEntry {
isFile(): boolean;
isDirectory(): boolean;
isSymbolicLink(): boolean;
name: string;
}
export interface RollupFileStats {
isFile(): boolean;
isDirectory(): boolean;
isSymbolicLink(): boolean;
size: number;
mtime: Date;
ctime: Date;
atime: Date;
birthtime: Date;
}

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

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup
@@ -81,7 +81,7 @@ function watch(configs) {
});
return emitter;
}
function withTrailingSlash(path) {
function ensureTrailingSlash(path) {
if (path[path.length - 1] !== '/') {
return `${path}/`;
}
@@ -89,21 +89,20 @@ function withTrailingSlash(path) {
}
function checkWatchConfig(config) {
for (const item of config) {
if (typeof item.watch !== 'boolean' && item.watch?.allowInputInsideOutputPath) {
break;
}
if (item.input && item.output) {
const input = typeof item.input === 'string' ? rollup.ensureArray(item.input) : item.input;
const output = rollup.ensureArray(item.output);
const outputs = rollup.ensureArray(item.output);
for (const index in input) {
const inputPath = input[index];
const subPath = output.find(o => {
if (!o.dir || typeof inputPath !== 'string') {
return false;
}
const _outPath = withTrailingSlash(o.dir);
const _inputPath = withTrailingSlash(inputPath);
return _inputPath.startsWith(_outPath);
});
if (subPath) {
parseAst_js.error(parseAst_js.logInvalidOption('watch', parseAst_js.URL_WATCH, `the input "${inputPath}" is a subpath of the output "${subPath.dir}"`));
if (typeof inputPath !== 'string') {
continue;
}
const outputWithInputAsSubPath = outputs.find(({ dir }) => dir && ensureTrailingSlash(inputPath).startsWith(ensureTrailingSlash(dir)));
if (outputWithInputAsSubPath) {
parseAst_js.error(parseAst_js.logInvalidOption('watch', parseAst_js.URL_WATCH, `the input "${inputPath}" is a subpath of the output "${outputWithInputAsSubPath.dir}"`));
}
}
}

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup
@@ -836,7 +836,7 @@ function logRedeclarationError(name) {
function logReservedNamespace(namespace) {
return {
code: RESERVED_NAMESPACE,
message: `You have overided reserved namespace "${namespace}"`
message: `You have overridden reserved namespace "${namespace}"`
};
}
function logModuleParseError(error, moduleId) {
@@ -1037,6 +1037,7 @@ const CallExpression = 'CallExpression';
const CatchClause = 'CatchClause';
const ExportDefaultDeclaration = 'ExportDefaultDeclaration';
const ExpressionStatement = 'ExpressionStatement';
const FunctionExpression = 'FunctionExpression';
const Identifier = 'Identifier';
const ImportExpression = 'ImportExpression';
const Literal = 'Literal';
@@ -2149,6 +2150,7 @@ exports.EMPTY_SET = EMPTY_SET;
exports.ExportDefaultDeclaration = ExportDefaultDeclaration;
exports.ExpressionStatement = ExpressionStatement;
exports.FIXED_STRINGS = FIXED_STRINGS;
exports.FunctionExpression = FunctionExpression;
exports.INVALID_ANNOTATION_KEY = INVALID_ANNOTATION_KEY;
exports.Identifier = Identifier;
exports.ImportExpression = ImportExpression;

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup
@@ -17,7 +17,32 @@ const native_js = require('../native.js');
const node_perf_hooks = require('node:perf_hooks');
const promises = require('node:fs/promises');
var version = "4.41.0";
function _interopNamespaceDefault(e) {
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
if (e) {
for (const k in e) {
n[k] = e[k];
}
}
n.default = e;
return n;
}
function _mergeNamespaces(n, m) {
for (var i = 0; i < m.length; i++) {
const e = m[i];
if (typeof e !== 'string' && !Array.isArray(e)) { for (const k in e) {
if (k !== 'default' && !(k in n)) {
n[k] = e[k];
}
} }
}
return Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' });
}
const promises__namespace = /*#__PURE__*/_interopNamespaceDefault(promises);
var version = "4.45.1";
function ensureArray$1(items) {
if (Array.isArray(items)) {
@@ -887,6 +912,7 @@ function getPluginContext(plugin, pluginCache, graph, options, fileEmitter, exis
error(error_) {
return parseAst_js.error(parseAst_js.logPluginError(normalizeLog(error_), plugin.name));
},
fs: options.fs,
getFileName: fileEmitter.getFileName,
getModuleIds: () => graph.modulesById.keys(),
getModuleInfo: graph.getModuleInfo,
@@ -918,7 +944,11 @@ function getAugmentedNamespace(n) {
var f = n.default;
if (typeof f == "function") {
var a = function a () {
if (this instanceof a) {
var isInstance = false;
try {
isInstance = this instanceof a;
} catch {}
if (isInstance) {
return Reflect.construct(f, arguments, this.constructor);
}
return f.apply(this, arguments);
@@ -3514,7 +3544,7 @@ async function mergeOptions(config, watchMode, rawCommandOptions = EMPTY_COMMAND
outputOptionsArray.push({});
const outputOptions = await Promise.all(outputOptionsArray.map(singleOutputOptions => mergeOutputOptions(singleOutputOptions, command, log)));
warnUnknownOptions(command, [
...Object.keys(inputOptions),
...Object.keys(inputOptions).filter(option => option !== 'fs'),
...Object.keys(outputOptions[0]).filter(option => option !== 'sourcemapIgnoreList' && option !== 'sourcemapPathTransform'),
...Object.keys(commandAliases),
'bundleConfigAsCjs',
@@ -3560,6 +3590,7 @@ function mergeInputOptions(config, overrides, plugins, log, onLog) {
experimentalCacheExpiry: getOption('experimentalCacheExpiry'),
experimentalLogSideEffects: getOption('experimentalLogSideEffects'),
external: getExternal(config, overrides),
fs: getOption('fs'),
input: getOption('input') || [],
jsx: getObjectOption(config, overrides, 'jsx', objectifyOptionWithPresets(jsxPresets, 'jsx', parseAst_js.URL_JSX, 'false, ')),
logLevel: getOption('logLevel'),
@@ -3803,189 +3834,176 @@ function handleError(error, recover = false) {
process$1.exit(1);
}
const comma = ','.charCodeAt(0);
const semicolon = ';'.charCodeAt(0);
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
const intToChar = new Uint8Array(64); // 64 possible chars.
const charToInt = new Uint8Array(128); // z is 122 in ASCII
// src/vlq.ts
var comma = ",".charCodeAt(0);
var semicolon = ";".charCodeAt(0);
var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var intToChar = new Uint8Array(64);
var charToInt = new Uint8Array(128);
for (let i = 0; i < chars.length; i++) {
const c = chars.charCodeAt(i);
intToChar[i] = c;
charToInt[c] = i;
const c = chars.charCodeAt(i);
intToChar[i] = c;
charToInt[c] = i;
}
function decodeInteger(reader, relative) {
let value = 0;
let shift = 0;
let integer = 0;
do {
const c = reader.next();
integer = charToInt[c];
value |= (integer & 31) << shift;
shift += 5;
} while (integer & 32);
const shouldNegate = value & 1;
value >>>= 1;
if (shouldNegate) {
value = -2147483648 | -value;
}
return relative + value;
let value = 0;
let shift = 0;
let integer = 0;
do {
const c = reader.next();
integer = charToInt[c];
value |= (integer & 31) << shift;
shift += 5;
} while (integer & 32);
const shouldNegate = value & 1;
value >>>= 1;
if (shouldNegate) {
value = -2147483648 | -value;
}
return relative + value;
}
function encodeInteger(builder, num, relative) {
let delta = num - relative;
delta = delta < 0 ? (-delta << 1) | 1 : delta << 1;
do {
let clamped = delta & 0b011111;
delta >>>= 5;
if (delta > 0)
clamped |= 0b100000;
builder.write(intToChar[clamped]);
} while (delta > 0);
return num;
let delta = num - relative;
delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
do {
let clamped = delta & 31;
delta >>>= 5;
if (delta > 0) clamped |= 32;
builder.write(intToChar[clamped]);
} while (delta > 0);
return num;
}
function hasMoreVlq(reader, max) {
if (reader.pos >= max)
return false;
return reader.peek() !== comma;
if (reader.pos >= max) return false;
return reader.peek() !== comma;
}
const bufLength = 1024 * 16;
// Provide a fallback for older environments.
const td = typeof TextDecoder !== 'undefined'
? /* #__PURE__ */ new TextDecoder()
: typeof Buffer !== 'undefined'
? {
decode(buf) {
const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
return out.toString();
},
}
: {
decode(buf) {
let out = '';
for (let i = 0; i < buf.length; i++) {
out += String.fromCharCode(buf[i]);
}
return out;
},
};
class StringWriter {
constructor() {
this.pos = 0;
this.out = '';
this.buffer = new Uint8Array(bufLength);
// src/strings.ts
var bufLength = 1024 * 16;
var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? {
decode(buf) {
const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
return out.toString();
}
} : {
decode(buf) {
let out = "";
for (let i = 0; i < buf.length; i++) {
out += String.fromCharCode(buf[i]);
}
write(v) {
const { buffer } = this;
buffer[this.pos++] = v;
if (this.pos === bufLength) {
this.out += td.decode(buffer);
this.pos = 0;
}
return out;
}
};
var StringWriter = class {
constructor() {
this.pos = 0;
this.out = "";
this.buffer = new Uint8Array(bufLength);
}
write(v) {
const { buffer } = this;
buffer[this.pos++] = v;
if (this.pos === bufLength) {
this.out += td.decode(buffer);
this.pos = 0;
}
flush() {
const { buffer, out, pos } = this;
return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
}
}
class StringReader {
constructor(buffer) {
this.pos = 0;
this.buffer = buffer;
}
next() {
return this.buffer.charCodeAt(this.pos++);
}
peek() {
return this.buffer.charCodeAt(this.pos);
}
indexOf(char) {
const { buffer, pos } = this;
const idx = buffer.indexOf(char, pos);
return idx === -1 ? buffer.length : idx;
}
}
}
flush() {
const { buffer, out, pos } = this;
return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
}
};
var StringReader = class {
constructor(buffer) {
this.pos = 0;
this.buffer = buffer;
}
next() {
return this.buffer.charCodeAt(this.pos++);
}
peek() {
return this.buffer.charCodeAt(this.pos);
}
indexOf(char) {
const { buffer, pos } = this;
const idx = buffer.indexOf(char, pos);
return idx === -1 ? buffer.length : idx;
}
};
// src/sourcemap-codec.ts
function decode(mappings) {
const { length } = mappings;
const reader = new StringReader(mappings);
const decoded = [];
let genColumn = 0;
let sourcesIndex = 0;
let sourceLine = 0;
let sourceColumn = 0;
let namesIndex = 0;
do {
const semi = reader.indexOf(';');
const line = [];
let sorted = true;
let lastCol = 0;
genColumn = 0;
while (reader.pos < semi) {
let seg;
genColumn = decodeInteger(reader, genColumn);
if (genColumn < lastCol)
sorted = false;
lastCol = genColumn;
if (hasMoreVlq(reader, semi)) {
sourcesIndex = decodeInteger(reader, sourcesIndex);
sourceLine = decodeInteger(reader, sourceLine);
sourceColumn = decodeInteger(reader, sourceColumn);
if (hasMoreVlq(reader, semi)) {
namesIndex = decodeInteger(reader, namesIndex);
seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];
}
else {
seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];
}
}
else {
seg = [genColumn];
}
line.push(seg);
reader.pos++;
const { length } = mappings;
const reader = new StringReader(mappings);
const decoded = [];
let genColumn = 0;
let sourcesIndex = 0;
let sourceLine = 0;
let sourceColumn = 0;
let namesIndex = 0;
do {
const semi = reader.indexOf(";");
const line = [];
let sorted = true;
let lastCol = 0;
genColumn = 0;
while (reader.pos < semi) {
let seg;
genColumn = decodeInteger(reader, genColumn);
if (genColumn < lastCol) sorted = false;
lastCol = genColumn;
if (hasMoreVlq(reader, semi)) {
sourcesIndex = decodeInteger(reader, sourcesIndex);
sourceLine = decodeInteger(reader, sourceLine);
sourceColumn = decodeInteger(reader, sourceColumn);
if (hasMoreVlq(reader, semi)) {
namesIndex = decodeInteger(reader, namesIndex);
seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];
} else {
seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];
}
if (!sorted)
sort(line);
decoded.push(line);
reader.pos = semi + 1;
} while (reader.pos <= length);
return decoded;
} else {
seg = [genColumn];
}
line.push(seg);
reader.pos++;
}
if (!sorted) sort(line);
decoded.push(line);
reader.pos = semi + 1;
} while (reader.pos <= length);
return decoded;
}
function sort(line) {
line.sort(sortComparator);
line.sort(sortComparator);
}
function sortComparator(a, b) {
return a[0] - b[0];
return a[0] - b[0];
}
function encode(decoded) {
const writer = new StringWriter();
let sourcesIndex = 0;
let sourceLine = 0;
let sourceColumn = 0;
let namesIndex = 0;
for (let i = 0; i < decoded.length; i++) {
const line = decoded[i];
if (i > 0)
writer.write(semicolon);
if (line.length === 0)
continue;
let genColumn = 0;
for (let j = 0; j < line.length; j++) {
const segment = line[j];
if (j > 0)
writer.write(comma);
genColumn = encodeInteger(writer, segment[0], genColumn);
if (segment.length === 1)
continue;
sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
sourceLine = encodeInteger(writer, segment[2], sourceLine);
sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
if (segment.length === 4)
continue;
namesIndex = encodeInteger(writer, segment[4], namesIndex);
}
const writer = new StringWriter();
let sourcesIndex = 0;
let sourceLine = 0;
let sourceColumn = 0;
let namesIndex = 0;
for (let i = 0; i < decoded.length; i++) {
const line = decoded[i];
if (i > 0) writer.write(semicolon);
if (line.length === 0) continue;
let genColumn = 0;
for (let j = 0; j < line.length; j++) {
const segment = line[j];
if (j > 0) writer.write(comma);
genColumn = encodeInteger(writer, segment[0], genColumn);
if (segment.length === 1) continue;
sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
sourceLine = encodeInteger(writer, segment[2], sourceLine);
sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
if (segment.length === 4) continue;
namesIndex = encodeInteger(writer, segment[4], namesIndex);
}
return writer.flush();
}
return writer.flush();
}
class BitSet {
@@ -6743,6 +6761,9 @@ function isPropertyNode(node) {
function isArrowFunctionExpressionNode(node) {
return node instanceof NodeBase && node.type === parseAst_js.ArrowFunctionExpression;
}
function isFunctionExpressionNode(node) {
return node instanceof NodeBase && node.type === parseAst_js.FunctionExpression;
}
function isCallExpressionNode(node) {
return node instanceof NodeBase && node.type === parseAst_js.CallExpression;
}
@@ -8897,7 +8918,8 @@ class LocalVariable extends Variable {
* })
*/
if (this.kind === 'parameter' &&
isArrowFunctionExpressionNode(declaration.parent) &&
(isArrowFunctionExpressionNode(declaration.parent) ||
isFunctionExpressionNode(declaration.parent)) &&
isCallExpressionNode(declaration.parent.parent) &&
isMemberExpressionNode(declaration.parent.parent.callee) &&
isIdentifierNode(declaration.parent.parent.callee.property) &&
@@ -10275,6 +10297,7 @@ class BlockStatement extends NodeBase {
}
initialise() {
super.initialise();
this.scope.context.magicString.addSourcemapLocation(this.end - 1);
const firstBodyStatement = this.body[0];
this.deoptimizeBody =
firstBodyStatement instanceof ExpressionStatement &&
@@ -13813,11 +13836,20 @@ class ConditionalExpression extends NodeBase {
set isBranchResolutionAnalysed(value) {
this.flags = setFlag(this.flags, 65536 /* Flag.isBranchResolutionAnalysed */, value);
}
get hasDeoptimizedCache() {
return isFlagSet(this.flags, 33554432 /* Flag.hasDeoptimizedCache */);
}
set hasDeoptimizedCache(value) {
this.flags = setFlag(this.flags, 33554432 /* Flag.hasDeoptimizedCache */, value);
}
deoptimizeArgumentsOnInteractionAtPath(interaction, path, recursionTracker) {
this.consequent.deoptimizeArgumentsOnInteractionAtPath(interaction, path, recursionTracker);
this.alternate.deoptimizeArgumentsOnInteractionAtPath(interaction, path, recursionTracker);
}
deoptimizeCache() {
if (this.hasDeoptimizedCache)
return;
this.hasDeoptimizedCache = true;
if (this.usedBranch !== null) {
const unusedBranch = this.usedBranch === this.consequent ? this.alternate : this.consequent;
this.usedBranch = null;
@@ -13844,8 +13876,23 @@ class ConditionalExpression extends NodeBase {
}
getLiteralValueAtPath(path, recursionTracker, origin) {
const usedBranch = this.getUsedBranch();
if (!usedBranch)
return UnknownValue;
if (!usedBranch) {
if (this.hasDeoptimizedCache) {
return UnknownValue;
}
const consequentValue = this.consequent.getLiteralValueAtPath(path, recursionTracker, origin);
const castedConsequentValue = tryCastLiteralValueToBoolean(consequentValue);
if (castedConsequentValue === UnknownValue)
return UnknownValue;
const alternateValue = this.alternate.getLiteralValueAtPath(path, recursionTracker, origin);
const castedAlternateValue = tryCastLiteralValueToBoolean(alternateValue);
if (castedConsequentValue !== castedAlternateValue)
return UnknownValue;
this.expressionsToBeDeoptimized.push(origin);
if (consequentValue !== alternateValue)
return castedConsequentValue ? UnknownTruthyValue : UnknownFalsyValue;
return consequentValue;
}
this.expressionsToBeDeoptimized.push(origin);
return usedBranch.getLiteralValueAtPath(path, recursionTracker, origin);
}
@@ -16695,8 +16742,11 @@ class UnaryExpression extends NodeBase {
if (!this.deoptimized)
this.applyDeoptimizations();
this.included = true;
// Check if the argument is an identifier that should be preserved as a reference for readability
const shouldPreserveArgument = this.argument instanceof Identifier && this.argument.variable?.included;
if (typeof this.getRenderedLiteralValue(includeChildrenRecursively) === 'symbol' ||
this.argument.shouldBeIncluded(context)) {
this.argument.shouldBeIncluded(context) ||
shouldPreserveArgument) {
this.argument.include(context, includeChildrenRecursively);
this.renderedLiteralValue = UnknownValue;
}
@@ -17305,7 +17355,10 @@ const bufferParsers = [
const body = (node.body = new Array(length));
for (let index = 0; index < length; index++) {
const nodePosition = buffer[bodyPosition + 1 + index];
body[index] = convertNode(node, (buffer[nodePosition + 3] & 1) === 0 ? scope.instanceScope : scope, nodePosition, buffer);
body[index] = convertNode(node, buffer[nodePosition] !== 79 &&
(buffer[nodePosition + 3] & /* the static flag is always first */ 1) === 0
? scope.instanceScope
: scope, nodePosition, buffer);
}
}
else {
@@ -17993,14 +18046,18 @@ function getOriginalLocation(sourcemapChain, location) {
if (line) {
const filteredLine = line.filter((segment) => segment.length > 1);
const lastSegment = filteredLine[filteredLine.length - 1];
for (const segment of filteredLine) {
let previousSegment = filteredLine[0];
for (let segment of filteredLine) {
if (segment[0] >= location.column || segment === lastSegment) {
const notMatched = segment[0] !== location.column;
segment = notMatched ? previousSegment : segment;
location = {
column: segment[3],
line: segment[2] + 1
};
continue traceSourcemap;
}
previousSegment = segment;
}
}
throw new Error("Can't resolve original location of error.");
@@ -21482,10 +21539,21 @@ class Link {
let searchEnd = segments.length - 1;
while (searchStart <= searchEnd) {
const m = (searchStart + searchEnd) >> 1;
const segment = segments[m];
let segment = segments[m];
// If a sourcemap does not have sufficient resolution to contain a
// necessary mapping, e.g. because it only contains line information, we
// use the best approximation we could find
// necessary mapping, e.g. because it only contains line information or
// the column is not precise (e.g. the sourcemap is generated by esbuild, segment[0] may be shorter than the location of the first letter),
// we approximate by finding the closest segment whose segment[0] is less than the given column
if (segment[0] !== column && searchStart === searchEnd) {
let approximatedSegmentIndex = 0;
for (let index = 0; index < segments.length; index++) {
if (segments[index][0] > column) {
break;
}
approximatedSegmentIndex = index;
}
segment = segments[approximatedSegmentIndex];
}
if (segment[0] === column || searchStart === searchEnd) {
if (segment.length == 1)
return null;
@@ -22050,6 +22118,16 @@ function resolveIdViaPlugins(source, importer, pluginDriver, moduleLoaderResolve
...pluginContext,
resolve: (source, importer, { attributes, custom, isEntry, skipSelf } = parseAst_js.BLANK) => {
skipSelf ??= true;
if (skipSelf &&
skip.findIndex(skippedCall => {
return (skippedCall.plugin === plugin &&
skippedCall.source === source &&
skippedCall.importer === importer);
}) !== -1) {
// This means that the plugin recursively called itself
// Thus returning Promise.resolve(null) in purpose of fallback to default behavior of `resolveId` plugin hook.
return Promise.resolve(null);
}
return moduleLoaderResolveId(source, importer, custom, isEntry, attributes || parseAst_js.EMPTY_OBJECT, skipSelf ? [...skip, { importer, plugin, source }] : skip);
}
});
@@ -22057,7 +22135,7 @@ function resolveIdViaPlugins(source, importer, pluginDriver, moduleLoaderResolve
return pluginDriver.hookFirstAndGetPlugin('resolveId', [source, importer, { attributes, custom: customOptions, isEntry }], replaceContext, skipped);
}
async function resolveId(source, importer, preserveSymlinks, pluginDriver, moduleLoaderResolveId, skip, customOptions, isEntry, attributes) {
async function resolveId(source, importer, preserveSymlinks, pluginDriver, moduleLoaderResolveId, skip, customOptions, isEntry, attributes, fs) {
const pluginResult = await resolveIdViaPlugins(source, importer, pluginDriver, moduleLoaderResolveId, skip, customOptions, isEntry, attributes);
if (pluginResult != null) {
const [resolveIdResult, plugin] = pluginResult;
@@ -22083,22 +22161,22 @@ async function resolveId(source, importer, preserveSymlinks, pluginDriver, modul
// absolute path is created. Absolute importees therefore shortcircuit the
// resolve call and require no special handing on our part.
// See https://nodejs.org/api/path.html#path_path_resolve_paths
return addJsExtensionIfNecessary(importer ? path.resolve(path.dirname(importer), source) : path.resolve(source), preserveSymlinks);
return addJsExtensionIfNecessary(importer ? path.resolve(path.dirname(importer), source) : path.resolve(source), preserveSymlinks, fs);
}
async function addJsExtensionIfNecessary(file, preserveSymlinks) {
return ((await findFile(file, preserveSymlinks)) ??
(await findFile(file + '.mjs', preserveSymlinks)) ??
(await findFile(file + '.js', preserveSymlinks)));
async function addJsExtensionIfNecessary(file, preserveSymlinks, fs) {
return ((await findFile(file, preserveSymlinks, fs)) ??
(await findFile(file + '.mjs', preserveSymlinks, fs)) ??
(await findFile(file + '.js', preserveSymlinks, fs)));
}
async function findFile(file, preserveSymlinks) {
async function findFile(file, preserveSymlinks, fs) {
try {
const stats = await promises.lstat(file);
const stats = await fs.lstat(file);
if (!preserveSymlinks && stats.isSymbolicLink())
return await findFile(await promises.realpath(file), preserveSymlinks);
return await findFile(await fs.realpath(file), preserveSymlinks, fs);
if ((preserveSymlinks && stats.isSymbolicLink()) || stats.isFile()) {
// check case
const name = path.basename(file);
const files = await promises.readdir(path.dirname(file));
const files = await fs.readdir(path.dirname(file));
if (files.includes(name))
return file;
}
@@ -22249,7 +22327,7 @@ class ModuleLoader {
this.nextEntryModuleIndex = 0;
this.resolveId = async (source, importer, customOptions, isEntry, attributes, skip = null) => this.getResolvedIdWithDefaults(this.getNormalizedResolvedIdWithoutDefaults(this.options.external(source, importer, false)
? false
: await resolveId(source, importer, this.options.preserveSymlinks, this.pluginDriver, this.resolveId, skip, customOptions, typeof isEntry === 'boolean' ? isEntry : !importer, attributes), importer, source), attributes);
: await resolveId(source, importer, this.options.preserveSymlinks, this.pluginDriver, this.resolveId, skip, customOptions, typeof isEntry === 'boolean' ? isEntry : !importer, attributes, this.options.fs), importer, source), attributes);
this.hasModuleSideEffects = options.treeshake
? options.treeshake.moduleSideEffects
: () => true;
@@ -22340,7 +22418,7 @@ class ModuleLoader {
if (content !== null)
return content;
this.graph.watchFiles[id] = true;
return await promises.readFile(id, 'utf8');
return (await this.options.fs.readFile(id, { encoding: 'utf8' }));
});
}
catch (error_) {
@@ -22608,7 +22686,7 @@ class ModuleLoader {
return resolvedId;
}
async loadEntryModule(unresolvedId, isEntry, importer, implicitlyLoadedBefore, isLoadForManualChunks = false) {
const resolveIdResult = await resolveId(unresolvedId, importer, this.options.preserveSymlinks, this.pluginDriver, this.resolveId, null, parseAst_js.EMPTY_OBJECT, true, parseAst_js.EMPTY_OBJECT);
const resolveIdResult = await resolveId(unresolvedId, importer, this.options.preserveSymlinks, this.pluginDriver, this.resolveId, null, parseAst_js.EMPTY_OBJECT, true, parseAst_js.EMPTY_OBJECT, this.options.fs);
if (resolveIdResult == null) {
return parseAst_js.error(implicitlyLoadedBefore === null
? parseAst_js.logUnresolvedEntry(unresolvedId)
@@ -22958,6 +23036,10 @@ async function catchUnfinishedHookActions(pluginDriver, callback) {
async function initWasm() { }
const fs = /*#__PURE__*/_mergeNamespaces({
__proto__: null
}, [promises__namespace]);
async function normalizeInputOptions(config, watchMode) {
// These are options that may trigger special warnings or behaviour later
// if the user did not select an explicit value
@@ -22974,6 +23056,7 @@ async function normalizeInputOptions(config, watchMode) {
experimentalCacheExpiry: config.experimentalCacheExpiry ?? 10,
experimentalLogSideEffects: config.experimentalLogSideEffects || false,
external: getIdMatcher(config.external),
fs: config.fs ?? fs,
input: getInput(config),
jsx: getJsx(config),
logLevel,
@@ -23068,7 +23151,7 @@ const getMaxParallelFileOps = (config) => {
return Infinity;
return maxParallelFileOps;
}
return 20;
return 1000;
};
const getModuleContext = (config, context) => {
const configModuleContext = config.moduleContext;
@@ -23541,7 +23624,7 @@ async function handleGenerateWrite(isWrite, inputOptions, unsetInputOptions, raw
if (!outputOptions.dir && !outputOptions.file) {
return parseAst_js.error(parseAst_js.logMissingFileOrDirOption());
}
await Promise.all(Object.values(generated).map(chunk => graph.fileOperationQueue.run(() => writeOutputFile(chunk, outputOptions))));
await Promise.all(Object.values(generated).map(chunk => graph.fileOperationQueue.run(() => writeOutputFile(chunk, outputOptions, inputOptions))));
await outputPluginDriver.hookParallel('writeBundle', [outputOptions, generated]);
timeEnd('WRITE', 1);
}
@@ -23590,11 +23673,11 @@ function getSortingFileType(file) {
}
return SortingFileType.SECONDARY_CHUNK;
}
async function writeOutputFile(outputFile, outputOptions) {
async function writeOutputFile(outputFile, outputOptions, { fs: { mkdir, writeFile } }) {
const fileName = path.resolve(outputOptions.dir || path.dirname(outputOptions.file), outputFile.fileName);
// 'recursive: true' does not throw if the folder structure, or parts of it, already exist
await promises.mkdir(path.dirname(fileName), { recursive: true });
return promises.writeFile(fileName, outputFile.type === 'asset' ? outputFile.source : outputFile.code);
await mkdir(path.dirname(fileName), { recursive: true });
return writeFile(fileName, outputFile.type === 'asset' ? outputFile.source : outputFile.code);
}
/**
* Auxiliary function for defining rollup configuration

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup

View File

@@ -1,7 +1,7 @@
/*
@license
Rollup.js v4.41.0
Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
Rollup.js v4.45.1
Tue, 15 Jul 2025 13:08:50 GMT - commit a9b04957eac7803e61390d4387e3e96dbe4118c4
https://github.com/rollup/rollup

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

@@ -1,6 +1,6 @@
{
"name": "rollup",
"version": "4.41.0",
"version": "4.45.1",
"description": "Next-generation ES module bundler",
"main": "dist/rollup.js",
"module": "dist/es/rollup.js",
@@ -109,100 +109,101 @@
"homepage": "https://rollupjs.org/",
"optionalDependencies": {
"fsevents": "~2.3.2",
"@rollup/rollup-darwin-arm64": "4.41.0",
"@rollup/rollup-android-arm64": "4.41.0",
"@rollup/rollup-win32-arm64-msvc": "4.41.0",
"@rollup/rollup-freebsd-arm64": "4.41.0",
"@rollup/rollup-linux-arm64-gnu": "4.41.0",
"@rollup/rollup-linux-arm64-musl": "4.41.0",
"@rollup/rollup-android-arm-eabi": "4.41.0",
"@rollup/rollup-linux-arm-gnueabihf": "4.41.0",
"@rollup/rollup-linux-arm-musleabihf": "4.41.0",
"@rollup/rollup-win32-ia32-msvc": "4.41.0",
"@rollup/rollup-linux-loongarch64-gnu": "4.41.0",
"@rollup/rollup-linux-riscv64-gnu": "4.41.0",
"@rollup/rollup-linux-riscv64-musl": "4.41.0",
"@rollup/rollup-linux-powerpc64le-gnu": "4.41.0",
"@rollup/rollup-linux-s390x-gnu": "4.41.0",
"@rollup/rollup-darwin-x64": "4.41.0",
"@rollup/rollup-win32-x64-msvc": "4.41.0",
"@rollup/rollup-freebsd-x64": "4.41.0",
"@rollup/rollup-linux-x64-gnu": "4.41.0",
"@rollup/rollup-linux-x64-musl": "4.41.0"
"@rollup/rollup-darwin-arm64": "4.45.1",
"@rollup/rollup-android-arm64": "4.45.1",
"@rollup/rollup-win32-arm64-msvc": "4.45.1",
"@rollup/rollup-freebsd-arm64": "4.45.1",
"@rollup/rollup-linux-arm64-gnu": "4.45.1",
"@rollup/rollup-linux-arm64-musl": "4.45.1",
"@rollup/rollup-android-arm-eabi": "4.45.1",
"@rollup/rollup-linux-arm-gnueabihf": "4.45.1",
"@rollup/rollup-linux-arm-musleabihf": "4.45.1",
"@rollup/rollup-win32-ia32-msvc": "4.45.1",
"@rollup/rollup-linux-loongarch64-gnu": "4.45.1",
"@rollup/rollup-linux-riscv64-gnu": "4.45.1",
"@rollup/rollup-linux-riscv64-musl": "4.45.1",
"@rollup/rollup-linux-powerpc64le-gnu": "4.45.1",
"@rollup/rollup-linux-s390x-gnu": "4.45.1",
"@rollup/rollup-darwin-x64": "4.45.1",
"@rollup/rollup-win32-x64-msvc": "4.45.1",
"@rollup/rollup-freebsd-x64": "4.45.1",
"@rollup/rollup-linux-x64-gnu": "4.45.1",
"@rollup/rollup-linux-x64-musl": "4.45.1"
},
"dependencies": {
"@types/estree": "1.0.7"
"@types/estree": "1.0.8"
},
"devDependenciesComments": {
"core-js": "We only update manually as every update requires a snapshot update"
},
"devDependencies": {
"@codemirror/commands": "^6.8.1",
"@codemirror/lang-javascript": "^6.2.3",
"@codemirror/language": "^6.11.0",
"@codemirror/search": "^6.5.10",
"@codemirror/lang-javascript": "^6.2.4",
"@codemirror/language": "^6.11.2",
"@codemirror/search": "^6.5.11",
"@codemirror/state": "^6.5.2",
"@codemirror/view": "^6.36.8",
"@eslint/js": "^9.26.0",
"@inquirer/prompts": "^7.5.1",
"@jridgewell/sourcemap-codec": "^1.5.0",
"@mermaid-js/mermaid-cli": "^11.4.2",
"@codemirror/view": "^6.38.0",
"@eslint/js": "^9.30.0",
"@inquirer/prompts": "^7.5.3",
"@jridgewell/sourcemap-codec": "^1.5.3",
"@mermaid-js/mermaid-cli": "^11.6.0",
"@napi-rs/cli": "^2.18.4",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-buble": "^1.0.3",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@rollup/pluginutils": "^5.1.4",
"@shikijs/vitepress-twoslash": "^3.4.0",
"@rollup/plugin-typescript": "^12.1.4",
"@rollup/pluginutils": "^5.2.0",
"@shikijs/vitepress-twoslash": "^3.7.0",
"@types/mocha": "^10.0.10",
"@types/node": "^18.19.100",
"@types/node": "^20.19.0",
"@types/picomatch": "^4.0.0",
"@types/semver": "^7.7.0",
"@types/yargs-parser": "^21.0.3",
"@vue/language-server": "^2.2.10",
"acorn": "^8.14.1",
"acorn": "^8.15.0",
"acorn-import-assertions": "^1.9.0",
"acorn-jsx": "^5.3.2",
"buble": "^0.20.0",
"builtin-modules": "^5.0.0",
"chokidar": "^3.6.0",
"concurrently": "^9.1.2",
"concurrently": "^9.2.0",
"core-js": "3.38.1",
"cross-env": "^7.0.3",
"date-time": "^4.0.0",
"es5-shim": "^4.6.7",
"es6-shim": "^0.35.8",
"eslint": "^9.26.0",
"eslint": "^9.30.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.4.0",
"eslint-plugin-prettier": "^5.5.1",
"eslint-plugin-unicorn": "^59.0.1",
"eslint-plugin-vue": "^10.1.0",
"eslint-plugin-vue": "^10.2.0",
"fixturify": "^3.0.0",
"flru": "^1.0.2",
"fs-extra": "^11.3.0",
"github-api": "^3.4.0",
"globals": "^16.1.0",
"globals": "^16.2.0",
"husky": "^9.1.7",
"is-reference": "^3.0.3",
"lint-staged": "^16.0.0",
"lint-staged": "^16.1.2",
"locate-character": "^3.0.0",
"magic-string": "^0.30.17",
"mocha": "^11.2.2",
"memfs": "^4.17.2",
"mocha": "^11.7.1",
"nodemon": "^3.1.10",
"nyc": "^17.1.0",
"picocolors": "^1.1.1",
"picomatch": "^4.0.2",
"pinia": "^3.0.2",
"prettier": "^3.5.3",
"pinia": "^3.0.3",
"prettier": "^3.6.2",
"prettier-plugin-organize-imports": "^4.1.0",
"pretty-bytes": "^7.0.0",
"pretty-ms": "^9.2.0",
"requirejs": "^2.3.7",
"rollup": "^4.40.2",
"rollup": "^4.44.1",
"rollup-plugin-license": "^3.6.0",
"rollup-plugin-string": "^3.0.0",
"semver": "^7.7.2",
@@ -211,19 +212,20 @@
"source-map": "^0.7.4",
"source-map-support": "^0.5.21",
"systemjs": "^6.15.1",
"terser": "^5.39.0",
"terser": "^5.43.1",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.1",
"vite": "^6.3.5",
"typescript-eslint": "^8.35.1",
"vite": "^7.0.0",
"vitepress": "^1.6.3",
"vue": "^3.5.13",
"vue": "^3.5.17",
"vue-eslint-parser": "^10.2.0",
"vue-tsc": "^2.2.10",
"wasm-pack": "^0.13.1",
"yargs-parser": "^21.1.1"
},
"overrides": {
"axios": "^1.9.0",
"axios": "^1.10.0",
"semver": "^7.7.2",
"readable-stream": "npm:@built-in/readable-stream@1",
"esbuild": ">0.24.2"
@@ -245,8 +247,8 @@
"exports": {
".": {
"types": "./dist/rollup.d.ts",
"require": "./dist/rollup.js",
"import": "./dist/es/rollup.js"
"import": "./dist/es/rollup.js",
"require": "./dist/rollup.js"
},
"./loadConfigFile": {
"types": "./dist/loadConfigFile.d.ts",
@@ -255,13 +257,13 @@
},
"./getLogFilter": {
"types": "./dist/getLogFilter.d.ts",
"require": "./dist/getLogFilter.js",
"import": "./dist/es/getLogFilter.js"
"import": "./dist/es/getLogFilter.js",
"require": "./dist/getLogFilter.js"
},
"./parseAst": {
"types": "./dist/parseAst.d.ts",
"require": "./dist/parseAst.js",
"import": "./dist/es/parseAst.js"
"import": "./dist/es/parseAst.js",
"require": "./dist/parseAst.js"
},
"./dist/*": "./dist/*",
"./package.json": "./package.json"