Skip to content

Commit f402e1f

Browse files
committed
Update TypeScript to v4.2
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 2aa59fa commit f402e1f

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
@@ -67,8 +67,8 @@
6767
"@types/node": "^14.14.31",
6868
"@types/sinon": "^9.0.10",
6969
"@types/web3": "^1.0.6",
70-
"@typescript-eslint/eslint-plugin": "^4.15.2",
71-
"@typescript-eslint/parser": "^4.15.2",
70+
"@typescript-eslint/eslint-plugin": "^4.18.0",
71+
"@typescript-eslint/parser": "^4.18.0",
7272
"eslint": "^7.20.0",
7373
"eslint-plugin-import": "^2.22.1",
7474
"eslint-plugin-jest": "^24.1.5",
@@ -81,8 +81,8 @@
8181
"prettier": "^2.2.1",
8282
"sinon": "^9.2.4",
8383
"ts-jest": "^26.5.2",
84-
"typedoc": "^0.20.28",
85-
"typescript": "~4.1.5"
84+
"typedoc": "^0.20.32",
85+
"typescript": "~4.2.2"
8686
},
8787
"jest": {
8888
"moduleFileExtensions": [

yarn.lock

Lines changed: 83 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -915,21 +915,33 @@
915915
dependencies:
916916
"@types/yargs-parser" "*"
917917

918-
"@typescript-eslint/eslint-plugin@^4.15.2":
919-
version "4.15.2"
920-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.15.2.tgz#981b26b4076c62a5a55873fbef3fe98f83360c61"
921-
integrity sha512-uiQQeu9tWl3f1+oK0yoAv9lt/KXO24iafxgQTkIYO/kitruILGx3uH+QtIAHqxFV+yIsdnJH+alel9KuE3J15Q==
918+
"@typescript-eslint/eslint-plugin@^4.18.0":
919+
version "4.18.0"
920+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.18.0.tgz#50fbce93211b5b690895d20ebec6fe8db48af1f6"
921+
integrity sha512-Lzkc/2+7EoH7+NjIWLS2lVuKKqbEmJhtXe3rmfA8cyiKnZm3IfLf51irnBcmow8Q/AptVV0XBZmBJKuUJTe6cQ==
922922
dependencies:
923-
"@typescript-eslint/experimental-utils" "4.15.2"
924-
"@typescript-eslint/scope-manager" "4.15.2"
923+
"@typescript-eslint/experimental-utils" "4.18.0"
924+
"@typescript-eslint/scope-manager" "4.18.0"
925925
debug "^4.1.1"
926926
functional-red-black-tree "^1.0.1"
927927
lodash "^4.17.15"
928928
regexpp "^3.0.0"
929929
semver "^7.3.2"
930930
tsutils "^3.17.1"
931931

932-
"@typescript-eslint/[email protected]", "@typescript-eslint/experimental-utils@^4.0.1":
932+
"@typescript-eslint/[email protected]":
933+
version "4.18.0"
934+
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.18.0.tgz#ed6c955b940334132b17100d2917449b99a91314"
935+
integrity sha512-92h723Kblt9JcT2RRY3QS2xefFKar4ZQFVs3GityOKWQYgtajxt/tuXIzL7sVCUlM1hgreiV5gkGYyBpdOwO6A==
936+
dependencies:
937+
"@types/json-schema" "^7.0.3"
938+
"@typescript-eslint/scope-manager" "4.18.0"
939+
"@typescript-eslint/types" "4.18.0"
940+
"@typescript-eslint/typescript-estree" "4.18.0"
941+
eslint-scope "^5.0.0"
942+
eslint-utils "^2.0.0"
943+
944+
"@typescript-eslint/experimental-utils@^4.0.1":
933945
version "4.15.2"
934946
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.15.2.tgz#5efd12355bd5b535e1831282e6cf465b9a71cf36"
935947
integrity sha512-Fxoshw8+R5X3/Vmqwsjc8nRO/7iTysRtDqx6rlfLZ7HbT8TZhPeQqbPjTyk2RheH3L8afumecTQnUc9EeXxohQ==
@@ -941,14 +953,14 @@
941953
eslint-scope "^5.0.0"
942954
eslint-utils "^2.0.0"
943955

944-
"@typescript-eslint/parser@^4.15.2":
945-
version "4.15.2"
946-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.15.2.tgz#c804474321ef76a3955aec03664808f0d6e7872e"
947-
integrity sha512-SHeF8xbsC6z2FKXsaTb1tBCf0QZsjJ94H6Bo51Y1aVEZ4XAefaw5ZAilMoDPlGghe+qtq7XdTiDlGfVTOmvA+Q==
956+
"@typescript-eslint/parser@^4.18.0":
957+
version "4.18.0"
958+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.18.0.tgz#a211edb14a69fc5177054bec04c95b185b4dde21"
959+
integrity sha512-W3z5S0ZbecwX3PhJEAnq4mnjK5JJXvXUDBYIYGoweCyWyuvAKfGHvzmpUzgB5L4cRBb+cTu9U/ro66dx7dIimA==
948960
dependencies:
949-
"@typescript-eslint/scope-manager" "4.15.2"
950-
"@typescript-eslint/types" "4.15.2"
951-
"@typescript-eslint/typescript-estree" "4.15.2"
961+
"@typescript-eslint/scope-manager" "4.18.0"
962+
"@typescript-eslint/types" "4.18.0"
963+
"@typescript-eslint/typescript-estree" "4.18.0"
952964
debug "^4.1.1"
953965

954966
"@typescript-eslint/[email protected]":
@@ -959,11 +971,24 @@
959971
"@typescript-eslint/types" "4.15.2"
960972
"@typescript-eslint/visitor-keys" "4.15.2"
961973

974+
"@typescript-eslint/[email protected]":
975+
version "4.18.0"
976+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.18.0.tgz#d75b55234c35d2ff6ac945758d6d9e53be84a427"
977+
integrity sha512-olX4yN6rvHR2eyFOcb6E4vmhDPsfdMyfQ3qR+oQNkAv8emKKlfxTWUXU5Mqxs2Fwe3Pf1BoPvrwZtwngxDzYzQ==
978+
dependencies:
979+
"@typescript-eslint/types" "4.18.0"
980+
"@typescript-eslint/visitor-keys" "4.18.0"
981+
962982
"@typescript-eslint/[email protected]":
963983
version "4.15.2"
964984
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.15.2.tgz#04acf3a2dc8001a88985291744241e732ef22c60"
965985
integrity sha512-r7lW7HFkAarfUylJ2tKndyO9njwSyoy6cpfDKWPX6/ctZA+QyaYscAHXVAfJqtnY6aaTwDYrOhp+ginlbc7HfQ==
966986

987+
"@typescript-eslint/[email protected]":
988+
version "4.18.0"
989+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.18.0.tgz#bebe323f81f2a7e2e320fac9415e60856267584a"
990+
integrity sha512-/BRociARpj5E+9yQ7cwCF/SNOWwXJ3qhjurMuK2hIFUbr9vTuDeu476Zpu+ptxY2kSxUHDGLLKy+qGq2sOg37A==
991+
967992
"@typescript-eslint/[email protected]":
968993
version "4.15.2"
969994
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.15.2.tgz#c2f7a1e94f3428d229d5ecff3ead6581ee9b62fa"
@@ -977,6 +1002,19 @@
9771002
semver "^7.3.2"
9781003
tsutils "^3.17.1"
9791004

1005+
"@typescript-eslint/[email protected]":
1006+
version "4.18.0"
1007+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.18.0.tgz#756d3e61da8c16ab99185532c44872f4cd5538cb"
1008+
integrity sha512-wt4xvF6vvJI7epz+rEqxmoNQ4ZADArGQO9gDU+cM0U5fdVv7N+IAuVoVAoZSOZxzGHBfvE3XQMLdy+scsqFfeg==
1009+
dependencies:
1010+
"@typescript-eslint/types" "4.18.0"
1011+
"@typescript-eslint/visitor-keys" "4.18.0"
1012+
debug "^4.1.1"
1013+
globby "^11.0.1"
1014+
is-glob "^4.0.1"
1015+
semver "^7.3.2"
1016+
tsutils "^3.17.1"
1017+
9801018
"@typescript-eslint/[email protected]":
9811019
version "4.15.2"
9821020
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.15.2.tgz#3d1c7979ce75bf6acf9691109bd0d6b5706192b9"
@@ -985,6 +1023,14 @@
9851023
"@typescript-eslint/types" "4.15.2"
9861024
eslint-visitor-keys "^2.0.0"
9871025

1026+
"@typescript-eslint/[email protected]":
1027+
version "4.18.0"
1028+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.18.0.tgz#4e6fe2a175ee33418318a029610845a81e2ff7b6"
1029+
integrity sha512-Q9t90JCvfYaN0OfFUgaLqByOfz8yPeTAdotn/XYNm5q9eHax90gzdb+RJ6E9T5s97Kv/UHWKERTmqA0jTKAEHw==
1030+
dependencies:
1031+
"@typescript-eslint/types" "4.18.0"
1032+
eslint-visitor-keys "^2.0.0"
1033+
9881034
abab@^2.0.0:
9891035
version "2.0.5"
9901036
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a"
@@ -5045,10 +5091,10 @@ map-visit@^1.0.0:
50455091
dependencies:
50465092
object-visit "^1.0.0"
50475093

5048-
marked@^2.0.0:
5049-
version "2.0.0"
5050-
resolved "https://registry.yarnpkg.com/marked/-/marked-2.0.0.tgz#9662bbcb77ebbded0662a7be66ff929a8611cee5"
5051-
integrity sha512-NqRSh2+LlN2NInpqTQnS614Y/3NkVMFFU6sJlRFEpxJ/LHuK/qJECH7/fXZjk4VZstPW/Pevjil/VtSONsLc7Q==
5094+
marked@^2.0.1:
5095+
version "2.0.1"
5096+
resolved "https://registry.yarnpkg.com/marked/-/marked-2.0.1.tgz#5e7ed7009bfa5c95182e4eb696f85e948cefcee3"
5097+
integrity sha512-5+/fKgMv2hARmMW7DOpykr2iLhl0NgjyELk5yn92iE7z8Se1IS9n3UsFm86hFXIkvMBmVxki8+ckcpjBeyo/hw==
50525098

50535099
md5.js@^1.3.4:
50545100
version "1.3.5"
@@ -6414,10 +6460,10 @@ shellwords@^0.1.1:
64146460
resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
64156461
integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==
64166462

6417-
shiki@^0.9.2:
6418-
version "0.9.2"
6419-
resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.9.2.tgz#b9e660b750d38923275765c4dc4c92b23877b115"
6420-
integrity sha512-BjUCxVbxMnvjs8jC4b+BQ808vwjJ9Q8NtLqPwXShZ307HdXiDFYP968ORSVfaTNNSWYDBYdMnVKJ0fYNsoZUBA==
6463+
shiki@^0.9.3:
6464+
version "0.9.3"
6465+
resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.9.3.tgz#7bf7bcf3ed50ca525ec89cc09254abce4264d5ca"
6466+
integrity sha512-NEjg1mVbAUrzRv2eIcUt3TG7X9svX7l3n3F5/3OdFq+/BxUdmBOeKGiH4icZJBLHy354Shnj6sfBTemea2e7XA==
64216467
dependencies:
64226468
onigasm "^2.2.5"
64236469
vscode-textmate "^5.2.0"
@@ -7025,32 +7071,32 @@ typedarray-to-buffer@^3.1.5:
70257071
dependencies:
70267072
is-typedarray "^1.0.0"
70277073

7028-
typedoc-default-themes@^0.12.7:
7029-
version "0.12.7"
7030-
resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.12.7.tgz#d44f68d40a3e90a19b5ea7be4cc6ed949afe768d"
7031-
integrity sha512-0XAuGEqID+gon1+fhi4LycOEFM+5Mvm2PjwaiVZNAzU7pn3G2DEpsoXnFOPlLDnHY6ZW0BY0nO7ur9fHOFkBLQ==
7074+
typedoc-default-themes@^0.12.9:
7075+
version "0.12.9"
7076+
resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.12.9.tgz#97dfecb74faca36f8aff81d3be984b095d2bbbd8"
7077+
integrity sha512-Jd5fYTiqzinZdoIY382W7tQXTwAzWRdg8KbHfaxmb78m1/3jL9riXtk23oBOKwhi8GFVykCOdPzEJKY87/D0LQ==
70327078

7033-
typedoc@^0.20.28:
7034-
version "0.20.28"
7035-
resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.20.28.tgz#6c454904d864dd43a2de9228c44b91e3c53d98ce"
7036-
integrity sha512-8j0T8u9FuyDkoe+M/3cyoaGJSVgXCY9KwVoo7TLUnmQuzXwqH+wkScY530ZEdK6G39UZ2LFTYPIrL5eykWjx6A==
7079+
typedoc@^0.20.32:
7080+
version "0.20.32"
7081+
resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.20.32.tgz#d06fc4cce12dca66797220bbd289bac9f4481b5b"
7082+
integrity sha512-GSopd/tiqoKE3fEdvhoaEpR9yrEPsR9tknAjkoeSPL6p1Rq5aVsKxBhhF6cwoDJ7oWjpvnm8vs0rQN0BxEHuWQ==
70377083
dependencies:
70387084
colors "^1.4.0"
70397085
fs-extra "^9.1.0"
70407086
handlebars "^4.7.7"
70417087
lodash "^4.17.21"
70427088
lunr "^2.3.9"
7043-
marked "^2.0.0"
7089+
marked "^2.0.1"
70447090
minimatch "^3.0.0"
70457091
progress "^2.0.3"
70467092
shelljs "^0.8.4"
7047-
shiki "^0.9.2"
7048-
typedoc-default-themes "^0.12.7"
7093+
shiki "^0.9.3"
7094+
typedoc-default-themes "^0.12.9"
70497095

7050-
typescript@~4.1.5:
7051-
version "4.1.5"
7052-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.5.tgz#123a3b214aaff3be32926f0d8f1f6e704eb89a72"
7053-
integrity sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA==
7096+
typescript@~4.2.2:
7097+
version "4.2.2"
7098+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.2.tgz#1450f020618f872db0ea17317d16d8da8ddb8c4c"
7099+
integrity sha512-tbb+NVrLfnsJy3M59lsDgrzWIflR4d4TIUjz+heUnHZwdF7YsrMTKoRERiIvI2lvBG95dfpLxB21WZhys1bgaQ==
70547100

70557101
uglify-js@^3.1.4:
70567102
version "3.6.5"

0 commit comments

Comments
 (0)