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

breadth-filter

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

breadth-filter - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

index.js

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

const entries = require('object.entries')
function targetFor (source, destructive) {

@@ -18,3 +20,3 @@ if (Array.isArray(source)) {

const [ source, target, path ] = item
for (const [ key, value ] of Object.entries(source)) {
for (const [ key, value ] of entries(source)) {
const fieldPath = path.concat(key)

@@ -21,0 +23,0 @@ const newTarget = targetFor(value, destructive)

{
"name": "breadth-filter",
"version": "1.1.0",
"version": "1.1.1",
"description": "Breadth-first deep object filter",

@@ -19,3 +19,6 @@ "author": "Stephen Belanger <admin@stephenbelanger.com> (https://github.com/qard)",

"tap": "^12.1.0"
},
"dependencies": {
"object.entries": "^1.0.4"
}
}
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