Skip to content

Commit

Permalink
update to "@unicode/unicode-13.0.0" (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw authored Mar 19, 2021
1 parent 4281d80 commit f93cc16
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,7 @@ jobs:
- name: Uglify Tests
if: matrix.os == 'ubuntu-latest'
run: make uglify

- name: Check the unicode table generator
if: matrix.os == 'ubuntu-latest'
run: cd scripts && node gen-unicode-table.js
6 changes: 3 additions & 3 deletions scripts/gen-unicode-table.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const fs = require('fs');
const path = require('path');
const version = '13.0.0';
const idStart = require(`unicode-${version}/Binary_Property/ID_Start/code-points`);
const idContinue = require(`unicode-${version}/Binary_Property/ID_Continue/code-points`);
const version = '@unicode/unicode-13.0.0';
const idStart = require(`${version}/Binary_Property/ID_Start/code-points`);
const idContinue = require(`${version}/Binary_Property/ID_Continue/code-points`);

function generateRangeTable(codePoints) {
let lines = [];
Expand Down
5 changes: 5 additions & 0 deletions scripts/package-lock.json

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

1 change: 1 addition & 0 deletions scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"dependencies": {
"@types/node": "14.14.6",
"@unicode/unicode-13.0.0": "1.0.6",
"fuse.js": "3.2.0",
"js-yaml": "3.14.0",
"react": "17.0.1",
Expand Down

0 comments on commit f93cc16

Please sign in to comment.