Skip to content

Commit c2fc971

Browse files
GudahttMajorLift
authored andcommitted
Update TypeScript to v4.2 (#369)
TypeScript has been updated to v4.2 [1]. I'm not aware of any changes that impact our code. `@typescript-eslint/eslint-plugin` and `typedoc` were both updated to a version that supports TypeScript v4.2. [1]: https://devblogs.microsoft.com/typescript/announcing-typescript-4-2/
1 parent 302d6a2 commit c2fc971

File tree

2 files changed

+87
-41
lines changed

2 files changed

+87
-41
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@
6868
"@types/node": "^14.14.31",
6969
"@types/sinon": "^9.0.10",
7070
"@types/web3": "^1.0.6",
71-
"@typescript-eslint/eslint-plugin": "^4.15.2",
72-
"@typescript-eslint/parser": "^4.15.2",
71+
"@typescript-eslint/eslint-plugin": "^4.18.0",
72+
"@typescript-eslint/parser": "^4.18.0",
7373
"eslint": "^7.20.0",
7474
"eslint-plugin-import": "^2.22.1",
7575
"eslint-plugin-jest": "^24.1.5",
@@ -82,8 +82,8 @@
8282
"prettier": "^2.2.1",
8383
"sinon": "^9.2.4",
8484
"ts-jest": "^26.5.2",
85-
"typedoc": "^0.20.28",
86-
"typescript": "~4.1.5"
85+
"typedoc": "^0.20.32",
86+
"typescript": "~4.2.2"
8787
},
8888
"jest": {
8989
"moduleFileExtensions": [

yarn.lock

Lines changed: 83 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -920,21 +920,33 @@
920920
dependencies:
921921
"@types/yargs-parser" "*"
922922

923-
"@typescript-eslint/eslint-plugin@^4.15.2":
924-
version "4.15.2"
925-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.15.2.tgz#981b26b4076c62a5a55873fbef3fe98f83360c61"
926-
integrity sha512-uiQQeu9tWl3f1+oK0yoAv9lt/KXO24iafxgQTkIYO/kitruILGx3uH+QtIAHqxFV+yIsdnJH+alel9KuE3J15Q==
923+
"@typescript-eslint/eslint-plugin@^4.18.0":
924+
version "4.18.0"
925+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.18.0.tgz#50fbce93211b5b690895d20ebec6fe8db48af1f6"
926+
integrity sha512-Lzkc/2+7EoH7+NjIWLS2lVuKKqbEmJhtXe3rmfA8cyiKnZm3IfLf51irnBcmow8Q/AptVV0XBZmBJKuUJTe6cQ==
927927
dependencies:
928-
"@typescript-eslint/experimental-utils" "4.15.2"
929-
"@typescript-eslint/scope-manager" "4.15.2"
928+
"@typescript-eslint/experimental-utils" "4.18.0"
929+
"@typescript-eslint/scope-manager" "4.18.0"
930930
debug "^4.1.1"
931931
functional-red-black-tree "^1.0.1"
932932
lodash "^4.17.15"
933933
regexpp "^3.0.0"
934934
semver "^7.3.2"
935935
tsutils "^3.17.1"
936936

937-
"@typescript-eslint/[email protected]", "@typescript-eslint/experimental-utils@^4.0.1":
937+
"@typescript-eslint/[email protected]":
938+
version "4.18.0"
939+
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.18.0.tgz#ed6c955b940334132b17100d2917449b99a91314"
940+
integrity sha512-92h723Kblt9JcT2RRY3QS2xefFKar4ZQFVs3GityOKWQYgtajxt/tuXIzL7sVCUlM1hgreiV5gkGYyBpdOwO6A==
941+
dependencies:
942+
"@types/json-schema" "^7.0.3"
943+
"@typescript-eslint/scope-manager" "4.18.0"
944+
"@typescript-eslint/types" "4.18.0"
945+
"@typescript-eslint/typescript-estree" "4.18.0"
946+
eslint-scope "^5.0.0"
947+
eslint-utils "^2.0.0"
948+
949+
"@typescript-eslint/experimental-utils@^4.0.1":
938950
version "4.15.2"
939951
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.15.2.tgz#5efd12355bd5b535e1831282e6cf465b9a71cf36"
940952
integrity sha512-Fxoshw8+R5X3/Vmqwsjc8nRO/7iTysRtDqx6rlfLZ7HbT8TZhPeQqbPjTyk2RheH3L8afumecTQnUc9EeXxohQ==
@@ -946,14 +958,14 @@
946958
eslint-scope "^5.0.0"
947959
eslint-utils "^2.0.0"
948960

949-
"@typescript-eslint/parser@^4.15.2":
950-
version "4.15.2"
951-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.15.2.tgz#c804474321ef76a3955aec03664808f0d6e7872e"
952-
integrity sha512-SHeF8xbsC6z2FKXsaTb1tBCf0QZsjJ94H6Bo51Y1aVEZ4XAefaw5ZAilMoDPlGghe+qtq7XdTiDlGfVTOmvA+Q==
961+
"@typescript-eslint/parser@^4.18.0":
962+
version "4.18.0"
963+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.18.0.tgz#a211edb14a69fc5177054bec04c95b185b4dde21"
964+
integrity sha512-W3z5S0ZbecwX3PhJEAnq4mnjK5JJXvXUDBYIYGoweCyWyuvAKfGHvzmpUzgB5L4cRBb+cTu9U/ro66dx7dIimA==
953965
dependencies:
954-
"@typescript-eslint/scope-manager" "4.15.2"
955-
"@typescript-eslint/types" "4.15.2"
956-
"@typescript-eslint/typescript-estree" "4.15.2"
966+
"@typescript-eslint/scope-manager" "4.18.0"
967+
"@typescript-eslint/types" "4.18.0"
968+
"@typescript-eslint/typescript-estree" "4.18.0"
957969
debug "^4.1.1"
958970

959971
"@typescript-eslint/[email protected]":
@@ -964,11 +976,24 @@
964976
"@typescript-eslint/types" "4.15.2"
965977
"@typescript-eslint/visitor-keys" "4.15.2"
966978

979+
"@typescript-eslint/[email protected]":
980+
version "4.18.0"
981+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.18.0.tgz#d75b55234c35d2ff6ac945758d6d9e53be84a427"
982+
integrity sha512-olX4yN6rvHR2eyFOcb6E4vmhDPsfdMyfQ3qR+oQNkAv8emKKlfxTWUXU5Mqxs2Fwe3Pf1BoPvrwZtwngxDzYzQ==
983+
dependencies:
984+
"@typescript-eslint/types" "4.18.0"
985+
"@typescript-eslint/visitor-keys" "4.18.0"
986+
967987
"@typescript-eslint/[email protected]":
968988
version "4.15.2"
969989
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.15.2.tgz#04acf3a2dc8001a88985291744241e732ef22c60"
970990
integrity sha512-r7lW7HFkAarfUylJ2tKndyO9njwSyoy6cpfDKWPX6/ctZA+QyaYscAHXVAfJqtnY6aaTwDYrOhp+ginlbc7HfQ==
971991

992+
"@typescript-eslint/[email protected]":
993+
version "4.18.0"
994+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.18.0.tgz#bebe323f81f2a7e2e320fac9415e60856267584a"
995+
integrity sha512-/BRociARpj5E+9yQ7cwCF/SNOWwXJ3qhjurMuK2hIFUbr9vTuDeu476Zpu+ptxY2kSxUHDGLLKy+qGq2sOg37A==
996+
972997
"@typescript-eslint/[email protected]":
973998
version "4.15.2"
974999
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.15.2.tgz#c2f7a1e94f3428d229d5ecff3ead6581ee9b62fa"
@@ -982,6 +1007,19 @@
9821007
semver "^7.3.2"
9831008
tsutils "^3.17.1"
9841009

1010+
"@typescript-eslint/[email protected]":
1011+
version "4.18.0"
1012+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.18.0.tgz#756d3e61da8c16ab99185532c44872f4cd5538cb"
1013+
integrity sha512-wt4xvF6vvJI7epz+rEqxmoNQ4ZADArGQO9gDU+cM0U5fdVv7N+IAuVoVAoZSOZxzGHBfvE3XQMLdy+scsqFfeg==
1014+
dependencies:
1015+
"@typescript-eslint/types" "4.18.0"
1016+
"@typescript-eslint/visitor-keys" "4.18.0"
1017+
debug "^4.1.1"
1018+
globby "^11.0.1"
1019+
is-glob "^4.0.1"
1020+
semver "^7.3.2"
1021+
tsutils "^3.17.1"
1022+
9851023
"@typescript-eslint/[email protected]":
9861024
version "4.15.2"
9871025
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.15.2.tgz#3d1c7979ce75bf6acf9691109bd0d6b5706192b9"
@@ -990,6 +1028,14 @@
9901028
"@typescript-eslint/types" "4.15.2"
9911029
eslint-visitor-keys "^2.0.0"
9921030

1031+
"@typescript-eslint/[email protected]":
1032+
version "4.18.0"
1033+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.18.0.tgz#4e6fe2a175ee33418318a029610845a81e2ff7b6"
1034+
integrity sha512-Q9t90JCvfYaN0OfFUgaLqByOfz8yPeTAdotn/XYNm5q9eHax90gzdb+RJ6E9T5s97Kv/UHWKERTmqA0jTKAEHw==
1035+
dependencies:
1036+
"@typescript-eslint/types" "4.18.0"
1037+
eslint-visitor-keys "^2.0.0"
1038+
9931039
abab@^2.0.0:
9941040
version "2.0.5"
9951041
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a"
@@ -5050,10 +5096,10 @@ map-visit@^1.0.0:
50505096
dependencies:
50515097
object-visit "^1.0.0"
50525098

5053-
marked@^2.0.0:
5054-
version "2.0.0"
5055-
resolved "https://registry.yarnpkg.com/marked/-/marked-2.0.0.tgz#9662bbcb77ebbded0662a7be66ff929a8611cee5"
5056-
integrity sha512-NqRSh2+LlN2NInpqTQnS614Y/3NkVMFFU6sJlRFEpxJ/LHuK/qJECH7/fXZjk4VZstPW/Pevjil/VtSONsLc7Q==
5099+
marked@^2.0.1:
5100+
version "2.0.1"
5101+
resolved "https://registry.yarnpkg.com/marked/-/marked-2.0.1.tgz#5e7ed7009bfa5c95182e4eb696f85e948cefcee3"
5102+
integrity sha512-5+/fKgMv2hARmMW7DOpykr2iLhl0NgjyELk5yn92iE7z8Se1IS9n3UsFm86hFXIkvMBmVxki8+ckcpjBeyo/hw==
50575103

50585104
md5.js@^1.3.4:
50595105
version "1.3.5"
@@ -6419,10 +6465,10 @@ shellwords@^0.1.1:
64196465
resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
64206466
integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==
64216467

6422-
shiki@^0.9.2:
6423-
version "0.9.2"
6424-
resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.9.2.tgz#b9e660b750d38923275765c4dc4c92b23877b115"
6425-
integrity sha512-BjUCxVbxMnvjs8jC4b+BQ808vwjJ9Q8NtLqPwXShZ307HdXiDFYP968ORSVfaTNNSWYDBYdMnVKJ0fYNsoZUBA==
6468+
shiki@^0.9.3:
6469+
version "0.9.3"
6470+
resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.9.3.tgz#7bf7bcf3ed50ca525ec89cc09254abce4264d5ca"
6471+
integrity sha512-NEjg1mVbAUrzRv2eIcUt3TG7X9svX7l3n3F5/3OdFq+/BxUdmBOeKGiH4icZJBLHy354Shnj6sfBTemea2e7XA==
64266472
dependencies:
64276473
onigasm "^2.2.5"
64286474
vscode-textmate "^5.2.0"
@@ -7030,32 +7076,32 @@ typedarray-to-buffer@^3.1.5:
70307076
dependencies:
70317077
is-typedarray "^1.0.0"
70327078

7033-
typedoc-default-themes@^0.12.7:
7034-
version "0.12.7"
7035-
resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.12.7.tgz#d44f68d40a3e90a19b5ea7be4cc6ed949afe768d"
7036-
integrity sha512-0XAuGEqID+gon1+fhi4LycOEFM+5Mvm2PjwaiVZNAzU7pn3G2DEpsoXnFOPlLDnHY6ZW0BY0nO7ur9fHOFkBLQ==
7079+
typedoc-default-themes@^0.12.9:
7080+
version "0.12.9"
7081+
resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.12.9.tgz#97dfecb74faca36f8aff81d3be984b095d2bbbd8"
7082+
integrity sha512-Jd5fYTiqzinZdoIY382W7tQXTwAzWRdg8KbHfaxmb78m1/3jL9riXtk23oBOKwhi8GFVykCOdPzEJKY87/D0LQ==
70377083

7038-
typedoc@^0.20.28:
7039-
version "0.20.28"
7040-
resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.20.28.tgz#6c454904d864dd43a2de9228c44b91e3c53d98ce"
7041-
integrity sha512-8j0T8u9FuyDkoe+M/3cyoaGJSVgXCY9KwVoo7TLUnmQuzXwqH+wkScY530ZEdK6G39UZ2LFTYPIrL5eykWjx6A==
7084+
typedoc@^0.20.32:
7085+
version "0.20.32"
7086+
resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.20.32.tgz#d06fc4cce12dca66797220bbd289bac9f4481b5b"
7087+
integrity sha512-GSopd/tiqoKE3fEdvhoaEpR9yrEPsR9tknAjkoeSPL6p1Rq5aVsKxBhhF6cwoDJ7oWjpvnm8vs0rQN0BxEHuWQ==
70427088
dependencies:
70437089
colors "^1.4.0"
70447090
fs-extra "^9.1.0"
70457091
handlebars "^4.7.7"
70467092
lodash "^4.17.21"
70477093
lunr "^2.3.9"
7048-
marked "^2.0.0"
7094+
marked "^2.0.1"
70497095
minimatch "^3.0.0"
70507096
progress "^2.0.3"
70517097
shelljs "^0.8.4"
7052-
shiki "^0.9.2"
7053-
typedoc-default-themes "^0.12.7"
7098+
shiki "^0.9.3"
7099+
typedoc-default-themes "^0.12.9"
70547100

7055-
typescript@~4.1.5:
7056-
version "4.1.5"
7057-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.5.tgz#123a3b214aaff3be32926f0d8f1f6e704eb89a72"
7058-
integrity sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA==
7101+
typescript@~4.2.2:
7102+
version "4.2.2"
7103+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.2.tgz#1450f020618f872db0ea17317d16d8da8ddb8c4c"
7104+
integrity sha512-tbb+NVrLfnsJy3M59lsDgrzWIflR4d4TIUjz+heUnHZwdF7YsrMTKoRERiIvI2lvBG95dfpLxB21WZhys1bgaQ==
70597105

70607106
uglify-js@^3.1.4:
70617107
version "3.6.5"

0 commit comments

Comments
 (0)