Update npm packages (73 packages including @jqhtml 2.3.36)
Update npm registry domain from privatenpm.hanson.xyz to npm.internal.hanson.xyz 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
9
node_modules/webpack/lib/ChunkGroup.js
generated
vendored
9
node_modules/webpack/lib/ChunkGroup.js
generated
vendored
@@ -56,7 +56,7 @@ const sortById = (a, b) => {
|
||||
/**
|
||||
* @param {OriginRecord} a the first comparator in sort
|
||||
* @param {OriginRecord} b the second comparator in sort
|
||||
* @returns {1 | -1| 0} returns sorting order as index
|
||||
* @returns {1 | -1 | 0} returns sorting order as index
|
||||
*/
|
||||
const sortOrigin = (a, b) => {
|
||||
const aIdent = a.module ? a.module.identifier() : "";
|
||||
@@ -79,13 +79,15 @@ class ChunkGroup {
|
||||
}
|
||||
/** @type {number} */
|
||||
this.groupDebugId = debugId++;
|
||||
this.options = /** @type {ChunkGroupOptions} */ (options);
|
||||
/** @type {ChunkGroupOptions} */
|
||||
this.options = options;
|
||||
/** @type {SortableSet<ChunkGroup>} */
|
||||
this._children = new SortableSet(undefined, sortById);
|
||||
/** @type {SortableSet<ChunkGroup>} */
|
||||
this._parents = new SortableSet(undefined, sortById);
|
||||
/** @type {SortableSet<ChunkGroup>} */
|
||||
this._asyncEntrypoints = new SortableSet(undefined, sortById);
|
||||
/** @type {SortableSet<AsyncDependenciesBlock>} */
|
||||
this._blocks = new SortableSet();
|
||||
/** @type {Chunk[]} */
|
||||
this.chunks = [];
|
||||
@@ -429,6 +431,7 @@ class ChunkGroup {
|
||||
* @returns {string[]} the files contained this chunk group
|
||||
*/
|
||||
getFiles() {
|
||||
/** @type {Set<string>} */
|
||||
const files = new Set();
|
||||
|
||||
for (const chunk of this.chunks) {
|
||||
@@ -505,7 +508,7 @@ class ChunkGroup {
|
||||
* @returns {Record<string, ChunkGroup[]>} mapping from children type to ordered list of ChunkGroups
|
||||
*/
|
||||
getChildrenByOrders(moduleGraph, chunkGraph) {
|
||||
/** @type {Map<string, {order: number, group: ChunkGroup}[]>} */
|
||||
/** @type {Map<string, { order: number, group: ChunkGroup }[]>} */
|
||||
const lists = new Map();
|
||||
for (const childGroup of this._children) {
|
||||
for (const key of Object.keys(childGroup.options)) {
|
||||
|
||||
Reference in New Issue
Block a user