Skip to content

Commit 89cc344

Browse files
chore: update biome version to 2.3.13 and adjust name validation regex for ASCII characters
1 parent 3bc6d5a commit 89cc344

4 files changed

Lines changed: 40 additions & 39 deletions

File tree

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.12/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.3.13/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",

package-lock.json

Lines changed: 37 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"format": "biome format --write"
2525
},
2626
"devDependencies": {
27-
"@biomejs/biome": "2.3.12",
27+
"@biomejs/biome": "2.3.13",
2828
"@playwright/test": "^1.57.0",
2929
"@types/d3": "^7.4.3",
3030
"@types/delaunator": "^5.0.3",

src/modules/names-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class NamesGenerator {
2727

2828
for (const n of availableNames) {
2929
const name = n.trim().toLowerCase();
30-
const basic = !/[^\u0000-\u007f]/.test(name); // basic chars and English rules can be applied
30+
const basic = !/[^\x20-\x7e]/.test(name); // basic printable ASCII chars and English rules can be applied
3131

3232
// split word into pseudo-syllables
3333
for (

0 commit comments

Comments
 (0)