Upgraded dependencies, bumped to Node 24.

This commit is contained in:
2026-07-12 05:27:14 +02:00
parent 2d4786a4fd
commit d745b10d24
181 changed files with 18720 additions and 23134 deletions

View File

@@ -51,7 +51,7 @@ export default function slugify(strings, delimiter = '-', {
.trim()
.toLowerCase()
.replace(removePunctuation && /[.,:;'"_-]/g, '')
.match(/[A-Za-zÀ-ÖØ-öø-ÿ0-9]+/g));
.match(/[A-Za-zÀ-ÖØ-öø-ÿ0-9]+/g)); // eslint-disable-line regexp/no-obscure-range -- intentional accented-Latin range for slugification
if (!slugComponents) {
return '';
@@ -62,7 +62,7 @@ export default function slugify(strings, delimiter = '-', {
if (accSlug.length < limit) {
if (removeAccents) {
return accSlug.replace(/[à-ÿ]/g, (match) => substitutes[match] || '');
return accSlug.replace(/[à-ÿ]/g, (match) => substitutes[match] || ''); // eslint-disable-line regexp/no-obscure-range -- intentional accented-Latin range for slugification
}
return accSlug;