Skip to content

Commit 6c35004

Browse files
committed
Update ably dependencies to latest version
1 parent 922491e commit 6c35004

File tree

5 files changed

+38
-36
lines changed

5 files changed

+38
-36
lines changed

examples/vanilla-avatar-stack-2/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"preview": "vite preview"
1212
},
1313
"dependencies": {
14-
"@ably/spaces": "0.2.0",
15-
"ably": "1.2.45",
14+
"@ably/spaces": "0.4.0",
15+
"ably": "2.3.1",
1616
"classnames": "^2.3.2",
1717
"nanoid": "^5.0.1",
1818
"random-words": "^2.0.0",

examples/vanilla-avatar-stack-2/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Spaces from '@ably/spaces'
22
import { Realtime } from 'ably'
33
import { nanoid } from 'nanoid'
44

5-
const client = new Realtime.Promise({
5+
const client = new Realtime({
66
clientId: nanoid(),
77
key: import.meta.env.VITE_ABLY_KEY,
88
})

examples/vite-react-avatar-stack-2/package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ably-labs/vite-react-avatar-stack",
2+
"name": "@ably-labs/vite-react-avatar-stack-2",
33
"license": "Apache-2.0",
44
"version": "1.0.0",
55
"private": true,
@@ -10,12 +10,9 @@
1010
"format": "prettier --write ."
1111
},
1212
"dependencies": {
13-
"@ably/spaces": "0.2.0",
14-
"ably": "1.2.45",
15-
"classnames": "^2.3.2",
16-
"dayjs": "^1.11.4",
13+
"@ably/spaces": "0.4.0",
14+
"ably": "2.3.1",
1715
"nanoid": "^5.0.1",
18-
"random-words": "^2.0.0",
1916
"react": "^18.2.0",
2017
"react-dom": "^18.2.0"
2118
},

examples/vite-react-avatar-stack-2/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function AvatarStack() {
7070

7171
const App = ({ spaces }: { spaces: Spaces }) => (
7272
<SpacesProvider client={spaces}>
73-
<SpaceProvider name="random-name">
73+
<SpaceProvider name="avatar-stack">
7474
<AvatarStack />
7575
</SpaceProvider>
7676
</SpacesProvider>

examples/vite-react-avatar-stack-2/yarn.lock

Lines changed: 31 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
dependencies:
1010
bops "^1.0.1"
1111

12-
"@ably/spaces@0.2.0":
13-
version "0.2.0"
14-
resolved "https://registry.yarnpkg.com/@ably/spaces/-/spaces-0.2.0.tgz#ba999c634421e98fb063d443846c8c8d059a77c0"
15-
integrity sha512-s2QE4uzWoS67Sq0z0KTTWlRtvHbCg9FyN+0K/8Agv+hvPY9Fe2r0oozae/Lj2Q2i7oEUiRvoYl37rX9Xk9x+fQ==
12+
"@ably/spaces@0.4.0":
13+
version "0.4.0"
14+
resolved "https://registry.yarnpkg.com/@ably/spaces/-/spaces-0.4.0.tgz#766d748d79f3de3cd82939431daea99479150bbf"
15+
integrity sha512-yehNgkv9DOHUBR1c46/5Q4BhkF3TJkKb00kLDhZFWTVJpFSW0Mkw0PUgHLkzAg9Bt9LJPcA0mgZq3mFeLQCrIg==
1616
dependencies:
17-
nanoid "^5.0.2"
17+
nanoid "^3.3.7"
1818

1919
"@ampproject/remapping@^2.2.0":
2020
version "2.2.1"
@@ -503,14 +503,16 @@
503503
"@types/babel__core" "^7.20.2"
504504
react-refresh "^0.14.0"
505505

506-
ably@1.2.45:
507-
version "1.2.45"
508-
resolved "https://registry.yarnpkg.com/ably/-/ably-1.2.45.tgz#9da9b3faae18614160dd7ff1e5e93de948f984bd"
509-
integrity sha512-8Jk8XT0dSPcLcZ8zSAF+mRtwMzaQR5dWHqGdx9Y859ZLhXiqf4gQb7P+4Elqy1l1IIRoDWgyt0fkyfo7ngUdMA==
506+
ably@2.3.1:
507+
version "2.3.1"
508+
resolved "https://registry.yarnpkg.com/ably/-/ably-2.3.1.tgz#c3b02df6aa4262284b0b1ba130e5f85e0f423ef4"
509+
integrity sha512-OQ9PUwQe0qehOUPqvLargmUTlPQsxCAdStIpLZE7pT68yDd3JF28R1Ap7C50DluCIa6NqXrieRSa2tcLNN95PA==
510510
dependencies:
511511
"@ably/msgpack-js" "^0.4.0"
512+
fastestsmallesttextencoderdecoder "^1.0.22"
512513
got "^11.8.5"
513-
ws "^5.1"
514+
ulid "^2.3.0"
515+
ws "^8.17.1"
514516

515517
ansi-styles@^3.2.1:
516518
version "3.2.1"
@@ -519,11 +521,6 @@ ansi-styles@^3.2.1:
519521
dependencies:
520522
color-convert "^1.9.0"
521523

522-
async-limiter@~1.0.0:
523-
version "1.0.1"
524-
resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
525-
integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==
526-
527524
base64-js@1.0.2:
528525
version "1.0.2"
529526
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.0.2.tgz#474211c95e6cf2a547db461e4f6778b51d08fa65"
@@ -687,6 +684,11 @@ escape-string-regexp@^1.0.5:
687684
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
688685
integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==
689686

687+
fastestsmallesttextencoderdecoder@^1.0.22:
688+
version "1.0.22"
689+
resolved "https://registry.yarnpkg.com/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz#59b47e7b965f45258629cc6c127bf783281c5e93"
690+
integrity sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw==
691+
690692
fsevents@~2.3.2:
691693
version "2.3.3"
692694
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
@@ -810,16 +812,16 @@ nanoid@^3.3.6:
810812
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c"
811813
integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==
812814

815+
nanoid@^3.3.7:
816+
version "3.3.7"
817+
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8"
818+
integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==
819+
813820
nanoid@^5.0.1:
814821
version "5.0.1"
815822
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-5.0.1.tgz#3e95d775a8bc8a98afbf0a237e2bbc6a71b0662e"
816823
integrity sha512-vWeVtV5Cw68aML/QaZvqN/3QQXc6fBfIieAlu05m7FZW2Dgb+3f0xc0TTxuJW+7u30t7iSDTV/j3kVI0oJqIfQ==
817824

818-
nanoid@^5.0.2:
819-
version "5.0.2"
820-
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-5.0.2.tgz#97588ebc70166d0feaf73ccd2799bb4ceaebf692"
821-
integrity sha512-2ustYUX1R2rL/Br5B/FMhi8d5/QzvkJ912rBYxskcpu0myTHzSZfTr1LAS2Sm7jxRUObRrSBFoyzwAhL49aVSg==
822-
823825
node-releases@^2.0.13:
824826
version "2.0.13"
825827
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d"
@@ -959,6 +961,11 @@ typescript@5.2.2:
959961
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
960962
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
961963

964+
ulid@^2.3.0:
965+
version "2.3.0"
966+
resolved "https://registry.yarnpkg.com/ulid/-/ulid-2.3.0.tgz#93063522771a9774121a84d126ecd3eb9804071f"
967+
integrity sha512-keqHubrlpvT6G2wH0OEfSW4mquYRcbe/J8NMmveoQOjUqmo+hXtO+ORCpWhdbZ7k72UtY61BL7haGxW6enBnjw==
968+
962969
update-browserslist-db@^1.0.11:
963970
version "1.0.11"
964971
resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940"
@@ -983,12 +990,10 @@ wrappy@1:
983990
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
984991
integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==
985992

986-
ws@^5.1:
987-
version "5.2.3"
988-
resolved "https://registry.yarnpkg.com/ws/-/ws-5.2.3.tgz#05541053414921bc29c63bee14b8b0dd50b07b3d"
989-
integrity sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==
990-
dependencies:
991-
async-limiter "~1.0.0"
993+
ws@^8.17.1:
994+
version "8.18.0"
995+
resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.0.tgz#0d7505a6eafe2b0e712d232b42279f53bc289bbc"
996+
integrity sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==
992997

993998
yallist@^3.0.2:
994999
version "3.1.1"

0 commit comments

Comments
 (0)