New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ntils

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ntils - npm Package Compare versions

Comparing version 3.1.8 to 3.1.9

3

dist/ntils.js

@@ -29,4 +29,3 @@ (function (global, factory) {

function isNull(obj) {
var type = getType(obj);
return type === 'Undefined' || type === 'Null';
return obj === undefined || obj === null;
}

@@ -33,0 +32,0 @@

@@ -27,4 +27,3 @@ 'use strict';

function isNull(obj) {
var type = getType(obj);
return type === 'Undefined' || type === 'Null';
return obj === undefined || obj === null;
}

@@ -31,0 +30,0 @@

{
"name": "ntils",
"version": "3.1.8",
"version": "3.1.9",
"description": "一个 Node & Browser 工具函数集",

@@ -28,2 +28,2 @@ "main": "./lib/index.js",

}
}
}

@@ -23,4 +23,3 @@ /**

export function isNull(obj) {
var type = getType(obj);
return type === 'Undefined' || type === 'Null';
return obj === undefined || obj === null;
};

@@ -27,0 +26,0 @@

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