Showing
3 changed files
with
142 additions
and
9 deletions
1 | import express from 'express'; | 1 | import express from 'express'; |
2 | +import socketIo from 'socket.io'; | ||
3 | +import { createServer } from 'http'; | ||
4 | + | ||
5 | +const PORT = 3000; | ||
2 | 6 | ||
3 | const app = express(); | 7 | const app = express(); |
4 | -const PORT = 8008; | 8 | +const server = createServer(app); |
9 | +const io = new socketIo.Server(server); | ||
5 | 10 | ||
6 | -app.get('/', (req, res) => res.send('Express + TypeScript Server')); | 11 | +io.on('connection', socket => { |
12 | + console.log('Connected.'); | ||
13 | +}) | ||
7 | 14 | ||
8 | -app.listen(PORT, () => { | 15 | +server.listen(PORT, () => console.log(`Listening on ${PORT}`)) |
9 | - console.log(`⚡️[server]: Server is running at http://localhost:${PORT}`); | ||
10 | -}); | ... | ... |
... | @@ -2,10 +2,12 @@ | ... | @@ -2,10 +2,12 @@ |
2 | "dependencies": { | 2 | "dependencies": { |
3 | "@types/express": "^4.17.11", | 3 | "@types/express": "^4.17.11", |
4 | "@types/node": "^15.3.1", | 4 | "@types/node": "^15.3.1", |
5 | + "@types/socket.io": "^3.0.2", | ||
6 | + "express": "^4.17.1", | ||
5 | "nodemon": "^2.0.7", | 7 | "nodemon": "^2.0.7", |
8 | + "socket.io": "^4.1.2", | ||
6 | "ts-node": "^9.1.1", | 9 | "ts-node": "^9.1.1", |
7 | - "typescript": "^4.2.4", | 10 | + "typescript": "^4.2.4" |
8 | - "express": "^4.17.1" | ||
9 | }, | 11 | }, |
10 | "scripts": { | 12 | "scripts": { |
11 | "start": "nodemon index.ts" | 13 | "start": "nodemon index.ts" | ... | ... |
... | @@ -22,6 +22,11 @@ | ... | @@ -22,6 +22,11 @@ |
22 | "@types/connect" "*" | 22 | "@types/connect" "*" |
23 | "@types/node" "*" | 23 | "@types/node" "*" |
24 | 24 | ||
25 | +"@types/component-emitter@^1.2.10": | ||
26 | + version "1.2.10" | ||
27 | + resolved "https://registry.yarnpkg.com/@types/component-emitter/-/component-emitter-1.2.10.tgz#ef5b1589b9f16544642e473db5ea5639107ef3ea" | ||
28 | + integrity sha512-bsjleuRKWmGqajMerkzox19aGbscQX5rmmvvXl3wlIp5gMG1HgkiwPxsN5p070fBDKTNSPgojVbuY1+HWMbFhg== | ||
29 | + | ||
25 | "@types/connect@*": | 30 | "@types/connect@*": |
26 | version "3.4.34" | 31 | version "3.4.34" |
27 | resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.34.tgz#170a40223a6d666006d93ca128af2beb1d9b1901" | 32 | resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.34.tgz#170a40223a6d666006d93ca128af2beb1d9b1901" |
... | @@ -29,6 +34,16 @@ | ... | @@ -29,6 +34,16 @@ |
29 | dependencies: | 34 | dependencies: |
30 | "@types/node" "*" | 35 | "@types/node" "*" |
31 | 36 | ||
37 | +"@types/cookie@^0.4.0": | ||
38 | + version "0.4.0" | ||
39 | + resolved "https://registry.yarnpkg.com/@types/cookie/-/cookie-0.4.0.tgz#14f854c0f93d326e39da6e3b6f34f7d37513d108" | ||
40 | + integrity sha512-y7mImlc/rNkvCRmg8gC3/lj87S7pTUIJ6QGjwHR9WQJcFs+ZMTOaoPrkdFA/YdbuqVEmEbb5RdhVxMkAcgOnpg== | ||
41 | + | ||
42 | +"@types/cors@^2.8.8": | ||
43 | + version "2.8.10" | ||
44 | + resolved "https://registry.yarnpkg.com/@types/cors/-/cors-2.8.10.tgz#61cc8469849e5bcdd0c7044122265c39cec10cf4" | ||
45 | + integrity sha512-C7srjHiVG3Ey1nR6d511dtDkCEjxuN9W1HWAEjGq8kpcwmNM6JJkpC0xvabM7BXTG2wDq8Eu33iH9aQKa7IvLQ== | ||
46 | + | ||
32 | "@types/express-serve-static-core@^4.17.18": | 47 | "@types/express-serve-static-core@^4.17.18": |
33 | version "4.17.19" | 48 | version "4.17.19" |
34 | resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.19.tgz#00acfc1632e729acac4f1530e9e16f6dd1508a1d" | 49 | resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.19.tgz#00acfc1632e729acac4f1530e9e16f6dd1508a1d" |
... | @@ -58,6 +73,11 @@ | ... | @@ -58,6 +73,11 @@ |
58 | resolved "https://registry.yarnpkg.com/@types/node/-/node-15.3.1.tgz#23a06b87eedb524016616e886b116b8fdcb180af" | 73 | resolved "https://registry.yarnpkg.com/@types/node/-/node-15.3.1.tgz#23a06b87eedb524016616e886b116b8fdcb180af" |
59 | integrity sha512-weaeiP4UF4XgF++3rpQhpIJWsCTS4QJw5gvBhQu6cFIxTwyxWIe3xbnrY/o2lTCQ0lsdb8YIUDUvLR4Vuz5rbw== | 74 | integrity sha512-weaeiP4UF4XgF++3rpQhpIJWsCTS4QJw5gvBhQu6cFIxTwyxWIe3xbnrY/o2lTCQ0lsdb8YIUDUvLR4Vuz5rbw== |
60 | 75 | ||
76 | +"@types/node@>=10.0.0": | ||
77 | + version "15.6.0" | ||
78 | + resolved "https://registry.yarnpkg.com/@types/node/-/node-15.6.0.tgz#f0ddca5a61e52627c9dcb771a6039d44694597bc" | ||
79 | + integrity sha512-gCYSfQpy+LYhOFTKAeE8BkyGqaxmlFxe+n4DKM6DR0wzw/HISUE/hAmkC/KT8Sw5PCJblqg062b3z9gucv3k0A== | ||
80 | + | ||
61 | "@types/qs@*": | 81 | "@types/qs@*": |
62 | version "6.9.6" | 82 | version "6.9.6" |
63 | resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.6.tgz#df9c3c8b31a247ec315e6996566be3171df4b3b1" | 83 | resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.6.tgz#df9c3c8b31a247ec315e6996566be3171df4b3b1" |
... | @@ -76,12 +96,19 @@ | ... | @@ -76,12 +96,19 @@ |
76 | "@types/mime" "^1" | 96 | "@types/mime" "^1" |
77 | "@types/node" "*" | 97 | "@types/node" "*" |
78 | 98 | ||
99 | +"@types/socket.io@^3.0.2": | ||
100 | + version "3.0.2" | ||
101 | + resolved "https://registry.yarnpkg.com/@types/socket.io/-/socket.io-3.0.2.tgz#606c9639e3f93bb8454cba8f5f0a283d47917759" | ||
102 | + integrity sha512-pu0sN9m5VjCxBZVK8hW37ZcMe8rjn4HHggBN5CbaRTvFwv5jOmuIRZEuddsBPa9Th0ts0SIo3Niukq+95cMBbQ== | ||
103 | + dependencies: | ||
104 | + socket.io "*" | ||
105 | + | ||
79 | abbrev@1: | 106 | abbrev@1: |
80 | version "1.1.1" | 107 | version "1.1.1" |
81 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" | 108 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" |
82 | integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== | 109 | integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== |
83 | 110 | ||
84 | -accepts@~1.3.7: | 111 | +accepts@~1.3.4, accepts@~1.3.7: |
85 | version "1.3.7" | 112 | version "1.3.7" |
86 | resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" | 113 | resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" |
87 | integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== | 114 | integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== |
... | @@ -136,6 +163,16 @@ balanced-match@^1.0.0: | ... | @@ -136,6 +163,16 @@ balanced-match@^1.0.0: |
136 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" | 163 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" |
137 | integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== | 164 | integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== |
138 | 165 | ||
166 | +base64-arraybuffer@0.1.4: | ||
167 | + version "0.1.4" | ||
168 | + resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.4.tgz#9818c79e059b1355f97e0428a017c838e90ba812" | ||
169 | + integrity sha1-mBjHngWbE1X5fgQooBfIOOkLqBI= | ||
170 | + | ||
171 | +base64id@2.0.0, base64id@~2.0.0: | ||
172 | + version "2.0.0" | ||
173 | + resolved "https://registry.yarnpkg.com/base64id/-/base64id-2.0.0.tgz#2770ac6bc47d312af97a8bf9a634342e0cd25cb6" | ||
174 | + integrity sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog== | ||
175 | + | ||
139 | binary-extensions@^2.0.0: | 176 | binary-extensions@^2.0.0: |
140 | version "2.2.0" | 177 | version "2.2.0" |
141 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" | 178 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" |
... | @@ -266,6 +303,11 @@ color-name@~1.1.4: | ... | @@ -266,6 +303,11 @@ color-name@~1.1.4: |
266 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" | 303 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" |
267 | integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== | 304 | integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== |
268 | 305 | ||
306 | +component-emitter@~1.3.0: | ||
307 | + version "1.3.0" | ||
308 | + resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" | ||
309 | + integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== | ||
310 | + | ||
269 | concat-map@0.0.1: | 311 | concat-map@0.0.1: |
270 | version "0.0.1" | 312 | version "0.0.1" |
271 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" | 313 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" |
... | @@ -305,6 +347,19 @@ cookie@0.4.0: | ... | @@ -305,6 +347,19 @@ cookie@0.4.0: |
305 | resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba" | 347 | resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba" |
306 | integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg== | 348 | integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg== |
307 | 349 | ||
350 | +cookie@~0.4.1: | ||
351 | + version "0.4.1" | ||
352 | + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.1.tgz#afd713fe26ebd21ba95ceb61f9a8116e50a537d1" | ||
353 | + integrity sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA== | ||
354 | + | ||
355 | +cors@~2.8.5: | ||
356 | + version "2.8.5" | ||
357 | + resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" | ||
358 | + integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g== | ||
359 | + dependencies: | ||
360 | + object-assign "^4" | ||
361 | + vary "^1" | ||
362 | + | ||
308 | create-require@^1.1.0: | 363 | create-require@^1.1.0: |
309 | version "1.1.1" | 364 | version "1.1.1" |
310 | resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" | 365 | resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" |
... | @@ -329,6 +384,13 @@ debug@^3.2.6: | ... | @@ -329,6 +384,13 @@ debug@^3.2.6: |
329 | dependencies: | 384 | dependencies: |
330 | ms "^2.1.1" | 385 | ms "^2.1.1" |
331 | 386 | ||
387 | +debug@~4.3.1: | ||
388 | + version "4.3.1" | ||
389 | + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" | ||
390 | + integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== | ||
391 | + dependencies: | ||
392 | + ms "2.1.2" | ||
393 | + | ||
332 | decompress-response@^3.3.0: | 394 | decompress-response@^3.3.0: |
333 | version "3.3.0" | 395 | version "3.3.0" |
334 | resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" | 396 | resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" |
... | @@ -400,6 +462,26 @@ end-of-stream@^1.1.0: | ... | @@ -400,6 +462,26 @@ end-of-stream@^1.1.0: |
400 | dependencies: | 462 | dependencies: |
401 | once "^1.4.0" | 463 | once "^1.4.0" |
402 | 464 | ||
465 | +engine.io-parser@~4.0.0: | ||
466 | + version "4.0.2" | ||
467 | + resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-4.0.2.tgz#e41d0b3fb66f7bf4a3671d2038a154024edb501e" | ||
468 | + integrity sha512-sHfEQv6nmtJrq6TKuIz5kyEKH/qSdK56H/A+7DnAuUPWosnIZAS2NHNcPLmyjtY3cGS/MqJdZbUjW97JU72iYg== | ||
469 | + dependencies: | ||
470 | + base64-arraybuffer "0.1.4" | ||
471 | + | ||
472 | +engine.io@~5.1.0: | ||
473 | + version "5.1.1" | ||
474 | + resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-5.1.1.tgz#a1f97e51ddf10cbd4db8b5ff4b165aad3760cdd3" | ||
475 | + integrity sha512-aMWot7H5aC8L4/T8qMYbLdvKlZOdJTH54FxfdFunTGvhMx1BHkJOntWArsVfgAZVwAO9LC2sryPWRcEeUzCe5w== | ||
476 | + dependencies: | ||
477 | + accepts "~1.3.4" | ||
478 | + base64id "2.0.0" | ||
479 | + cookie "~0.4.1" | ||
480 | + cors "~2.8.5" | ||
481 | + debug "~4.3.1" | ||
482 | + engine.io-parser "~4.0.0" | ||
483 | + ws "~7.4.2" | ||
484 | + | ||
403 | escape-goat@^2.0.0: | 485 | escape-goat@^2.0.0: |
404 | version "2.1.1" | 486 | version "2.1.1" |
405 | resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675" | 487 | resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675" |
... | @@ -799,6 +881,11 @@ ms@2.1.1: | ... | @@ -799,6 +881,11 @@ ms@2.1.1: |
799 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" | 881 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" |
800 | integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== | 882 | integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== |
801 | 883 | ||
884 | +ms@2.1.2: | ||
885 | + version "2.1.2" | ||
886 | + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" | ||
887 | + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== | ||
888 | + | ||
802 | ms@^2.1.1: | 889 | ms@^2.1.1: |
803 | version "2.1.3" | 890 | version "2.1.3" |
804 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" | 891 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" |
... | @@ -842,6 +929,11 @@ normalize-url@^4.1.0: | ... | @@ -842,6 +929,11 @@ normalize-url@^4.1.0: |
842 | resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.0.tgz#453354087e6ca96957bd8f5baf753f5982142129" | 929 | resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.0.tgz#453354087e6ca96957bd8f5baf753f5982142129" |
843 | integrity sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ== | 930 | integrity sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ== |
844 | 931 | ||
932 | +object-assign@^4: | ||
933 | + version "4.1.1" | ||
934 | + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" | ||
935 | + integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= | ||
936 | + | ||
845 | on-finished@~2.3.0: | 937 | on-finished@~2.3.0: |
846 | version "2.3.0" | 938 | version "2.3.0" |
847 | resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" | 939 | resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" |
... | @@ -1043,6 +1135,35 @@ signal-exit@^3.0.2: | ... | @@ -1043,6 +1135,35 @@ signal-exit@^3.0.2: |
1043 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" | 1135 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" |
1044 | integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== | 1136 | integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== |
1045 | 1137 | ||
1138 | +socket.io-adapter@~2.3.0: | ||
1139 | + version "2.3.1" | ||
1140 | + resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-2.3.1.tgz#a442720cb09a4823cfb81287dda1f9b52d4ccdb2" | ||
1141 | + integrity sha512-8cVkRxI8Nt2wadkY6u60Y4rpW3ejA1rxgcK2JuyIhmF+RMNpTy1QRtkHIDUOf3B4HlQwakMsWbKftMv/71VMmw== | ||
1142 | + | ||
1143 | +socket.io-parser@~4.0.3: | ||
1144 | + version "4.0.4" | ||
1145 | + resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-4.0.4.tgz#9ea21b0d61508d18196ef04a2c6b9ab630f4c2b0" | ||
1146 | + integrity sha512-t+b0SS+IxG7Rxzda2EVvyBZbvFPBCjJoyHuE0P//7OAsN23GItzDRdWa6ALxZI/8R5ygK7jAR6t028/z+7295g== | ||
1147 | + dependencies: | ||
1148 | + "@types/component-emitter" "^1.2.10" | ||
1149 | + component-emitter "~1.3.0" | ||
1150 | + debug "~4.3.1" | ||
1151 | + | ||
1152 | +socket.io@*, socket.io@^4.1.2: | ||
1153 | + version "4.1.2" | ||
1154 | + resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-4.1.2.tgz#f90f9002a8d550efe2aa1d320deebb9a45b83233" | ||
1155 | + integrity sha512-xK0SD1C7hFrh9+bYoYCdVt+ncixkSLKtNLCax5aEy1o3r5PaO5yQhVb97exIe67cE7lAK+EpyMytXWTWmyZY8w== | ||
1156 | + dependencies: | ||
1157 | + "@types/cookie" "^0.4.0" | ||
1158 | + "@types/cors" "^2.8.8" | ||
1159 | + "@types/node" ">=10.0.0" | ||
1160 | + accepts "~1.3.4" | ||
1161 | + base64id "~2.0.0" | ||
1162 | + debug "~4.3.1" | ||
1163 | + engine.io "~5.1.0" | ||
1164 | + socket.io-adapter "~2.3.0" | ||
1165 | + socket.io-parser "~4.0.3" | ||
1166 | + | ||
1046 | source-map-support@^0.5.17: | 1167 | source-map-support@^0.5.17: |
1047 | version "0.5.19" | 1168 | version "0.5.19" |
1048 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61" | 1169 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61" |
... | @@ -1228,7 +1349,7 @@ utils-merge@1.0.1: | ... | @@ -1228,7 +1349,7 @@ utils-merge@1.0.1: |
1228 | resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" | 1349 | resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" |
1229 | integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= | 1350 | integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= |
1230 | 1351 | ||
1231 | -vary@~1.1.2: | 1352 | +vary@^1, vary@~1.1.2: |
1232 | version "1.1.2" | 1353 | version "1.1.2" |
1233 | resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" | 1354 | resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" |
1234 | integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= | 1355 | integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= |
... | @@ -1255,6 +1376,11 @@ write-file-atomic@^3.0.0: | ... | @@ -1255,6 +1376,11 @@ write-file-atomic@^3.0.0: |
1255 | signal-exit "^3.0.2" | 1376 | signal-exit "^3.0.2" |
1256 | typedarray-to-buffer "^3.1.5" | 1377 | typedarray-to-buffer "^3.1.5" |
1257 | 1378 | ||
1379 | +ws@~7.4.2: | ||
1380 | + version "7.4.5" | ||
1381 | + resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.5.tgz#a484dd851e9beb6fdb420027e3885e8ce48986c1" | ||
1382 | + integrity sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g== | ||
1383 | + | ||
1258 | xdg-basedir@^4.0.0: | 1384 | xdg-basedir@^4.0.0: |
1259 | version "4.0.0" | 1385 | version "4.0.0" |
1260 | resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13" | 1386 | resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13" | ... | ... |
-
Please register or login to post a comment