Skip to content

Commit 3e1ff3d

Browse files
committed
Merge branch 'develop' of github.com:matrix-org/matrix-js-sdk into renovate/typescript
# Conflicts: # src/crypto-api/index.ts
2 parents 029fb28 + b80d009 commit 3e1ff3d

32 files changed

+459
-518
lines changed

.github/workflows/docs-pr-netlify.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
deployments: write
1616
steps:
1717
- name: 📥 Download artifact
18-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
18+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
1919
with:
2020
github-token: ${{ secrets.GITHUB_TOKEN }}
2121
run-id: ${{ github.event.workflow_run.id }}

.github/workflows/release-drafter-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
contents: write
1717
steps:
1818
- name: 🧮 Checkout code
19-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
19+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2020
with:
2121
ref: staging
2222
fetch-depth: 0
@@ -37,7 +37,7 @@ jobs:
3737
disable-autolabeler: true
3838

3939
- name: Get actions scripts
40-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
40+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
4141
with:
4242
repository: matrix-org/matrix-js-sdk
4343
persist-credentials: false

.github/workflows/release-gitflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
merge:
1919
runs-on: ubuntu-24.04
2020
steps:
21-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
21+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2222
with:
2323
# We will be pushing to this branch and want the CI to run after we do so we cannot use the GITHUB_TOKEN
2424
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
2525
fetch-depth: 0
2626

2727
- name: Get actions scripts
28-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
28+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2929
with:
3030
repository: matrix-org/matrix-js-sdk
3131
persist-credentials: false

.github/workflows/release-make.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ jobs:
7373
draft: true
7474
latest: true
7575

76-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
76+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
7777
with:
7878
ref: staging
7979
# We will be pushing to this branch and want the CI to run after we do so we cannot use the GITHUB_TOKEN
8080
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
8181
fetch-depth: 0
8282

8383
- name: Get actions scripts
84-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
84+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
8585
with:
8686
repository: matrix-org/matrix-js-sdk
8787
persist-credentials: false

.github/workflows/release-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
id: ${{ steps.npm-publish.outputs.id }}
2121
steps:
2222
- name: 🧮 Checkout code
23-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
23+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2424
with:
2525
ref: staging
2626

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
repo:
4545
- element-hq/element-web
4646
steps:
47-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
47+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
4848
with:
4949
repository: ${{ matrix.repo }}
5050
ref: staging
@@ -73,7 +73,7 @@ jobs:
7373
runs-on: ubuntu-24.04
7474
steps:
7575
- name: 🧮 Checkout code
76-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
76+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
7777

7878
- name: 🔧 Yarn cache
7979
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4

.github/workflows/sonarcloud.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,22 @@ jobs:
3636
target_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
3737

3838
- name: "🧮 Checkout code"
39-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
39+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
4040
with:
4141
repository: ${{ github.event.workflow_run.head_repository.full_name }}
4242
ref: ${{ github.event.workflow_run.head_branch }} # checkout commit that triggered this workflow
4343
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
4444

4545
- name: 📥 Download artifact
46-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
46+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
4747
if: ${{ !inputs.sharded }}
4848
with:
4949
github-token: ${{ secrets.GITHUB_TOKEN }}
5050
run-id: ${{ github.event.workflow_run.id }}
5151
name: coverage
5252
path: coverage
5353
- name: 📥 Download sharded artifacts
54-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
54+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
5555
if: inputs.sharded
5656
with:
5757
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/static_analysis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: "Typescript Syntax Check"
1515
runs-on: ubuntu-24.04
1616
steps:
17-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
17+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
1818

1919
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2020
with:
@@ -31,7 +31,7 @@ jobs:
3131
name: "ESLint"
3232
runs-on: ubuntu-24.04
3333
steps:
34-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
34+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
3535

3636
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
3737
with:
@@ -48,7 +48,7 @@ jobs:
4848
name: "Node.js example"
4949
runs-on: ubuntu-latest
5050
steps:
51-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
51+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
5252

5353
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
5454
with:
@@ -83,7 +83,7 @@ jobs:
8383
name: "Workflow Lint"
8484
runs-on: ubuntu-24.04
8585
steps:
86-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
86+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
8787

8888
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
8989
with:
@@ -100,7 +100,7 @@ jobs:
100100
name: "JSDoc Checker"
101101
runs-on: ubuntu-24.04
102102
steps:
103-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
103+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
104104

105105
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
106106
with:
@@ -125,7 +125,7 @@ jobs:
125125
name: "Analyse Dead Code"
126126
runs-on: ubuntu-24.04
127127
steps:
128-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
128+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
129129

130130
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
131131
with:
@@ -143,7 +143,7 @@ jobs:
143143
if: github.event_name == 'merge_group'
144144
runs-on: ubuntu-24.04
145145
steps:
146-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
146+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
147147
with:
148148
repository: element-hq/element-web
149149

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
node: ["lts/*", 22]
2323
steps:
2424
- name: Checkout code
25-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
25+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2626

2727
- name: Setup Node
2828
id: setupNode

spec/integ/crypto/crypto.spec.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1496,8 +1496,10 @@ describe("crypto", () => {
14961496

14971497
expect(ev.decryptionFailureReason).toEqual(expectedErrorCode);
14981498

1499-
// `isEncryptedDisabledForUnverifiedDevices` should be true for `m.unverified` and false for other errors.
1500-
expect(ev.isEncryptedDisabledForUnverifiedDevices).toEqual(withheldCode === "m.unverified");
1499+
// `decryptionFailureReason` should be `MEGOLM_KEY_WITHHELD_FOR_UNVERIFIED_DEVICE` for `m.unverified`
1500+
expect(
1501+
ev.decryptionFailureReason === DecryptionFailureCode.MEGOLM_KEY_WITHHELD_FOR_UNVERIFIED_DEVICE,
1502+
).toEqual(withheldCode === "m.unverified");
15011503
});
15021504
},
15031505
);

0 commit comments

Comments
 (0)