Framework updates
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
65
node_modules/rollup/dist/shared/rollup.js
generated
vendored
65
node_modules/rollup/dist/shared/rollup.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.57.1
|
||||
Fri, 30 Jan 2026 08:13:08 GMT - commit d37675f25150d6a94dcf4138853bdc2ecb3ce57b
|
||||
Rollup.js v4.59.0
|
||||
Sun, 22 Feb 2026 07:31:53 GMT - commit ae846957f109690a866cc3e4c073613c338d3476
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
@@ -42,7 +42,7 @@ function _mergeNamespaces(n, m) {
|
||||
|
||||
const promises__namespace = /*#__PURE__*/_interopNamespaceDefault(promises);
|
||||
|
||||
var version = "4.57.1";
|
||||
var version = "4.59.0";
|
||||
|
||||
function ensureArray$1(items) {
|
||||
if (Array.isArray(items)) {
|
||||
@@ -20035,26 +20035,26 @@ class Chunk {
|
||||
if (this.preliminarySourcemapFileName) {
|
||||
return this.preliminarySourcemapFileName;
|
||||
}
|
||||
let sourcemapFileName = null;
|
||||
let hashPlaceholder = null;
|
||||
const { sourcemapFileNames, format } = this.outputOptions;
|
||||
if (sourcemapFileNames) {
|
||||
const [pattern, patternName] = [sourcemapFileNames, 'output.sourcemapFileNames'];
|
||||
sourcemapFileName = renderNamePattern(typeof pattern === 'function' ? pattern(this.getPreRenderedChunkInfo()) : pattern, patternName, {
|
||||
chunkhash: () => this.getPreliminaryFileName().hashPlaceholder || '',
|
||||
format: () => format,
|
||||
hash: size => hashPlaceholder ||
|
||||
(hashPlaceholder = this.getPlaceholder(patternName, size || DEFAULT_HASH_SIZE)),
|
||||
name: () => this.getChunkName()
|
||||
});
|
||||
if (!hashPlaceholder) {
|
||||
sourcemapFileName = makeUnique(sourcemapFileName, this.bundle);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!sourcemapFileNames) {
|
||||
return null;
|
||||
}
|
||||
return (this.preliminarySourcemapFileName = { fileName: sourcemapFileName, hashPlaceholder });
|
||||
let hashPlaceholder = null;
|
||||
const [pattern, patternName] = [sourcemapFileNames, 'output.sourcemapFileNames'];
|
||||
let sourcemapFileName = renderNamePattern(typeof pattern === 'function' ? pattern(this.getPreRenderedChunkInfo()) : pattern, patternName, {
|
||||
chunkhash: () => this.getPreliminaryFileName().hashPlaceholder || '',
|
||||
format: () => format,
|
||||
hash: size => hashPlaceholder ||
|
||||
(hashPlaceholder = this.getPlaceholder(patternName, size || DEFAULT_HASH_SIZE)),
|
||||
name: () => this.getChunkName()
|
||||
});
|
||||
if (!hashPlaceholder) {
|
||||
sourcemapFileName = makeUnique(sourcemapFileName, this.bundle);
|
||||
}
|
||||
return (this.preliminarySourcemapFileName = {
|
||||
fileName: sourcemapFileName,
|
||||
hashPlaceholder
|
||||
});
|
||||
}
|
||||
getRenderedChunkInfo() {
|
||||
if (this.renderedChunkInfo) {
|
||||
@@ -20499,7 +20499,7 @@ class Chunk {
|
||||
for (let exportName of this.getExportNames()) {
|
||||
let dependency;
|
||||
let imported;
|
||||
let needsLiveBinding = false;
|
||||
let needsLiveBinding;
|
||||
if (exportName[0] === '*') {
|
||||
const id = exportName.slice(1);
|
||||
if (interop(id) === 'defaultOnly') {
|
||||
@@ -22102,6 +22102,7 @@ class Bundle {
|
||||
isWrite
|
||||
]);
|
||||
this.finaliseAssets(outputBundle);
|
||||
validateOutputBundleFileNames(outputBundle);
|
||||
timeEnd('generate bundle', 2);
|
||||
timeEnd('GENERATE', 1);
|
||||
return outputBundleBase;
|
||||
@@ -22267,6 +22268,28 @@ function addModuleToManualChunk(alias, module, manualChunkAliasByEntry) {
|
||||
}
|
||||
manualChunkAliasByEntry.set(module, alias);
|
||||
}
|
||||
function isFileNameOutsideOutputDirectory(fileName) {
|
||||
// Use join() to normalize ".." segments, then replace backslashes so the
|
||||
// string checks below work identically on Windows and POSIX.
|
||||
const normalized = path.join(fileName).replaceAll('\\', '/');
|
||||
return (normalized === '..' ||
|
||||
normalized.startsWith('../') ||
|
||||
normalized === '.' ||
|
||||
parseAst_js.isAbsolute(normalized));
|
||||
}
|
||||
function validateOutputBundleFileNames(bundle) {
|
||||
for (const [bundleKey, entry] of Object.entries(bundle)) {
|
||||
if (isFileNameOutsideOutputDirectory(bundleKey)) {
|
||||
return parseAst_js.error(parseAst_js.logFileNameOutsideOutputDirectory(bundleKey));
|
||||
}
|
||||
if (entry.type !== 'placeholder') {
|
||||
const { fileName } = entry;
|
||||
if (fileName !== bundleKey && isFileNameOutsideOutputDirectory(fileName)) {
|
||||
return parseAst_js.error(parseAst_js.logFileNameOutsideOutputDirectory(fileName));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function flru (max) {
|
||||
var num, curr, prev;
|
||||
|
||||
Reference in New Issue
Block a user