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

type-of-is

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type-of-is - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

test/assertAll.js

8

index.js

@@ -13,5 +13,11 @@ var isBuiltIn = (function () {

];
var built_ins_length = built_ins.length;
return function (_constructor) {
return (built_ins.indexOf(_constructor) != -1);
for (var i = 0; i < built_ins_length; i++) {
if (built_ins[i] === _constructor) {
return true;
}
}
return false;
};

@@ -18,0 +24,0 @@ })();

2

package.json
{
"name": "type-of-is",
"version": "3.0.0",
"version": "3.1.0",
"description": "Determine and test types using constructor or {}.toString",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -43,3 +43,3 @@ # Description

3.0.0
3.1.0

@@ -59,3 +59,3 @@

"dependencies": {
"type-of-is": "3.0.0"
"type-of-is": "3.1.0"
}

@@ -211,5 +211,7 @@ }

http://www.2ality.com/2011/11/improving-typeof.html
#Build status
[![build status](https://secure.travis-ci.org/stephenhandley/type-of-is.png)](http://travis-ci.org/stephenhandley/type-of-is)

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