Skip to content

Commit

Permalink
Bump @types/node+react, react to fix build
Browse files Browse the repository at this point in the history
startTransition is now fully supported, so need to remove unused @ts-expect-error
  • Loading branch information
jpfisher72 committed Jul 10, 2024
1 parent 49faad3 commit be8f6d1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 13 deletions.
6 changes: 3 additions & 3 deletions screen2.0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"@mui/icons-material": "^5.15.7",
"@mui/lab": "^5.0.0-alpha.170",
"@mui/material": "^5.15.7",
"@types/node": "^20.11.16",
"@types/react": "^18.2.52",
"@types/node": "^20.14.6",
"@types/react": "^18.3.3",
"@types/react-dom": "18.2.18",
"@weng-lab/psychscreen-ui-components": "^0.8.6",
"@weng-lab/ts-ztable": "^4.0.1",
Expand All @@ -60,7 +60,7 @@
"only": "^0.0.2",
"postcss": "8.4.33",
"queryz": "^0.0.3",
"react": "18.2.0",
"react": "18.3.1",
"react-dom": "18.2.0",
"react-dropzone": "^14.2.3",
"semantic-ui-react": "latest",
Expand Down
1 change: 0 additions & 1 deletion screen2.0/src/app/search/searchhelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,6 @@ export const downloadBED = async (
let dataArray: MainQueryData[] = []
let linkedGenesArray: RawLinkedGenesData[] = []

//@ts-expect-error
startTransition(async () => {
for (let i = 0; i < ranges.length; i++) {
const range = ranges[i];
Expand Down
37 changes: 28 additions & 9 deletions screen2.0/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*, @types/node@npm:>=10.0.0, @types/node@npm:^20.11.16":
"@types/node@npm:*, @types/node@npm:>=10.0.0":
version: 20.11.25
resolution: "@types/node@npm:20.11.25"
dependencies:
Expand All @@ -1202,6 +1202,15 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:^20.14.6":
version: 20.14.10
resolution: "@types/node@npm:20.14.10"
dependencies:
undici-types: ~5.26.4
checksum: 2f397d393de8cddb126e0b7999402ea450215ac69d49666ddef4f730a73325054499ce7345f86095e7b935c55b2e02139f3b8b9afc72fb978ed29edf6bb956b0
languageName: node
linkType: hard

"@types/parse-json@npm:^4.0.0":
version: 4.0.2
resolution: "@types/parse-json@npm:4.0.2"
Expand Down Expand Up @@ -1234,7 +1243,7 @@ __metadata:
languageName: node
linkType: hard

"@types/react@npm:*, @types/react@npm:^18.2.52":
"@types/react@npm:*":
version: 18.2.64
resolution: "@types/react@npm:18.2.64"
dependencies:
Expand All @@ -1245,6 +1254,16 @@ __metadata:
languageName: node
linkType: hard

"@types/react@npm:^18.3.3":
version: 18.3.3
resolution: "@types/react@npm:18.3.3"
dependencies:
"@types/prop-types": "*"
csstype: ^3.0.2
checksum: c63d6a78163244e2022b01ef79b0baec4fe4da3475dc4a90bb8accefad35ef0c43560fd0312e5974f92a0f1108aa4d669ac72d73d66396aa060ea03b5d2e3873
languageName: node
linkType: hard

"@types/scheduler@npm:*":
version: 0.16.8
resolution: "@types/scheduler@npm:0.16.8"
Expand Down Expand Up @@ -6611,12 +6630,12 @@ __metadata:
languageName: node
linkType: hard

"react@npm:18.2.0":
version: 18.2.0
resolution: "react@npm:18.2.0"
"react@npm:18.3.1":
version: 18.3.1
resolution: "react@npm:18.3.1"
dependencies:
loose-envify: ^1.1.0
checksum: 88e38092da8839b830cda6feef2e8505dec8ace60579e46aa5490fc3dc9bba0bd50336507dc166f43e3afc1c42939c09fe33b25fae889d6f402721dcd78fca1b
checksum: a27bcfa8ff7c15a1e50244ad0d0c1cb2ad4375eeffefd266a64889beea6f6b64c4966c9b37d14ee32d6c9fcd5aa6ba183b6988167ab4d127d13e7cb5b386a376
languageName: node
linkType: hard

Expand Down Expand Up @@ -6963,8 +6982,8 @@ __metadata:
"@mui/icons-material": ^5.15.7
"@mui/lab": ^5.0.0-alpha.170
"@mui/material": ^5.15.7
"@types/node": ^20.11.16
"@types/react": ^18.2.52
"@types/node": ^20.14.6
"@types/react": ^18.3.3
"@types/react-dom": 18.2.18
"@weng-lab/psychscreen-ui-components": ^0.8.6
"@weng-lab/ts-ztable": ^4.0.1
Expand All @@ -6983,7 +7002,7 @@ __metadata:
postcss: 8.4.33
prettier: ^3.2.5
queryz: ^0.0.3
react: 18.2.0
react: 18.3.1
react-dom: 18.2.0
react-dropzone: ^14.2.3
semantic-ui-react: latest
Expand Down

0 comments on commit be8f6d1

Please sign in to comment.