Skip to content

Commit 8ee55b3

Browse files
committed
Update dependencies
1 parent 149f385 commit 8ee55b3

File tree

3 files changed

+89
-89
lines changed

3 files changed

+89
-89
lines changed

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
"@kayahr/cspell": "9.3.2-bundle.1",
5555
"@kayahr/npm-utils": "1.1.1",
5656
"@kayahr/ntest": "1.3.0",
57-
"@kayahr/oxlint-config": "1.13.0",
57+
"@kayahr/oxlint-config": "1.14.1",
5858
"@kayahr/typedoc": "0.28.14-bundle.3",
59-
"@types/node": "24.10.1",
59+
"@types/node": "25.0.3",
6060
"typescript": "5.9.3"
6161
}
6262
}

src/test/TextDecoder.test.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const utf16le = [ 0x7A, 0x00, 0xA2, 0x00, 0x34, 0x6C, 0x34, 0xD8, 0x1E, 0xDD, 0x
2626
const utf16beBOM = [ 0xfe, 0xff ];
2727
const utf16be = [ 0x00, 0x7A, 0x00, 0xA2, 0x6C, 0x34, 0xD8, 0x34, 0xDD, 0x1E, 0xDB, 0xFF, 0xDF, 0xFD ];
2828

29-
// z, cent, CJK water, G-Clef, Private-use character
29+
// Parts: z, cent, CJK water, G-Clef, Private-use character
3030
const utfSample = "z\xA2\u6C34\uD834\uDD1E\uDBFF\uDFFD";
3131

3232
const UTF8_ENCODING = [ "utf-8" ];
@@ -72,20 +72,20 @@ describe("TextDecoder", () => {
7272
});
7373
it("throws exception on bad input when fatal flag is true", () => {
7474
const badInputs = [
75-
{ encoding: "utf-8", input: [ 0xC0 ] }, // ends early
76-
{ encoding: "utf-8", input: [ 0xC0, 0x00 ] }, // invalid trail
77-
{ encoding: "utf-8", input: [ 0xC0, 0xC0 ] }, // invalid trail
78-
{ encoding: "utf-8", input: [ 0xE0 ] }, // ends early
79-
{ encoding: "utf-8", input: [ 0xE0, 0x00 ] }, // invalid trail
80-
{ encoding: "utf-8", input: [ 0xE0, 0xC0 ] }, // invalid trail
81-
{ encoding: "utf-8", input: [ 0xE0, 0x80, 0x00 ] }, // invalid trail
82-
{ encoding: "utf-8", input: [ 0xE0, 0x80, 0xC0 ] }, // invalid trail
75+
{ encoding: "utf-8", input: [ 0xC0 ] }, // Ends early
76+
{ encoding: "utf-8", input: [ 0xC0, 0x00 ] }, // Invalid trail
77+
{ encoding: "utf-8", input: [ 0xC0, 0xC0 ] }, // Invalid trail
78+
{ encoding: "utf-8", input: [ 0xE0 ] }, // Ends early
79+
{ encoding: "utf-8", input: [ 0xE0, 0x00 ] }, // Invalid trail
80+
{ encoding: "utf-8", input: [ 0xE0, 0xC0 ] }, // Invalid trail
81+
{ encoding: "utf-8", input: [ 0xE0, 0x80, 0x00 ] }, // Invalid trail
82+
{ encoding: "utf-8", input: [ 0xE0, 0x80, 0xC0 ] }, // Invalid trail
8383
{ encoding: "utf-8", input: [ 0xFC, 0x80, 0x80, 0x80, 0x80, 0x80 ] }, // > 0x10FFFF
84-
{ encoding: "utf-16le", input: [ 0x00 ] }, // truncated code unit
85-
{ encoding: "utf-16le", input: [ 0x00, 0xd8 ] }, // surrogate half
86-
{ encoding: "utf-16le", input: [ 0x00, 0xd8, 0x00, 0x00 ] }, // surrogate half
87-
{ encoding: "utf-16le", input: [ 0x00, 0xdc, 0x00, 0x00 ] }, // trail surrogate
88-
{ encoding: "utf-16le", input: [ 0x00, 0xdc, 0x00, 0xd8 ] } // swapped surrogates
84+
{ encoding: "utf-16le", input: [ 0x00 ] }, // Truncated code unit
85+
{ encoding: "utf-16le", input: [ 0x00, 0xd8 ] }, // Surrogate half
86+
{ encoding: "utf-16le", input: [ 0x00, 0xd8, 0x00, 0x00 ] }, // Surrogate half
87+
{ encoding: "utf-16le", input: [ 0x00, 0xdc, 0x00, 0x00 ] }, // Trail surrogate
88+
{ encoding: "utf-16le", input: [ 0x00, 0xdc, 0x00, 0xd8 ] } // Swapped surrogates
8989
];
9090
for (const badInput of badInputs) {
9191
const encoded = new Uint8Array(badInput.input);

0 commit comments

Comments
 (0)