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

hadron-type-checker

Package Overview
Dependencies
Maintainers
25
Versions
497
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hadron-type-checker - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

9

lib/type-checker.js

@@ -42,2 +42,7 @@ 'use strict';

/**
* False constant.
*/
const FALSE = 'false';
/**
* Long constant.

@@ -116,4 +121,6 @@ */

return true;
} else if (object.toLowerCase() === FALSE) {
return false;
}
return false;
throw new Error(`'${object}' is not a valid boolean string`);
}

@@ -120,0 +127,0 @@ if (object) {

2

package.json

@@ -7,3 +7,3 @@ {

"homepage": "https://github.com/mongodb-js/hadron-type-checker",
"version": "2.0.0",
"version": "2.1.0",
"repository": {

@@ -10,0 +10,0 @@ "type": "git",

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