Skip to content

Commit

Permalink
chore: Upgrade and consolidate @types/react (#22710)
Browse files Browse the repository at this point in the history
We used to only inherit it transitively via @types/prop-types, but a lot
of typings actually need it.

This will helps us pull the latest @type/reach__router package, which
(only implicitly, unfortuately) depends on more recent react types than
the ones we have.

For example, helps in #22563.
  • Loading branch information
Eyas committed Apr 3, 2020
1 parent 805b745 commit 4210f46
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -18,6 +18,7 @@
"@types/lodash": "^4.14.149",
"@types/node": "^12.12.30",
"@types/node-fetch": "^2.5.5",
"@types/react": "^16.9.31",
"@types/stack-trace": "^0.0.29",
"@types/webpack": "^4.41.7",
"@typescript-eslint/eslint-plugin": "^2.24.0",
Expand Down
21 changes: 13 additions & 8 deletions yarn.lock
Expand Up @@ -4052,10 +4052,9 @@
integrity sha512-Oh7wnvVUCtVIWnCHQWe9qDZKn0fGyk5AMq99jXml0x39K59P+z9qe31CNRtop9TceCpS7NmoK+J9eGeCnyFgnw==

"@types/prop-types@*":
version "15.5.5"
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.5.5.tgz#17038dd322c2325f5da650a94d5f9974943625e3"
dependencies:
"@types/react" "*"
version "15.7.3"
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7"
integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==

"@types/q@^1.5.1":
version "1.5.2"
Expand All @@ -4081,9 +4080,10 @@
dependencies:
"@types/react" "*"

"@types/react@*":
version "16.8.8"
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.8.8.tgz#4b60a469fd2469f7aa6eaa0f8cfbc51f6d76e662"
"@types/react@*", "@types/react@^16.9.31":
version "16.9.31"
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.31.tgz#6a543529766c8934ec8a89667376c2e73e9e2636"
integrity sha512-NpYJpNMWScFXtx3A2BJMeew2G3+9SEslVWMdxNJ6DLvxIuxWjY1bizK9q5Y1ujhln31vtjmhjOAYDr9Xx3k9FQ==
dependencies:
"@types/prop-types" "*"
csstype "^2.2.0"
Expand Down Expand Up @@ -8056,7 +8056,12 @@ cssstyle@^2.2.0:
dependencies:
cssom "~0.3.6"

csstype@^2.2.0, csstype@^2.5.7:
csstype@^2.2.0:
version "2.6.10"
resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.10.tgz#e63af50e66d7c266edb6b32909cfd0aabe03928b"
integrity sha512-D34BqZU4cIlMCY93rZHbrq9pjTAQJ3U8S8rfBqjwHxkGPThWFjzZDQpgMJY0QViLxth6ZKYiwFBo14RdN44U/w==

csstype@^2.5.7:
version "2.6.5"
resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.5.tgz#1cd1dff742ebf4d7c991470ae71e12bb6751e034"
integrity sha512-JsTaiksRsel5n7XwqPAfB0l3TFKdpjW/kgAELf9vrb5adGA7UCPLajKK5s3nFrcFm3Rkyp/Qkgl73ENc1UY3cA==
Expand Down

0 comments on commit 4210f46

Please sign in to comment.