Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2025-04-21 18:01:41 +00:00
parent c9f0d30a86
commit 95d52b7807
647 changed files with 498055 additions and 3880 deletions

View file

@ -132,7 +132,7 @@ function validateLabel(label, {
// be a lowercase letter (a-z), a digit (0-9), or a hyphen-minus (U+002D). (Note: This excludes uppercase ASCII
// A-Z which are mapped in UTS #46 and disallowed in IDNA2008.)"
if (useSTD3ASCIIRules && codePoint <= 0x7F) {
if (!/^[a-z][0-9]-$/u.test(ch)) {
if (!/^(?:[a-z]|[0-9]|-)$/u.test(ch)) {
return false;
}
}

View file

@ -1,6 +1,6 @@
{
"name": "tr46",
"version": "5.1.0",
"version": "5.1.1",
"engines": {
"node": ">=18"
},