Skip to content

Commit c23c109

Browse files
committed
🧹 chore: update dependency
1 parent 4b293c9 commit c23c109

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 1.3.1 - 24 Aug 2025
2+
Change:
3+
- update `@hono/node-server` to 1.19.0
4+
- minimum support for Elysia is set to 1.3.18
5+
16
# 1.3.0 - 27 May 2025
27
Change:
38
- use WebStandard Compatibility via `@hono/node-server`

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@elysiajs/node",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "Plugin for Elysia for retreiving Bearer token",
55
"license": "MIT",
66
"scripts": {
@@ -11,16 +11,16 @@
1111
"release": "npm run build && npm run test && npm publish --access public"
1212
},
1313
"dependencies": {
14-
"@hono/node-server": "^1.14.3"
14+
"@hono/node-server": "^1.19.0"
1515
},
1616
"peerDependencies": {
17-
"elysia": ">= 1.3.3"
17+
"elysia": ">= 1.3.18"
1818
},
1919
"devDependencies": {
2020
"@elysiajs/cors": "^1.3.0",
2121
"@elysiajs/swagger": "^1.3.0",
2222
"@types/node": "^22.10.2",
23-
"elysia": "^1.3.3",
23+
"elysia": "^1.3.18",
2424
"eslint": "9.17.0",
2525
"tsup": "^8.3.5",
2626
"tsx": "^4.19.2",

src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export const node = () => {
2222
const { promise: serverInfo, resolve: setServerInfo } =
2323
Promise.withResolvers<Server>()
2424

25-
// @ts-expect-error closest possible type
2625
app.server = serverInfo
2726

2827
const serverOptions: any =
@@ -55,7 +54,6 @@ export const node = () => {
5554
development: process.env.NODE_ENV !== 'production',
5655
fetch: app.fetch,
5756
hostname,
58-
// @ts-expect-error
5957
get pendingRequests() {
6058
const { promise, resolve, reject } =
6159
Promise.withResolvers<number>()
@@ -107,7 +105,6 @@ export const node = () => {
107105
[Symbol.dispose]() {
108106
server.close()
109107
},
110-
// @ts-expect-error additional property
111108
raw: server
112109
} satisfies Server
113110

0 commit comments

Comments
 (0)