diff --git a/example/package.json b/example/package.json index a7774a19..afe688c5 100644 --- a/example/package.json +++ b/example/package.json @@ -25,8 +25,8 @@ "next-connect": "1.0.0", "next-validations": "1.0.3", "qs": "6.13.1", - "react": "18.3.1", - "react-dom": "18.3.1", + "react": "19.0.0", + "react-dom": "19.0.0", "swagger-ui-react": "5.18.2", "valibot": "0.42.1", "yup": "1.5.0", diff --git a/example/pnpm-lock.yaml b/example/pnpm-lock.yaml index a56f2d43..1a44c02c 100644 --- a/example/pnpm-lock.yaml +++ b/example/pnpm-lock.yaml @@ -37,25 +37,25 @@ importers: version: 17.13.3 next: specifier: 15.0.3 - version: 15.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 15.0.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0) next-connect: specifier: 1.0.0 version: 1.0.0 next-validations: specifier: 1.0.3 - version: 1.0.3(@typeschema/fastest-validator@0.2.0(fastest-validator@1.19.0))(@typeschema/joi@0.14.0(joi@17.13.3))(@typeschema/valibot@0.14.0(valibot@0.42.1(typescript@5.7.2)))(@typeschema/yup@0.14.0(yup@1.5.0))(@typeschema/zod@0.14.0(zod@3.23.8))(next@15.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 1.0.3(@typeschema/fastest-validator@0.2.0(fastest-validator@1.19.0))(@typeschema/joi@0.14.0(joi@17.13.3))(@typeschema/valibot@0.14.0(valibot@0.42.1(typescript@5.7.2)))(@typeschema/yup@0.14.0(yup@1.5.0))(@typeschema/zod@0.14.0(zod@3.23.8))(next@15.0.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) qs: specifier: 6.13.1 version: 6.13.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) + specifier: 19.0.0 + version: 19.0.0(react@19.0.0) swagger-ui-react: specifier: 5.18.2 - version: 5.18.2(@types/react@18.3.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 5.18.2(@types/react@18.3.13)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) valibot: specifier: 0.42.1 version: 0.42.1(typescript@5.7.2) @@ -1338,10 +1338,10 @@ packages: peerDependencies: react: ^15.3.0 || 16 || 17 || 18 - react-dom@18.3.1: - resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} + react-dom@19.0.0: + resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==} peerDependencies: - react: ^18.3.1 + react: ^19.0.0 react-immutable-proptypes@2.2.0: resolution: {integrity: sha512-Vf4gBsePlwdGvSZoLSBfd4HAP93HDauMY4fDjXhreg/vg6F3Fj/MXDNyTbltPC/xZKmZc+cjLu3598DdYK6sgQ==} @@ -1380,8 +1380,8 @@ packages: peerDependencies: react: '>= 0.14.0' - react@18.3.1: - resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} + react@19.0.0: + resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} engines: {node: '>=0.10.0'} read-package-json-fast@4.0.0: @@ -1444,8 +1444,8 @@ packages: safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - scheduler@0.23.2: - resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} + scheduler@0.25.0: + resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==} semver@7.6.3: resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} @@ -2948,10 +2948,10 @@ snapshots: '@tsconfig/node16': 1.0.4 regexparam: 2.0.2 - next-validations@1.0.3(@typeschema/fastest-validator@0.2.0(fastest-validator@1.19.0))(@typeschema/joi@0.14.0(joi@17.13.3))(@typeschema/valibot@0.14.0(valibot@0.42.1(typescript@5.7.2)))(@typeschema/yup@0.14.0(yup@1.5.0))(@typeschema/zod@0.14.0(zod@3.23.8))(next@15.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)): + next-validations@1.0.3(@typeschema/fastest-validator@0.2.0(fastest-validator@1.19.0))(@typeschema/joi@0.14.0(joi@17.13.3))(@typeschema/valibot@0.14.0(valibot@0.42.1(typescript@5.7.2)))(@typeschema/yup@0.14.0(yup@1.5.0))(@typeschema/zod@0.14.0(zod@3.23.8))(next@15.0.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0)): dependencies: '@typeschema/main': 0.14.1(@typeschema/fastest-validator@0.2.0(fastest-validator@1.19.0))(@typeschema/joi@0.14.0(joi@17.13.3))(@typeschema/valibot@0.14.0(valibot@0.42.1(typescript@5.7.2)))(@typeschema/yup@0.14.0(yup@1.5.0))(@typeschema/zod@0.14.0(zod@3.23.8)) - next: 15.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + next: 15.0.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0) transitivePeerDependencies: - '@types/json-schema' - '@typeschema/arktype' @@ -2974,7 +2974,7 @@ snapshots: - '@typeschema/yup' - '@typeschema/zod' - next@15.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@15.0.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@next/env': 15.0.3 '@swc/counter': 0.1.3 @@ -2982,9 +2982,9 @@ snapshots: busboy: 1.6.0 caniuse-lite: 1.0.30001686 postcss: 8.4.31 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - styled-jsx: 5.1.6(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + styled-jsx: 5.1.6(react@19.0.0) optionalDependencies: '@next/swc-darwin-arm64': 15.0.3 '@next/swc-darwin-x64': 15.0.3 @@ -3138,63 +3138,60 @@ snapshots: dependencies: safe-buffer: 5.2.1 - react-copy-to-clipboard@5.1.0(react@18.3.1): + react-copy-to-clipboard@5.1.0(react@19.0.0): dependencies: copy-to-clipboard: 3.3.3 prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 - react-debounce-input@3.3.0(react@18.3.1): + react-debounce-input@3.3.0(react@19.0.0): dependencies: lodash.debounce: 4.0.8 prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 - react-dom@18.3.1(react@18.3.1): + react-dom@19.0.0(react@19.0.0): dependencies: - loose-envify: 1.4.0 - react: 18.3.1 - scheduler: 0.23.2 + react: 19.0.0 + scheduler: 0.25.0 react-immutable-proptypes@2.2.0(immutable@3.8.2): dependencies: immutable: 3.8.2 invariant: 2.2.4 - react-immutable-pure-component@2.2.2(immutable@3.8.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-immutable-pure-component@2.2.2(immutable@3.8.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: immutable: 3.8.2 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) - react-inspector@6.0.2(react@18.3.1): + react-inspector@6.0.2(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 react-is@16.13.1: {} - react-redux@9.1.2(@types/react@18.3.13)(react@18.3.1)(redux@5.0.1): + react-redux@9.1.2(@types/react@18.3.13)(react@19.0.0)(redux@5.0.1): dependencies: '@types/use-sync-external-store': 0.0.3 - react: 18.3.1 - use-sync-external-store: 1.2.2(react@18.3.1) + react: 19.0.0 + use-sync-external-store: 1.2.2(react@19.0.0) optionalDependencies: '@types/react': 18.3.13 redux: 5.0.1 - react-syntax-highlighter@15.6.1(react@18.3.1): + react-syntax-highlighter@15.6.1(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 highlight.js: 10.7.3 highlightjs-vue: 1.0.0 lowlight: 1.20.0 prismjs: 1.29.0 - react: 18.3.1 + react: 19.0.0 refractor: 3.6.0 - react@18.3.1: - dependencies: - loose-envify: 1.4.0 + react@19.0.0: {} read-package-json-fast@4.0.0: dependencies: @@ -3249,9 +3246,7 @@ snapshots: safer-buffer@2.1.2: {} - scheduler@0.23.2: - dependencies: - loose-envify: 1.4.0 + scheduler@0.25.0: {} semver@7.6.3: {} @@ -3368,10 +3363,10 @@ snapshots: strip-final-newline@2.0.0: {} - styled-jsx@5.1.6(react@18.3.1): + styled-jsx@5.1.6(react@19.0.0): dependencies: client-only: 0.0.1 - react: 18.3.1 + react: 19.0.0 supports-color@7.2.0: dependencies: @@ -3405,7 +3400,7 @@ snapshots: - debug - tree_sitter - swagger-ui-react@5.18.2(@types/react@18.3.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + swagger-ui-react@5.18.2(@types/react@18.3.13)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@babel/runtime-corejs3': 7.26.0 '@braintree/sanitize-url': 7.0.4 @@ -3423,15 +3418,15 @@ snapshots: prop-types: 15.8.1 randexp: 0.5.3 randombytes: 2.1.0 - react: 18.3.1 - react-copy-to-clipboard: 5.1.0(react@18.3.1) - react-debounce-input: 3.3.0(react@18.3.1) - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-copy-to-clipboard: 5.1.0(react@19.0.0) + react-debounce-input: 3.3.0(react@19.0.0) + react-dom: 19.0.0(react@19.0.0) react-immutable-proptypes: 2.2.0(immutable@3.8.2) - react-immutable-pure-component: 2.2.2(immutable@3.8.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react-inspector: 6.0.2(react@18.3.1) - react-redux: 9.1.2(@types/react@18.3.13)(react@18.3.1)(redux@5.0.1) - react-syntax-highlighter: 15.6.1(react@18.3.1) + react-immutable-pure-component: 2.2.2(immutable@3.8.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + react-inspector: 6.0.2(react@19.0.0) + react-redux: 9.1.2(@types/react@18.3.13)(react@19.0.0)(redux@5.0.1) + react-syntax-highlighter: 15.6.1(react@19.0.0) redux: 5.0.1 redux-immutable: 4.0.0(immutable@3.8.2) remarkable: 2.0.1 @@ -3524,9 +3519,9 @@ snapshots: querystringify: 2.2.0 requires-port: 1.0.0 - use-sync-external-store@1.2.2(react@18.3.1): + use-sync-external-store@1.2.2(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 uuid@8.3.2: {} diff --git a/package.json b/package.json index 7bdc53f3..89eee349 100644 --- a/package.json +++ b/package.json @@ -69,8 +69,8 @@ "husky": "9.1.7", "joi": "17.13.3", "next": "15.0.3", - "react": "18.3.1", - "react-dom": "18.3.1", + "react": "19.0.0", + "react-dom": "19.0.0", "size-limit": "11.1.6", "standard-version": "9.5.0", "tslib": "2.8.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0e4ec31e..7aa5331c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,7 +23,7 @@ importers: version: 0.2.2 '@testing-library/react': specifier: 16.0.1 - version: 16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.1)(@types/react@18.3.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.1)(@types/react@18.3.13)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@types/react': specifier: 18.3.13 version: 18.3.13 @@ -59,13 +59,13 @@ importers: version: 17.13.3 next: specifier: 15.0.3 - version: 15.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 15.0.3(react-dom@19.0.0(react@19.0.0))(react@19.0.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) + specifier: 19.0.0 + version: 19.0.0(react@19.0.0) size-limit: specifier: 11.1.6 version: 11.1.6 @@ -1594,10 +1594,6 @@ packages: lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} - loose-envify@1.4.0: - resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} - hasBin: true - loupe@3.1.2: resolution: {integrity: sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==} @@ -1877,16 +1873,16 @@ packages: resolution: {integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==} engines: {node: '>=8'} - react-dom@18.3.1: - resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} + react-dom@19.0.0: + resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==} peerDependencies: - react: ^18.3.1 + react: ^19.0.0 react-is@17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} - react@18.3.1: - resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} + react@19.0.0: + resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} engines: {node: '>=0.10.0'} read-pkg-up@3.0.0: @@ -1946,8 +1942,8 @@ packages: safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - scheduler@0.23.2: - resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} + scheduler@0.25.0: + resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==} semver@5.7.2: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} @@ -2838,12 +2834,12 @@ snapshots: lz-string: 1.5.0 pretty-format: 27.5.1 - '@testing-library/react@16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.1)(@types/react@18.3.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@testing-library/react@16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.1)(@types/react@18.3.13)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@babel/runtime': 7.26.0 '@testing-library/dom': 10.4.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) optionalDependencies: '@types/react': 18.3.13 '@types/react-dom': 18.3.1 @@ -3605,10 +3601,6 @@ snapshots: lodash@4.17.21: {} - loose-envify@1.4.0: - dependencies: - js-tokens: 4.0.0 - loupe@3.1.2: {} lru-cache@10.4.3: {} @@ -3700,7 +3692,7 @@ snapshots: neo-async@2.6.2: {} - next@15.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@15.0.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@next/env': 15.0.3 '@swc/counter': 0.1.3 @@ -3708,9 +3700,9 @@ snapshots: busboy: 1.6.0 caniuse-lite: 1.0.30001685 postcss: 8.4.31 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - styled-jsx: 5.1.6(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + styled-jsx: 5.1.6(react@19.0.0) optionalDependencies: '@next/swc-darwin-arm64': 15.0.3 '@next/swc-darwin-x64': 15.0.3 @@ -3856,17 +3848,14 @@ snapshots: quick-lru@4.0.1: {} - react-dom@18.3.1(react@18.3.1): + react-dom@19.0.0(react@19.0.0): dependencies: - loose-envify: 1.4.0 - react: 18.3.1 - scheduler: 0.23.2 + react: 19.0.0 + scheduler: 0.25.0 react-is@17.0.2: {} - react@18.3.1: - dependencies: - loose-envify: 1.4.0 + react@19.0.0: {} read-pkg-up@3.0.0: dependencies: @@ -3955,9 +3944,7 @@ snapshots: safe-buffer@5.2.1: {} - scheduler@0.23.2: - dependencies: - loose-envify: 1.4.0 + scheduler@0.25.0: {} semver@5.7.2: {} @@ -4112,10 +4099,10 @@ snapshots: dependencies: min-indent: 1.0.1 - styled-jsx@5.1.6(react@18.3.1): + styled-jsx@5.1.6(react@19.0.0): dependencies: client-only: 0.0.1 - react: 18.3.1 + react: 19.0.0 sucrase@3.35.0: dependencies: