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:
10
node_modules/webpack/lib/RuntimeModule.js
generated
vendored
10
node_modules/webpack/lib/RuntimeModule.js
generated
vendored
@@ -17,11 +17,14 @@ const { WEBPACK_MODULE_TYPE_RUNTIME } = require("./ModuleTypeConstants");
|
||||
/** @typedef {import("./Compilation")} Compilation */
|
||||
/** @typedef {import("./Dependency").UpdateHashContext} UpdateHashContext */
|
||||
/** @typedef {import("./Generator").SourceTypes} SourceTypes */
|
||||
/** @typedef {import("./Module").BuildMeta} BuildMeta */
|
||||
/** @typedef {import("./Module").BuildInfo} BuildInfo */
|
||||
/** @typedef {import("./Module").BuildCallback} BuildCallback */
|
||||
/** @typedef {import("./Module").CodeGenerationContext} CodeGenerationContext */
|
||||
/** @typedef {import("./Module").CodeGenerationResult} CodeGenerationResult */
|
||||
/** @typedef {import("./Module").NeedBuildCallback} NeedBuildCallback */
|
||||
/** @typedef {import("./Module").NeedBuildContext} NeedBuildContext */
|
||||
/** @typedef {import("./Module").Sources} Sources */
|
||||
/** @typedef {import("./RequestShortener")} RequestShortener */
|
||||
/** @typedef {import("./ResolverFactory").ResolverWithOptions} ResolverWithOptions */
|
||||
/** @typedef {import("./util/Hash")} Hash */
|
||||
@@ -34,9 +37,13 @@ class RuntimeModule extends Module {
|
||||
*/
|
||||
constructor(name, stage = 0) {
|
||||
super(WEBPACK_MODULE_TYPE_RUNTIME);
|
||||
/** @type {string} */
|
||||
this.name = name;
|
||||
/** @type {number} */
|
||||
this.stage = stage;
|
||||
/** @type {BuildMeta} */
|
||||
this.buildMeta = {};
|
||||
/** @type {BuildInfo} */
|
||||
this.buildInfo = {};
|
||||
/** @type {Compilation | undefined} */
|
||||
this.compilation = undefined;
|
||||
@@ -44,7 +51,9 @@ class RuntimeModule extends Module {
|
||||
this.chunk = undefined;
|
||||
/** @type {ChunkGraph | undefined} */
|
||||
this.chunkGraph = undefined;
|
||||
/** @type {boolean} */
|
||||
this.fullHash = false;
|
||||
/** @type {boolean} */
|
||||
this.dependentHash = false;
|
||||
/** @type {string | undefined | null} */
|
||||
this._cachedGeneratedCode = undefined;
|
||||
@@ -134,6 +143,7 @@ class RuntimeModule extends Module {
|
||||
* @returns {CodeGenerationResult} result
|
||||
*/
|
||||
codeGeneration(context) {
|
||||
/** @type {Sources} */
|
||||
const sources = new Map();
|
||||
const generatedCode = this.getGeneratedCode();
|
||||
if (generatedCode) {
|
||||
|
||||
Reference in New Issue
Block a user