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/dependencies/HarmonyExportImportedSpecifierDependency.js
generated
vendored
9
node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js
generated
vendored
@@ -58,6 +58,7 @@ const processExportInfo = require("./processExportInfo");
|
||||
/** @typedef {import("../util/runtime").RuntimeSpec} RuntimeSpec */
|
||||
/** @typedef {import("./HarmonyImportDependency").Ids} Ids */
|
||||
/** @typedef {import("./HarmonyImportDependency").ExportPresenceMode} ExportPresenceMode */
|
||||
/** @typedef {import("./HarmonyExportInitFragment").ExportMap} ExportMap */
|
||||
/** @typedef {import("../dependencies/ImportPhase").ImportPhaseType} ImportPhaseType */
|
||||
|
||||
/** @typedef {"missing" | "unused" | "empty-star" | "reexport-dynamic-default" | "reexport-named-default" | "reexport-namespace-object" | "reexport-fake-namespace-object" | "reexport-undefined" | "normal-reexport" | "dynamic-reexport"} ExportModeType */
|
||||
@@ -264,6 +265,7 @@ const getMode = (moduleGraph, dep, runtimeKey) => {
|
||||
|
||||
// reexporting with a fixed name
|
||||
if (name) {
|
||||
/** @type {ExportMode} */
|
||||
let mode;
|
||||
const exportInfo = exportsInfo.getReadOnlyExportInfo(name);
|
||||
|
||||
@@ -464,7 +466,7 @@ class HarmonyExportImportedSpecifierDependency extends HarmonyImportDependency {
|
||||
* @param {RuntimeSpec} runtime the runtime
|
||||
* @param {ExportsInfo} exportsInfo exports info about the current module (optional)
|
||||
* @param {Module} importedModule the imported module (optional)
|
||||
* @returns {{exports?: Exports, checked?: Checked, ignoredExports: IgnoredExports, hidden?: Hidden}} information
|
||||
* @returns {{ exports?: Exports, checked?: Checked, ignoredExports: IgnoredExports, hidden?: Hidden }} information
|
||||
*/
|
||||
getStarReexports(
|
||||
moduleGraph,
|
||||
@@ -480,8 +482,10 @@ class HarmonyExportImportedSpecifierDependency extends HarmonyImportDependency {
|
||||
const noExtraImports =
|
||||
exportsInfo.otherExportsInfo.getUsed(runtime) === UsageState.Unused;
|
||||
|
||||
/** @type {IgnoredExports} */
|
||||
const ignoredExports = new Set(["default", ...this.activeExports]);
|
||||
|
||||
/** @type {Hidden | undefined} */
|
||||
let hiddenExports;
|
||||
const otherStarExports =
|
||||
this._discoverActiveExportsFromOtherStarExports(moduleGraph);
|
||||
@@ -1300,6 +1304,7 @@ HarmonyExportImportedSpecifierDependency.Template = class HarmonyExportImportedS
|
||||
runtimeRequirements.add(RuntimeGlobals.exports);
|
||||
runtimeRequirements.add(RuntimeGlobals.definePropertyGetters);
|
||||
|
||||
/** @type {ExportMap} */
|
||||
const map = new Map();
|
||||
map.set(key, `/* ${comment} */ ${returnValue}`);
|
||||
|
||||
@@ -1325,6 +1330,7 @@ HarmonyExportImportedSpecifierDependency.Template = class HarmonyExportImportedS
|
||||
runtimeRequirements.add(RuntimeGlobals.definePropertyGetters);
|
||||
runtimeRequirements.add(RuntimeGlobals.createFakeNamespaceObject);
|
||||
|
||||
/** @type {ExportMap} */
|
||||
const map = new Map();
|
||||
map.set(
|
||||
key,
|
||||
@@ -1365,6 +1371,7 @@ HarmonyExportImportedSpecifierDependency.Template = class HarmonyExportImportedS
|
||||
runtimeRequirements.add(RuntimeGlobals.definePropertyGetters);
|
||||
runtimeRequirements.add(RuntimeGlobals.makeDeferredNamespaceObject);
|
||||
|
||||
/** @type {ExportMap} */
|
||||
const map = new Map();
|
||||
const moduleId = JSON.stringify(chunkGraph.getModuleId(module));
|
||||
const mode = getMakeDeferredNamespaceModeFromExportsType(exportsType);
|
||||
|
||||
Reference in New Issue
Block a user