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:
11
node_modules/webpack/lib/Module.js
generated
vendored
11
node_modules/webpack/lib/Module.js
generated
vendored
@@ -106,13 +106,15 @@ const makeSerializable = require("./util/makeSerializable");
|
||||
|
||||
/** @typedef {Map<"topLevelDeclarations", Set<string>> & Map<"chunkInitFragments", InitFragment<EXPECTED_ANY>[]>} KnownCodeGenerationResultDataForJavascriptModules */
|
||||
/** @typedef {Map<"url", { ["css-url"]: string }>} KnownCodeGenerationResultDataForCssModules */
|
||||
/** @typedef {Map<"filename", string> & Map<"assetInfo", AssetInfo> & Map<"fullContentHash", string>} KnownCodeGenerationResultDataForAssetModules */
|
||||
/** @typedef {Map<"filename", string> & Map<"assetInfo", AssetInfo> & Map<"fullContentHash", string> & Map<"url", { javascript: string }>} KnownCodeGenerationResultDataForAssetModules */
|
||||
/** @typedef {Map<"share-init", [{ shareScope: string, initStage: number, init: string }]>} KnownCodeGenerationResultForSharing */
|
||||
/** @typedef {KnownCodeGenerationResultDataForJavascriptModules & KnownCodeGenerationResultDataForCssModules & KnownCodeGenerationResultDataForAssetModules & KnownCodeGenerationResultForSharing & Map<string, EXPECTED_ANY>} CodeGenerationResultData */
|
||||
|
||||
/** @typedef {Map<SourceType, Source>} Sources */
|
||||
|
||||
/**
|
||||
* @typedef {object} CodeGenerationResult
|
||||
* @property {Map<SourceType, Source>} sources the resulting sources for all source types
|
||||
* @property {Sources} sources the resulting sources for all source types
|
||||
* @property {CodeGenerationResultData=} data the resulting data for all source types
|
||||
* @property {ReadOnlyRuntimeRequirements | null} runtimeRequirements the runtime requirements
|
||||
* @property {string=} hash a hash of the code generation result (will be automatically calculated from sources and runtimeRequirements if not provided)
|
||||
@@ -135,8 +137,8 @@ const makeSerializable = require("./util/makeSerializable");
|
||||
* @property {boolean=} sideEffectFree
|
||||
* @property {boolean=} isCSSModule
|
||||
* @property {Record<string, string>=} jsIncompatibleExports
|
||||
* @property {Map<RuntimeSpec, Record<string, string>>=} exportsFinalNameByRuntime
|
||||
* @property {Map<RuntimeSpec, string>=} exportsSourceByRuntime
|
||||
* @property {Map<string, Record<string, string>>=} exportsFinalNameByRuntime
|
||||
* @property {Map<string, string>=} exportsSourceByRuntime
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -1026,6 +1028,7 @@ class Module extends DependenciesBlock {
|
||||
*/
|
||||
codeGeneration(context) {
|
||||
// Best override this method
|
||||
/** @type {Sources} */
|
||||
const sources = new Map();
|
||||
for (const type of this.getSourceTypes()) {
|
||||
if (type !== UNKNOWN_TYPE) {
|
||||
|
||||
Reference in New Issue
Block a user