diff --git a/packages/create-anywidget/package.json b/packages/create-anywidget/package.json index 5d34208c..479e420d 100644 --- a/packages/create-anywidget/package.json +++ b/packages/create-anywidget/package.json @@ -28,10 +28,10 @@ "@anywidget/react": "workspace:^", "@anywidget/types": "workspace:^", "@types/node": "^22.10.1", - "@types/react": "^18.3.12", + "@types/react": "^19.0.1", "@types/react-dom": "^18.3.1", "esbuild": "^0.24.0", - "react": "^18.3.1", + "react": "^19.0.0", "react-dom": "^18.3.1", "typescript": "^5.7.2" } diff --git a/packages/react/package.json b/packages/react/package.json index 187ec48d..3e010fb6 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -21,9 +21,9 @@ "react-dom": "^18.0.0" }, "devDependencies": { - "@types/react": "^18.3.12", + "@types/react": "^19.0.1", "@types/react-dom": "^18.3.1", - "react": "^18.3.1", + "react": "^19.0.0", "react-dom": "^18.3.1" }, "dependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4cad6edb..bcf23adc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -122,7 +122,7 @@ importers: dependencies: '@jupyter-widgets/base': specifier: ^6 - version: 6.0.10(react@18.3.1) + version: 6.0.10(react@19.0.0) '@lukeed/uuid': specifier: ^2.0.1 version: 2.0.1 @@ -135,7 +135,7 @@ importers: version: link:../types '@jupyter-widgets/base-manager': specifier: ^1.0.11 - version: 1.0.11(react@18.3.1) + version: 1.0.11(react@19.0.0) packages/create-anywidget: dependencies: @@ -159,8 +159,8 @@ importers: specifier: ^22.10.1 version: 22.10.1 '@types/react': - specifier: ^18.3.12 - version: 18.3.12 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': specifier: ^18.3.1 version: 18.3.1 @@ -168,11 +168,11 @@ importers: specifier: ^0.24.0 version: 0.24.0 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + version: 18.3.1(react@19.0.0) typescript: specifier: ^5.7.2 version: 5.7.2 @@ -186,17 +186,17 @@ importers: version: link:../types devDependencies: '@types/react': - specifier: ^18.3.12 - version: 18.3.12 + specifier: ^19.0.1 + version: 19.0.1 '@types/react-dom': specifier: ^18.3.1 version: 18.3.1 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + version: 18.3.1(react@19.0.0) packages/signals: {} @@ -1799,15 +1799,15 @@ packages: '@types/react-dom@18.3.1': resolution: {integrity: sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==} - '@types/react@18.3.11': - resolution: {integrity: sha512-r6QZ069rFTjrEYgFdOck1gK7FLVsgJE7tTz0pQBczlBNUhBNk0MQH4UbnFSwjpQLMkLzgqvBBa+qGpLje16eTQ==} - '@types/react@18.3.12': resolution: {integrity: sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==} '@types/react@18.3.4': resolution: {integrity: sha512-J7W30FTdfCxDDjmfRM+/JqLHBIyl7xUIp9kwK637FGmY7+mkSFSe6L4jpZzhj5QMfLssSDP4/i75AKkrdC7/Jw==} + '@types/react@19.0.1': + resolution: {integrity: sha512-YW6614BDhqbpR5KtUYzTA+zlA7nayzJRA9ljz9CQoxthR0sDisYZLuvSMsil36t4EH/uAt8T52Xb4sVw17G+SQ==} + '@types/retry@0.12.0': resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==} @@ -3803,6 +3803,10 @@ packages: resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} engines: {node: '>=0.10.0'} + react@19.0.0: + resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} + engines: {node: '>=0.10.0'} + read-cache@1.0.0: resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} @@ -5907,10 +5911,10 @@ snapshots: dependencies: tslib: 2.8.1 - '@jupyter-widgets/base-manager@1.0.11(react@18.3.1)': + '@jupyter-widgets/base-manager@1.0.11(react@19.0.0)': dependencies: - '@jupyter-widgets/base': 6.0.10(react@18.3.1) - '@jupyterlab/services': 7.2.5(react@18.3.1) + '@jupyter-widgets/base': 6.0.10(react@19.0.0) + '@jupyterlab/services': 7.2.5(react@19.0.0) '@lumino/coreutils': 2.2.0 base64-js: 1.5.1 sanitize-html: 2.13.0 @@ -5919,9 +5923,9 @@ snapshots: - react - utf-8-validate - '@jupyter-widgets/base@6.0.10(react@18.3.1)': + '@jupyter-widgets/base@6.0.10(react@19.0.0)': dependencies: - '@jupyterlab/services': 7.2.5(react@18.3.1) + '@jupyterlab/services': 7.2.5(react@19.0.0) '@lumino/coreutils': 2.2.0 '@lumino/messaging': 1.10.3 '@lumino/widgets': 2.5.0 @@ -5957,12 +5961,12 @@ snapshots: dependencies: '@lumino/coreutils': 2.2.0 - '@jupyterlab/services@7.2.5(react@18.3.1)': + '@jupyterlab/services@7.2.5(react@19.0.0)': dependencies: '@jupyter/ydoc': 2.1.1 '@jupyterlab/coreutils': 6.2.5 '@jupyterlab/nbformat': 4.2.5 - '@jupyterlab/settingregistry': 4.2.5(react@18.3.1) + '@jupyterlab/settingregistry': 4.2.5(react@19.0.0) '@jupyterlab/statedb': 4.2.5 '@lumino/coreutils': 2.2.0 '@lumino/disposable': 2.1.3 @@ -5975,7 +5979,7 @@ snapshots: - react - utf-8-validate - '@jupyterlab/settingregistry@4.2.5(react@18.3.1)': + '@jupyterlab/settingregistry@4.2.5(react@19.0.0)': dependencies: '@jupyterlab/nbformat': 4.2.5 '@jupyterlab/statedb': 4.2.5 @@ -5983,10 +5987,10 @@ snapshots: '@lumino/coreutils': 2.2.0 '@lumino/disposable': 2.1.3 '@lumino/signaling': 2.1.3 - '@rjsf/utils': 5.20.1(react@18.3.1) + '@rjsf/utils': 5.20.1(react@19.0.0) ajv: 8.17.1 json5: 2.2.3 - react: 18.3.1 + react: 19.0.0 '@jupyterlab/statedb@4.2.5': dependencies: @@ -6210,13 +6214,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@rjsf/utils@5.20.1(react@18.3.1)': + '@rjsf/utils@5.20.1(react@19.0.0)': dependencies: json-schema-merge-allof: 0.8.1 jsonpointer: 5.0.1 lodash: 4.17.21 lodash-es: 4.17.21 - react: 18.3.1 + react: 19.0.0 react-is: 18.3.1 '@rollup/pluginutils@4.2.1': @@ -6647,25 +6651,24 @@ snapshots: '@types/react-dom@18.3.0': dependencies: - '@types/react': 18.3.11 + '@types/react': 18.3.12 '@types/react-dom@18.3.1': dependencies: - '@types/react': 18.3.12 + '@types/react': 19.0.1 - '@types/react@18.3.11': + '@types/react@18.3.12': dependencies: '@types/prop-types': 15.7.12 csstype: 3.1.3 - '@types/react@18.3.12': + '@types/react@18.3.4': dependencies: '@types/prop-types': 15.7.12 csstype: 3.1.3 - '@types/react@18.3.4': + '@types/react@19.0.1': dependencies: - '@types/prop-types': 15.7.12 csstype: 3.1.3 '@types/retry@0.12.0': {} @@ -9052,6 +9055,12 @@ snapshots: react: 18.3.1 scheduler: 0.23.2 + react-dom@18.3.1(react@19.0.0): + dependencies: + loose-envify: 1.4.0 + react: 19.0.0 + scheduler: 0.23.2 + react-is@18.3.1: {} react-refresh@0.14.2: {} @@ -9060,6 +9069,8 @@ snapshots: dependencies: loose-envify: 1.4.0 + react@19.0.0: {} + read-cache@1.0.0: dependencies: pify: 2.3.0