Socket
Socket
Sign inDemoInstall

tcomb

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tcomb - npm Package Compare versions

Comparing version 3.2.5 to 3.2.6

5

CHANGELOG.md

@@ -15,2 +15,7 @@ # Changelog

# v3.2.6
- **Bug Fix**
- null Maybes should stringify to null, fix #227 (@gcanti)
# v3.2.5

@@ -17,0 +22,0 @@

2

lib/create.js

@@ -9,3 +9,3 @@ var isType = require('./isType');

if (isType(type)) {
return !type.meta.identity && typeof value === 'object' ? new type(value, path): type(value, path);
return !type.meta.identity && typeof value === 'object' && value !== null ? new type(value, path): type(value, path);
}

@@ -12,0 +12,0 @@

{
"name": "tcomb",
"version": "3.2.5",
"version": "3.2.6",
"description": "Type checking and DDD for JavaScript",

@@ -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