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

nested-property

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nested-property - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

index.js

@@ -132,3 +132,3 @@ /**

pathExists = !!split.reduce(function (obj, prop) {
isIn = isIn || obj === objectInPath || obj[prop] === objectInPath;
isIn = isIn || obj === objectInPath || (!!obj && obj[prop] === objectInPath);
return obj && obj[prop];

@@ -135,0 +135,0 @@ }, object);

{
"name": "nested-property",
"description": "Read, write or test a data structure's nested property via a string like 'my.nested.property'. It works through arrays and objects.'",
"version": "0.0.5",
"version": "0.0.6",
"homepage": "https://github.com/cosmosio/nested-property",

@@ -6,0 +6,0 @@ "licenses": [

@@ -184,2 +184,6 @@ Nested property

### 0.0.6 - 01 MAR 2015
* Fix a bug where an invalid path to search an object into is invalid and the isInNestedProperty would throw an error instead of return false
### 0.0.5 - 19 JAN 2015

@@ -186,0 +190,0 @@

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