Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Check coding standards
if: matrix.node-version == '20.x' && matrix.os == 'ubuntu-latest'
if: matrix.node-version == 22 && matrix.os == 'ubuntu-latest'
run: npm run lint
- name: Test
run: npm run test
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: '20.x'
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
cache: pnpm
- run: pnpm i -r
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ originally started as a refresh of the
[linebreak](https://github.com/foliojs/linebreak) package, and still shares
a small amount of test driver code with that project. The rest has been
rewritten to support a fully rules-based approach that implements UAX #14 from
Unicode version 16.0.0 From that document:
Unicode version 17.0.0 From that document:

> Line breaking, also known as word wrapping, is the process of breaking a
> section of text into lines such that it will fit in the available width of a
Expand Down Expand Up @@ -65,7 +65,7 @@ Full API documentation is [available](http://cto-af.github.io/linebreak/).

This package intends to be fully conformant with UAX #14. It currently passes
**ALL** of the
[tests](https://www.unicode.org/Public/16.0.0/ucd/auxiliary/LineBreakTest.txt)
[tests](https://www.unicode.org/Public/17.0.0/ucd/auxiliary/LineBreakTest.txt)
published by Unicode.

Other tailoring is possible by adding and removing rules.
Expand Down
38 changes: 19 additions & 19 deletions lib/EastAsianWidth.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
import {UnicodeTrie} from "@cto.af/unicode-trie-runtime";

export const version = "16.0.0";
export const inputFileDate = new Date("2024-04-30T21:48:20.000Z");
export const version = "17.0.0";
export const inputFileDate = new Date("2025-07-24T00:12:54.000Z");
export const etag = {
"EastAsianWidth.txt": "\"30982-6208a0b8364c0-gzip\"",
"EastAsianWidth.txt": "\"3137b-63c70d19d13c0-gzip\"",
};
export const lastModified = {
"EastAsianWidth.txt": "Sun, 25 Aug 2024 23:05:31 GMT",
"EastAsianWidth.txt": "Sat, 16 Aug 2025 00:45:11 GMT",
};
export const generatedDate = new Date("2025-05-31T19:50:17.960Z");
export const generatedDate = new Date("2025-09-10T18:38:45.590Z");
export const EastAsianWidth = UnicodeTrie.fromBase64(
`AAAEAAAAAAD/////vgIAAB+LCAB5XTtoAgPtmj0sBEEUx/eOwlcUNBKRSFSiukSjEAqJ0NBR
KhVCFKKRiEQiEomCQiGhoPFRCAqFQqHQKZHgGsl1SGjkCv/JzTI2N3b3br4u+zb5ZT52Zmf2
zZs3b3b2OO155+ASXAM/naSQkPMoQPJIBi8Kn5UDr5J7n2U++wukqzyvBjSCZtAKOkAXyIAe
0AcGAKszjHCUx00wztuaMNTmJNrx5+uMEA8yj3v3PL6I+AovuxSos470hpC3JcR3EGd1WXz/
n7YIgiAIgiAIgiAIIsgB30eeGNyjR+VCQ59ozAmCIMzR5ODaQhCE2+efpaC7f1f8HOcG4W0R
u+af64iwM5s7kHXADnbXFzirs0O/F5/dGpyJpQpkEW+v/Xt/COnVQN5JIP2OdAbt+8+xwawD
7SfZtuQSfmb67HDf2Pk4+5/gLeG+4kdEHc2jXKoa/2KAOHJ+qiAfoAHvxnCtf82SPrVI8tsC
+R1Is3HoRJgpUoe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