zod-validation-error
Advanced tools
Comparing version 0.2.1 to 0.2.2-beta.0
{ | ||
"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" | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1
21
12754
131
2
- Removed@swc/helpers@^0.4.11
- Removed@swc/helpers@0.4.37(transitive)
- Removedtslib@2.8.1(transitive)