Jonathan Haines
b283732a1f
lint: no-confusing-void-expression ( #1244 )
2025-06-23 06:08:46 +09:00
github-actions[bot]
95845a50ca
Version Packages ( #1249 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-22 13:11:19 +09:00
Palmer McCutcheon
5178967931
feat(node-ws): Add WebSocketServer instance return to createNodeWebSocket ( #1213 )
...
* Add WebSocketServer instance return to createNodeWebSocket
This change introduces the return of the WebSocketServer instance from the createNodeWebSocket function, enhancing its usability by allowing consumers access to the WebSocketServer instance for additional operations.
- Updated tests to verify the returned WebSocketServer instance
- Added wss property to NodeWebSocket interface for type safety
* style
2025-06-22 13:07:24 +09:00
Jonathan Haines
b62061faec
chore: update vitest to v3.2 ( #1220 )
2025-06-20 06:59:04 +09:00
Jonathan Haines
39a435b738
refactor(tsconfig): use `configDir` ( #1238 )
2025-06-19 16:52:41 +09:00
Jonathan Haines
9235709060
refactor: composite build ( #1230 )
...
* refactor: composite build
* chore(ua-blocker): move demo.ts out of src
2025-06-16 11:23:47 +09:00
github-actions[bot]
d4cc24f754
Version Packages ( #1206 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-09 19:05:17 +09:00
Jonathan Haines
8303d979f1
refactor(node-ws): enable isolated declarations ( #1200 )
2025-06-09 18:23:05 +09:00
github-actions[bot]
d05b6158ec
Version Packages ( #1189 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-02 21:10:02 +09:00
Shotaro Nakamura
69a0a586f5
fix(node-ws): use defineWebSocket helper ( #1187 )
...
* fix: use buffering to fix #1129
* chore: changeset
* chore: fmt
* feat(node-ws): use defineWebSocket helper
* changeset
2025-06-02 21:06:25 +09:00
github-actions[bot]
858c6b4fc3
Version Packages ( #1184 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-01 11:25:25 +09:00
Shotaro Nakamura
ccc49dd508
fix(node-ws): use buffering to fix #1129 ( #1183 )
...
* fix: use buffering to fix #1129
* chore: changeset
* chore: fmt
2025-06-01 11:12:23 +09:00
github-actions[bot]
bed23c62f5
Version Packages ( #1147 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-29 18:35:32 +09:00
Shotaro Nakamura
b8453438b6
fix(node-ws): enhance WebSocket connection handling with CORS support ( #1146 )
...
* fix(node-ws): make adapter uncrashable
* add changeset
* unnessesary diff
* fix(node-ws): enhance WebSocket connection handling with CORS support and connection symbols
* fix commentout
* remove unnecessary changese
* update changeset
2025-04-29 18:31:54 +09:00
github-actions[bot]
928f8cd5b8
Version Packages ( #1144 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-27 20:38:32 +09:00
Shotaro Nakamura
1765a9a3aa
fix(node-ws): make adapter uncrashable ( #1141 )
...
* fix(node-ws): make adapter uncrashable
* add changeset
* unnessesary diff
* update yarn.lock
* make changeset patch
2025-04-27 20:34:43 +09:00
github-actions[bot]
a756d2235b
Version Packages ( #1139 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-26 13:12:27 +09:00
Leia
237bff1b82
fix(node-ws):missing code and reason on CloseEvent ( #1138 )
...
fixes #1012
2025-04-26 13:09:26 +09:00
Yusuke Wada
684ae9a21d
feat(react-renderer): use React v19 and specify `react-dom/server.edge` for `renderToReadableStream` ( #1119 )
...
* feat(react-renderer): use React v19 and specify `react-dom/server.edge` for `renderToReadableStream`
* changeset
2025-04-11 07:43:03 +09:00
Jonathan Haines
1fd8ebf9b6
feat(eslint-config): enable linting with type information ( #1098 )
2025-04-07 19:31:09 +09:00
Jonathan Haines
e8512f0ee9
build: typescript project references ( #1077 )
...
* build: typescript project references
* chore: remove duplicate keys
2025-04-02 18:28:02 +09:00
github-actions[bot]
5dd598f499
Version Packages ( #1095 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-01 21:44:24 +09:00
Shotaro Nakamura
519404ad2c
fix(node-ws): adapter shouldn't send buffer as a event ( #1094 )
...
* fix(node-ws): adapter shouldn't send buffer as a event
* chore: changeset
2025-04-01 21:35:45 +09:00
Jonathan Haines
b18f24379b
chore(dev-deps): upgrade to hono v4 ( #1092 )
...
* chore(dev-deps): upgrade to hono v4
* chore(zod-openapi): build workspace dependencies
* chore(trpc-server): ignore null body type
2025-03-31 18:20:57 +09:00
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