is-type-of
Advanced tools
Comparing version 1.2.1 to 1.4.0
@@ -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 |
{ | ||
"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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7705
7
135