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

deep-exists

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-exists - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

README.md

6

index.js
module.exports = function (obj, sub) {
if (sub) {
sub = sub.split('.')
}
if (sub) sub = sub.split('.')

@@ -12,3 +10,3 @@ if (obj === null || obj === undefined) return false

var prop
for (var i = 0;i < sub.length;i++) {
for (var i = 0; i < sub.length; i++) {
prop = sub[i]

@@ -15,0 +13,0 @@ if (current[prop] === null || current[prop] === undefined) return false

{
"name": "deep-exists",
"version": "1.0.0",
"version": "1.0.1",
"description": "deep checking for existence",

@@ -5,0 +5,0 @@ "main": "index.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