Socket
Socket
Sign inDemoInstall

zod-form-data

Package Overview
Dependencies
1
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.1 to 1.3.2-beta.0

dist/index.js

13

package.json
{
"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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc