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

just-safe-get

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

just-safe-get - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

5

index.js

@@ -43,8 +43,11 @@ module.exports = get;

prop = props.shift();
obj = obj[prop];
if (!obj) {
return void 0;
}
obj = obj[prop];
if (obj === undefined) {
return obj;
}
}
return obj;
}

2

package.json
{
"name": "just-safe-get",
"version": "1.3.1",
"version": "1.3.2",
"description": "get value at property, don't throw if parent is undefined",

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