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

deep-get-set

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-get-set - npm Package Compare versions

Comparing version 0.1.1 to 1.0.0

8

index.js

@@ -0,1 +1,3 @@

var hasOwnProp = Object.prototype.hasOwnProperty;
module.exports = deep;

@@ -12,3 +14,3 @@

var key = keys[i];
if (!obj || !hasOwnProperty.call(obj, key)) {
if (!obj || !hasOwnProp.call(obj, key)) {
obj = undefined;

@@ -26,3 +28,3 @@ break;

var key = keys[i];
if (deep.p && !hasOwnProperty.call(obj, key)) obj[key] = {};
if (deep.p && !hasOwnProp.call(obj, key)) obj[key] = {};
obj = obj[key];

@@ -32,2 +34,2 @@ }

return value;
}
}
{
"name": "deep-get-set",
"description": "Set and get values on objects via dot-notation strings.",
"version": "0.1.1",
"version": "1.0.0",
"repository": {

@@ -45,2 +45,2 @@ "type": "git",

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