chore: update version to 0.0.52, add eventemitter3 dependency, and refactor WebSocket handling

This commit is contained in:
2025-12-30 18:32:16 +08:00
parent 8b16bc2218
commit 5dcc678ad4
6 changed files with 23 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package",
"name": "@kevisual/router",
"version": "0.0.51",
"version": "0.0.52",
"description": "",
"type": "module",
"main": "./dist/router.js",
@@ -32,9 +32,8 @@
"@types/bun": "^1.3.5",
"@types/node": "^25.0.3",
"@types/send": "^1.2.1",
"@types/ws": "^8.18.1",
"@types/xml2js": "^0.4.14",
"cookie": "^1.1.1",
"@types/ws": "^8.18.1",
"nanoid": "^5.1.6",
"rollup": "^4.54.0",
"rollup-plugin-dts": "^6.3.0",
@@ -43,9 +42,10 @@
"tslib": "^2.8.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"ws": "npm:@kevisual/ws",
"xml2js": "^0.6.2",
"zod": "^4.2.1"
"zod": "^4.2.1",
"eventemitter3": "^5.0.1",
"ws": "npm:@kevisual/ws"
},
"repository": {
"type": "git",
@@ -95,4 +95,4 @@
"require": "./src/*"
}
}
}
}