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:
6
node_modules/webpack/lib/DelegatedModule.js
generated
vendored
6
node_modules/webpack/lib/DelegatedModule.js
generated
vendored
@@ -32,6 +32,8 @@ const makeSerializable = require("./util/makeSerializable");
|
||||
/** @typedef {import("./Module").LibIdent} LibIdent */
|
||||
/** @typedef {import("./Module").NeedBuildCallback} NeedBuildCallback */
|
||||
/** @typedef {import("./Module").NeedBuildContext} NeedBuildContext */
|
||||
/** @typedef {import("./Module").Sources} Sources */
|
||||
/** @typedef {import("./Module").RuntimeRequirements} RuntimeRequirements */
|
||||
/** @typedef {import("./RequestShortener")} RequestShortener */
|
||||
/** @typedef {import("./ResolverFactory").ResolverWithOptions} ResolverWithOptions */
|
||||
/** @typedef {import("./serialization/ObjectMiddleware").ObjectDeserializerContext} ObjectDeserializerContext */
|
||||
@@ -76,6 +78,7 @@ class DelegatedModule extends Module {
|
||||
this.delegateData = data;
|
||||
|
||||
// Build info
|
||||
/** @type {undefined | DelegatedSourceDependency} */
|
||||
this.delegatedSourceDependency = undefined;
|
||||
}
|
||||
|
||||
@@ -152,6 +155,7 @@ class DelegatedModule extends Module {
|
||||
codeGeneration({ runtimeTemplate, moduleGraph, chunkGraph }) {
|
||||
const dep = /** @type {DelegatedSourceDependency} */ (this.dependencies[0]);
|
||||
const sourceModule = moduleGraph.getModule(dep);
|
||||
/** @type {string} */
|
||||
let str;
|
||||
|
||||
if (!sourceModule) {
|
||||
@@ -163,6 +167,7 @@ class DelegatedModule extends Module {
|
||||
module: sourceModule,
|
||||
chunkGraph,
|
||||
request: dep.request,
|
||||
/** @type {RuntimeRequirements} */
|
||||
runtimeRequirements: new Set()
|
||||
})})`;
|
||||
|
||||
@@ -178,6 +183,7 @@ class DelegatedModule extends Module {
|
||||
str += ";";
|
||||
}
|
||||
|
||||
/** @type {Sources} */
|
||||
const sources = new Map();
|
||||
if (this.useSourceMap || this.useSimpleSourceMap) {
|
||||
sources.set(JAVASCRIPT_TYPE, new OriginalSource(str, this.identifier()));
|
||||
|
||||
Reference in New Issue
Block a user