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

@flourish/filter

Package Overview
Dependencies
Maintainers
8
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flourish/filter - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

6

filter.js

@@ -85,3 +85,3 @@ (function (global, factory) {

var filter_value = obj[filter_prop];
if (!filter_value) return false;
if (filter_value === undefined) return false;
if (index < (filter_level-1)) {

@@ -145,4 +145,4 @@ if (!parent.hasOwnProperty(filter_value)){ // path not currently in tree

var extracateData = function(_filters){
if ( typeof _filters === "string" ) _filters = [_filters];
var filters = _filters.slice();
if (typeof _filters === "string") _filters = [_filters];
var filters = _filters.slice().filter(function(x) {return x !== undefined;});
if (filters.length > filter_level) filters.length = filter_level;

@@ -149,0 +149,0 @@ var extractee = find(filters);

{
"name": "@flourish/filter",
"version": "0.0.3",
"version": "0.0.4",
"description": "Reusable filter and optional aggregator",

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

@@ -49,3 +49,3 @@ import { aggregators } from "./aggregators";

var filter_value = obj[filter_prop];
if (!filter_value) return false;
if (filter_value === undefined) return false;
if (index < (filter_level-1)) {

@@ -109,4 +109,4 @@ if (!parent.hasOwnProperty(filter_value)){ // path not currently in tree

var extracateData = function(_filters){
if ( typeof _filters === "string" ) _filters = [_filters];
var filters = _filters.slice();
if (typeof _filters === "string") _filters = [_filters];
var filters = _filters.slice().filter(function(x) {return x !== undefined;});
if (filters.length > filter_level) filters.length = filter_level;

@@ -113,0 +113,0 @@ var extractee = find(filters);

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