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

yup

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yup - npm Package Compare versions

Comparing version 0.3.1 to 0.4.1

4

lib/array.js

@@ -28,3 +28,5 @@ 'use strict';

if(values == null ) return values
if(values === undefined )
return
if( this.isType(values) )

@@ -31,0 +33,0 @@ return this._subType

@@ -35,3 +35,3 @@ 'use strict';

if( this.isType(value) )
if( value === undefined || this.isType(value) )
return value

@@ -38,0 +38,0 @@

{
"name": "yup",
"version": "0.3.1",
"version": "0.4.1",
"description": "Dead simple Object schema validation",

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

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