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

@asteasolutions/zod-to-openapi

Package Overview
Dependencies
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@asteasolutions/zod-to-openapi - npm Package Compare versions

Comparing version 7.1.2 to 7.2.0

2

package.json
{
"name": "@asteasolutions/zod-to-openapi",
"version": "7.1.2",
"version": "7.2.0",
"description": "Builds OpenAPI schemas from Zod schemas",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs",

@@ -519,3 +519,21 @@ # Zod to OpenAPI

- `ZodString`
- adding `format` for `.datetime()`, `.uuid()`, `.email()` and `.url()` and `pattern` for `.regex()` is also supported
- adding `format` for:
- `.emoji()`
- `.cuid()`
- `.cuid2()`
- `.ulid()`
- `.ip()`
- `.datetime()`
- `.uuid()`
- `.email()`
- `.url()`
- adding `pattern` for `.regex()` is also supported
${'emoji'} | ${z.string().emoji()} | ${'emoji'}
${'cuid'} | ${z.string().cuid()} | ${'cuid'}
${'cuid2'} | ${z.string().cuid2()} | ${'cuid2'}
${'ulid'} | ${z.string().ulid()} | ${'ulid'}
${'ip'} | ${z.string().ip()} | ${'ip'}
- `ZodTuple`

@@ -522,0 +540,0 @@ - `ZodUnion`

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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