diff --git a/examples/basic/package.json b/examples/basic/package.json index 9c42d96..678a1dd 100644 --- a/examples/basic/package.json +++ b/examples/basic/package.json @@ -13,15 +13,15 @@ "@samithahansaka/formless-react": "*", "@samithahansaka/formless-react-hook-form": "*", "@samithahansaka/formless-zod": "*", - "@tanstack/react-form": "1.27.7", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-hook-form": "^7.49.0", - "zod": "^3.22.0" + "@tanstack/react-form": "1.28.4", + "react": "^19.2.4", + "react-dom": "^19.2.4", + "react-hook-form": "^7.71.2", + "zod": "^4.3.6" }, "devDependencies": { - "@types/react": "^18.2.0", - "@types/react-dom": "^18.2.0", + "@types/react": "^19.2.14", + "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^4.2.0", "typescript": "^5.3.0", "vite": "^7.3.1" diff --git a/package-lock.json b/package-lock.json index 40b2185..d6d7d07 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,20 +41,30 @@ "@samithahansaka/formless-react": "*", "@samithahansaka/formless-react-hook-form": "*", "@samithahansaka/formless-zod": "*", - "@tanstack/react-form": "1.27.7", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-hook-form": "^7.49.0", - "zod": "^3.22.0" + "@tanstack/react-form": "1.28.4", + "react": "^19.2.4", + "react-dom": "^19.2.4", + "react-hook-form": "^7.71.2", + "zod": "^4.3.6" }, "devDependencies": { - "@types/react": "^18.2.0", - "@types/react-dom": "^18.2.0", + "@types/react": "^19.2.14", + "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^4.2.0", "typescript": "^5.3.0", "vite": "^7.3.1" } }, + "examples/basic/node_modules/@types/react-dom": { + "version": "19.2.3", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz", + "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^19.2.0" + } + }, "node_modules/@asamuzakjp/css-color": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-3.2.0.tgz", @@ -1897,9 +1907,9 @@ "license": "MIT" }, "node_modules/@tanstack/devtools-event-client": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@tanstack/devtools-event-client/-/devtools-event-client-0.4.0.tgz", - "integrity": "sha512-RPfGuk2bDZgcu9bAJodvO2lnZeHuz4/71HjZ0bGb/SPg8+lyTA+RLSKQvo7fSmPSi8/vcH3aKQ8EM9ywf1olaw==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@tanstack/devtools-event-client/-/devtools-event-client-0.4.1.tgz", + "integrity": "sha512-GRxmPw4OHZ2oZeIEUkEwt/NDvuEqzEYRAjzUVMs+I0pd4C7k1ySOiuJK2CqF+K/yEAR3YZNkW3ExrpDarh9Vwg==", "license": "MIT", "engines": { "node": ">=18" @@ -1910,14 +1920,14 @@ } }, "node_modules/@tanstack/form-core": { - "version": "1.27.7", - "resolved": "https://registry.npmjs.org/@tanstack/form-core/-/form-core-1.27.7.tgz", - "integrity": "sha512-nvogpyE98fhb0NDw1Bf2YaCH+L7ZIUgEpqO9TkHucDn6zg3ni521boUpv0i8HKIrmmFwDYjWZoCnrgY4HYWTkw==", + "version": "1.28.4", + "resolved": "https://registry.npmjs.org/@tanstack/form-core/-/form-core-1.28.4.tgz", + "integrity": "sha512-2eox5ePrJ6kvA1DXD5QHk/GeGr3VFZ0uYR63UgQOe7bUg6h1JfXaIMqTjZK9sdGyE4oRNqFpoW54H0pZM7nObQ==", "license": "MIT", "dependencies": { "@tanstack/devtools-event-client": "^0.4.0", "@tanstack/pacer-lite": "^0.1.1", - "@tanstack/store": "^0.7.7" + "@tanstack/store": "^0.9.1" }, "funding": { "type": "github", @@ -1938,13 +1948,13 @@ } }, "node_modules/@tanstack/react-form": { - "version": "1.27.7", - "resolved": "https://registry.npmjs.org/@tanstack/react-form/-/react-form-1.27.7.tgz", - "integrity": "sha512-xTg4qrUY0fuLaSnkATLZcK3BWlnwLp7IuAb6UTbZKngiDEvvDCNTvVvHgPlgef1O2qN4klZxInRyRY6oEkXZ2A==", + "version": "1.28.4", + "resolved": "https://registry.npmjs.org/@tanstack/react-form/-/react-form-1.28.4.tgz", + "integrity": "sha512-ZGBwl9JM2u0kol7jAWpqAkr2JSHfXJaLPsFDZWPf+ewpVkwngTTW/rGgtoDe5uVpHoDIpOhzpPCAh6O1SjGEOg==", "license": "MIT", "dependencies": { - "@tanstack/form-core": "1.27.7", - "@tanstack/react-store": "^0.8.0" + "@tanstack/form-core": "1.28.4", + "@tanstack/react-store": "^0.9.1" }, "funding": { "type": "github", @@ -1960,12 +1970,12 @@ } }, "node_modules/@tanstack/react-store": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@tanstack/react-store/-/react-store-0.8.0.tgz", - "integrity": "sha512-1vG9beLIuB7q69skxK9r5xiLN3ztzIPfSQSs0GfeqWGO2tGIyInZx0x1COhpx97RKaONSoAb8C3dxacWksm1ow==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@tanstack/react-store/-/react-store-0.9.2.tgz", + "integrity": "sha512-Vt5usJE5sHG/cMechQfmwvwne6ktGCELe89Lmvoxe3LKRoFrhPa8OCKWs0NliG8HTJElEIj7PLtaBQIcux5pAQ==", "license": "MIT", "dependencies": { - "@tanstack/store": "0.8.0", + "@tanstack/store": "0.9.2", "use-sync-external-store": "^1.6.0" }, "funding": { @@ -1977,20 +1987,10 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, - "node_modules/@tanstack/react-store/node_modules/@tanstack/store": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@tanstack/store/-/store-0.8.0.tgz", - "integrity": "sha512-Om+BO0YfMZe//X2z0uLF2j+75nQga6TpTJgLJQBiq85aOyZNIhkCgleNcud2KQg4k4v9Y9l+Uhru3qWMPGTOzQ==", - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" - } - }, "node_modules/@tanstack/store": { - "version": "0.7.7", - "resolved": "https://registry.npmjs.org/@tanstack/store/-/store-0.7.7.tgz", - "integrity": "sha512-xa6pTan1bcaqYDS9BDpSiS63qa6EoDkPN9RsRaxHuDdVDNntzq3xNwR5YKTU/V3SkSyC9T4YVOPh2zRQN0nhIQ==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@tanstack/store/-/store-0.9.2.tgz", + "integrity": "sha512-K013lUJEFJK2ofFQ/hZKJUmCnpcV00ebLyOyFOWQvyQHUOZp/iYO84BM6aOGiV81JzwbX0APTVmW8YI7yiG5oA==", "license": "MIT", "funding": { "type": "github", @@ -2157,21 +2157,13 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/prop-types": { - "version": "15.7.15", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz", - "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/react": { - "version": "18.3.27", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.27.tgz", - "integrity": "sha512-cisd7gxkzjBKU2GgdYrTdtQx1SORymWyaAFhaxQPK9bYO9ot3Y5OikQRvY0VYQtvwjeQnizCINJAenh/V7MK2w==", + "version": "19.2.14", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz", + "integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==", "dev": true, "license": "MIT", "dependencies": { - "@types/prop-types": "*", "csstype": "^3.2.2" } }, @@ -6612,6 +6604,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, "license": "MIT", "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" @@ -6624,6 +6617,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, "license": "MIT" }, "node_modules/lru-cache": { @@ -7563,28 +7557,24 @@ } }, "node_modules/react": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", - "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "version": "19.2.4", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.4.tgz", + "integrity": "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==", "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0" - }, "engines": { "node": ">=0.10.0" } }, "node_modules/react-dom": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", - "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "version": "19.2.4", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.4.tgz", + "integrity": "sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==", "license": "MIT", "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.2" + "scheduler": "^0.27.0" }, "peerDependencies": { - "react": "^18.3.1" + "react": "^19.2.4" } }, "node_modules/react-fast-compare": { @@ -7595,9 +7585,9 @@ "license": "MIT" }, "node_modules/react-hook-form": { - "version": "7.70.0", - "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.70.0.tgz", - "integrity": "sha512-COOMajS4FI3Wuwrs3GPpi/Jeef/5W1DRR84Yl5/ShlT3dKVFUfoGiEZ/QE6Uw8P4T2/CLJdcTVYKvWBMQTEpvw==", + "version": "7.71.2", + "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.71.2.tgz", + "integrity": "sha512-1CHvcDYzuRUNOflt4MOq3ZM46AronNJtQ1S7tnX6YN4y72qhgiUItpacZUAQ0TyWYci3yz1X+rXaSxiuEm86PA==", "license": "MIT", "engines": { "node": ">=18.0.0" @@ -8197,13 +8187,10 @@ } }, "node_modules/scheduler": { - "version": "0.23.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", - "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0" - } + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", + "license": "MIT" }, "node_modules/semver": { "version": "7.6.0", @@ -9896,9 +9883,9 @@ } }, "node_modules/zod": { - "version": "3.25.76", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", - "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz", + "integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" @@ -9924,7 +9911,7 @@ }, "devDependencies": { "formik": "^2.4.6", - "react": "^18.3.1", + "react": "^19.2.4", "tsup": "^8.5.1", "typescript": "^5.8.3", "vitest": "^4.0.16" @@ -9943,10 +9930,10 @@ }, "devDependencies": { "@testing-library/react": "^14.1.0", - "@types/react": "^18.2.0", + "@types/react": "^19.2.14", "jsdom": "^24.0.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^19.2.4", + "react-dom": "^19.2.4", "tsup": "^8.0.1", "typescript": "^5.3.0", "vitest": "^4.0.16" @@ -9963,9 +9950,9 @@ "@samithahansaka/formless-core": "*" }, "devDependencies": { - "@types/react": "^18.2.0", - "react": "^18.2.0", - "react-hook-form": "^7.49.0", + "@types/react": "^19.2.14", + "react": "^19.2.4", + "react-hook-form": "^7.71.2", "tsup": "^8.0.1", "typescript": "^5.3.0", "vitest": "^4.0.16" @@ -9983,14 +9970,14 @@ "@samithahansaka/formless-core": "*" }, "devDependencies": { - "@tanstack/react-form": "^1.27.7", - "react": "^18.3.1", + "@tanstack/react-form": "^1.28.4", + "react": "^19.2.4", "tsup": "^8.5.1", "typescript": "^5.8.3", "vitest": "^4.0.16" }, "peerDependencies": { - "@tanstack/react-form": "^1.27.7", + "@tanstack/react-form": "^1.28.4", "react": "^18.0.0" } }, @@ -10005,7 +9992,7 @@ "tsup": "^8.0.1", "typescript": "^5.3.0", "vitest": "^4.0.16", - "zod": "^3.22.0" + "zod": "^4.3.6" }, "peerDependencies": { "zod": ">=3.0.0" @@ -10024,20 +10011,20 @@ "@samithahansaka/formless-zod": "*" }, "devDependencies": { - "@tanstack/react-form": "^1.0.0", + "@tanstack/react-form": "^1.28.4", "formik": "^2.4.6", - "react": "^18.3.1", - "react-hook-form": "^7.54.2", + "react": "^19.2.4", + "react-hook-form": "^7.71.2", "tsup": "^8.5.1", "typescript": "^5.8.3", - "zod": "^3.24.4" + "zod": "^4.3.6" }, "peerDependencies": { - "@tanstack/react-form": "^1.0.0", + "@tanstack/react-form": "^1.28.4", "formik": "^2.0.0", "react": "^18.0.0", "react-hook-form": "^7.0.0", - "zod": "^3.0.0" + "zod": "^4.3.6" }, "peerDependenciesMeta": { "@tanstack/react-form": { diff --git a/packages/formik/package.json b/packages/formik/package.json index ef74a1d..d8c77b1 100644 --- a/packages/formik/package.json +++ b/packages/formik/package.json @@ -31,7 +31,7 @@ }, "devDependencies": { "formik": "^2.4.6", - "react": "^18.3.1", + "react": "^19.2.4", "tsup": "^8.5.1", "typescript": "^5.8.3", "vitest": "^4.0.16" diff --git a/packages/react-hook-form/package.json b/packages/react-hook-form/package.json index 7168815..28c9991 100644 --- a/packages/react-hook-form/package.json +++ b/packages/react-hook-form/package.json @@ -61,9 +61,9 @@ "react-hook-form": ">=7.0.0" }, "devDependencies": { - "@types/react": "^18.2.0", - "react": "^18.2.0", - "react-hook-form": "^7.49.0", + "@types/react": "^19.2.14", + "react": "^19.2.4", + "react-hook-form": "^7.71.2", "tsup": "^8.0.1", "typescript": "^5.3.0", "vitest": "^4.0.16" diff --git a/packages/react/package.json b/packages/react/package.json index cb19b1c..b06397f 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -62,10 +62,10 @@ }, "devDependencies": { "@testing-library/react": "^14.1.0", - "@types/react": "^18.2.0", + "@types/react": "^19.2.14", "jsdom": "^24.0.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^19.2.4", + "react-dom": "^19.2.4", "tsup": "^8.0.1", "typescript": "^5.3.0", "vitest": "^4.0.16" diff --git a/packages/tanstack-form/package.json b/packages/tanstack-form/package.json index f7985ef..32dc212 100644 --- a/packages/tanstack-form/package.json +++ b/packages/tanstack-form/package.json @@ -26,12 +26,12 @@ "@samithahansaka/formless-core": "*" }, "peerDependencies": { - "@tanstack/react-form": "^1.27.7", + "@tanstack/react-form": "^1.28.4", "react": "^18.0.0" }, "devDependencies": { - "@tanstack/react-form": "^1.27.7", - "react": "^18.3.1", + "@tanstack/react-form": "^1.28.4", + "react": "^19.2.4", "tsup": "^8.5.1", "typescript": "^5.8.3", "vitest": "^4.0.16" diff --git a/packages/zod/package.json b/packages/zod/package.json index 2c1d149..c182bf9 100644 --- a/packages/zod/package.json +++ b/packages/zod/package.json @@ -62,7 +62,7 @@ "tsup": "^8.0.1", "typescript": "^5.3.0", "vitest": "^4.0.16", - "zod": "^3.22.0" + "zod": "^4.3.6" }, "publishConfig": { "access": "public" diff --git a/packages/zzz-formless/package.json b/packages/zzz-formless/package.json index 6e09806..5766473 100644 --- a/packages/zzz-formless/package.json +++ b/packages/zzz-formless/package.json @@ -32,7 +32,7 @@ "react": "^18.0.0", "react-hook-form": "^7.0.0", "formik": "^2.0.0", - "@tanstack/react-form": "^1.0.0", + "@tanstack/react-form": "^1.28.4", "zod": "^3.0.0" }, "peerDependenciesMeta": { @@ -50,13 +50,13 @@ } }, "devDependencies": { - "@tanstack/react-form": "^1.0.0", + "@tanstack/react-form": "^1.28.4", "formik": "^2.4.6", - "react": "^18.3.1", - "react-hook-form": "^7.54.2", + "react": "^19.2.4", + "react-hook-form": "^7.71.2", "tsup": "^8.5.1", "typescript": "^5.8.3", - "zod": "^3.24.4" + "zod": "^4.3.6" }, "keywords": [ "form",