Skip to content

Commit 418f121

Browse files
Update all non-major dependencies (element-hq#28556)
* 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 4f276c1 commit 418f121

File tree

86 files changed

+835
-941
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+835
-941
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-
- [ ] I have licensed the changes to Element by completing the [Contributor License Agreement (CLA)](https://cla-assistant.io/element-hq/element-web)
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+
- [ ] I have licensed the changes to Element by completing the [Contributor License Agreement (CLA)](https://cla-assistant.io/element-hq/element-web)

CONTRIBUTING.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,26 @@ Definitely don't use the GitHub default of "Update file.ts".
2020

2121
As for your PR description, it should include these things:
2222

23-
- References to any bugs fixed by the change (in GitHub's `Fixes` notation)
24-
- Describe the why and what is changing in the PR description so it's easy for
25-
onlookers and reviewers to onboard and context switch. This information is
26-
also helpful when we come back to look at this in 6 months and ask "why did
27-
we do it like that?" we have a chance of finding out.
28-
- Why didn't it work before? Why does it work now? What use cases does it
29-
unlock?
30-
- If you find yourself adding information on how the code works or why you
31-
chose to do it the way you did, make sure this information is instead
32-
written as comments in the code itself.
33-
- Sometimes a PR can change considerably as it is developed. In this case,
34-
the description should be updated to reflect the most recent state of
35-
the PR. (It can be helpful to retain the old content under a suitable
36-
heading, for additional context.)
37-
- Include both **before** and **after** screenshots to easily compare and discuss
38-
what's changing.
39-
- Include a step-by-step testing strategy so that a reviewer can check out the
40-
code locally and easily get to the point of testing your change.
41-
- Add comments to the diff for the reviewer that might help them to understand
42-
why the change is necessary or how they might better understand and review it.
23+
- References to any bugs fixed by the change (in GitHub's `Fixes` notation)
24+
- Describe the why and what is changing in the PR description so it's easy for
25+
onlookers and reviewers to onboard and context switch. This information is
26+
also helpful when we come back to look at this in 6 months and ask "why did
27+
we do it like that?" we have a chance of finding out.
28+
- Why didn't it work before? Why does it work now? What use cases does it
29+
unlock?
30+
- If you find yourself adding information on how the code works or why you
31+
chose to do it the way you did, make sure this information is instead
32+
written as comments in the code itself.
33+
- Sometimes a PR can change considerably as it is developed. In this case,
34+
the description should be updated to reflect the most recent state of
35+
the PR. (It can be helpful to retain the old content under a suitable
36+
heading, for additional context.)
37+
- Include both **before** and **after** screenshots to easily compare and discuss
38+
what's changing.
39+
- Include a step-by-step testing strategy so that a reviewer can check out the
40+
code locally and easily get to the point of testing your change.
41+
- Add comments to the diff for the reviewer that might help them to understand
42+
why the change is necessary or how they might better understand and review it.
4343

4444
### Changelogs
4545

@@ -79,8 +79,8 @@ element-web notes: Fix a bug where the 'Herd' button only worked on Tuesdays
7979

8080
This example is for Element Web. You can specify:
8181

82-
- element-web
83-
- element-desktop
82+
- element-web
83+
- element-desktop
8484

8585
If your PR introduces a breaking change, use the `Notes` section in the same
8686
way, additionally adding the `X-Breaking-Change` label (see below). There's no need
@@ -96,10 +96,10 @@ Notes: Remove legacy `Camelopard` class. `Giraffe` should be used instead.
9696

9797
Other metadata can be added using labels.
9898

99-
- `X-Breaking-Change`: A breaking change - adding this label will mean the change causes a _major_ version bump.
100-
- `T-Enhancement`: A new feature - adding this label will mean the change causes a _minor_ version bump.
101-
- `T-Defect`: A bug fix (in either code or docs).
102-
- `T-Task`: No user-facing changes, eg. code comments, CI fixes, refactors or tests. Won't have a changelog entry unless you specify one.
99+
- `X-Breaking-Change`: A breaking change - adding this label will mean the change causes a _major_ version bump.
100+
- `T-Enhancement`: A new feature - adding this label will mean the change causes a _minor_ version bump.
101+
- `T-Defect`: A bug fix (in either code or docs).
102+
- `T-Task`: No user-facing changes, eg. code comments, CI fixes, refactors or tests. Won't have a changelog entry unless you specify one.
103103

104104
If you don't have permission to add labels, your PR reviewer(s) can work with you
105105
to add them: ask in the PR description or comments.

README.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,28 @@ JS SDK](https://github.com/matrix-org/matrix-js-sdk).
1616

1717
Element has several tiers of support for different environments:
1818

19-
- Supported
20-
- Definition:
21-
- Issues **actively triaged**, regressions **block** the release
22-
- Last 2 major versions of Chrome, Firefox, and Edge on desktop OSes
23-
- Last 2 versions of Safari
24-
- Latest release of official Element Desktop app on desktop OSes
25-
- Desktop OSes means macOS, Windows, and Linux versions for desktop devices
26-
that are actively supported by the OS vendor and receive security updates
27-
- Best effort
28-
- Definition:
29-
- Issues **accepted**, regressions **do not block** the release
30-
- The wider Element Products(including Element Call and the Enterprise Server Suite) do still not officially support these browsers.
31-
- The element web project and its contributors should keep the client functioning and gracefully degrade where other sibling features (E.g. Element Call) may not function.
32-
- Last major release of Firefox ESR and Chrome/Edge Extended Stable
33-
- Community Supported
34-
- Definition:
35-
- Issues **accepted**, regressions **do not block** the release
36-
- Community contributions are welcome to support these issues
37-
- Mobile web for current stable version of Chrome, Firefox, and Safari on Android, iOS, and iPadOS
38-
- Not supported
39-
- Definition: Issues only affecting unsupported environments are **closed**
40-
- Everything else
19+
- Supported
20+
- Definition:
21+
- Issues **actively triaged**, regressions **block** the release
22+
- Last 2 major versions of Chrome, Firefox, and Edge on desktop OSes
23+
- Last 2 versions of Safari
24+
- Latest release of official Element Desktop app on desktop OSes
25+
- Desktop OSes means macOS, Windows, and Linux versions for desktop devices
26+
that are actively supported by the OS vendor and receive security updates
27+
- Best effort
28+
- Definition:
29+
- Issues **accepted**, regressions **do not block** the release
30+
- The wider Element Products(including Element Call and the Enterprise Server Suite) do still not officially support these browsers.
31+
- The element web project and its contributors should keep the client functioning and gracefully degrade where other sibling features (E.g. Element Call) may not function.
32+
- Last major release of Firefox ESR and Chrome/Edge Extended Stable
33+
- Community Supported
34+
- Definition:
35+
- Issues **accepted**, regressions **do not block** the release
36+
- Community contributions are welcome to support these issues
37+
- Mobile web for current stable version of Chrome, Firefox, and Safari on Android, iOS, and iPadOS
38+
- Not supported
39+
- Definition: Issues only affecting unsupported environments are **closed**
40+
- Everything else
4141

4242
The period of support for these tiers should last until the releases specified above, plus 1 app release cycle(2 weeks). In the case of Firefox ESR this is extended further to allow it land in Debian Stable.
4343

@@ -74,16 +74,16 @@ situation, but it's still not good practice to do it in the first place. See
7474
Unless you have special requirements, you will want to add the following to
7575
your web server configuration when hosting Element Web:
7676

77-
- The `X-Frame-Options: SAMEORIGIN` header, to prevent Element Web from being
78-
framed and protect from [clickjacking][owasp-clickjacking].
79-
- The `frame-ancestors 'self'` directive to your `Content-Security-Policy`
80-
header, as the modern replacement for `X-Frame-Options` (though both should be
81-
included since not all browsers support it yet, see
82-
[this][owasp-clickjacking-csp]).
83-
- The `X-Content-Type-Options: nosniff` header, to [disable MIME
84-
sniffing][mime-sniffing].
85-
- The `X-XSS-Protection: 1; mode=block;` header, for basic XSS protection in
86-
legacy browsers.
77+
- The `X-Frame-Options: SAMEORIGIN` header, to prevent Element Web from being
78+
framed and protect from [clickjacking][owasp-clickjacking].
79+
- The `frame-ancestors 'self'` directive to your `Content-Security-Policy`
80+
header, as the modern replacement for `X-Frame-Options` (though both should be
81+
included since not all browsers support it yet, see
82+
[this][owasp-clickjacking-csp]).
83+
- The `X-Content-Type-Options: nosniff` header, to [disable MIME
84+
sniffing][mime-sniffing].
85+
- The `X-XSS-Protection: 1; mode=block;` header, for basic XSS protection in
86+
legacy browsers.
8787

8888
[mime-sniffing]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#mime_sniffing
8989
[owasp-clickjacking-csp]: https://cheatsheetseries.owasp.org/cheatsheets/Clickjacking_Defense_Cheat_Sheet.html#content-security-policy-frame-ancestors-examples

code_style.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
This code style applies to projects which the element-web team directly maintains or is reasonably
44
adjacent to. As of writing, these are:
55

6-
- element-desktop
7-
- element-web
8-
- matrix-js-sdk
6+
- element-desktop
7+
- element-web
8+
- matrix-js-sdk
99

1010
Other projects might extend this code style for increased strictness. For example, matrix-events-sdk
1111
has stricter code organization to reduce the maintenance burden. These projects will declare their code

docs/SUMMARY.md

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

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

55
# Usage
66

7-
- [Betas](betas.md)
8-
- [Labs](labs.md)
7+
- [Betas](betas.md)
8+
- [Labs](labs.md)
99

1010
# Setup
1111

12-
- [Install](install.md)
13-
- [Config](config.md)
14-
- [Custom home page](custom-home.md)
15-
- [Kubernetes](kubernetes.md)
16-
- [Jitsi](jitsi.md)
17-
- [Encryption](e2ee.md)
12+
- [Install](install.md)
13+
- [Config](config.md)
14+
- [Custom home page](custom-home.md)
15+
- [Kubernetes](kubernetes.md)
16+
- [Jitsi](jitsi.md)
17+
- [Encryption](e2ee.md)
1818

1919
# Build
2020

21-
- [Customisations](customisations.md)
22-
- [Modules](modules.md)
23-
- [Native Node modules](native-node-modules.md)
21+
- [Customisations](customisations.md)
22+
- [Modules](modules.md)
23+
- [Native Node modules](native-node-modules.md)
2424

2525
# Contribution
2626

27-
- [Choosing an issue](choosing-an-issue.md)
28-
- [Translation](translating.md)
29-
- [Netlify builds](pr-previews.md)
30-
- [Code review](review.md)
27+
- [Choosing an issue](choosing-an-issue.md)
28+
- [Translation](translating.md)
29+
- [Netlify builds](pr-previews.md)
30+
- [Code review](review.md)
3131

3232
# Development
3333

34-
- [App load order](app-load.md)
35-
- [Translation](translating-dev.md)
36-
- [Theming](theming.md)
37-
- [Playwright end to end tests](playwright.md)
38-
- [Memory profiling](memory-profiles-and-leaks.md)
39-
- [Jitsi](jitsi-dev.md)
40-
- [Feature flags](feature-flags.md)
41-
- [OIDC and delegated authentication](oidc.md)
42-
- [Release Process](release.md)
34+
- [App load order](app-load.md)
35+
- [Translation](translating-dev.md)
36+
- [Theming](theming.md)
37+
- [Playwright end to end tests](playwright.md)
38+
- [Memory profiling](memory-profiles-and-leaks.md)
39+
- [Jitsi](jitsi-dev.md)
40+
- [Feature flags](feature-flags.md)
41+
- [OIDC and delegated authentication](oidc.md)
42+
- [Release Process](release.md)
4343

4444
# Deep dive
4545

46-
- [Skinning](skinning.md)
47-
- [Cider editor](ciderEditor.md)
48-
- [Iconography](icons.md)
49-
- [Jitsi](jitsi.md)
50-
- [Local echo](local-echo-dev.md)
51-
- [Media](media-handling.md)
52-
- [Room List Store](room-list-store.md)
53-
- [Scrolling](scrolling.md)
54-
- [Usercontent](usercontent.md)
55-
- [Widget layouts](widget-layouts.md)
46+
- [Skinning](skinning.md)
47+
- [Cider editor](ciderEditor.md)
48+
- [Iconography](icons.md)
49+
- [Jitsi](jitsi.md)
50+
- [Local echo](local-echo-dev.md)
51+
- [Media](media-handling.md)
52+
- [Room List Store](room-list-store.md)
53+
- [Scrolling](scrolling.md)
54+
- [Usercontent](usercontent.md)
55+
- [Widget layouts](widget-layouts.md)

docs/app-load.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,18 @@ flowchart TD
6161

6262
Key:
6363

64-
- Parallelogram: async/await task
65-
- Box: sync task
66-
- Diamond: conditional branch
67-
- Circle: user interaction
68-
- Blue arrow: async task is allowed to settle but allowed to fail
69-
- Red arrow: async task success is asserted
64+
- Parallelogram: async/await task
65+
- Box: sync task
66+
- Diamond: conditional branch
67+
- Circle: user interaction
68+
- Blue arrow: async task is allowed to settle but allowed to fail
69+
- Red arrow: async task success is asserted
7070

7171
Notes:
7272

73-
- A task begins when all its dependencies (arrows going into it) are fulfilled.
74-
- The success of setting up rageshake is never asserted, element-web has a fallback path for running without IDB (and thus rageshake).
75-
- Everything is awaited to be settled before the Modernizr check, to allow it to make use of things like i18n if they are successful.
73+
- A task begins when all its dependencies (arrows going into it) are fulfilled.
74+
- The success of setting up rageshake is never asserted, element-web has a fallback path for running without IDB (and thus rageshake).
75+
- Everything is awaited to be settled before the Modernizr check, to allow it to make use of things like i18n if they are successful.
7676

7777
Underlying dependencies:
7878

docs/choosing-an-issue.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ someone to add something.
3232
When you're looking through the list, here are some things that might make an
3333
issue a **GOOD** choice:
3434

35-
- It is a problem or feature you care about.
36-
- It concerns a type of code you know a little about.
37-
- You think you can understand what's needed.
38-
- It already has approval from Element Web's designers (look for comments from
39-
members of the
40-
[Product](https://github.com/orgs/element-hq/teams/product/members) or
41-
[Design](https://github.com/orgs/element-hq/teams/design/members) teams).
35+
- It is a problem or feature you care about.
36+
- It concerns a type of code you know a little about.
37+
- You think you can understand what's needed.
38+
- It already has approval from Element Web's designers (look for comments from
39+
members of the
40+
[Product](https://github.com/orgs/element-hq/teams/product/members) or
41+
[Design](https://github.com/orgs/element-hq/teams/design/members) teams).
4242

4343
Here are some things that might make it a **BAD** choice:
4444

45-
- You don't understand it (maybe add a comment asking a clarifying question).
46-
- It sounds difficult, or is part of a larger change you don't know about.
47-
- **It is tagged with `X-Needs-Design` or `X-Needs-Product`.**
45+
- You don't understand it (maybe add a comment asking a clarifying question).
46+
- It sounds difficult, or is part of a larger change you don't know about.
47+
- **It is tagged with `X-Needs-Design` or `X-Needs-Product`.**
4848

4949
**Element Web's Design and Product teams tend to be very busy**, so if you make
5050
changes that require approval from one of those teams, you will probably have

0 commit comments

Comments
 (0)