Skip to content

Commit b1445d7

Browse files
Update all non-major dependencies (#4558)
* Update all non-major dependencies * Prettier Signed-off-by: Michael Telatynski <[email protected]> --------- Signed-off-by: Michael Telatynski <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <[email protected]>
1 parent b379476 commit b1445d7

File tree

7 files changed

+76
-76
lines changed

7 files changed

+76
-76
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Checklist
44

5-
- [ ] Tests written for new code (and old code if feasible).
6-
- [ ] New or updated `public`/`exported` symbols have accurate [TSDoc](https://tsdoc.org/) documentation.
7-
- [ ] Linter and other CI checks pass.
8-
- [ ] Sign-off given on the changes (see [CONTRIBUTING.md](https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md)).
5+
- [ ] Tests written for new code (and old code if feasible).
6+
- [ ] New or updated `public`/`exported` symbols have accurate [TSDoc](https://tsdoc.org/) documentation.
7+
- [ ] Linter and other CI checks pass.
8+
- [ ] Sign-off given on the changes (see [CONTRIBUTING.md](https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md)).

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -126,26 +126,26 @@ const img = await fetch(downloadUrl, {
126126
This SDK provides a full object model around the Matrix Client-Server API and emits
127127
events for incoming data and state changes. Aside from wrapping the HTTP API, it:
128128

129-
- Handles syncing (via `/sync`)
130-
- Handles the generation of "friendly" room and member names.
131-
- Handles historical `RoomMember` information (e.g. display names).
132-
- Manages room member state across multiple events (e.g. it handles typing, power
133-
levels and membership changes).
134-
- Exposes high-level objects like `Rooms`, `RoomState`, `RoomMembers` and `Users`
135-
which can be listened to for things like name changes, new messages, membership
136-
changes, presence changes, and more.
137-
- Handle "local echo" of messages sent using the SDK. This means that messages
138-
that have just been sent will appear in the timeline as 'sending', until it
139-
completes. This is beneficial because it prevents there being a gap between
140-
hitting the send button and having the "remote echo" arrive.
141-
- Mark messages which failed to send as not sent.
142-
- Automatically retry requests to send messages due to network errors.
143-
- Automatically retry requests to send messages due to rate limiting errors.
144-
- Handle queueing of messages.
145-
- Handles pagination.
146-
- Handle assigning push actions for events.
147-
- Handles room initial sync on accepting invites.
148-
- Handles WebRTC calling.
129+
- Handles syncing (via `/sync`)
130+
- Handles the generation of "friendly" room and member names.
131+
- Handles historical `RoomMember` information (e.g. display names).
132+
- Manages room member state across multiple events (e.g. it handles typing, power
133+
levels and membership changes).
134+
- Exposes high-level objects like `Rooms`, `RoomState`, `RoomMembers` and `Users`
135+
which can be listened to for things like name changes, new messages, membership
136+
changes, presence changes, and more.
137+
- Handle "local echo" of messages sent using the SDK. This means that messages
138+
that have just been sent will appear in the timeline as 'sending', until it
139+
completes. This is beneficial because it prevents there being a gap between
140+
hitting the send button and having the "remote echo" arrive.
141+
- Mark messages which failed to send as not sent.
142+
- Automatically retry requests to send messages due to network errors.
143+
- Automatically retry requests to send messages due to rate limiting errors.
144+
- Handle queueing of messages.
145+
- Handles pagination.
146+
- Handle assigning push actions for events.
147+
- Handles room initial sync on accepting invites.
148+
- Handles WebRTC calling.
149149

150150
# Usage
151151

docs/SUMMARY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Summary
22

3-
- [Introduction](../README.md)
3+
- [Introduction](../README.md)
44

55
# Deep dive
66

7-
- [Storage notes](storage-notes.md)
8-
- [Unverified devices](warning-on-unverified-devices.md)
7+
- [Storage notes](storage-notes.md)
8+
- [Unverified devices](warning-on-unverified-devices.md)

docs/storage-notes.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ blurrier.
2020

2121
When we are low on disk space overall or near the group limit / origin quota:
2222

23-
- Chrome
24-
- Log database may fail to start with AbortError
25-
- IndexedDB fails to start for crypto: AbortError in connect from
26-
indexeddb-store-worker
27-
- When near the quota, QuotaExceededError is used more consistently
28-
- Firefox
29-
- The first error will be QuotaExceededError
30-
- Future write attempts will fail with various errors when space is low,
31-
including nonsense like "InvalidStateError: A mutation operation was
32-
attempted on a database that did not allow mutations."
33-
- Once you start getting errors, the DB is effectively wedged in read-only
34-
mode
35-
- Can revive access if you reopen the DB
23+
- Chrome
24+
- Log database may fail to start with AbortError
25+
- IndexedDB fails to start for crypto: AbortError in connect from
26+
indexeddb-store-worker
27+
- When near the quota, QuotaExceededError is used more consistently
28+
- Firefox
29+
- The first error will be QuotaExceededError
30+
- Future write attempts will fail with various errors when space is low,
31+
including nonsense like "InvalidStateError: A mutation operation was
32+
attempted on a database that did not allow mutations."
33+
- Once you start getting errors, the DB is effectively wedged in read-only
34+
mode
35+
- Can revive access if you reopen the DB
3636

3737
## Cache Eviction
3838

@@ -41,30 +41,30 @@ limited by a single quota, in practice, browsers appear to handle `localStorage`
4141
separately from the others, so it has a separate quota limit and isn't evicted
4242
when low on space.
4343

44-
- Chrome, Firefox
45-
- IndexedDB for origin deleted
46-
- Local Storage remains in place
44+
- Chrome, Firefox
45+
- IndexedDB for origin deleted
46+
- Local Storage remains in place
4747

4848
## Persistent Storage
4949

5050
Storage Standard offers a `navigator.storage.persist` API that can be used to
5151
request persistent storage that won't be deleted by the browser because of low
5252
space.
5353

54-
- Chrome
55-
- Chrome 75 seems to grant this without any prompt based on [interaction
56-
criteria](https://developers.google.com/web/updates/2016/06/persistent-storage)
57-
- Firefox
58-
- Firefox 67 shows a prompt to grant
59-
- Reverting persistent seems to require revoking permission _and_ clearing
60-
site data
54+
- Chrome
55+
- Chrome 75 seems to grant this without any prompt based on [interaction
56+
criteria](https://developers.google.com/web/updates/2016/06/persistent-storage)
57+
- Firefox
58+
- Firefox 67 shows a prompt to grant
59+
- Reverting persistent seems to require revoking permission _and_ clearing
60+
site data
6161

6262
## Storage Estimation
6363

6464
Storage Standard offers a `navigator.storage.estimate` API to get some clue of
6565
how much space remains.
6666

67-
- Chrome, Firefox
68-
- Can run this at any time to request an estimate of space remaining
69-
- Firefox
70-
- Returns `0` for `usage` if a site is persisted
67+
- Chrome, Firefox
68+
- Can run this at any time to request an estimate of space remaining
69+
- Firefox
70+
- Returns `0` for `usage` if a site is persisted

docs/warning-on-unverified-devices.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Warn when you initial sync if the room has any new undefined devices since you w
1717

1818
Warn when the user tries to send a message:
1919

20-
- If the room has unverified devices which the user has not yet been told about in the context of this room
21-
...or in the context of this user? currently all verification is per-user, not per-room.
22-
...this should be good enough.
23-
24-
- so track whether we have warned the user or not about unverified devices - blocked, unverified, verified, unverified_warned.
25-
throw an error when trying to encrypt if there are pure unverified devices there
26-
app will have to search for the devices which are pure unverified to warn about them - have to do this from MembersList anyway?
27-
- or megolm could warn which devices are causing the problems.
20+
- If the room has unverified devices which the user has not yet been told about in the context of this room
21+
...or in the context of this user? currently all verification is per-user, not per-room.
22+
...this should be good enough.
23+
24+
- so track whether we have warned the user or not about unverified devices - blocked, unverified, verified, unverified_warned.
25+
throw an error when trying to encrypt if there are pure unverified devices there
26+
app will have to search for the devices which are pure unverified to warn about them - have to do this from MembersList anyway?
27+
- or megolm could warn which devices are causing the problems.
2828

2929
Why do we wait to establish outbound sessions? It just makes a horrible pause when we first try to send a message... but could otherwise unnecessarily consume resources?

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"lint-staged": "^15.0.2",
118118
"matrix-mock-request": "^2.5.0",
119119
"node-fetch": "^2.7.0",
120-
"prettier": "3.3.3",
120+
"prettier": "3.4.1",
121121
"rimraf": "^6.0.0",
122122
"ts-node": "^10.9.2",
123123
"typedoc": "^0.26.0",

yarn.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3146,9 +3146,9 @@ eslint-plugin-jest@^28.0.0:
31463146
"@typescript-eslint/utils" "^6.0.0 || ^7.0.0 || ^8.0.0"
31473147

31483148
eslint-plugin-jsdoc@^50.0.0:
3149-
version "50.5.0"
3150-
resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-50.5.0.tgz#3b34b7846eb6c40750e68e97ae9441455fde7a75"
3151-
integrity sha512-xTkshfZrUbiSHXBwZ/9d5ulZ2OcHXxSvm/NPo494H/hadLRJwOq5PMV0EUpMqsb9V+kQo+9BAgi6Z7aJtdBp2A==
3149+
version "50.6.0"
3150+
resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-50.6.0.tgz#2c6049a40305313174a30212bc360e775b797a0a"
3151+
integrity sha512-tCNp4fR79Le3dYTPB0dKEv7yFyvGkUCa+Z3yuTrrNGGOxBlXo9Pn0PEgroOZikUQOGjxoGMVKNjrOHcYEdfszg==
31523152
dependencies:
31533153
"@es-joy/jsdoccomment" "~0.49.0"
31543154
are-docs-informative "^0.0.2"
@@ -4768,9 +4768,9 @@ kleur@^3.0.3:
47684768
integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==
47694769

47704770
knip@^5.0.0:
4771-
version "5.38.0"
4772-
resolved "https://registry.yarnpkg.com/knip/-/knip-5.38.0.tgz#0a4257e6b2bbafd7ac7453a2cf0921523918173e"
4773-
integrity sha512-aoxgQKzhoepkTHltu6pgsPbz6tka0y3NT+SVLY4LpyinCsGlMCYxqm1Ki/C0DkfFS4ps1BThPph93tAkB7tVBQ==
4771+
version "5.38.1"
4772+
resolved "https://registry.yarnpkg.com/knip/-/knip-5.38.1.tgz#ff5a510fe43841a21a84748b3ed1d50069b2d814"
4773+
integrity sha512-qGQpVO9jhHDoJ/4O1paXQ8Y6XyqH3Xm6OTety/z5IouZBEvJuJoWp59iY9E82Dt0pz9BBmKLczliB4sbYMPr2g==
47744774
dependencies:
47754775
"@nodelib/fs.walk" "1.2.8"
47764776
"@snyk/github-codeowners" "1.1.0"
@@ -5454,10 +5454,10 @@ prelude-ls@^1.2.1:
54545454
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
54555455
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
54565456

5457-
prettier@3.3.3:
5458-
version "3.3.3"
5459-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.3.tgz#30c54fe0be0d8d12e6ae61dbb10109ea00d53105"
5460-
integrity sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==
5457+
prettier@3.4.1:
5458+
version "3.4.1"
5459+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.4.1.tgz#e211d451d6452db0a291672ca9154bc8c2579f7b"
5460+
integrity sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==
54615461

54625462
pretty-format@^28.1.3:
54635463
version "28.1.3"
@@ -5794,9 +5794,9 @@ saxes@^6.0.0:
57945794
xmlchars "^2.2.0"
57955795

57965796
sdp-transform@^2.14.1:
5797-
version "2.14.2"
5798-
resolved "https://registry.yarnpkg.com/sdp-transform/-/sdp-transform-2.14.2.tgz#d2cee6a1f7abe44e6332ac6cbb94e8600f32d813"
5799-
integrity sha512-icY6jVao7MfKCieyo1AyxFYm1baiM+fA00qW/KrNNVlkxHAd34riEKuEkUe4bBb3gJwLJZM+xT60Yj1QL8rHiA==
5797+
version "2.15.0"
5798+
resolved "https://registry.yarnpkg.com/sdp-transform/-/sdp-transform-2.15.0.tgz#79d37a2481916f36a0534e07b32ceaa87f71df42"
5799+
integrity sha512-KrOH82c/W+GYQ0LHqtr3caRpM3ITglq3ljGUIb8LTki7ByacJZ9z+piSGiwZDsRyhQbYBOBJgr2k6X4BZXi3Kw==
58005800

58015801
"semver@2 || 3 || 4 || 5", semver@^5.6.0:
58025802
version "5.7.2"

0 commit comments

Comments
 (0)