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

bloomrun

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bloomrun - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

9

lib/deepMatch.js
'use strict'
function deepPartialMatch (a, b) {
var keys
if (a === b) {

@@ -16,6 +14,5 @@ return true

keys = Object.keys(a)
for (var i = 0; i < keys.length; i++) {
if (!b[keys[i]] || !deepPartialMatch(a[keys[i]], b[keys[i]])) {
// this is faster than Object.keys()
for (var key in a) {
if (!b[key] || !deepPartialMatch(a[key], b[key])) {
return false

@@ -22,0 +19,0 @@ }

{
"name": "bloomrun",
"version": "1.1.1",
"version": "1.1.2",
"description": "JS object pattern matching, powered by bloom filters",

@@ -5,0 +5,0 @@ "main": "bloomrun.js",

@@ -142,3 +142,3 @@ [![logo][logo-url]][npm-url]

Copyright Matteo Collina 2015, Licensed under [MIT][].
Copyright Matteo Collina 2015-2016, Licensed under [MIT][].

@@ -145,0 +145,0 @@ [MIT]: ./LICENSE

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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