Add <%br= %> jqhtml syntax docs, class override detection, npm update
Document event handler placement and model fetch clarification 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
59
node_modules/rollup/dist/shared/rollup.js
generated
vendored
59
node_modules/rollup/dist/shared/rollup.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.54.0
|
||||
Sat, 20 Dec 2025 09:28:12 GMT - commit 88f1430c42fe76db421623106546e50627271952
|
||||
Rollup.js v4.55.1
|
||||
Mon, 05 Jan 2026 10:23:35 GMT - commit 299cc46f3059a72b1e37b80c688a6d88c6c5f3fd
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
@@ -42,7 +42,7 @@ function _mergeNamespaces(n, m) {
|
||||
|
||||
const promises__namespace = /*#__PURE__*/_interopNamespaceDefault(promises);
|
||||
|
||||
var version = "4.54.0";
|
||||
var version = "4.55.1";
|
||||
|
||||
function ensureArray$1(items) {
|
||||
if (Array.isArray(items)) {
|
||||
@@ -19776,6 +19776,7 @@ class Chunk {
|
||||
this.facadeModule = null;
|
||||
this.namespaceVariableName = '';
|
||||
this.variableName = '';
|
||||
this.isManualChunk = false;
|
||||
this.accessedGlobalsByScope = new Map();
|
||||
this.dynamicEntryModules = [];
|
||||
this.dynamicName = null;
|
||||
@@ -19830,6 +19831,7 @@ class Chunk {
|
||||
}
|
||||
}
|
||||
this.suggestedVariableName = makeLegal(this.generateVariableName());
|
||||
this.isManualChunk = manualChunkAlias !== null;
|
||||
}
|
||||
static generateFacade(inputOptions, outputOptions, unsetOptions, pluginDriver, modulesById, chunkByModule, externalChunkByModule, facadeChunkByModule, includedNamespaces, facadedModule, facadeName, getPlaceholder, bundle, inputBase, snippets) {
|
||||
const chunk = new Chunk([], inputOptions, outputOptions, unsetOptions, pluginDriver, modulesById, chunkByModule, externalChunkByModule, facadeChunkByModule, includedNamespaces, null, getPlaceholder, bundle, inputBase, snippets);
|
||||
@@ -20975,7 +20977,7 @@ function getChunkAssignments(entries, manualChunkAliasByEntry, minChunkSize, log
|
||||
const { chunkDefinitions, modulesInManualChunks } = getChunkDefinitionsFromManualChunks(manualChunkAliasByEntry, isManualChunksFunctionForm, onlyExplicitManualChunks);
|
||||
const { allEntries, dependentEntriesByModule, dynamicallyDependentEntriesByDynamicEntry, dynamicImportsByEntry, dynamicallyDependentEntriesByAwaitedDynamicEntry, awaitedDynamicImportsByEntry } = analyzeModuleGraph(entries);
|
||||
// Each chunk is identified by its position in this array
|
||||
const chunkAtoms = getChunksWithSameDependentEntries(getModulesWithDependentEntries(dependentEntriesByModule, modulesInManualChunks));
|
||||
const chunkAtoms = getChunksWithSameDependentEntries(getModulesWithDependentEntriesAndHandleTLACycles(dependentEntriesByModule, modulesInManualChunks, chunkDefinitions));
|
||||
const staticDependencyAtomsByEntry = getStaticDependencyAtomsByEntry(allEntries, chunkAtoms);
|
||||
// Warning: This will consume dynamicallyDependentEntriesByDynamicEntry.
|
||||
// If we no longer want this, we should make a copy here.
|
||||
@@ -21142,9 +21144,16 @@ function getChunksWithSameDependentEntries(modulesWithDependentEntries) {
|
||||
}
|
||||
return Object.values(chunkModules);
|
||||
}
|
||||
function* getModulesWithDependentEntries(dependentEntriesByModule, modulesInManualChunks) {
|
||||
function* getModulesWithDependentEntriesAndHandleTLACycles(dependentEntriesByModule, modulesInManualChunks, chunkDefinitions) {
|
||||
for (const [module, dependentEntries] of dependentEntriesByModule) {
|
||||
if (!modulesInManualChunks.has(module)) {
|
||||
if (module.cycles.size > 0 && module.includedTopLevelAwaitingDynamicImporters.size > 0) {
|
||||
chunkDefinitions.push({
|
||||
alias: null,
|
||||
modules: [module]
|
||||
});
|
||||
continue;
|
||||
}
|
||||
yield { dependentEntries, modules: [module] };
|
||||
}
|
||||
}
|
||||
@@ -22206,12 +22215,52 @@ class Bundle {
|
||||
for (const chunk of chunks) {
|
||||
chunk.link();
|
||||
}
|
||||
if (!inlineDynamicImports && !preserveModules) {
|
||||
this.checkCircularChunks(chunks);
|
||||
}
|
||||
const facades = [];
|
||||
for (const chunk of chunks) {
|
||||
facades.push(...chunk.generateFacades());
|
||||
}
|
||||
return [...chunks, ...facades];
|
||||
}
|
||||
checkCircularChunks(chunks) {
|
||||
const visited = new Set();
|
||||
const parents = new Map();
|
||||
const handleDependency = (chunk, parent) => {
|
||||
if (parents.has(chunk)) {
|
||||
if (!visited.has(chunk)) {
|
||||
const path = [chunk.getChunkName()];
|
||||
let isManualChunkConflict = chunk.isManualChunk;
|
||||
let nextChunk = parent;
|
||||
while (nextChunk !== chunk && nextChunk) {
|
||||
path.push(nextChunk.getChunkName());
|
||||
isManualChunkConflict &&= nextChunk.isManualChunk;
|
||||
nextChunk = parents.get(nextChunk);
|
||||
}
|
||||
path.push(path[0]);
|
||||
path.reverse();
|
||||
this.inputOptions.onLog(parseAst_js.LOGLEVEL_WARN, parseAst_js.logCircularChunk(path, isManualChunkConflict));
|
||||
}
|
||||
return;
|
||||
}
|
||||
parents.set(chunk, parent);
|
||||
analyseChunk(chunk);
|
||||
};
|
||||
const analyseChunk = (chunk) => {
|
||||
for (const dependency of chunk.dependencies) {
|
||||
if (dependency instanceof Chunk) {
|
||||
handleDependency(dependency, chunk);
|
||||
}
|
||||
}
|
||||
visited.add(chunk);
|
||||
};
|
||||
for (const chunk of chunks) {
|
||||
if (!parents.has(chunk)) {
|
||||
analyseChunk(chunk);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
function validateOptionsForMultiChunkOutput(outputOptions, log) {
|
||||
if (outputOptions.format === 'umd' || outputOptions.format === 'iife')
|
||||
|
||||
Reference in New Issue
Block a user