Skip to content

Commit

Permalink
Update Unicode to 13, to match GH
Browse files Browse the repository at this point in the history
GH apparently updated to unicode 13.
Unicode 15 is already available, but they don’t support that yet.
  • Loading branch information
wooorm committed Oct 25, 2022
1 parent 71d2df8 commit 285fe87
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"devDependencies": {
"@octokit/rest": "^19.0.0",
"@unicode/unicode-12.1.0": "^1.0.0",
"@unicode/unicode-13.0.0": "^1.0.0",
"hast-util-select": "^5.0.0",
"mdast-util-gfm": "^2.0.0",
"mdast-util-to-markdown": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion regex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion script/generate-fixtures.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if (!ghToken) {
}

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

// Take up to N samples from each category.
const samples = 400
Expand Down
4 changes: 2 additions & 2 deletions script/generate-regex.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { promises as fs } from 'node:fs'
import regenerate from 'regenerate'
import alphabetics from '@unicode/unicode-12.1.0/Binary_Property/Alphabetic/code-points.js'
import alphabetics from '@unicode/unicode-13.0.0/Binary_Property/Alphabetic/code-points.js'

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

// Unicode General Categories to remove.
const ranges = [
Expand Down
Loading

0 comments on commit 285fe87

Please sign in to comment.