Socket
Socket
Sign inDemoInstall

is-type-of

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-type-of - npm Package Compare versions

Comparing version 1.2.1 to 1.4.0

index.d.ts

7

index.js

@@ -36,3 +36,3 @@ 'use strict';

exports.NaN = Number.isNaN
exports.NaN = Number.isNaN;

@@ -92,2 +92,7 @@ exports.generator = function (obj) {

exports.bigInt = function (obj) {
return 'bigint' === typeof obj;
};
exports.bigint = exports.bigInt;
/**

@@ -94,0 +99,0 @@ * override core-util-is

18

package.json
{
"name": "is-type-of",
"version": "1.2.1",
"version": "1.4.0",
"description": "complete type checking for node",
"main": "index.js",
"scripts": {
"test": "nyc mocha test/*.test.js"
"test": "tsd && egg-bin test",
"ci": "tsd && egg-bin cov",
"lint": "echo 'ignore'"
},

@@ -14,3 +16,4 @@ "repository": {

"files": [
"index.js"
"index.js",
"index.d.ts"
],

@@ -35,11 +38,10 @@ "keywords": [

"devDependencies": {
"autod": "^2.9.0",
"@types/node": "^18.16.3",
"beautify-benchmark": "^0.2.4",
"benchmark": "^2.1.4",
"contributors": "*",
"egg-bin": "^6.4.0",
"long": "^3.2.0",
"mocha": "^3.5.0",
"nyc": "^11.1.0",
"semver": "^5.4.1"
"semver": "^5.4.1",
"tsd": "^0.28.1"
}
}
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