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

filter-tree

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filter-tree - npm Package Compare versions

Comparing version 0.3.40 to 0.3.41

2

js/extensions/columns.js

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

q: function(dataRow) {
return this.valOrFunc(dataRow, this.operand);
return this.valOrFunc.call(dataRow, this.operand);
}

@@ -45,0 +45,0 @@ };

@@ -253,9 +253,9 @@ /* eslint-env browser */

valOrFunc: function(dataRow, columnName) {
valOrFunc: function(columnName) {
var result, calculator;
if (dataRow) {
result = dataRow[columnName];
if (this) {
result = this[columnName];
calculator = (typeof result)[0] === 'f' && result || this.calculator;
if (calculator) {
result = calculator(dataRow, columnName);
result = calculator.call(this, columnName);
}

@@ -267,3 +267,3 @@ }

p: function(dataRow) {
return this.valOrFunc(dataRow, this.column);
return this.valOrFunc.call(dataRow, this.column);
},

@@ -270,0 +270,0 @@

{
"name": "filter-tree",
"version": "0.3.40",
"version": "0.3.41",
"description": "Complex table filter expressions with GUI editor.",

@@ -5,0 +5,0 @@ "repository": {

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