Socket
Socket
Sign inDemoInstall

deep-for-each

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-for-each - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Change Log

<a name="2.0.2"></a>
## [2.0.2](https://github.com/moxystudio/js-deep-for-each/compare/v2.0.1...v2.0.2) (2018-01-24)
<a name="2.0.1"></a>

@@ -7,0 +12,0 @@ ## [2.0.1](https://github.com/moxystudio/js-deep-for-each/compare/v2.0.0...v2.0.1) (2018-01-24)

2

package.json
{
"name": "deep-for-each",
"version": "2.0.1",
"version": "2.0.2",
"description": "Recursively iterates over arrays and objects",

@@ -5,0 +5,0 @@ "keywords": [

@@ -40,4 +40,4 @@ # deep-for-each

prop5: 'foo',
prop6: 'bar'
}
prop6: 'bar',
},
}, (value, prop, subject, path) => {

@@ -49,3 +49,3 @@ // `value` is the current property value

console.log(`${path}: ${value}`);
console.log(`${path}:`, value);
});

@@ -58,9 +58,9 @@ ```

prop1: foo
prop2: ['foo', 'bar']
prop2: [ 'foo', 'bar' ]
prop2[0]: foo
prop2[1]: bar
prop3: ['foo', 'foo']
prop3: [ 'foo', 'foo' ]
prop3[0]: foo
prop3[1]: foo
prop4: {prop5: 'foo', prop6: 'bar'}
prop4: { prop5: 'foo', prop6: 'bar' }
prop4.prop5: foo

@@ -67,0 +67,0 @@ prop4.prop6: bar

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