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:
5
node_modules/webpack/lib/dependencies/ExternalModuleInitFragment.js
generated
vendored
5
node_modules/webpack/lib/dependencies/ExternalModuleInitFragment.js
generated
vendored
@@ -13,7 +13,8 @@ const makeSerializable = require("../util/makeSerializable");
|
||||
/** @typedef {import("../serialization/ObjectMiddleware").ObjectDeserializerContext} ObjectDeserializerContext */
|
||||
/** @typedef {import("../serialization/ObjectMiddleware").ObjectSerializerContext} ObjectSerializerContext */
|
||||
/** @typedef {{ name: string, value?: string }[]} ArrayImportSpecifiers */
|
||||
/** @typedef {Map<string, Set<string>>} ImportSpecifiers */
|
||||
/** @typedef {Set<string>} ImportSpecifier */
|
||||
/** @typedef {Map<string, ImportSpecifier>} ImportSpecifiers */
|
||||
|
||||
/**
|
||||
* @extends {InitFragment<GenerateContext>}
|
||||
@@ -38,6 +39,7 @@ class ExternalModuleInitFragment extends InitFragment {
|
||||
for (const { name, value } of specifiers) {
|
||||
let specifiers = this.specifiers.get(name);
|
||||
if (!specifiers) {
|
||||
/** @type {ImportSpecifier} */
|
||||
specifiers = new Set();
|
||||
this.specifiers.set(name, specifiers);
|
||||
}
|
||||
@@ -77,6 +79,7 @@ class ExternalModuleInitFragment extends InitFragment {
|
||||
* @returns {string | Source | undefined} the source code that will be included as initialization code
|
||||
*/
|
||||
getContent({ runtimeRequirements }) {
|
||||
/** @type {string[]} */
|
||||
const namedImports = [];
|
||||
|
||||
for (const [name, specifiers] of this.specifiers) {
|
||||
|
||||
Reference in New Issue
Block a user