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/BannerPlugin.js
generated
vendored
6
node_modules/webpack/lib/BannerPlugin.js
generated
vendored
@@ -11,12 +11,15 @@ const ModuleFilenameHelpers = require("./ModuleFilenameHelpers");
|
||||
const Template = require("./Template");
|
||||
const createSchemaValidation = require("./util/create-schema-validation");
|
||||
|
||||
/** @typedef {import("../declarations/plugins/BannerPlugin").BannerFunction} BannerFunction */
|
||||
/** @typedef {import("webpack-sources").Source} Source */
|
||||
/** @typedef {import("../declarations/plugins/BannerPlugin").BannerPluginArgument} BannerPluginArgument */
|
||||
/** @typedef {import("./Compilation").PathData} PathData */
|
||||
/** @typedef {import("./Compiler")} Compiler */
|
||||
/** @typedef {import("./Chunk")} Chunk */
|
||||
/** @typedef {import("./TemplatedPathPlugin").TemplatePath} TemplatePath */
|
||||
|
||||
/** @typedef {(data: { hash?: string, chunk: Chunk, filename: string }) => string} BannerFunction */
|
||||
|
||||
const validate = createSchemaValidation(
|
||||
/** @type {((value: typeof import("../schemas/plugins/BannerPlugin.json")) => boolean)} */
|
||||
(require("../schemas/plugins/BannerPlugin.check")),
|
||||
@@ -88,6 +91,7 @@ class BannerPlugin {
|
||||
undefined,
|
||||
options
|
||||
);
|
||||
/** @type {WeakMap<Source, { source: ConcatSource, comment: string }>} */
|
||||
const cache = new WeakMap();
|
||||
const stage =
|
||||
this.options.stage || Compilation.PROCESS_ASSETS_STAGE_ADDITIONS;
|
||||
|
||||
Reference in New Issue
Block a user