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

utility

Package Overview
Dependencies
Maintainers
3
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utility - npm Package Compare versions

Comparing version 1.16.0 to 1.16.1

6

History.md
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 @@ ==================

2

lib/object.js

@@ -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",

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