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

myzod

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

myzod - npm Package Compare versions

Comparing version 1.10.0 to 1.10.1

2

libs/types.js

@@ -1210,3 +1210,3 @@ "use strict";

this.defaultValue = opts.defaultValue;
this[coercionTypeSymbol] = this.defaultValue !== undefined;
this[coercionTypeSymbol] = this.defaultValue !== undefined || this.coerceOpt !== undefined;
}

@@ -1213,0 +1213,0 @@ parse(

{
"name": "myzod",
"version": "1.10.0",
"version": "1.10.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "./libs/index.js",

@@ -211,3 +211,3 @@ # myzod

- pattern `RegExp` - regular expression string must match
- valid `string[]` - list of valid stings
- valid `string[]` - list of valid strings
- predicate `Predicate<string>` - custom predicates to apply to string value

@@ -245,3 +245,3 @@

if however you want the stings to be typed used the [literals](#literals) helper function:
if however you want the strings to be typed used the [literals](#literals) helper function:

@@ -248,0 +248,0 @@ ```typescript

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