Skip to content

Commit 285fe87

Browse files
committed
Update Unicode to 13, to match GH
GH apparently updated to unicode 13. Unicode 15 is already available, but they don’t support that yet.
1 parent 71d2df8 commit 285fe87

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
],
1717
"devDependencies": {
1818
"@octokit/rest": "^19.0.0",
19-
"@unicode/unicode-12.1.0": "^1.0.0",
19+
"@unicode/unicode-13.0.0": "^1.0.0",
2020
"hast-util-select": "^5.0.0",
2121
"mdast-util-gfm": "^2.0.0",
2222
"mdast-util-to-markdown": "^1.0.0",

regex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

script/generate-fixtures.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (!ghToken) {
1515
}
1616

1717
const octo = new Octokit({ auth: 'token ' + ghToken })
18-
const categoryBase = new URL('../node_modules/@unicode/unicode-12.1.0/General_Category/', import.meta.url)
18+
const categoryBase = new URL('../node_modules/@unicode/unicode-13.0.0/General_Category/', import.meta.url)
1919

2020
// Take up to N samples from each category.
2121
const samples = 400

script/generate-regex.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { promises as fs } from 'node:fs'
22
import regenerate from 'regenerate'
3-
import alphabetics from '@unicode/unicode-12.1.0/Binary_Property/Alphabetic/code-points.js'
3+
import alphabetics from '@unicode/unicode-13.0.0/Binary_Property/Alphabetic/code-points.js'
44

5-
const categoryBase = new URL('../node_modules/@unicode/unicode-12.1.0/General_Category/', import.meta.url)
5+
const categoryBase = new URL('../node_modules/@unicode/unicode-13.0.0/General_Category/', import.meta.url)
66

77
// Unicode General Categories to remove.
88
const ranges = [

0 commit comments

Comments
 (0)