@hookform/resolvers 5.4.0 → 5.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +101 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hookform/resolvers",
3
3
  "amdName": "hookformResolvers",
4
- "version": "5.4.0",
4
+ "version": "5.4.1",
5
5
  "description": "React Hook Form validation resolvers: Yup, Joi, Superstruct, Zod, Vest, Class Validator, io-ts, Nope, computed-types, TypeBox, arktype, Typanion, Effect-TS and VineJS",
6
6
  "main": "dist/resolvers.js",
7
7
  "module": "dist/resolvers.module.js",
@@ -231,7 +231,7 @@
231
231
  "build:fluentvalidation-ts": "microbundle --cwd fluentvalidation-ts --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm",
232
232
  "build:standard-schema": "microbundle --cwd standard-schema --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm,@standard-schema/spec=standardSchema",
233
233
  "build:ata-validator": "microbundle --cwd ata-validator --globals @hookform/resolvers=hookformResolvers,react-hook-form=ReactHookForm,ata-validator=ataValidator",
234
- "postbuild": "node ./config/node-13-exports.js && check-export-map",
234
+ "postbuild": "node ./config/node-13-exports.js && check-export-map && node ./config/check-peer-deps.js",
235
235
  "lint": "biome check --write --vcs-use-ignore-file=true .",
236
236
  "lint:types": "tsc",
237
237
  "test": "vitest run",
@@ -329,7 +329,105 @@
329
329
  "zod": "^3.25.0"
330
330
  },
331
331
  "peerDependencies": {
332
- "react-hook-form": "^7.55.0"
332
+ "@sinclair/typebox": ">=0.25.24",
333
+ "@standard-schema/spec": "^1.0.0",
334
+ "@typeschema/main": ">=0.13.7",
335
+ "@vinejs/vine": "^2.0.0 || ^3.0.0",
336
+ "ajv": "^8.12.0",
337
+ "ajv-errors": "^3.0.0",
338
+ "ajv-formats": "^2.1.1",
339
+ "arktype": "^2.0.0",
340
+ "ata-validator": "^0.7.0",
341
+ "class-transformer": ">=0.4.0",
342
+ "class-validator": ">=0.12.0",
343
+ "computed-types": "^1.0.0",
344
+ "effect": "^3.10.3",
345
+ "fluentvalidation-ts": "^3.0.0",
346
+ "fp-ts": "^2.7.0",
347
+ "io-ts": "^2.0.0",
348
+ "joi": "^17.0.0",
349
+ "nope-validator": ">=0.12.0",
350
+ "react-hook-form": "^7.55.0",
351
+ "superstruct": ">=0.12.0",
352
+ "typanion": "^3.3.2",
353
+ "valibot": "^1.0.0 || ^1.0.0-beta.4 || ^1.0.0-rc",
354
+ "vest": ">=3.0.0",
355
+ "yup": "^1.0.0",
356
+ "zod": "^3.25.0 || ^4.0.0"
357
+ },
358
+ "peerDependenciesMeta": {
359
+ "@sinclair/typebox": {
360
+ "optional": true
361
+ },
362
+ "@standard-schema/spec": {
363
+ "optional": true
364
+ },
365
+ "@typeschema/main": {
366
+ "optional": true
367
+ },
368
+ "@vinejs/vine": {
369
+ "optional": true
370
+ },
371
+ "ajv": {
372
+ "optional": true
373
+ },
374
+ "ajv-errors": {
375
+ "optional": true
376
+ },
377
+ "ajv-formats": {
378
+ "optional": true
379
+ },
380
+ "arktype": {
381
+ "optional": true
382
+ },
383
+ "ata-validator": {
384
+ "optional": true
385
+ },
386
+ "class-transformer": {
387
+ "optional": true
388
+ },
389
+ "class-validator": {
390
+ "optional": true
391
+ },
392
+ "computed-types": {
393
+ "optional": true
394
+ },
395
+ "effect": {
396
+ "optional": true
397
+ },
398
+ "fluentvalidation-ts": {
399
+ "optional": true
400
+ },
401
+ "fp-ts": {
402
+ "optional": true
403
+ },
404
+ "io-ts": {
405
+ "optional": true
406
+ },
407
+ "joi": {
408
+ "optional": true
409
+ },
410
+ "nope-validator": {
411
+ "optional": true
412
+ },
413
+ "superstruct": {
414
+ "optional": true
415
+ },
416
+ "typanion": {
417
+ "optional": true
418
+ },
419
+ "valibot": {
420
+ "optional": true
421
+ },
422
+ "vest": {
423
+ "optional": true
424
+ },
425
+ "yup": {
426
+ "optional": true
427
+ },
428
+ "zod": {
429
+ "optional": true
430
+ }
333
431
  },
334
432
  "dependencies": {
335
433
  "@standard-schema/utils": "^0.3.0"