chore: update `typescript` to `5.9.2` (#4362)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* chore: update `typescript` to `5.9.2` * update `@types/*` to remove the type inconsistencies
authored by Yusuke Wada · committed by GitHub · parent 1c70d2d · Browse files · 17 files·+71 added−70 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
17 files+71 added−70 removed
- tests:+29 added−29 removed
- other:+42 added−41 removed
Provenance
- Commit
3e5a6e8- Tree
5214e3a- Author
Yusuke Wada <yusuke@kamawada.com>- Committer
GitHub <noreply@github.com>- Parent
1c70d2d
17 files changed+71 added−70 removed
modified:src/adapter/bun/websocket.ts+2 added-2 removed
83 unmodified lines84858687888988899091929310 unmodified lines83 unmodified lines }, message(ws, message) { const websocketListeners = ws.data.events if (websocketListeners.onMessage) { const normalizedReceiveData = typeof message === 'string' ? message : (message.buffer satisfies WSMessageReceive) const normalizedReceiveData: WSMessageReceive = typeof message === 'string' ? message : message.buffer
websocketListeners.onMessage(createWSMessageEvent(normalizedReceiveData), createWSContext(ws)) } },10 unmodified linesmodified:src/adapter/lambda-edge/handler.test.ts+1 added-1 removed
25 unmodified lines26 const encoder = new TextEncoder()27 const data = encoder.encode('test')28 const body = {29 action: 'read-only',30- data: encodeBase64(data),30+ data: encodeBase64(data.buffer),31 encoding: 'base64',32 inputTruncated: false,33 }34 88 unmodified linesmodified:src/adapter/lambda-edge/handler.ts+1 added-1 removed
173 unmodified lines174 175 export const createBody = (176 method: string,177 requestBody: CloudFrontRequest['body']178-): string | Uint8Array | undefined => {178+): string | Uint8Array<ArrayBuffer> | undefined => {179 if (!requestBody || !requestBody.data) {180 return undefined181 }182 if (method === 'GET' || method === 'HEAD') {13 unmodified linesmodified:src/client/client.test.ts+5 added-5 removed
493 unmodified lines494 const client = hc<AppType>('/')495 const req = client.index.$get496 497 type Actual = InferResponseType<typeof req>498- type Expected = { ok: boolean }498+ type Expected = { ok: true }499 type verify = Expect<Equal<Expected, Actual>>500 })501 502 it('Should infer request type the type correctly', () => {54 unmodified lines557 type AppType = typeof app558 const client = hc<AppType>('http://localhost')559 const res = await client.api.search.$get()560 const data = await res.json()561- type verify = Expect<Equal<boolean, typeof data.ok>>561+ type verify = Expect<Equal<true, typeof data.ok>>562 expect(data.ok).toBe(true)563 })564 565 it('Should have correct types - basePath() then get()', async () => {2 unmodified lines568 type AppType = typeof app569 const client = hc<AppType>('http://localhost')570 const res = await client.api.search.$get()571 const data = await res.json()572- type verify = Expect<Equal<boolean, typeof data.ok>>572+ type verify = Expect<Equal<true, typeof data.ok>>573 expect(data.ok).toBe(true)574 })575 576 it('Should have correct types - basePath(), route(), get()', async () => {2 unmodified lines579 type AppType = typeof app580 const client = hc<AppType>('http://localhost')581 const res = await client.v1.book.$get()582 const data = await res.json()583- type verify = Expect<Equal<boolean, typeof data.ok>>583+ type verify = Expect<Equal<true, typeof data.ok>>584 expect(data.ok).toBe(true)585 })586 587 it('Should have correct types - with interface', async () => {719 unmodified lines1307 it('Should infer request type the type correctly', () => {1308 type Actual = InferResponseType<typeof req>1309 type Expected =1310 | {1311- ok: boolean1311+ ok: true1312 }1313 | undefined1314 type verify = Expect<Equal<Expected, Actual>>1315 })66 unmodified linesmodified:src/helper/websocket/index.test.ts+2 added-2 removed
70 unmodified lines71 expect(reason).toBe('reason')72 })73 it('Should send() works', async () => {74 let ws!: WSContext75- const promise = new Promise<string | ArrayBuffer>((resolve) => {75+ const promise = new Promise<string | ArrayBuffer | Uint8Array<ArrayBuffer>>((resolve) => {76 ws = new WSContext({77 // eslint-disable-next-line @typescript-eslint/no-unused-vars78- send(data, _options) {78+ send(data: string | ArrayBuffer | Uint8Array<ArrayBuffer>, _options) {79 resolve(data)80 },81 } as WSContextInit)82 })44 unmodified linesmodified:src/helper/websocket/index.ts+1 added-1 removed
68 unmodified lines69 this.raw = init.raw70 this.url = init.url ? new URL(init.url) : null71 this.protocol = init.protocol ?? null72 }73- send(source: string | ArrayBuffer | Uint8Array, options?: SendOptions): void {73+ send(source: string | ArrayBuffer | Uint8Array<ArrayBuffer>, options?: SendOptions): void {74 this.#init.send(source, options ?? {})75 }76 raw?: T77 binaryType: BinaryType = 'arraybuffer'58 unmodified linesmodified:src/middleware/etag/digest.ts+9 added-4 removed
1123456758910111213141516121317181920212221 unmodified linesconst mergeBuffers = (buffer1: ArrayBuffer | undefined, buffer2: Uint8Array): Uint8Array => {const mergeBuffers = ( buffer1: ArrayBuffer | undefined, buffer2: Uint8Array<ArrayBuffer>): Uint8Array<ArrayBuffer> => { if (!buffer1) { return buffer2 } const merged = new Uint8Array(buffer1.byteLength + buffer2.byteLength) const merged = new Uint8Array<ArrayBuffer>( new ArrayBuffer(buffer1.byteLength + buffer2.byteLength) ) merged.set(new Uint8Array(buffer1), 0) merged.set(buffer2, buffer1.byteLength) return merged}
export const generateDigest = async ( stream: ReadableStream<Uint8Array> | null, generator: (body: Uint8Array) => ArrayBuffer | Promise<ArrayBuffer> stream: ReadableStream<Uint8Array<ArrayBuffer>> | null, generator: (body: Uint8Array<ArrayBuffer>) => ArrayBuffer | Promise<ArrayBuffer>): Promise<string | null> => { if (!stream) { return null }21 unmodified linesmodified:src/middleware/etag/index.ts+2 added-2 removed
7 unmodified lines8 9 type ETagOptions = {10 retainedHeaders?: string[]11 weak?: boolean12- generateDigest?: (body: Uint8Array) => ArrayBuffer | Promise<ArrayBuffer>12+ generateDigest?: (body: Uint8Array<ArrayBuffer>) => ArrayBuffer | Promise<ArrayBuffer>13 }14 15 /**16 * Default headers to pass through on 304 responses. From the spec:22 unmodified lines39 generator?: ETagOptions['generateDigest']40 ): ETagOptions['generateDigest'] | undefined {41 if (!generator) {42 if (crypto && crypto.subtle) {43- generator = (body: Uint8Array) =>43+ generator = (body: Uint8Array<ArrayBuffer>) =>44 crypto.subtle.digest(45 {46 name: 'SHA-1',47 },73 unmodified linesmodified:src/middleware/jwk/index.test.ts+2 added-2 removed
273 unmodified lines274 })275 276 it('Should not authorize a token without header', async () => {277 const encodeJwtPart = (part: unknown): string =>278- encodeBase64Url(utf8Encoder.encode(JSON.stringify(part))).replace(/=/g, '')278+ encodeBase64Url(utf8Encoder.encode(JSON.stringify(part)).buffer).replace(/=/g, '')279 const encodeSignaturePart = (buf: ArrayBufferLike): string =>280 encodeBase64Url(buf).replace(/=/g, '')281 const jwtSignWithoutHeader = async (payload: JWTPayload, privateKey: HonoJsonWebKey) => {282 const encodedPayload = encodeJwtPart(payload)18 unmodified lines301 })302 303 it('Should not authorize a token with missing "kid" in header', async () => {304 const encodeJwtPart = (part: unknown): string =>305- encodeBase64Url(utf8Encoder.encode(JSON.stringify(part))).replace(/=/g, '')305+ encodeBase64Url(utf8Encoder.encode(JSON.stringify(part)).buffer).replace(/=/g, '')306 const encodeSignaturePart = (buf: ArrayBufferLike): string =>307 encodeBase64Url(buf).replace(/=/g, '')308 const jwtSignWithoutKid = async (payload: JWTPayload, privateKey: HonoJsonWebKey) => {309 const encodedPayload = encodeJwtPart(payload)437 unmodified linesmodified:src/utils/jwt/jws.ts+1 added-1 removed
45 unmodified lines46 const cryptoKey = await importPublicKey(publicKey, algorithm)47 return await crypto.subtle.verify(algorithm, cryptoKey, signature, data)48 }49 50-function pemToBinary(pem: string): Uint8Array {50+function pemToBinary(pem: string): Uint8Array<ArrayBuffer> {51 return decodeBase64(pem.replace(/-+(BEGIN|END).*/g, '').replace(/\s/g, ''))52 }53 54 async function importPrivateKey(key: SignatureKey, alg: KeyImporterAlgorithm): Promise<CryptoKey> {180 unmodified linesmodified:src/utils/encode.test.ts+3 added-3 removed
1 unmodified line2 3 const toURLBase64 = (base64String: string): string =>4 base64String.replace(/\+|\//g, (m) => ({ '+': '-', '/': '_' }[m] ?? m))5 6-const str2UInt8Array = (s: string): Uint8Array => {7- const buffer = new Uint8Array(new ArrayBuffer(s.length))6+const str2UInt8Array = (s: string): Uint8Array<ArrayBuffer> => {7+ const buffer = new Uint8Array<ArrayBuffer>(new ArrayBuffer(s.length))8 for (let i = 0, len = buffer.byteLength; i < len; i++) {9 buffer[i] = s.charCodeAt(i)10 }11 return buffer35 unmodified lines47 [str2UInt8Array('asure.'), 'YXN1cmUu'],48 [str2UInt8Array('sure.'), 'c3VyZS4='],49 ])('%s, %s', (stdDecoded, stdEncoded) => {50 it('encode', () => {51- const got = encodeBase64Url(stdDecoded)51+ const got = encodeBase64Url(stdDecoded.buffer)52 const want = toURLBase64(stdEncoded)53 expect(got).toStrictEqual(want)54 })55 it('decode', () => {6 unmodified linesmodified:src/utils/encode.ts+3 added-3 removed
1 unmodified line2 * @module3 * Encode utility.4 */5 6-export const decodeBase64Url = (str: string): Uint8Array => {6+export const decodeBase64Url = (str: string): Uint8Array<ArrayBuffer> => {7 return decodeBase64(str.replace(/_|-/g, (m) => ({ _: '/', '-': '+' }[m] ?? m)))8 }9 10 export const encodeBase64Url = (buf: ArrayBufferLike): string =>10 unmodified lines21 return btoa(binary)22 }23 24 // atob does not support utf-8 characters. So we need a little bit hack.25-export const decodeBase64 = (str: string): Uint8Array => {25+export const decodeBase64 = (str: string): Uint8Array<ArrayBuffer> => {26 const binary = atob(str)27- const bytes = new Uint8Array(new ArrayBuffer(binary.length))27+ const bytes = new Uint8Array<ArrayBuffer>(new ArrayBuffer(binary.length))28 const half = binary.length / 229 for (let i = 0, j = binary.length - 1; i <= half; i++, j--) {30 bytes[i] = binary.charCodeAt(i)31 bytes[j] = binary.charCodeAt(j)3 unmodified linesmodified:src/validator/validator.test.ts+1 added-1 removed
936 unmodified lines937 q: string | string[]938 }939 }940 output: {941- success: boolean941+ success: true942 }943 outputFormat: 'json'944 status: ContentfulStatusCode945 }264 unmodified linesmodified:src/context.ts+1 added-1 removed
27 unmodified lines28 29 /**30 * Data type can be a string, ArrayBuffer, Uint8Array (buffer), or ReadableStream.31 */32-export type Data = string | ArrayBuffer | ReadableStream | Uint8Array32+export type Data = string | ArrayBuffer | ReadableStream | Uint8Array<ArrayBuffer>33 34 /**35 * Interface for the execution context in a web worker or similar environment.36 */742 unmodified linesmodified:src/types.test.ts+15 added-15 removed
266 unmodified lines267 id: string268 }269 }270 output: {271- success: boolean271+ success: true272 }273 outputFormat: 'json'274 status: ContentfulStatusCode275 }630 unmodified lines906 $get:907 | {908 input: {}909 output: {910- ng: boolean910+ ng: true911 }912 outputFormat: 'json'913 status: ContentfulStatusCode914 }915 | {916 input: {}917 output: {918- ok: boolean918+ ok: true919 }920 outputFormat: 'json'921 status: ContentfulStatusCode922 }923 | {924 input: {}925 output: {926- default: boolean926+ default: true927 }928 outputFormat: 'json'929 status: ContentfulStatusCode930 }31 unmodified lines962 $get:963 | {964 input: {}965 output: {966- ng: boolean966+ ng: true967 }968 outputFormat: 'json'969 status: 400970 }971 | {972 input: {}973 output: {974- ok: boolean974+ ok: true975 }976 outputFormat: 'json'977 status: 200978 }979 | {980 input: {}981 output: {982- default: boolean982+ default: true983 }984 outputFormat: 'json'985 status: ContentfulStatusCode986 }29 unmodified lines1016 $get:1017 | {1018 input: {}1019 output: {1020- ng: boolean1020+ ng: true1021 }1022 outputFormat: 'json'1023 status: ContentfulStatusCode1024 }1025 | {1026 input: {}1027 output: {1028- ok: boolean1028+ ok: true1029 }1030 outputFormat: 'json'1031 status: ContentfulStatusCode1032 }1033 | {1034 input: {}1035 output: {1036- default: boolean1036+ default: true1037 }1038 outputFormat: 'json'1039 status: ContentfulStatusCode1040 }31 unmodified lines1072 $get:1073 | {1074 input: {}1075 output: {1076- ng: boolean1076+ ng: true1077 }1078 outputFormat: 'json'1079 status: 4001080 }1081 | {1082 input: {}1083 output: {1084- ok: boolean1084+ ok: true1085 }1086 outputFormat: 'json'1087 status: 2001088 }1089 | {1090 input: {}1091 output: {1092- default: boolean1092+ default: true1093 }1094 outputFormat: 'json'1095 status: ContentfulStatusCode1096 }18 unmodified lines1115 '/': {1116 $get: {1117 input: {}1118 output: {1119- ok: boolean1119+ ok: true1120 }1121 outputFormat: 'json'1122 status: ContentfulStatusCode1123 }16 unmodified lines1140 '/': {1141 $get: {1142 input: {}1143 output: {1144- ok: boolean1144+ ok: true1145 }1146 outputFormat: 'json'1147 status: 2001148 }1253 unmodified linesmodified:bun.lock+17 added-21 removed
4 unmodified lines5 "name": "hono",6 "devDependencies": {7 "@hono/eslint-config": "^2.0.3",8 "@hono/node-server": "^1.13.5",9- "@types/glob": "^8.1.0",9+ "@types/glob": "^9.0.0",10 "@types/jsdom": "^21.1.7",11- "@types/node": "^22.0.0",12- "@types/supertest": "^2.0.16",11+ "@types/node": "^24.3.0",12+ "@types/supertest": "^6.0.3",13 "@typescript/native-preview": "7.0.0-dev.20250523.1",14 "@vitest/coverage-v8": "^3.2.4",15 "arg": "^5.0.2",16- "bun-types": "^1.1.39",16+ "bun-types": "^1.2.20",17 "editorconfig-checker": "^6.1.0",18 "esbuild": "^0.15.18",19 "eslint": "^9.10.0",20 "glob": "^11.0.0",3 unmodified lines24 "pkg-pr-new": "^0.0.53",25 "prettier": "^2.6.2",26 "publint": "^0.1.16",27 "supertest": "^6.3.4",28- "typescript": "^5.3.3",28+ "typescript": "^5.9.2",29 "vite-plugin-fastly-js-compute": "^0.4.2",30 "vitest": "^3.2.4",31 "wrangler": "4.12.0",32 "ws": "^8.18.0",363 unmodified lines396 "@types/deep-eql": ["@types/deep-eql@4.0.2", "", {}, "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw=="],397 398 "@types/estree": ["@types/estree@1.0.6", "", {}, "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw=="],399 400- "@types/glob": ["@types/glob@8.1.0", "", { "dependencies": { "@types/minimatch": "^5.1.2", "@types/node": "*" } }, "sha512-IO+MJPVhoqz+28h1qLAcBEH2+xHMK6MTyHJc7MTnnYb6wsoLR29POVGJ7LycmVXIqyy/4/2ShP5sUwTXuOwb/w=="],400+ "@types/glob": ["@types/glob@9.0.0", "", { "dependencies": { "glob": "*" } }, "sha512-00UxlRaIUvYm4R4W9WYkN8/J+kV8fmOQ7okeH6YFtGWFMt3odD45tpG5yA5wnL7HE6lLgjaTW5n14ju2hl2NNA=="],401 402 "@types/jsdom": ["@types/jsdom@21.1.7", "", { "dependencies": { "@types/node": "*", "@types/tough-cookie": "*", "parse5": "^7.0.0" } }, "sha512-yOriVnggzrnQ3a9OKOCxaVuSug3w3/SbOj5i7VwXWZEyUNl3bLF9V3MfxGbZKuwqJOQyRfqXyROBB1CoZLFWzA=="],403 404 "@types/json-schema": ["@types/json-schema@7.0.15", "", {}, "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="],405 406 "@types/methods": ["@types/methods@1.1.4", "", {}, "sha512-ymXWVrDiCxTBE3+RIrrP533E70eA+9qu7zdWoHuOmGujkYtzf4HQF96b8nwHLqhuf4ykX61IGRIB38CC6/sImQ=="],407 408- "@types/minimatch": ["@types/minimatch@5.1.2", "", {}, "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA=="],408+ "@types/node": ["@types/node@24.3.0", "", { "dependencies": { "undici-types": "~7.10.0" } }, "sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow=="],409 410- "@types/node": ["@types/node@22.6.1", "", { "dependencies": { "undici-types": "~6.19.2" } }, "sha512-V48tCfcKb/e6cVUigLAaJDAILdMP0fUW6BidkPK4GpGjXcfbnoHasCZDwz3N3yVt5we2RHm4XTQCpv0KJz9zqw=="],411-410 "@types/normalize-package-data": ["@types/normalize-package-data@2.4.4", "", {}, "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA=="],411 412+ "@types/react": ["@types/react@19.1.10", "", { "dependencies": { "csstype": "^3.0.2" } }, "sha512-EhBeSYX0Y6ye8pNebpKrwFJq7BoQ8J5SO6NlvNwwHjSj6adXJViPQrKlsyPw7hLBLvckEMO1yxeGdR82YBBlDg=="],413+414 "@types/statuses": ["@types/statuses@2.0.5", "", {}, "sha512-jmIUGWrAiwu3dZpxntxieC+1n/5c3mjrImkmOSQ2NC5uP6cYO4aAZDdSmRcI5C1oiTmqlZGHC+/NmJrKogbP5A=="],415 416 "@types/superagent": ["@types/superagent@8.1.9", "", { "dependencies": { "@types/cookiejar": "^2.1.5", "@types/methods": "^1.1.4", "@types/node": "*", "form-data": "^4.0.0" } }, "sha512-pTVjI73witn+9ILmoJdajHGW2jkSaOzhiFYF1Rd3EQ94kymLqB9PjD9ISg7WaALC7+dCHT0FGe9T2LktLq/3GQ=="],417 418- "@types/supertest": ["@types/supertest@2.0.16", "", { "dependencies": { "@types/superagent": "*" } }, "sha512-6c2ogktZ06tr2ENoZivgm7YnprnhYE4ZoXGMY+oA7IuAf17M8FWvujXZGmxLv8y0PTyts4x5A+erSwVUFA8XSg=="],418+ "@types/supertest": ["@types/supertest@6.0.3", "", { "dependencies": { "@types/methods": "^1.1.4", "@types/superagent": "^8.1.0" } }, "sha512-8WzXq62EXFhJ7QsH3Ocb/iKQ/Ty9ZVWnVzoTKc9tyyFRRF3a74Tk2+TLFgaFFw364Ere+npzHKEJ6ga2LzIL7w=="],419 420 "@types/tough-cookie": ["@types/tough-cookie@4.0.5", "", {}, "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA=="],421 422- "@types/ws": ["@types/ws@8.5.12", "", { "dependencies": { "@types/node": "*" } }, "sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ=="],423-422 "@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.38.0", "", { "dependencies": { "@eslint-community/regexpp": "^4.10.0", "@typescript-eslint/scope-manager": "8.38.0", "@typescript-eslint/type-utils": "8.38.0", "@typescript-eslint/utils": "8.38.0", "@typescript-eslint/visitor-keys": "8.38.0", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", "ts-api-utils": "^2.1.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.38.0", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, "sha512-CPoznzpuAnIOl4nhj4tRr4gIPj5AfKgkiJmGQDaq+fQnRJTYlcBjbX3wbciGmpoPf8DREufuPRe1tNMZnGdanA=="],423 424 "@typescript-eslint/parser": ["@typescript-eslint/parser@8.38.0", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.38.0", "@typescript-eslint/types": "8.38.0", "@typescript-eslint/typescript-estree": "8.38.0", "@typescript-eslint/visitor-keys": "8.38.0", "debug": "^4.3.4" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, "sha512-Zhy8HCvBUEfBECzIl1PKqF4p11+d0aUJS1GeUiuqK9WmOug8YCmC4h4bjyBvMyAMI9sbRczmrYL5lKg/YMbrcQ=="],425 150 unmodified lines576 "buffer-fill": ["buffer-fill@1.0.0", "", {}, "sha512-T7zexNBwiiaCOGDg9xNX9PBmjrubblRkENuptryuI64URkXDFum9il/JGL8Lm8wYfAXpredVXXZz7eMHilimiQ=="],577 578 "buffer-from": ["buffer-from@1.1.2", "", {}, "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="],579 582- "bun-types": ["bun-types@1.1.45", "", { "dependencies": { "@types/node": "~20.12.8", "@types/ws": "~8.5.10" } }, "sha512-8NT3BYwkyO8nzTG1k+q86VEvucw7s5W1fjRIGs0Y6/XNbTZn+mHEU39LFnuDLj4UmGCMpWCQtXUhLd6cko49Ww=="],580+ "bun-types": ["bun-types@1.2.20", "", { "dependencies": { "@types/node": "*" }, "peerDependencies": { "@types/react": "^19" } }, "sha512-pxTnQYOrKvdOwyiyd/7sMt9yFOenN004Y6O4lCcCUoKVej48FS5cvTw9geRaEcB9TsDZaJKAxPTVvi8tFsVuXA=="],581 582 "bundle-name": ["bundle-name@4.1.0", "", { "dependencies": { "run-applescript": "^7.0.0" } }, "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q=="],583 584 "cac": ["cac@6.7.14", "", {}, "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ=="],63 unmodified lines648 "cross-spawn": ["cross-spawn@7.0.3", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w=="],649 650 "cssstyle": ["cssstyle@3.0.0", "", { "dependencies": { "rrweb-cssom": "^0.6.0" } }, "sha512-N4u2ABATi3Qplzf0hWbVCdjenim8F3ojEXpBDF5hBpjzW182MjNGLqfmQ0SkSPeQ+V86ZXgeH8aXj6kayd4jgg=="],651 652+ "csstype": ["csstype@3.1.3", "", {}, "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="],653+654 "data-uri-to-buffer": ["data-uri-to-buffer@4.0.1", "", {}, "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A=="],655 656 "data-urls": ["data-urls@4.0.0", "", { "dependencies": { "abab": "^2.0.6", "whatwg-mimetype": "^3.0.0", "whatwg-url": "^12.0.0" } }, "sha512-/mMTei/JXPqvFqQtfyTowxmJVwr2PVAeCcDxyFf6LhoOu/09TX2OX3kb2wzi4DMXcfj4OItwDOnhl5oziPnT6g=="],657 814 unmodified lines1472 "type-detect": ["type-detect@4.1.0", "", {}, "sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw=="],1473 1474 "type-fest": ["type-fest@4.26.1", "", {}, "sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg=="],1475 1476- "typescript": ["typescript@5.6.2", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw=="],1476+ "typescript": ["typescript@5.9.2", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A=="],1477 1478 "typescript-eslint": ["typescript-eslint@8.38.0", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.38.0", "@typescript-eslint/parser": "8.38.0", "@typescript-eslint/typescript-estree": "8.38.0", "@typescript-eslint/utils": "8.38.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, "sha512-FsZlrYK6bPDGoLeZRuvx2v6qrM03I0U0SnfCLPs/XCCPCFD80xU9Pg09H/K+XFa68uJuZo7l/Xhs+eDRg2l3hg=="],1479 1480 "ufo": ["ufo@1.6.1", "", {}, "sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA=="],1 unmodified line1482 "unbzip2-stream": ["unbzip2-stream@1.4.3", "", { "dependencies": { "buffer": "^5.2.1", "through": "^2.3.8" } }, "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg=="],1483 1484 "undici": ["undici@6.21.3", "", {}, "sha512-gBLkYIlEnSp8pFbT64yFgGE6UIB9tAkhukC23PmMDCe5Nd+cRqKxSjw5y54MK2AZMgZfJWMaNE4nYUHgi1XEOw=="],1485 1486- "undici-types": ["undici-types@6.19.8", "", {}, "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw=="],1486+ "undici-types": ["undici-types@7.10.0", "", {}, "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag=="],1487 1488 "unenv": ["unenv@2.0.0-rc.15", "", { "dependencies": { "defu": "^6.1.4", "exsolve": "^1.0.4", "ohash": "^2.0.11", "pathe": "^2.0.3", "ufo": "^1.5.4" } }, "sha512-J/rEIZU8w6FOfLNz/hNKsnY+fFHWnu9MH4yRbSZF3xbbGHovcetXPs7sD+9p8L6CeNC//I9bhRYAOsBt2u7/OA=="],1489 1490 "unicode-canonical-property-names-ecmascript": ["unicode-canonical-property-names-ecmascript@2.0.1", "", {}, "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg=="],185 unmodified lines1676 "@octokit/request-error/@octokit/types": ["@octokit/types@13.10.0", "", { "dependencies": { "@octokit/openapi-types": "^24.2.0" } }, "sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA=="],1677 1678 "@pnpm/network.ca-file/graceful-fs": ["graceful-fs@4.2.10", "", {}, "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA=="],1679 1680- "@types/glob/@types/node": ["@types/node@20.11.4", "", { "dependencies": { "undici-types": "~5.26.4" } }, "sha512-6I0fMH8Aoy2lOejL3s4LhyIYX34DPwY8bl5xlNjBvUEk8OHrcuzsFt+Ied4LvJihbtXPM+8zUqdydfIti86v9g=="],1680+ "@types/jsdom/@types/node": ["@types/node@22.6.1", "", { "dependencies": { "undici-types": "~6.19.2" } }, "sha512-V48tCfcKb/e6cVUigLAaJDAILdMP0fUW6BidkPK4GpGjXcfbnoHasCZDwz3N3yVt5we2RHm4XTQCpv0KJz9zqw=="],1681 1682 "@types/superagent/@types/node": ["@types/node@20.11.4", "", { "dependencies": { "undici-types": "~5.26.4" } }, "sha512-6I0fMH8Aoy2lOejL3s4LhyIYX34DPwY8bl5xlNjBvUEk8OHrcuzsFt+Ied4LvJihbtXPM+8zUqdydfIti86v9g=="],1683 1684 "@typescript-eslint/eslint-plugin/@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.38.0", "", { "dependencies": { "@typescript-eslint/types": "8.38.0", "@typescript-eslint/visitor-keys": "8.38.0" } }, "sha512-WJw3AVlFFcdT9Ri1xs/lg8LwDqgekWXWhH3iAF+1ZM+QPd7oxQ6jvtW/JPwzAScxitILUIFs0/AnQ/UWHzbATQ=="],41 unmodified lines1726 "boxen/string-width": ["string-width@7.2.0", "", { "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", "strip-ansi": "^7.1.0" } }, "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=="],1727 1728 "boxen/wrap-ansi": ["wrap-ansi@9.0.0", "", { "dependencies": { "ansi-styles": "^6.2.1", "string-width": "^7.0.0", "strip-ansi": "^7.1.0" } }, "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q=="],1729 1730- "bun-types/@types/node": ["@types/node@20.12.14", "", { "dependencies": { "undici-types": "~5.26.4" } }, "sha512-scnD59RpYD91xngrQQLGkE+6UrHUPzeKZWhhjBSa3HSkwjbQc38+q3RoIVEwxQGRw3M+j5hpNAM+lgV3cVormg=="],1731-1730 "chalk-template/chalk": ["chalk@5.3.0", "", {}, "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w=="],1731 1732 "cli-truncate/string-width": ["string-width@1.0.2", "", { "dependencies": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", "strip-ansi": "^3.0.0" } }, "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw=="],1733 292 unmodified lines2026 "@octokit/request-error/@octokit/types/@octokit/openapi-types": ["@octokit/openapi-types@24.2.0", "", {}, "sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg=="],2027 2028 "@octokit/request/@octokit/types/@octokit/openapi-types": ["@octokit/openapi-types@24.2.0", "", {}, "sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg=="],2029 2032- "@types/glob/@types/node/undici-types": ["undici-types@5.26.5", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],2030+ "@types/jsdom/@types/node/undici-types": ["undici-types@6.19.8", "", {}, "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw=="],2031 2032 "@types/superagent/@types/node/undici-types": ["undici-types@5.26.5", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],2033 2034 "@typescript-eslint/eslint-plugin/@typescript-eslint/scope-manager/@typescript-eslint/types": ["@typescript-eslint/types@8.38.0", "", {}, "sha512-wzkUfX3plUqij4YwWaJyqhiPE5UCRVlFpKn1oCRn2O1bJ592XxWJj8ROQ3JD5MYXLORW84063z3tZTb/cs4Tyw=="],25 unmodified lines2060 "boxen/wrap-ansi/ansi-styles": ["ansi-styles@6.2.1", "", {}, "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug=="],2061 2062 "boxen/wrap-ansi/strip-ansi": ["strip-ansi@7.1.0", "", { "dependencies": { "ansi-regex": "^6.0.1" } }, "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ=="],2063 2066- "bun-types/@types/node/undici-types": ["undici-types@5.26.5", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],2067-2064 "cli-truncate/string-width/is-fullwidth-code-point": ["is-fullwidth-code-point@1.0.0", "", { "dependencies": { "number-is-nan": "^1.0.0" } }, "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw=="],2065 2066 "cli-truncate/string-width/strip-ansi": ["strip-ansi@3.0.1", "", { "dependencies": { "ansi-regex": "^2.0.0" } }, "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg=="],2067 241 unmodified linesmodified:package.json+5 added-5 removed
656 unmodified lines657 ],658 "devDependencies": {659 "@hono/eslint-config": "^2.0.3",660 "@hono/node-server": "^1.13.5",661- "@types/glob": "^8.1.0",661+ "@types/glob": "^9.0.0",662 "@types/jsdom": "^21.1.7",663- "@types/node": "^22.0.0",664- "@types/supertest": "^2.0.16",663+ "@types/node": "^24.3.0",664+ "@types/supertest": "^6.0.3",665 "@typescript/native-preview": "7.0.0-dev.20250523.1",666 "@vitest/coverage-v8": "^3.2.4",667 "arg": "^5.0.2",668- "bun-types": "^1.1.39",668+ "bun-types": "^1.2.20",669 "editorconfig-checker": "^6.1.0",670 "esbuild": "^0.15.18",671 "eslint": "^9.10.0",672 "glob": "^11.0.0",3 unmodified lines676 "pkg-pr-new": "^0.0.53",677 "prettier": "^2.6.2",678 "publint": "^0.1.16",679 "supertest": "^6.3.4",680- "typescript": "^5.3.3",680+ "typescript": "^5.9.2",681 "vite-plugin-fastly-js-compute": "^0.4.2",682 "vitest": "^3.2.4",683 "wrangler": "4.12.0",684 "ws": "^8.18.0",6 unmodified lines