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

extensible-validator

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extensible-validator - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

4

dist/StringSchema.js

@@ -50,3 +50,5 @@ "use strict";

cast(value) {
return typeof value === 'string' ? value : value.toString();
return typeof value === 'string' || value == null
? value
: value.toString();
}

@@ -53,0 +55,0 @@ }

{
"name": "extensible-validator",
"version": "2.2.1",
"version": "2.2.2",
"description": "Typescript-friendly and extensible object and value validation",

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

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