Skip to content

Commit

Permalink
fix: add resolutions to use react 18 & @types/styled-components
Browse files Browse the repository at this point in the history
DefinitelyTyped/DefinitelyTyped#59765
be committed: # modified:  package.json # modified:  yarn.lock #
  • Loading branch information
pokutuna committed May 17, 2022
1 parent 64c536b commit d88fce7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
"lodash.debounce": "4.0.8",
"mustache": "4.2.0",
"prismjs": "1.28.0",
"react": "^18.1.0",
"react": "18.1.0",
"react-dnd": "15.1.2",
"react-dnd-html5-backend": "15.1.3",
"react-dom": "^18.1.0",
"react-dom": "18.1.0",
"react-router-dom": "6.3.0",
"react-simple-code-editor": "0.11.0",
"styled-components": "5.3.5"
Expand All @@ -57,8 +57,8 @@
"@types/lodash.debounce": "4.0.7",
"@types/mustache": "4.1.2",
"@types/node": "14.18.18",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.4",
"@types/react": "18.0.9",
"@types/react-dom": "18.0.4",
"@types/react-router-dom": "5.3.3",
"@types/styled-components": "5.1.25",
"ajv-cli": "5.0.0",
Expand Down Expand Up @@ -88,5 +88,8 @@
},
"engines": {
"node": ">=16"
},
"resolutions": {
"@types/react": "18.0.9"
}
}
16 changes: 4 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7"
integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==

"@types/react-dom@^18.0.0", "@types/react-dom@^18.0.4":
"@types/react-dom@18.0.4", "@types/react-dom@^18.0.0":
version "18.0.4"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.0.4.tgz#dcbcadb277bcf6c411ceff70069424c57797d375"
integrity sha512-FgTtbqPOCI3dzZPZoC2T/sx3L34qxy99ITWn4eoSA95qPyXDMH0ALoAqUp49ITniiJFsXUVBtalh/KffMpg21Q==
Expand All @@ -1001,15 +1001,7 @@
"@types/history" "*"
"@types/react" "*"

"@types/react@*":
version "17.0.0"
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.0.tgz#5af3eb7fad2807092f0046a1302b7823e27919b8"
integrity sha512-aj/L7RIMsRlWML3YB6KZiXB3fV2t41+5RBGYF8z+tAKU43Px8C3cYUZsDvf1/+Bm4FK21QWBrDutu8ZJ/70qOw==
dependencies:
"@types/prop-types" "*"
csstype "^3.0.2"

"@types/react@^18.0.9":
"@types/react@*", "@types/react@18.0.9":
version "18.0.9"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.9.tgz#d6712a38bd6cd83469603e7359511126f122e878"
integrity sha512-9bjbg1hJHUm4De19L1cHiW0Jvx3geel6Qczhjd0qY5VKVE2X5+x77YxAepuCwVh4vrgZJdgEJw48zrhRIeF4Nw==
Expand Down Expand Up @@ -4990,7 +4982,7 @@ react-dnd@15.1.2:
fast-deep-equal "^3.1.3"
hoist-non-react-statics "^3.3.2"

react-dom@^18.1.0:
react-dom@18.1.0:
version "18.1.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.1.0.tgz#7f6dd84b706408adde05e1df575b3a024d7e8a2f"
integrity sha512-fU1Txz7Budmvamp7bshe4Zi32d0ll7ect+ccxNu9FlObT605GOEB8BfO4tmRJ39R5Zj831VCpvQ05QPBW5yb+w==
Expand Down Expand Up @@ -5033,7 +5025,7 @@ react-simple-code-editor@0.11.0:
resolved "https://registry.yarnpkg.com/react-simple-code-editor/-/react-simple-code-editor-0.11.0.tgz#bb57c7c29b570f2ab229872599eac184f5bc673c"
integrity sha512-xGfX7wAzspl113ocfKQAR8lWPhavGWHL3xSzNLeseDRHysT+jzRBi/ExdUqevSMos+7ZtdfeuBOXtgk9HTwsrw==

react@^18.1.0:
react@18.1.0:
version "18.1.0"
resolved "https://registry.yarnpkg.com/react/-/react-18.1.0.tgz#6f8620382decb17fdc5cc223a115e2adbf104890"
integrity sha512-4oL8ivCz5ZEPyclFQXaNksK3adutVS8l2xzZU0cqEFrE9Sb7fC0EFK5uEk74wIreL1DERyjvsU915j1pcT2uEQ==
Expand Down

0 comments on commit d88fce7

Please sign in to comment.