Comparing version 1.16.0 to 1.16.1
1.16.1 / 2019-03-25 | ||
================== | ||
**fixes** | ||
* [[`a8b0c0d`](http://github.com/node-modules/utility/commit/a8b0c0d38e7d2f6c85169975cfc7f2f1a033c310)] - fix: detect number first before check NaN (#48) (fengmk2 <<fengmk2@gmail.com>>) | ||
1.16.0 / 2019-03-25 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -44,3 +44,3 @@ 'use strict'; | ||
var value = obj[key]; | ||
if (value === null || value === undefined || isNaN(value)) { | ||
if (value === null || value === undefined || Number.isNaN(value)) { | ||
return false; | ||
@@ -47,0 +47,0 @@ } |
{ | ||
"name": "utility", | ||
"version": "1.16.0", | ||
"version": "1.16.1", | ||
"description": "A collection of useful utilities.", | ||
@@ -5,0 +5,0 @@ "main": "lib/utility.js", |
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
56893