is-type-of
Advanced tools
Comparing version 1.2.0 to 1.2.1
1.2.1 / 2018-09-22 | ||
================== | ||
**fixes** | ||
* [[`1468e4e`](http://github.com/node-modules/is-type-of/commit/1468e4e2d2a1221ff25187f430e5546db2fadacc)] - fix: hotfix is-class bug (#10) (fengmk2 <<fengmk2@gmail.com>>) | ||
**others** | ||
* [[`32aab2b`](http://github.com/node-modules/is-type-of/commit/32aab2b5431e76529f2cf9ddf1d112b99ed05394)] - chore: Improve some functions (#8) (Runrioter Wung <<runrioter@gmail.com>>) | ||
1.2.0 / 2017-08-10 | ||
@@ -3,0 +12,0 @@ ================== |
15
index.js
@@ -5,3 +5,4 @@ 'use strict'; | ||
var isStearm = require('isstream'); | ||
var isClass = require('is-class'); | ||
// wait for https://github.com/miguelmota/is-class/pull/6 merge | ||
var isClass = require('is-class-hotfix'); | ||
@@ -34,9 +35,5 @@ /** | ||
exports.finite = function (obj) { | ||
return Number.isFinite(obj); | ||
}; | ||
exports.finite = Number.isFinite; | ||
exports.NaN = function (obj) { | ||
return Number.isNaN(obj); | ||
}; | ||
exports.NaN = Number.isNaN | ||
@@ -113,5 +110,3 @@ exports.generator = function (obj) { | ||
exports.array = function isArray(obj) { | ||
return Array.isArray(obj); | ||
}; | ||
exports.array = Array.isArray; | ||
@@ -118,0 +113,0 @@ /** |
{ | ||
"name": "is-type-of", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "complete type checking for node", | ||
@@ -30,3 +30,3 @@ "main": "index.js", | ||
"core-util-is": "^1.0.2", | ||
"is-class": "~0.0.4", | ||
"is-class-hotfix": "~0.0.6", | ||
"isstream": "~0.1.2" | ||
@@ -33,0 +33,0 @@ }, |
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
7453
94
+ Addedis-class-hotfix@~0.0.6
+ Addedis-class-hotfix@0.0.6(transitive)
- Removedis-class@~0.0.4
- Removedis-class@0.0.9(transitive)