Skip to content
This repository was archived by the owner on May 18, 2025. It is now read-only.

Commit 2d3163f

Browse files
committedJun 29, 2021
Remove Flow support
We no longer use Flow, so this removes linting and compiling support. New code should use TypeScript for static typing.
1 parent b70297c commit 2d3163f

File tree

5 files changed

+33
-63
lines changed

5 files changed

+33
-63
lines changed
 

‎.flowconfig

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎babel.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ module.exports = {
1010
],
1111
}],
1212
"@babel/preset-typescript",
13-
"@babel/preset-flow",
1413
"@babel/preset-react",
1514
],
1615
"plugins": [
@@ -19,7 +18,6 @@ module.exports = {
1918
"@babel/plugin-proposal-numeric-separator",
2019
"@babel/plugin-proposal-class-properties",
2120
"@babel/plugin-proposal-object-rest-spread",
22-
"@babel/plugin-transform-flow-comments",
2321
"@babel/plugin-syntax-dynamic-import",
2422
"@babel/plugin-transform-runtime",
2523
],

‎package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,8 @@
110110
"@babel/plugin-proposal-export-default-from": "^7.12.1",
111111
"@babel/plugin-proposal-numeric-separator": "^7.12.7",
112112
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
113-
"@babel/plugin-transform-flow-comments": "^7.12.1",
114113
"@babel/plugin-transform-runtime": "^7.12.10",
115114
"@babel/preset-env": "^7.12.11",
116-
"@babel/preset-flow": "^7.12.1",
117115
"@babel/preset-react": "^7.12.10",
118116
"@babel/preset-typescript": "^7.12.7",
119117
"@babel/register": "^7.12.10",
@@ -150,7 +148,6 @@
150148
"eslint": "7.18.0",
151149
"eslint-config-matrix-org": "^0.2.0",
152150
"eslint-plugin-babel": "^5.3.1",
153-
"eslint-plugin-flowtype": "^5.2.0",
154151
"eslint-plugin-react": "^7.22.0",
155152
"eslint-plugin-react-hooks": "^4.2.0",
156153
"glob": "^7.1.6",

‎src/SendHistoryManager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//@flow
21
/*
32
Copyright 2017 Aviral Dasgupta
43

‎yarn.lock

Lines changed: 33 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
semver "^5.4.1"
6060
source-map "^0.5.0"
6161

62-
"@babel/generator@^7.12.1", "@babel/generator@^7.12.10", "@babel/generator@^7.12.11":
62+
"@babel/generator@^7.12.10", "@babel/generator@^7.12.11":
6363
version "7.12.11"
6464
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.12.11.tgz#98a7df7b8c358c9a37ab07a24056853016aba3af"
6565
integrity sha512-Ggg6WPOJtSi8yYQvLVjG8F/TlpWDlKx0OpS4Kt+xMQPs5OaGYWy+v1A+1TvxI6sAMGZpKWWoAQ1DaeQbImlItA==
@@ -494,13 +494,6 @@
494494
dependencies:
495495
"@babel/helper-plugin-utils" "^7.8.3"
496496

497-
"@babel/plugin-syntax-flow@^7.12.1":
498-
version "7.12.1"
499-
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.12.1.tgz#a77670d9abe6d63e8acadf4c31bb1eb5a506bbdd"
500-
integrity sha512-1lBLLmtxrwpm4VKmtVFselI/P3pX+G63fAtUUt6b2Nzgao77KNDwyuRt90Mj2/9pKobtt68FdvjfqohZjg/FCA==
501-
dependencies:
502-
"@babel/helper-plugin-utils" "^7.10.4"
503-
504497
"@babel/plugin-syntax-import-meta@^7.8.3":
505498
version "7.10.4"
506499
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51"
@@ -659,23 +652,6 @@
659652
"@babel/helper-builder-binary-assignment-operator-visitor" "^7.10.4"
660653
"@babel/helper-plugin-utils" "^7.10.4"
661654

662-
"@babel/plugin-transform-flow-comments@^7.12.1":
663-
version "7.12.1"
664-
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-comments/-/plugin-transform-flow-comments-7.12.1.tgz#92fe5a27e635bd6d2e46f616094d60edff895a0b"
665-
integrity sha512-jQd0UQUg98j95JJVQL74mOrzES7dYyd8hy+ZDiMj1wjHw1Nj0Pzkk7tKZdqqAoSZV/yTYLp0lJ0/PTozy2cNDg==
666-
dependencies:
667-
"@babel/generator" "^7.12.1"
668-
"@babel/helper-plugin-utils" "^7.10.4"
669-
"@babel/plugin-syntax-flow" "^7.12.1"
670-
671-
"@babel/plugin-transform-flow-strip-types@^7.12.1":
672-
version "7.12.10"
673-
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.12.10.tgz#d85e30ecfa68093825773b7b857e5085bbd32c95"
674-
integrity sha512-0ti12wLTLeUIzu9U7kjqIn4MyOL7+Wibc7avsHhj4o1l5C0ATs8p2IMHrVYjm9t9wzhfEO6S3kxax0Rpdo8LTg==
675-
dependencies:
676-
"@babel/helper-plugin-utils" "^7.10.4"
677-
"@babel/plugin-syntax-flow" "^7.12.1"
678-
679655
"@babel/plugin-transform-for-of@^7.12.1":
680656
version "7.12.1"
681657
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.12.1.tgz#07640f28867ed16f9511c99c888291f560921cfa"
@@ -967,14 +943,6 @@
967943
core-js-compat "^3.8.0"
968944
semver "^5.5.0"
969945

970-
"@babel/preset-flow@^7.12.1":
971-
version "7.12.1"
972-
resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.12.1.tgz#1a81d376c5a9549e75352a3888f8c273455ae940"
973-
integrity sha512-UAoyMdioAhM6H99qPoKvpHMzxmNVXno8GYU/7vZmGaHk6/KqfDYL1W0NxszVbJ2EP271b7e6Ox+Vk2A9QsB3Sw==
974-
dependencies:
975-
"@babel/helper-plugin-utils" "^7.10.4"
976-
"@babel/plugin-transform-flow-strip-types" "^7.12.1"
977-
978946
"@babel/preset-modules@^0.1.3":
979947
version "0.1.4"
980948
resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.4.tgz#362f2b68c662842970fdb5e254ffc8fc1c2e415e"
@@ -3351,14 +3319,6 @@ eslint-plugin-babel@^5.2.1, eslint-plugin-babel@^5.3.1:
33513319
dependencies:
33523320
eslint-rule-composer "^0.3.0"
33533321

3354-
eslint-plugin-flowtype@^5.2.0:
3355-
version "5.2.0"
3356-
resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-5.2.0.tgz#a4bef5dc18f9b2bdb41569a4ab05d73805a3d261"
3357-
integrity sha512-z7ULdTxuhlRJcEe1MVljePXricuPOrsWfScRXFhNzVD5dmTHWjIF57AxD0e7AbEoLSbjSsaA5S+hCg43WvpXJQ==
3358-
dependencies:
3359-
lodash "^4.17.15"
3360-
string-natural-compare "^3.0.1"
3361-
33623322
eslint-plugin-import@^2.14.0:
33633323
version "2.22.1"
33643324
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz#0896c7e6a0cf44109a2d97b95903c2bb689d7702"
@@ -3559,7 +3519,14 @@ esprima@^4.0.0, esprima@^4.0.1:
35593519
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
35603520
integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==
35613521

3562-
esquery@^1.0.1, esquery@^1.2.0:
3522+
esquery@^1.0.1:
3523+
version "1.4.0"
3524+
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5"
3525+
integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==
3526+
dependencies:
3527+
estraverse "^5.1.0"
3528+
3529+
esquery@^1.2.0:
35633530
version "1.3.1"
35643531
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.3.1.tgz#b78b5828aa8e214e29fb74c4d5b752e1c033da57"
35653532
integrity sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ==
@@ -4177,11 +4144,16 @@ gonzales-pe@^4.3.0:
41774144
dependencies:
41784145
minimist "^1.2.5"
41794146

4180-
graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.2.4:
4147+
graceful-fs@^4.1.11, graceful-fs@^4.2.4:
41814148
version "4.2.4"
41824149
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb"
41834150
integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==
41844151

4152+
graceful-fs@^4.1.2:
4153+
version "4.2.6"
4154+
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz#ff040b2b0853b23c3d31027523706f1885d76bee"
4155+
integrity sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==
4156+
41854157
growly@^1.3.0:
41864158
version "1.3.0"
41874159
resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
@@ -4597,7 +4569,7 @@ is-ci@^2.0.0:
45974569
dependencies:
45984570
ci-info "^2.0.0"
45994571

4600-
is-core-module@^2.1.0:
4572+
is-core-module@^2.1.0, is-core-module@^2.2.0:
46014573
version "2.2.0"
46024574
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a"
46034575
integrity sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==
@@ -7179,14 +7151,22 @@ resolve-url@^0.2.1:
71797151
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
71807152
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
71817153

7182-
resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.17.0, resolve@^1.18.1:
7154+
resolve@^1.10.0, resolve@^1.12.0, resolve@^1.17.0, resolve@^1.18.1:
71837155
version "1.19.0"
71847156
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c"
71857157
integrity sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==
71867158
dependencies:
71877159
is-core-module "^2.1.0"
71887160
path-parse "^1.0.6"
71897161

7162+
resolve@^1.13.1:
7163+
version "1.20.0"
7164+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975"
7165+
integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==
7166+
dependencies:
7167+
is-core-module "^2.2.0"
7168+
path-parse "^1.0.6"
7169+
71907170
restore-cursor@^3.1.0:
71917171
version "3.1.0"
71927172
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e"
@@ -7247,13 +7227,20 @@ run-parallel@^1.1.9:
72477227
resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.1.10.tgz#60a51b2ae836636c81377df16cb107351bcd13ef"
72487228
integrity sha512-zb/1OuZ6flOlH6tQyMPUrE3x3Ulxjlo9WIVXR4yVYi4H9UXQaeIsPbLn2R3O3vQCnDKkAl2qHiuocKKX4Tz/Sw==
72497229

7250-
rxjs@^6.5.2, rxjs@^6.6.0:
7230+
rxjs@^6.5.2:
72517231
version "6.6.3"
72527232
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.3.tgz#8ca84635c4daa900c0d3967a6ee7ac60271ee552"
72537233
integrity sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ==
72547234
dependencies:
72557235
tslib "^1.9.0"
72567236

7237+
rxjs@^6.6.0:
7238+
version "6.6.6"
7239+
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.6.tgz#14d8417aa5a07c5e633995b525e1e3c0dec03b70"
7240+
integrity sha512-/oTwee4N4iWzAMAL9xdGKjkEHmIwupR3oXbQjCKywF1BeFohswF3vZdogbmEF6pZkOsXTzWkrZszrWpQTByYVg==
7241+
dependencies:
7242+
tslib "^1.9.0"
7243+
72577244
safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0:
72587245
version "5.2.1"
72597246
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
@@ -7609,11 +7596,6 @@ string-length@^4.0.1:
76097596
char-regex "^1.0.2"
76107597
strip-ansi "^6.0.0"
76117598

7612-
string-natural-compare@^3.0.1:
7613-
version "3.0.1"
7614-
resolved "https://registry.yarnpkg.com/string-natural-compare/-/string-natural-compare-3.0.1.tgz#7a42d58474454963759e8e8b7ae63d71c1e7fdf4"
7615-
integrity sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw==
7616-
76177599
string-width@^3.0.0, string-width@^3.1.0:
76187600
version "3.1.0"
76197601
resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961"

0 commit comments

Comments
 (0)