Commit Graph

27 Commits (b70735cc6c21d0a3bea6a0e45f0783adda3d0927)

Author SHA1 Message Date
Yusuke Wada 33c3faae59
chore: update the lockfile (#1072) 2025-03-27 11:34:20 +09:00
Jonathan Haines 3d7d482aff
build(node-ws): lint published package (#1052) 2025-03-27 11:23:05 +09:00
Jonathan Haines 783a082c12
chore: add coverage badges (#1023)
* chore: add coverage badges

* ci(casbin): fix spelling
2025-03-19 17:53:11 +09:00
Jonathan Haines 4d67af162f
test(workspace): upgrade to vitest v3 (#1009)
* test(workspace): upgrade to vitest v3

Fixes #1007

* chore(standard-validator): add vitest type to `tsconfig.json`

* chore: update `yarn.lock`

* chore(zod-openapi): bump `typescript`

* chore(typia-validator): make it ESM

* ci(bun-transpiler): fix Bun to v1.1.32

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-03-12 12:52:15 +09:00
github-actions[bot] fa8ed2804f
Version Packages (#975) 2025-02-23 15:35:06 +09:00
Dmytro Kulyk 6f90a574c4
feat(node-ws): Reject unexpected WebSocket connections (#973)
* Added rejection of WebSocket connections when the app does not expect them

* added changeset

* Updated waiter names; removed strict option
2025-02-23 15:31:44 +09:00
github-actions[bot] 0ebb6854fc
Version Packages (#966) 2025-02-10 18:13:23 +09:00
Shotaro Nakamura c24efa6b8a
fix(node-ws): ws wasn't created when upgrade process is async (#959)
* fix(node-ws): ws wasn't created when upgrade process is async

* chore: add changeset

* add test

* Update big-pillows-shave.md
2025-02-10 18:10:03 +09:00
Rokas Muningis f77d7ba2e2
feat(standard-validator): Add standard schema validation (#887)
* feat(standard-validator): Add standard schema validation

* feat(standard-validator): add changeset

* feat(standard-validator): reintroduce type tests

* feat(standard-validator): simplif tests

* build(standard-validator): add gitlab pipeline

* chore(standard-validator): remove redundant files

* feat(standard-validator): cleanup tests, adjust comments

* fix(standard-validator): adjust versions, fix doc

* build: fix lockfile

* feat(standard-validator): drop headers lower-casing, update readme

* check types in test dir and add `tsc` to the test command
2025-02-06 21:38:36 +09:00
github-actions[bot] deae708dde
Version Packages (#953) 2025-02-02 21:30:01 +09:00
Yusuke Wada c80ffbfb4c
fix(node-ws): allow `Hono` with custom Env for `createNodeWebSocket` (#951)
* fix(node-ws): allow `Hono` with custom Env

* add changeset
2025-02-02 21:25:54 +09:00
github-actions[bot] 6691c0e28e
Version Packages (#941) 2025-01-21 18:43:45 +09:00
Adel Ak 3e2db6dc33
fix(node-ws): Added missing WSContext raw type (#940)
* node-ws: Added missing WSContext raw type

* Updated hono version and added it as peer dependencies

* update `package.json` and the lock file

* add changeset

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2025-01-21 18:39:56 +09:00
Yusuke Wada 7a401b0850
chore: use the latest eslint and `@hono/eslint-config` (#904)
* chore: use the latest eslint and `@hono/eslint-config`

* update codes
2024-12-25 18:08:43 +09:00
github-actions[bot] 27ff98f26e
Version Packages (#877) 2024-12-10 13:02:09 +09:00
Husam Elbashir a092ffaadb
fix(node-ws): websocket upgrade header value case sensitivity (#876) 2024-12-10 12:58:31 +09:00
github-actions[bot] 20c2d1c0e1
Version Packages (#653) 2024-07-19 07:16:04 +09:00
Quentin 139e34a907
fix(node-ws): `CloseEvent` is not defined (#648)
* feat: add CloseEvent class as it doesn't exist for some versions of Node.js

* chore(style): remove semicolon

* test: add promise to check if "onClose" doesn't crashes

* chore(style): apply eslint rules

* ref: use `globalThis.CloseEvent` whenever possible or fallback to custom CloseEvent class

* chore: add changeset
2024-07-19 07:10:07 +09:00
github-actions[bot] e6afa4bd3d
Version Packages (#642) 2024-07-15 17:34:53 +09:00
Quentin 2f307e6877
fix(node-ws): binary messages have wrong byteLength and allocates unnecessary `Buffer` instance (#639)
* fix: no more Buffer.from usage

* test: add test for binary messages

* chore: add changeset
2024-07-15 17:30:50 +09:00
github-actions[bot] 67b83e5d4c
Version Packages (#617) 2024-07-04 14:32:58 +09:00
Inaridiy 967fd48d5b
fix(node-ws): Bugfix/603 hono node ws duplicate event listeners (#605)
* add multi connection test case

* fix node  incoming env

* fix spel miss

* Simple bug fixes

* Improve performance

* chore add changeset
2024-07-04 14:17:51 +09:00
github-actions[bot] 39edec1249
Version Packages (#548) 2024-05-26 11:38:46 +09:00
Mike Stop Continues ec6ec4ec02
fix(node-ws): create only one WebSocketServer instead of per websocket request (#539) 2024-05-26 11:36:11 +09:00
Yusuke Wada b03484ba05
feat(zod-openapi): support "status code" (#519)
* feat(zod-openapi): support "status code"

* add changeset and tweak

* fixed lock file
2024-05-15 10:06:11 +09:00
github-actions[bot] b0c94cd840
Version Packages (#508) 2024-05-09 21:55:47 +09:00
Shotaro Nakamura d11c3a565f
feat: Introduce WebSocket helper for Node.js | `@hono/node-ws` (#503)
* feat: Introduce WebSocket helper for Node.js | `@hono/node-ws`

* feat(node-ws): add ci and build command

* chore: update yarn.lock

* update `yarn.lock`

* fixed the ci config

* add `@hono/node-server` to devDependecies

* fixed format and specify node version

* fix(node-ws/docs): fix example

* feat: `upgradeWebSocket` be named function

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2024-05-09 21:51:25 +09:00