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

just-safe-set

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

just-safe-set - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

6

index.js

@@ -39,6 +39,6 @@ module.exports = set;

while ((thisProp = props.shift())) {
if (!obj[thisProp]) {
obj[thisProp] = {};
obj = obj[thisProp];
if (!obj || typeof obj != 'object') {
return false;
}
obj = obj[thisProp];
}

@@ -45,0 +45,0 @@ obj[lastProp] = value;

{
"name": "just-safe-set",
"version": "1.1.0",
"version": "2.0.0",
"description":

@@ -5,0 +5,0 @@ "set value at property, create intermediate properties if necessary",

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