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/TemplatedPathPlugin.js
generated
vendored
6
node_modules/webpack/lib/TemplatedPathPlugin.js
generated
vendored
@@ -18,7 +18,7 @@ const { parseResource } = require("./util/identifier");
|
||||
/** @typedef {import("./Compilation").PathData} PathData */
|
||||
/** @typedef {import("./Compiler")} Compiler */
|
||||
|
||||
const REGEXP = /\[\\*([\w:]+)\\*\]/gi;
|
||||
const REGEXP = /\[\\*([\w:]+)\\*\]/g;
|
||||
|
||||
/** @type {PathData["prepareId"]} */
|
||||
const prepareId = (id) => {
|
||||
@@ -32,7 +32,7 @@ const prepareId = (id) => {
|
||||
} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`;
|
||||
}
|
||||
|
||||
return id.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_");
|
||||
return id.replace(/(^[.-]|[^a-z0-9_-])+/gi, "_");
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -52,6 +52,7 @@ const prepareId = (id) => {
|
||||
const hashLength = (replacer, handler, assetInfo, hashName) => {
|
||||
/** @type {Replacer} */
|
||||
const fn = (match, arg, input) => {
|
||||
/** @type {string} */
|
||||
let result;
|
||||
const length = arg && Number.parseInt(arg, 10);
|
||||
|
||||
@@ -107,6 +108,7 @@ const replacer = (value, allowEmpty) => {
|
||||
return fn;
|
||||
};
|
||||
|
||||
/** @type {Map<string, (...args: EXPECTED_ANY[]) => EXPECTED_ANY>} */
|
||||
const deprecationCache = new Map();
|
||||
const deprecatedFunction = (() => () => {})();
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user