Skip to content

Commit 6d0206f

Browse files
Upgrade isomorphic-ws, ws and jsonwebtoken
1 parent 6465612 commit 6d0206f

File tree

3 files changed

+63
-24
lines changed

3 files changed

+63
-24
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
"axios": "^1.6.0",
5555
"base64-js": "^1.5.1",
5656
"form-data": "^4.0.0",
57-
"isomorphic-ws": "^4.0.1",
58-
"jsonwebtoken": "~9.0.0",
59-
"ws": "^7.5.10"
57+
"isomorphic-ws": "^5.0.0",
58+
"jsonwebtoken": "^9.0.2",
59+
"ws": "^8.18.1"
6060
},
6161
"devDependencies": {
6262
"@commitlint/cli": "^16.0.2",

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import axios, { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
55
import https from 'https';
6-
import WebSocket from 'isomorphic-ws';
6+
import type WebSocket from 'isomorphic-ws';
77

88
import { Channel } from './channel';
99
import { ClientState } from './client_state';

yarn.lock

Lines changed: 59 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2591,10 +2591,10 @@ isexe@^2.0.0:
25912591
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
25922592
integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=
25932593

2594-
isomorphic-ws@^4.0.1:
2595-
version "4.0.1"
2596-
resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc"
2597-
integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==
2594+
isomorphic-ws@^5.0.0:
2595+
version "5.0.0"
2596+
resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz#e5529148912ecb9b451b46ed44d53dae1ce04bbf"
2597+
integrity sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==
25982598

25992599
istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.0.0-alpha.1:
26002600
version "3.2.0"
@@ -2745,15 +2745,21 @@ jsonparse@^1.2.0:
27452745
resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280"
27462746
integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=
27472747

2748-
jsonwebtoken@~9.0.0:
2749-
version "9.0.0"
2750-
resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-9.0.0.tgz#d0faf9ba1cc3a56255fe49c0961a67e520c1926d"
2751-
integrity sha512-tuGfYXxkQGDPnLJ7SibiQgVgeDgfbPq2k2ICcbgqW8WxWLBAxKQM/ZCu/IT8SOSwmaYl4dpTFCW5xZv7YbbWUw==
2748+
jsonwebtoken@^9.0.2:
2749+
version "9.0.2"
2750+
resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz#65ff91f4abef1784697d40952bb1998c504caaf3"
2751+
integrity sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==
27522752
dependencies:
27532753
jws "^3.2.2"
2754-
lodash "^4.17.21"
2754+
lodash.includes "^4.3.0"
2755+
lodash.isboolean "^3.0.3"
2756+
lodash.isinteger "^4.0.4"
2757+
lodash.isnumber "^3.0.3"
2758+
lodash.isplainobject "^4.0.6"
2759+
lodash.isstring "^4.0.1"
2760+
lodash.once "^4.0.0"
27552761
ms "^2.1.1"
2756-
semver "^7.3.8"
2762+
semver "^7.5.4"
27572763

27582764
just-extend@^4.0.2:
27592765
version "4.1.1"
@@ -2878,11 +2884,46 @@ lodash.get@^4.4.2:
28782884
resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
28792885
integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=
28802886

2887+
lodash.includes@^4.3.0:
2888+
version "4.3.0"
2889+
resolved "https://registry.yarnpkg.com/lodash.includes/-/lodash.includes-4.3.0.tgz#60bb98a87cb923c68ca1e51325483314849f553f"
2890+
integrity sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==
2891+
2892+
lodash.isboolean@^3.0.3:
2893+
version "3.0.3"
2894+
resolved "https://registry.yarnpkg.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz#6c2e171db2a257cd96802fd43b01b20d5f5870f6"
2895+
integrity sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==
2896+
2897+
lodash.isinteger@^4.0.4:
2898+
version "4.0.4"
2899+
resolved "https://registry.yarnpkg.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343"
2900+
integrity sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==
2901+
28812902
lodash.ismatch@^4.4.0:
28822903
version "4.4.0"
28832904
resolved "https://registry.yarnpkg.com/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37"
28842905
integrity sha1-dWy1FQyjum8RCFp4hJZF8Yj4Xzc=
28852906

2907+
lodash.isnumber@^3.0.3:
2908+
version "3.0.3"
2909+
resolved "https://registry.yarnpkg.com/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz#3ce76810c5928d03352301ac287317f11c0b1ffc"
2910+
integrity sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==
2911+
2912+
lodash.isplainobject@^4.0.6:
2913+
version "4.0.6"
2914+
resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"
2915+
integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==
2916+
2917+
lodash.isstring@^4.0.1:
2918+
version "4.0.1"
2919+
resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451"
2920+
integrity sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==
2921+
2922+
lodash.once@^4.0.0:
2923+
version "4.1.1"
2924+
resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac"
2925+
integrity sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==
2926+
28862927
lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21:
28872928
version "4.17.21"
28882929
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
@@ -3774,12 +3815,10 @@ semver@^6.0.0, semver@^6.3.0, semver@^6.3.1:
37743815
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
37753816
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
37763817

3777-
semver@^7.1.1, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.8:
3778-
version "7.3.8"
3779-
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798"
3780-
integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==
3781-
dependencies:
3782-
lru-cache "^6.0.0"
3818+
semver@^7.1.1, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.5.4:
3819+
version "7.7.1"
3820+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.1.tgz#abd5098d82b18c6c81f6074ff2647fd3e7220c9f"
3821+
integrity sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==
37833822

37843823
serialize-javascript@^6.0.2:
37853824
version "6.0.2"
@@ -4488,10 +4527,10 @@ write-file-atomic@^3.0.0:
44884527
signal-exit "^3.0.2"
44894528
typedarray-to-buffer "^3.1.5"
44904529

4491-
ws@^7.5.10:
4492-
version "7.5.10"
4493-
resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.10.tgz#58b5c20dc281633f6c19113f39b349bd8bd558d9"
4494-
integrity sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==
4530+
ws@^8.18.1:
4531+
version "8.18.1"
4532+
resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.1.tgz#ea131d3784e1dfdff91adb0a4a116b127515e3cb"
4533+
integrity sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==
44954534

44964535
x-is-string@^0.1.0:
44974536
version "0.1.0"

0 commit comments

Comments
 (0)