Socket
Socket
Sign inDemoInstall

@hookform/resolvers

Package Overview
Dependencies
Maintainers
3
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hookform/resolvers - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2-beta.1

dist/convertArrayToPathName.d.ts

134

package.json
{
"name": "@hookform/resolvers",
"version": "1.3.1",
"description": "React Hook Form validation resolvers: Yup, Joi, Superstruct, Zod and etc.",
"umd:main": "umd/index.js",
"unpkg": "umd/index.js",
"jsdelivr": "umd/index.js",
"sideEffects": false,
"amdName": "hookformResolvers",
"version": "1.3.2-beta.1",
"description": "React Hook Form validation resolvers: Yup, Joi, Superstruct, Zod, Vest and etc.",
"main": "dist/resolvers.js",
"module": "dist/resolvers.module.js",
"umd:main": "dist/resolvers.umd.js",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"exports": {
".": {
"browser": "./dist/resolvers.module.js",
"umd": "./dist/resolvers.umd.js",
"import": "./dist/resolvers.mjs",
"require": "./dist/resolvers.js"
},
"./zod": {
"browser": "./zod/dist/zod.module.js",
"umd": "./zod/dist/zod.umd.js",
"import": "./zod/dist/zod.mjs",
"require": "./zod/dist/zod.js"
},
"./yup": {
"browser": "./yup/dist/yup.module.js",
"umd": "./yup/dist/yup.umd.js",
"import": "./yup/dist/yup.mjs",
"require": "./yup/dist/yup.js"
},
"./joi": {
"browser": "./joi/dist/joi.module.js",
"umd": "./joi/dist/joi.umd.js",
"import": "./joi/dist/joi.mjs",
"require": "./joi/dist/joi.js"
},
"./vest": {
"browser": "./vest/dist/vest.module.js",
"umd": "./vest/dist/vest.umd.js",
"import": "./vest/dist/vest.mjs",
"require": "./vest/dist/vest.js"
},
"./superstruct": {
"browser": "./superstruct/dist/superstruct.module.js",
"umd": "./superstruct/dist/superstruct.umd.js",
"import": "./superstruct/dist/superstruct.mjs",
"require": "./superstruct/dist/superstruct.js"
},
"./package.json": "./package.json",
"./": "./"
},
"files": [
"dist",
"yup.js",
"yup.d.ts",
"joi.js",
"joi.d.ts",
"superstruct.js",
"superstruct.d.ts",
"zod.js",
"zod.d.ts",
"vest.js",
"vest.d.ts"
"yup/package.json",
"yup/src",
"yup/dist",
"zod/package.json",
"zod/src",
"zod/dist",
"vest/package.json",
"vest/src",
"vest/dist",
"joi/package.json",
"joi/src",
"joi/dist",
"superstruct/package.json",
"superstruct/src",
"superstruct/dist"
],

@@ -26,13 +73,16 @@ "publishConfig": {

"scripts": {
"clean": "rimraf dist",
"prebuild": "npm run clean",
"build": "tsc && rollup -c",
"lint": "eslint '**/*.{js,ts}'",
"lint:fix": "npm run lint -- --fix",
"lint:types": "tsc --noEmit",
"test": "jest --runInBand",
"test:watch": "npm run test -- --watchAll --coverage",
"postversion": "git push && git push origin v$npm_package_version",
"prepublishOnly": "npm run lint && npm run lint:types && npm test && npm run build",
"release": "yarn build && changeset publish"
"prepare": "run-s build && check-export-map",
"build": "npm-run-all --parallel build:*",
"build:src": "microbundle build",
"build:zod": "microbundle --cwd zod --globals '@hookform/resolvers=hookformResolvers'",
"build:yup": "microbundle --cwd yup",
"build:joi": "microbundle --cwd joi --globals '@hookform/resolvers=hookformResolvers'",
"build:superstruct": "microbundle --cwd superstruct --globals '@hookform/resolvers=hookformResolvers'",
"build:vest": "microbundle --cwd vest",
"postbuild": "node ./config/node-13-exports.js",
"lint": "eslint . --ext .ts,.js --ignore-path .gitignore",
"lint:types": "tsc",
"test": "jest",
"test:watch": "yarn test --watchAll --coverage --runInBand",
"check:all": "npm-run-all --parallel lint:* test"
},

@@ -47,5 +97,6 @@ "keywords": [

"joi",
"sperstruct",
"superstruct",
"typescript",
"zod"
"zod",
"vest"
],

@@ -63,11 +114,7 @@ "repository": {

"devDependencies": {
"@changesets/changelog-github": "^0.2.7",
"@changesets/cli": "^2.12.0",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.1",
"@types/jest": "^26.0.19",
"@types/yup": "^0.29.11",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"eslint": "^7.16.0",
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@typescript-eslint/parser": "^4.11.1",
"check-export-map": "^1.0.1",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",

@@ -79,11 +126,8 @@ "eslint-plugin-prettier": "^3.3.0",

"lint-staged": "^10.5.3",
"matched": "^5.0.1",
"microbundle": "^0.13.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-hook-form": "^6.13.1",
"rimraf": "^3.0.2",
"rollup": "^2.35.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
"react-hook-form": "^6.14.0",
"semantic-release": "^17.3.1",
"superstruct": "^0.13.1",

@@ -101,3 +145,3 @@ "ts-jest": "^26.4.4",

"hooks": {
"pre-commit": "npm run lint:types && lint-staged"
"pre-commit": "yarn lint:types && lint-staged"
}

@@ -107,3 +151,3 @@ },

"*.{js,ts}": [
"npm run lint:fix"
"yarn lint --fix"
],

@@ -110,0 +154,0 @@ "*.{md,json,yml}": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc