zod-form-data
Advanced tools
Comparing version 1.3.1 to 1.3.2-beta.0
{ | ||
"name": "zod-form-data", | ||
"version": "1.3.1", | ||
"main": "./dist/index.cjs.js", | ||
"module": "./dist/index.esm.js", | ||
"version": "1.3.2-beta.0", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
} | ||
}, | ||
"license": "MIT", | ||
@@ -8,0 +15,0 @@ "repository": { |
@@ -1,3 +0,23 @@ | ||
import { config } from "tsup-config"; | ||
import { defineConfig } from "tsup"; | ||
export default config; | ||
export default defineConfig({ | ||
entry: ["src/index.ts"], | ||
splitting: false, | ||
sourcemap: true, | ||
clean: true, | ||
dts: true, | ||
format: ["esm", "cjs"], | ||
define: { | ||
"import.meta.vitest": undefined, | ||
} as any, | ||
outExtension({ format }) { | ||
switch (format) { | ||
case "esm": | ||
return { js: ".mjs" }; | ||
case "cjs": | ||
return { js: ".js" }; | ||
default: | ||
throw new Error("Unknown format"); | ||
} | ||
}, | ||
}); |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
307484
1725
2
3