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:
7
node_modules/webpack/lib/Compiler.js
generated
vendored
7
node_modules/webpack/lib/Compiler.js
generated
vendored
@@ -39,7 +39,7 @@ const webpack = require(".");
|
||||
/** @typedef {import("../declarations/WebpackOptions").WatchOptions} WatchOptions */
|
||||
/** @typedef {import("../declarations/WebpackOptions").WebpackOptionsNormalized} WebpackOptions */
|
||||
/** @typedef {import("../declarations/WebpackOptions").Plugins} Plugins */
|
||||
/** @typedef {import("../declarations/WebpackOptions").WebpackPluginFunction} WebpackPluginFunction */
|
||||
/** @typedef {import("./webpack").WebpackPluginFunction} WebpackPluginFunction */
|
||||
/** @typedef {import("./Chunk")} Chunk */
|
||||
/** @typedef {import("./Dependency")} Dependency */
|
||||
/** @typedef {import("./HotModuleReplacementPlugin").ChunkHashes} ChunkHashes */
|
||||
@@ -756,6 +756,7 @@ class Compiler {
|
||||
if (cacheEntry === undefined) {
|
||||
cacheEntry = {
|
||||
sizeOnlySource: undefined,
|
||||
/** @type {CacheEntry["writtenTo"]} */
|
||||
writtenTo: new Map()
|
||||
};
|
||||
this._assetEmittingSourceCache.set(source, cacheEntry);
|
||||
@@ -1055,7 +1056,7 @@ ${other}`);
|
||||
(cb) => this.hooks.emitRecords.callAsync(cb),
|
||||
this._emitRecords.bind(this)
|
||||
],
|
||||
(err) => callback(err)
|
||||
(err) => callback(/** @type {Error | null} */ (err))
|
||||
);
|
||||
} else {
|
||||
this.hooks.emitRecords.callAsync(callback);
|
||||
@@ -1128,7 +1129,7 @@ ${other}`);
|
||||
(cb) => this.hooks.readRecords.callAsync(cb),
|
||||
this._readRecords.bind(this)
|
||||
],
|
||||
(err) => callback(err)
|
||||
(err) => callback(/** @type {Error | null} */ (err))
|
||||
);
|
||||
} else {
|
||||
this.records = {};
|
||||
|
||||
Reference in New Issue
Block a user