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

array-table-search

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-table-search - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

1.0.1 - May, 06 2018
* 14e0213 Fix: convert null or undefined to empty string (#1) (Lukas Aichbauer)
1.0.0 - March, 23 2018

@@ -2,0 +6,0 @@

2

lib/modules/multi-column-search-array-table.js

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

data.forEach(function (item, i) {
var currentItemValue = item[searchEntry[0]].toString().toLowerCase();
var currentItemValue = item[searchEntry[0]] ? item[searchEntry[0]].toString().toLowerCase() : '';
if (currentItem === searchEntry[0]) {

@@ -43,0 +43,0 @@ switch (currentSearch) {

@@ -36,3 +36,5 @@ 'use strict';

var currentItemValues = (0, _values2.default)(item).map(function (val) {
return val.toString().toLowerCase();
var result = val ? val.toString().toLowerCase() : '';
return result;
});

@@ -39,0 +41,0 @@

{
"name": "array-table-search",
"version": "1.0.0",
"version": "1.0.1",
"description": "Search on an array that are that holds data for tables",

@@ -45,4 +45,3 @@ "main": "./lib/index.js",

"jest": "^22.4.3"
},
"dependencies": {}
}
}
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