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

@cdxoo/traverse

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cdxoo/traverse - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

Makefile

2

package.json
{
"name": "@cdxoo/traverse",
"version": "0.0.1",
"version": "0.0.2",
"description": "does not traverseten cats",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -24,3 +24,3 @@ 'use strict';

var { key, value, parentNode, options } = context;
var { onlyPlainObjects, traverseArrays } = options;
var { onlyPlainObjects, traverseArrays, createPathToken } = options;

@@ -48,3 +48,3 @@ var shouldTraverse = (

isRoot = false;
path.push(key);
path.push(createPathToken({ parentNode, key, value }));
}

@@ -71,2 +71,3 @@

traverseArrays = false,
createPathToken = ({ key }) => (key),
} = options;

@@ -80,3 +81,4 @@

onlyPlainObjects,
traverseArrays
traverseArrays,
createPathToken
}

@@ -100,3 +102,3 @@ });

var traverse = (that, lambda, options) => {
var traverse = (that, lambda, options = {}) => {
_traverse({ key: undefined, value: that, lambda, options });

@@ -103,0 +105,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