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 4.0.3 to 4.0.4

6

lib/index.js

@@ -682,7 +682,5 @@ "use strict";

each(path, function (index, name) {
if (isNull(name) || name.length < 1)
if (isNull(obj) || isNull(name) || name.length < 1)
return;
var value = filter ? filter(obj[name], name, obj) : obj[name];
if (!isNull(obj))
obj = value;
obj = filter ? filter(obj[name], name, obj) : obj[name];
});

@@ -689,0 +687,0 @@ return obj;

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

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -628,5 +628,4 @@ /**

each(path, function (index, name) {
if (isNull(name) || name.length < 1) return;
const value = filter ? filter(obj[name], name, obj) : obj[name];
if (!isNull(obj)) obj = value;
if (isNull(obj) || isNull(name) || name.length < 1) return;
obj = filter ? filter(obj[name], name, obj) : obj[name];
});

@@ -633,0 +632,0 @@ return obj;

Sorry, the diff of this file is not supported yet

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