Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zod-package-json

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zod-package-json - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

24

dist/index.d.ts

@@ -180,5 +180,9 @@ import { z } from 'zod';

packageManager: z.ZodOptional<z.ZodString>;
/** True if importing modules from the package causes side effects. */
sideEffects: z.ZodOptional<z.ZodBoolean>;
/**
False if importing modules from the package does not cause side effects.
True or a list of file patterns if importing modules from the package causes side effects.
@see {@link https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free}
*/
sideEffects: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
/**
Imports map.

@@ -370,5 +374,9 @@ @see {@link https://nodejs.org/api/packages.html#imports}

packageManager: z.ZodOptional<z.ZodString>;
/** True if importing modules from the package causes side effects. */
sideEffects: z.ZodOptional<z.ZodBoolean>;
/**
False if importing modules from the package does not cause side effects.
True or a list of file patterns if importing modules from the package causes side effects.
@see {@link https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free}
*/
sideEffects: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
/**
Imports map.

@@ -560,5 +568,9 @@ @see {@link https://nodejs.org/api/packages.html#imports}

packageManager: z.ZodOptional<z.ZodString>;
/** True if importing modules from the package causes side effects. */
sideEffects: z.ZodOptional<z.ZodBoolean>;
/**
False if importing modules from the package does not cause side effects.
True or a list of file patterns if importing modules from the package causes side effects.
@see {@link https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free}
*/
sideEffects: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
/**
Imports map.

@@ -565,0 +577,0 @@ @see {@link https://nodejs.org/api/packages.html#imports}

@@ -138,5 +138,9 @@ // src/package-json.ts

packageManager: z.string().optional(),
/** True if importing modules from the package causes side effects. */
sideEffects: z.boolean().optional(),
/**
False if importing modules from the package does not cause side effects.
True or a list of file patterns if importing modules from the package causes side effects.
@see {@link https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free}
*/
sideEffects: z.union([z.boolean(), z.array(z.string())]).optional(),
/**
Imports map.

@@ -143,0 +147,0 @@ @see {@link https://nodejs.org/api/packages.html#imports}

{
"name": "zod-package-json",
"version": "1.0.2",
"version": "1.0.3",
"description": "Zod schema for the package.json file format",

@@ -50,16 +50,16 @@ "license": "MIT",

"pre-push": "bun install && bun run lint && bun run build && bun run test:ci && bun run attw",
"release": "np"
"release": "np --no-cleanup"
},
"dependencies": {
"zod": "^3.23.3"
"zod": "^3.23.8"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@vitest/coverage-v8": "^1.5.0",
"@vitest/coverage-v8": "^1.6.0",
"np": "^10.0.5",
"prettier": "^3.2.5",
"tsup": "^8.0.2",
"prettier": "^3.3.2",
"tsup": "^8.1.0",
"typescript": "^5.4.5",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
}
}
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