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.13 to 3.2.14

5

CHANGELOG.md

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

# v3.2.14
- **Bug Fix**
- replace `instanceof Array` with `Array.isArray`, fix #255 (@ewnd9)
# v3.2.13

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

2

lib/isArray.js
module.exports = function isArray(x) {
return x instanceof Array;
return Array.isArray ? Array.isArray(x) : x instanceof Array;
};
{
"name": "tcomb",
"version": "3.2.13",
"version": "3.2.14",
"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