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:
21
node_modules/webpack/lib/css/CssParser.js
generated
vendored
21
node_modules/webpack/lib/css/CssParser.js
generated
vendored
@@ -56,11 +56,11 @@ const CC_EQUAL = "=".charCodeAt(0);
|
||||
const STRING_MULTILINE = /\\[\n\r\f]/g;
|
||||
// https://www.w3.org/TR/css-syntax-3/#whitespace
|
||||
const TRIM_WHITE_SPACES = /(^[ \t\n\r\f]*|[ \t\n\r\f]*$)/g;
|
||||
const UNESCAPE = /\\([0-9a-fA-F]{1,6}[ \t\n\r\f]?|[\s\S])/g;
|
||||
const IMAGE_SET_FUNCTION = /^(-\w+-)?image-set$/i;
|
||||
const OPTIONALLY_VENDOR_PREFIXED_KEYFRAMES_AT_RULE = /^@(-\w+-)?keyframes$/;
|
||||
const COMPOSES_PROPERTY = /^(composes|compose-with)$/i;
|
||||
const IS_MODULES = /\.module(s)?\.[^.]+$/i;
|
||||
const UNESCAPE = /\\([0-9a-f]{1,6}[ \t\n\r\f]?|[\s\S])/gi;
|
||||
const IMAGE_SET_FUNCTION = /^(?:-\w+-)?image-set$/i;
|
||||
const OPTIONALLY_VENDOR_PREFIXED_KEYFRAMES_AT_RULE = /^@(?:-\w+-)?keyframes$/;
|
||||
const COMPOSES_PROPERTY = /^(?:composes|compose-with)$/i;
|
||||
const IS_MODULES = /\.modules?\.[^.]+$/i;
|
||||
const CSS_COMMENT = /\/\*((?!\*\/).*?)\*\//g;
|
||||
|
||||
/**
|
||||
@@ -72,6 +72,7 @@ const matchAll = (regexp, str) => {
|
||||
/** @type {RegExpExecArray[]} */
|
||||
const result = [];
|
||||
|
||||
/** @type {null | RegExpExecArray} */
|
||||
let match;
|
||||
|
||||
// Use a while loop with exec() to find all matches
|
||||
@@ -123,8 +124,7 @@ const normalizeUrl = (str, isString) => {
|
||||
return str;
|
||||
};
|
||||
|
||||
// eslint-disable-next-line no-useless-escape
|
||||
const regexSingleEscape = /[ -,.\/:-@[\]\^`{-~]/;
|
||||
const regexSingleEscape = /[ -,./:-@[\]^`{-~]/;
|
||||
const regexExcessiveSpaces =
|
||||
/(^|\\+)?(\\[A-F0-9]{1,6})\u0020(?![a-fA-F0-9\u0020])/g;
|
||||
|
||||
@@ -139,10 +139,10 @@ const escapeIdentifier = (str) => {
|
||||
while (counter < str.length) {
|
||||
const character = str.charAt(counter++);
|
||||
|
||||
/** @type {string} */
|
||||
let value;
|
||||
|
||||
// eslint-disable-next-line no-control-regex
|
||||
if (/[\t\n\f\r\u000B]/.test(character)) {
|
||||
if (/[\t\n\f\r\v]/.test(character)) {
|
||||
const codePoint = character.charCodeAt(0);
|
||||
|
||||
value = `\\${codePoint.toString(16).toUpperCase()} `;
|
||||
@@ -829,12 +829,14 @@ class CssParser extends Parser {
|
||||
return newline;
|
||||
}
|
||||
|
||||
/** @type {undefined | string} */
|
||||
let layer;
|
||||
|
||||
if (tokens[1]) {
|
||||
layer = input.slice(tokens[1][0] + 6, tokens[1][1] - 1).trim();
|
||||
}
|
||||
|
||||
/** @type {undefined | string} */
|
||||
let supports;
|
||||
|
||||
if (tokens[2]) {
|
||||
@@ -847,6 +849,7 @@ class CssParser extends Parser {
|
||||
last[1]
|
||||
)[0];
|
||||
|
||||
/** @type {undefined | string} */
|
||||
let media;
|
||||
|
||||
if (mediaStart !== semi - 1) {
|
||||
|
||||
Reference in New Issue
Block a user