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/util/conventions.js
generated
vendored
5
node_modules/webpack/lib/util/conventions.js
generated
vendored
@@ -20,7 +20,7 @@ const preserveCamelCase = (string) => {
|
||||
for (let i = 0; i < result.length; i++) {
|
||||
const character = result[i];
|
||||
|
||||
if (isLastCharLower && /[\p{Lu}]/u.test(character)) {
|
||||
if (isLastCharLower && /\p{Lu}/u.test(character)) {
|
||||
result = `${result.slice(0, i)}-${result.slice(i)}`;
|
||||
isLastCharLower = false;
|
||||
isLastLastCharUpper = isLastCharUpper;
|
||||
@@ -29,7 +29,7 @@ const preserveCamelCase = (string) => {
|
||||
} else if (
|
||||
isLastCharUpper &&
|
||||
isLastLastCharUpper &&
|
||||
/[\p{Ll}]/u.test(character)
|
||||
/\p{Ll}/u.test(character)
|
||||
) {
|
||||
result = `${result.slice(0, i - 1)}-${result.slice(i - 1)}`;
|
||||
isLastLastCharUpper = isLastCharUpper;
|
||||
@@ -84,6 +84,7 @@ module.exports.camelCase = (input) => {
|
||||
* @returns {string[]} results
|
||||
*/
|
||||
module.exports.cssExportConvention = (input, convention) => {
|
||||
/** @type {Set<string>} */
|
||||
const set = new Set();
|
||||
if (typeof convention === "function") {
|
||||
set.add(convention(input));
|
||||
|
||||
Reference in New Issue
Block a user