diff --git a/package.json b/package.json index 56d1a9c0..1dccf512 100644 --- a/package.json +++ b/package.json @@ -42,8 +42,8 @@ "@testing-library/user-event": "14.5.2", "@trivago/prettier-plugin-sort-imports": "4.3.0", "@types/jsdom": "21.1.7", - "@types/react": "18.3.12", - "@types/react-dom": "18.3.1", + "@types/react": "19.0.2", + "@types/react-dom": "19.0.2", "@types/uuid": "10.0.0", "@typescript-eslint/eslint-plugin": "8.15.0", "@typescript-eslint/parser": "8.15.0", @@ -64,8 +64,8 @@ "mock-socket": "9.3.1", "nock": "13.5.6", "prettier": "3.3.3", - "react": "18.3.1", - "react-dom": "18.3.1", + "react": "19.0.0", + "react-dom": "19.0.0", "ts-node": "10.9.2", "tsc-alias": "1.8.10", "typescript": "5.6.3", @@ -75,7 +75,7 @@ "peerDependencies": { "@graasp/sdk": "^4.0.0 || ^5.0.0", "@graasp/translations": "*", - "react": "^18.0.0" + "react": "^18.0.0 || ^19.0.0" }, "scripts": { "build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json", diff --git a/yarn.lock b/yarn.lock index 49cfbb0a..49932e05 100644 --- a/yarn.lock +++ b/yarn.lock @@ -652,8 +652,8 @@ __metadata: "@testing-library/user-event": "npm:14.5.2" "@trivago/prettier-plugin-sort-imports": "npm:4.3.0" "@types/jsdom": "npm:21.1.7" - "@types/react": "npm:18.3.12" - "@types/react-dom": "npm:18.3.1" + "@types/react": "npm:19.0.2" + "@types/react-dom": "npm:19.0.2" "@types/uuid": "npm:10.0.0" "@typescript-eslint/eslint-plugin": "npm:8.15.0" "@typescript-eslint/parser": "npm:8.15.0" @@ -676,8 +676,8 @@ __metadata: mock-socket: "npm:9.3.1" nock: "npm:13.5.6" prettier: "npm:3.3.3" - react: "npm:18.3.1" - react-dom: "npm:18.3.1" + react: "npm:19.0.0" + react-dom: "npm:19.0.0" ts-node: "npm:10.9.2" tsc-alias: "npm:1.8.10" typescript: "npm:5.6.3" @@ -686,7 +686,7 @@ __metadata: peerDependencies: "@graasp/sdk": ^4.0.0 || ^5.0.0 "@graasp/translations": "*" - react: ^18.0.0 + react: ^18.0.0 || ^19.0.0 languageName: unknown linkType: soft @@ -1200,39 +1200,21 @@ __metadata: languageName: node linkType: hard -"@types/prop-types@npm:*": - version: 15.7.12 - resolution: "@types/prop-types@npm:15.7.12" - checksum: 10/ac16cc3d0a84431ffa5cfdf89579ad1e2269549f32ce0c769321fdd078f84db4fbe1b461ed5a1a496caf09e637c0e367d600c541435716a55b1d9713f5035dfe - languageName: node - linkType: hard - -"@types/react-dom@npm:18.3.1": - version: 18.3.1 - resolution: "@types/react-dom@npm:18.3.1" - dependencies: - "@types/react": "npm:*" - checksum: 10/33f9ba79b26641ddf00a8699c30066b7e3573ab254e97475bf08f82fab83a6d3ce8d4ebad86afeb49bb8df3374390a9ba93125cece33badc4b3e8f7eac3c84d8 - languageName: node - linkType: hard - -"@types/react@npm:*": - version: 18.3.4 - resolution: "@types/react@npm:18.3.4" - dependencies: - "@types/prop-types": "npm:*" - csstype: "npm:^3.0.2" - checksum: 10/359973924be42cf9e7366e1d885b28e0b3bd56d31f24458c5351af7a3f2fc070511e90d517b2195fb229146cdcb70342db6318e279c31dd5057beec1105b704e +"@types/react-dom@npm:19.0.2": + version: 19.0.2 + resolution: "@types/react-dom@npm:19.0.2" + peerDependencies: + "@types/react": ^19.0.0 + checksum: 10/d2ae81ec0b8eee7a4bf31918796fdaa34e8db68f69682163bc212d759de76783e6ffcc02c02722dcf508429067148841e6da81414cc730ca2a28c9c2b350c880 languageName: node linkType: hard -"@types/react@npm:18.3.12": - version: 18.3.12 - resolution: "@types/react@npm:18.3.12" +"@types/react@npm:19.0.2": + version: 19.0.2 + resolution: "@types/react@npm:19.0.2" dependencies: - "@types/prop-types": "npm:*" csstype: "npm:^3.0.2" - checksum: 10/c9bbdfeacd5347d2240e0d2cb5336bc57dbc1b9ff557b6c4024b49df83419e4955553518169d3736039f1b62608e15b35762a6c03d49bd86e33add4b43b19033 + checksum: 10/b355cfa22814e934b381c4f6de67c66652255377c3ddc6a757ea195ccbd0e7095aadfe1a28713d8ab1221222b8f2ec237903f4ec0e54eaf656ac832782d25dd2 languageName: node linkType: hard @@ -4328,7 +4310,7 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0": +"loose-envify@npm:^1.4.0": version: 1.4.0 resolution: "loose-envify@npm:1.4.0" dependencies: @@ -5057,15 +5039,14 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:18.3.1": - version: 18.3.1 - resolution: "react-dom@npm:18.3.1" +"react-dom@npm:19.0.0": + version: 19.0.0 + resolution: "react-dom@npm:19.0.0" dependencies: - loose-envify: "npm:^1.1.0" - scheduler: "npm:^0.23.2" + scheduler: "npm:^0.25.0" peerDependencies: - react: ^18.3.1 - checksum: 10/3f4b73a3aa083091173b29812b10394dd06f4ac06aff410b74702cfb3aa29d7b0ced208aab92d5272919b612e5cda21aeb1d54191848cf6e46e9e354f3541f81 + react: ^19.0.0 + checksum: 10/aa64a2f1991042f516260e8b0eca0ae777b6c8f1aa2b5ae096e80bbb6ac9b005aef2bca697969841d34f7e1819556263476bdfea36c35092e8d9aefde3de2d9a languageName: node linkType: hard @@ -5083,12 +5064,10 @@ __metadata: languageName: node linkType: hard -"react@npm:18.3.1": - version: 18.3.1 - resolution: "react@npm:18.3.1" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10/261137d3f3993eaa2368a83110466fc0e558bc2c7f7ae7ca52d94f03aac945f45146bd85e5f481044db1758a1dbb57879e2fcdd33924e2dde1bdc550ce73f7bf +"react@npm:19.0.0": + version: 19.0.0 + resolution: "react@npm:19.0.0" + checksum: 10/2490969c503f644703c88990d20e4011fa6119ddeca451e9de48f6d7ab058d670d2852a5fcd3aa3cd90a923ab2815d532637bd4a814add402ae5c0d4f129ee71 languageName: node linkType: hard @@ -5354,12 +5333,10 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:^0.23.2": - version: 0.23.2 - resolution: "scheduler@npm:0.23.2" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10/e8d68b89d18d5b028223edf090092846868a765a591944760942b77ea1f69b17235f7e956696efbb62c8130ab90af7e0949bfb8eba7896335507317236966bc9 +"scheduler@npm:^0.25.0": + version: 0.25.0 + resolution: "scheduler@npm:0.25.0" + checksum: 10/e661e38503ab29a153429a99203fefa764f28b35c079719eb5efdd2c1c1086522f6653d8ffce388209682c23891a6d1d32fa6badf53c35fb5b9cd0c55ace42de languageName: node linkType: hard