From be8f6d168d13c2413c8dccc6cde7124cf7ebc985 Mon Sep 17 00:00:00 2001 From: jpfisher72 Date: Wed, 10 Jul 2024 12:05:55 -0400 Subject: [PATCH] Bump @types/node+react, react to fix build startTransition is now fully supported, so need to remove unused @ts-expect-error --- screen2.0/package.json | 6 ++-- screen2.0/src/app/search/searchhelpers.ts | 1 - screen2.0/yarn.lock | 37 +++++++++++++++++------ 3 files changed, 31 insertions(+), 13 deletions(-) diff --git a/screen2.0/package.json b/screen2.0/package.json index 25cfa356..8d414ee0 100644 --- a/screen2.0/package.json +++ b/screen2.0/package.json @@ -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", @@ -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", diff --git a/screen2.0/src/app/search/searchhelpers.ts b/screen2.0/src/app/search/searchhelpers.ts index e417e7e2..681d5dcf 100644 --- a/screen2.0/src/app/search/searchhelpers.ts +++ b/screen2.0/src/app/search/searchhelpers.ts @@ -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]; diff --git a/screen2.0/yarn.lock b/screen2.0/yarn.lock index 094e08c9..825259fb 100644 --- a/screen2.0/yarn.lock +++ b/screen2.0/yarn.lock @@ -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: @@ -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" @@ -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: @@ -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" @@ -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 @@ -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 @@ -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