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:
4
node_modules/webpack/lib/cli.js
generated
vendored
4
node_modules/webpack/lib/cli.js
generated
vendored
@@ -427,6 +427,7 @@ const getArguments = (schema = webpackSchema) => {
|
||||
return flags;
|
||||
};
|
||||
|
||||
/** @type {WeakMap<EXPECTED_OBJECT, number>} */
|
||||
const cliAddedItems = new WeakMap();
|
||||
|
||||
/** @typedef {string | number} Property */
|
||||
@@ -621,7 +622,7 @@ const parseValueForArgumentConfig = (argConfig, value) => {
|
||||
break;
|
||||
case "number":
|
||||
if (typeof value === "number") return value;
|
||||
if (typeof value === "string" && /^[+-]?\d*(\.\d*)[eE]\d+$/) {
|
||||
if (typeof value === "string" && /^[+-]?\d*(\.\d*)e\d+$/i) {
|
||||
const n = Number(value);
|
||||
if (!Number.isNaN(n)) return n;
|
||||
}
|
||||
@@ -685,6 +686,7 @@ const processArguments = (args, config, values) => {
|
||||
* @param {number | undefined} i index
|
||||
*/
|
||||
const processValue = (value, i) => {
|
||||
/** @type {Problem[]} */
|
||||
const currentProblems = [];
|
||||
for (const argConfig of arg.configs) {
|
||||
const problem = processArgumentConfig(argConfig, config, value, i);
|
||||
|
||||
Reference in New Issue
Block a user