@hookform/resolvers
Advanced tools
Comparing version 1.3.5 to 1.3.6
111
package.json
{ | ||
"name": "@hookform/resolvers", | ||
"version": "1.3.5", | ||
"amdName": "hookformResolvers", | ||
"version": "1.3.6", | ||
"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, | ||
"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,10 +74,16 @@ "publishConfig": { | ||
"scripts": { | ||
"clean": "rimraf dist", | ||
"prebuild": "yarn clean", | ||
"build": "tsc && rollup -c", | ||
"lint": "eslint '**/*.{js,ts}'", | ||
"lint:fix": "yarn lint -- --fix", | ||
"lint:types": "tsc --noEmit", | ||
"test": "jest --runInBand", | ||
"test:watch": "yarn test --watchAll --coverage" | ||
"prepare": "run-s build:src 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 --globals '@hookform/resolvers=hookformResolvers'", | ||
"build:joi": "microbundle --cwd joi --globals '@hookform/resolvers=hookformResolvers'", | ||
"build:superstruct": "microbundle --cwd superstruct --globals '@hookform/resolvers=hookformResolvers'", | ||
"build:vest": "microbundle --cwd vest --globals '@hookform/resolvers=hookformResolvers'", | ||
"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" | ||
}, | ||
@@ -44,3 +98,3 @@ "keywords": [ | ||
"joi", | ||
"sperstruct", | ||
"superstruct", | ||
"typescript", | ||
@@ -60,4 +114,2 @@ "zod" | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^17.0.0", | ||
"@rollup/plugin-node-resolve": "^11.0.1", | ||
"@types/jest": "^26.0.19", | ||
@@ -67,2 +119,3 @@ "@types/yup": "^0.29.11", | ||
"@typescript-eslint/parser": "^4.10.0", | ||
"check-export-map": "^1.0.1", | ||
"eslint": "^7.16.0", | ||
@@ -75,3 +128,3 @@ "eslint-config-prettier": "^7.1.0", | ||
"lint-staged": "^10.5.3", | ||
"matched": "^5.0.1", | ||
"microbundle": "^0.13.0", | ||
"npm-run-all": "^4.1.5", | ||
@@ -81,6 +134,2 @@ "prettier": "^2.2.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", | ||
"semantic-release": "^17.3.1", | ||
@@ -109,3 +158,3 @@ "superstruct": "^0.13.1", | ||
"*.{js,ts}": [ | ||
"yarn lint:fix" | ||
"yarn lint --fix" | ||
], | ||
@@ -112,0 +161,0 @@ "*.{md,json,yml}": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
267723
24
93
1126
10
5
1