Skip to content

Commit 83d952e

Browse files
authored
Fix spacing errors (#2096)
1 parent f30be87 commit 83d952e

File tree

4 files changed

+48
-34
lines changed

4 files changed

+48
-34
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
"browser-request": "^0.3.3",
5656
"bs58": "^4.0.1",
5757
"content-type": "^1.0.4",
58-
"eslint-plugin-import": "^2.25.2",
5958
"loglevel": "^1.7.1",
6059
"p-retry": "^4.5.0",
6160
"qs": "^6.9.6",
@@ -91,7 +90,8 @@
9190
"docdash": "^1.2.0",
9291
"eslint": "7.18.0",
9392
"eslint-config-google": "^0.14.0",
94-
"eslint-plugin-matrix-org": "github:matrix-org/eslint-plugin-matrix-org#48ec1e6af2cfb8310b9a6e23edf2dc7a26ddd580",
93+
"eslint-plugin-import": "^2.25.4",
94+
"eslint-plugin-matrix-org": "^0.4.0",
9595
"exorcist": "^1.0.1",
9696
"fake-indexeddb": "^3.1.2",
9797
"jest": "^26.6.3",

src/crypto/algorithms/megolm.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,8 +1114,8 @@ class MegolmEncryption extends EncryptionAlgorithm {
11141114
private checkForUnknownDevices(devicesInRoom: DeviceInfoMap): void {
11151115
const unknownDevices: Record<string, Record<string, DeviceInfo>> = {};
11161116

1117-
Object.keys(devicesInRoom).forEach((userId)=>{
1118-
Object.keys(devicesInRoom[userId]).forEach((deviceId)=>{
1117+
Object.keys(devicesInRoom).forEach((userId) => {
1118+
Object.keys(devicesInRoom[userId]).forEach((deviceId) => {
11191119
const device = devicesInRoom[userId][deviceId];
11201120
if (device.isUnverified() && !device.isKnown()) {
11211121
if (!unknownDevices[userId]) {

src/store/indexeddb-local-backend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export class LocalIndexedDBStoreBackend implements IIndexedDBBackend {
231231
* @returns {null} in case the members for this room haven't been stored yet
232232
*/
233233
public getOutOfBandMembers(roomId: string): Promise<IEvent[] | null> {
234-
return new Promise<IEvent[] | null>((resolve, reject) =>{
234+
return new Promise<IEvent[] | null>((resolve, reject) => {
235235
const tx = this.db.transaction(["oob_membership_events"], "readonly");
236236
const store = tx.objectStore("oob_membership_events");
237237
const roomIndex = store.index("room");

yarn.lock

Lines changed: 43 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3279,37 +3279,37 @@ eslint-import-resolver-node@^0.3.6:
32793279
debug "^3.2.7"
32803280
resolve "^1.20.0"
32813281

3282-
eslint-module-utils@^2.7.0:
3283-
version "2.7.1"
3284-
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.1.tgz#b435001c9f8dd4ab7f6d0efcae4b9696d4c24b7c"
3285-
integrity sha512-fjoetBXQZq2tSTWZ9yWVl2KuFrTZZH3V+9iD1V1RfpDgxzJR+mPd/KZmMiA8gbPqdBzpNiEHOuT7IYEWxrH0zQ==
3282+
eslint-module-utils@^2.7.2:
3283+
version "2.7.2"
3284+
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.2.tgz#1d0aa455dcf41052339b63cada8ab5fd57577129"
3285+
integrity sha512-zquepFnWCY2ISMFwD/DqzaM++H+7PDzOpUvotJWm/y1BAFt5R4oeULgdrTejKqLkz7MA/tgstsUMNYc7wNdTrg==
32863286
dependencies:
32873287
debug "^3.2.7"
32883288
find-up "^2.1.0"
3289-
pkg-dir "^2.0.0"
32903289

3291-
eslint-plugin-import@^2.25.2:
3292-
version "2.25.2"
3293-
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.25.2.tgz#b3b9160efddb702fc1636659e71ba1d10adbe9e9"
3294-
integrity sha512-qCwQr9TYfoBHOFcVGKY9C9unq05uOxxdklmBXLVvcwo68y5Hta6/GzCZEMx2zQiu0woKNEER0LE7ZgaOfBU14g==
3290+
eslint-plugin-import@^2.25.4:
3291+
version "2.25.4"
3292+
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.25.4.tgz#322f3f916a4e9e991ac7af32032c25ce313209f1"
3293+
integrity sha512-/KJBASVFxpu0xg1kIBn9AUa8hQVnszpwgE7Ld0lKAlx7Ie87yzEzCgSkekt+le/YVhiaosO4Y14GDAOc41nfxA==
32953294
dependencies:
32963295
array-includes "^3.1.4"
32973296
array.prototype.flat "^1.2.5"
32983297
debug "^2.6.9"
32993298
doctrine "^2.1.0"
33003299
eslint-import-resolver-node "^0.3.6"
3301-
eslint-module-utils "^2.7.0"
3300+
eslint-module-utils "^2.7.2"
33023301
has "^1.0.3"
3303-
is-core-module "^2.7.0"
3302+
is-core-module "^2.8.0"
33043303
is-glob "^4.0.3"
33053304
minimatch "^3.0.4"
33063305
object.values "^1.1.5"
33073306
resolve "^1.20.0"
3308-
tsconfig-paths "^3.11.0"
3307+
tsconfig-paths "^3.12.0"
33093308

3310-
"eslint-plugin-matrix-org@github:matrix-org/eslint-plugin-matrix-org#48ec1e6af2cfb8310b9a6e23edf2dc7a26ddd580":
3311-
version "0.3.5"
3312-
resolved "https://codeload.github.com/matrix-org/eslint-plugin-matrix-org/tar.gz/48ec1e6af2cfb8310b9a6e23edf2dc7a26ddd580"
3309+
eslint-plugin-matrix-org@^0.4.0:
3310+
version "0.4.0"
3311+
resolved "https://registry.yarnpkg.com/eslint-plugin-matrix-org/-/eslint-plugin-matrix-org-0.4.0.tgz#de2d2db1cd471d637728133ce9a2b921690e5cd1"
3312+
integrity sha512-yVkNwtc33qtrQB4PPzpU+PUdFzdkENPan3JF4zhtAQJRUYXyvKEXnYSrXLUWYRXoYFxs9LbyI2CnhJL/RnHJaQ==
33133313

33143314
eslint-rule-composer@^0.3.0:
33153315
version "0.3.0"
@@ -4290,13 +4290,20 @@ is-ci@^2.0.0:
42904290
dependencies:
42914291
ci-info "^2.0.0"
42924292

4293-
is-core-module@^2.2.0, is-core-module@^2.7.0:
4293+
is-core-module@^2.2.0:
42944294
version "2.8.0"
42954295
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.0.tgz#0321336c3d0925e497fd97f5d95cb114a5ccd548"
42964296
integrity sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==
42974297
dependencies:
42984298
has "^1.0.3"
42994299

4300+
is-core-module@^2.8.0:
4301+
version "2.8.1"
4302+
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.1.tgz#f59fdfca701d5879d0a6b100a40aa1560ce27211"
4303+
integrity sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==
4304+
dependencies:
4305+
has "^1.0.3"
4306+
43004307
is-data-descriptor@^0.1.4:
43014308
version "0.1.4"
43024309
resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56"
@@ -6065,7 +6072,7 @@ path-key@^3.0.0, path-key@^3.1.0:
60656072
resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
60666073
integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
60676074

6068-
path-parse@^1.0.6:
6075+
path-parse@^1.0.6, path-parse@^1.0.7:
60696076
version "1.0.7"
60706077
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
60716078
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
@@ -6118,13 +6125,6 @@ pirates@^4.0.0, pirates@^4.0.1:
61186125
dependencies:
61196126
node-modules-regexp "^1.0.0"
61206127

6121-
pkg-dir@^2.0.0:
6122-
version "2.0.0"
6123-
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b"
6124-
integrity sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=
6125-
dependencies:
6126-
find-up "^2.1.0"
6127-
61286128
pkg-dir@^3.0.0:
61296129
version "3.0.0"
61306130
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3"
@@ -6704,14 +6704,23 @@ resolve-url@^0.2.1:
67046704
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
67056705
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
67066706

6707-
resolve@^1.1.4, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.18.1, resolve@^1.20.0, resolve@^1.4.0:
6707+
resolve@^1.1.4, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.18.1, resolve@^1.4.0:
67086708
version "1.20.0"
67096709
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975"
67106710
integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==
67116711
dependencies:
67126712
is-core-module "^2.2.0"
67136713
path-parse "^1.0.6"
67146714

6715+
resolve@^1.20.0:
6716+
version "1.21.0"
6717+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.21.0.tgz#b51adc97f3472e6a5cf4444d34bc9d6b9037591f"
6718+
integrity sha512-3wCbTpk5WJlyE4mSOtDLhqQmGFi0/TD9VPwmiolnk8U0wRgMEktqCXd3vy5buTO3tljvalNvKrjHEfrd2WpEKA==
6719+
dependencies:
6720+
is-core-module "^2.8.0"
6721+
path-parse "^1.0.7"
6722+
supports-preserve-symlinks-flag "^1.0.0"
6723+
67156724
ret@~0.1.10:
67166725
version "0.1.15"
67176726
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
@@ -7244,6 +7253,11 @@ supports-hyperlinks@^2.0.0:
72447253
has-flag "^4.0.0"
72457254
supports-color "^7.0.0"
72467255

7256+
supports-preserve-symlinks-flag@^1.0.0:
7257+
version "1.0.0"
7258+
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
7259+
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
7260+
72477261
symbol-tree@^3.2.4:
72487262
version "3.2.4"
72497263
resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2"
@@ -7433,10 +7447,10 @@ ts-map@^1.0.3:
74337447
resolved "https://registry.yarnpkg.com/ts-map/-/ts-map-1.0.3.tgz#1c4d218dec813d2103b7e04e4bcf348e1471c1ff"
74347448
integrity sha512-vDWbsl26LIcPGmDpoVzjEP6+hvHZkBkLW7JpvwbCv/5IYPJlsbzCVXY3wsCeAxAUeTclNOUZxnLdGh3VBD/J6w==
74357449

7436-
tsconfig-paths@^3.11.0:
7437-
version "3.11.0"
7438-
resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.11.0.tgz#954c1fe973da6339c78e06b03ce2e48810b65f36"
7439-
integrity sha512-7ecdYDnIdmv639mmDwslG6KQg1Z9STTz1j7Gcz0xa+nshh/gKDAHcPxRbWOsA3SPp0tXP2leTcY9Kw+NAkfZzA==
7450+
tsconfig-paths@^3.12.0:
7451+
version "3.12.0"
7452+
resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.12.0.tgz#19769aca6ee8f6a1a341e38c8fa45dd9fb18899b"
7453+
integrity sha512-e5adrnOYT6zqVnWqZu7i/BQ3BnhzvGbjEjejFXO20lKIKpwTaupkCPgEfv4GZK1IBciJUEhYs3J3p75FdaTFVg==
74407454
dependencies:
74417455
"@types/json5" "^0.0.29"
74427456
json5 "^1.0.1"

0 commit comments

Comments
 (0)