New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zod-validation-error

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zod-validation-error - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2-beta.0

dist/cjs/index.js

41

package.json
{
"name": "zod-validation-error",
"version": "0.2.1",
"version": "0.2.2-beta.0",
"description": "Wrap zod validation errors in user-friendly readable messages",

@@ -27,2 +27,13 @@ "keywords": [

],
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"files": [
"dist"
],
"publishConfig": {

@@ -32,16 +43,2 @@ "access": "public"

"sideEffects": false,
"types": "./build/index.d.ts",
"main": "./build/node/cjs/index.js",
"exports": {
".": {
"node": {
"import": "./build/node/esm/index.js",
"require": "./build/node/cjs/index.js"
},
"default": "./build/browser/esm/index.js"
}
},
"files": [
"build"
],
"engines": {

@@ -51,6 +48,7 @@ "node": "^14.17 || >=16.0.0"

"scripts": {
"build:node-cjs": "swc lib --config-file ./config/node-cjs.json -d build/node/cjs",
"build:node-esm": "swc lib --config-file ./config/node-esm.json -d build/node/esm",
"build:browser-esm": "swc lib --config-file ./config/browser-esm.json -d ./build/browser/esm",
"build": "rimraf build && concurrently \"tsc -p tsconfig.json\" \"yarn build:node-cjs\" \"yarn build:node-esm\" \"yarn build:browser-esm\"",
"typecheck": "tsc --noEmit",
"build:cjs": "tsc -p ./tsconfig.build-cjs.json",
"build:esm": "tsc -p ./tsconfig.build-esm.json",
"build:types": "tsc -p ./tsconfig.build-types.json",
"build": "rimraf dist && concurrently \"yarn build:types\" \"yarn build:esm\" \"yarn build:cjs\"",
"lint": "eslint lib --ext .ts",

@@ -81,4 +79,2 @@ "format": "prettier --config ./.prettierrc --ignore-path .gitignore -w .",

"@commitlint/config-conventional": "^15.0.0",
"@swc/cli": "^0.1.55",
"@swc/core": "^1.2.121",
"@types/jest": "^27.0.3",

@@ -104,6 +100,3 @@ "@types/node": "^17.0.0",

"zod": "^3.18.0"
},
"dependencies": {
"@swc/helpers": "^0.4.11"
}
}
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