1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee

tools 添加 websocket server (nodejs & python)

This commit is contained in:
2024-04-05 14:51:20 +08:00
parent 4f4917a940
commit ac429e4cbf
5 changed files with 112 additions and 2 deletions

29
package-lock.json generated
View File

@@ -22,7 +22,8 @@
"path": "^0.12.7",
"play-sound": "^1.1.5",
"request": "^2.88.2",
"solarlunar": "^2.0.7"
"solarlunar": "^2.0.7",
"ws": "^8.16.0"
}
},
"node_modules/@tokenizer/token": {
@@ -2468,6 +2469,26 @@
"node": ">=10"
}
},
"node_modules/ws": {
"version": "8.16.0",
"resolved": "https://registry.npmmirror.com/ws/-/ws-8.16.0.tgz",
"integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==",
"engines": {
"node": ">=10.0.0"
},
"peerDependencies": {
"bufferutil": "^4.0.1",
"utf-8-validate": ">=5.0.2"
},
"peerDependenciesMeta": {
"bufferutil": {
"optional": true
},
"utf-8-validate": {
"optional": true
}
}
},
"node_modules/xregexp": {
"version": "2.0.0",
"resolved": "https://registry.npmmirror.com/xregexp/-/xregexp-2.0.0.tgz",
@@ -4441,6 +4462,12 @@
"strip-ansi": "^6.0.0"
}
},
"ws": {
"version": "8.16.0",
"resolved": "https://registry.npmmirror.com/ws/-/ws-8.16.0.tgz",
"integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==",
"requires": {}
},
"xregexp": {
"version": "2.0.0",
"resolved": "https://registry.npmmirror.com/xregexp/-/xregexp-2.0.0.tgz",