ag-grid-mongo-query-builder
Advanced tools
Comparing version 0.4.3 to 0.4.4
{ | ||
"name": "ag-grid-mongo-query-builder", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"description": "Utility to generate Mongo DB aggregation pipeline queries starting from AgGrid server side params", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1194,3 +1194,3 @@ //const mongoose = require('mongoose'); | ||
function removeLineBreaks(stringValue) { | ||
if(stringValue && stringValue!='') { | ||
if(stringValue && stringValue!='' && typeof(stringValue) === "string") { | ||
const csvData = stringValue.replace(/[^\x20-\x7E]/gmi, ""); | ||
@@ -1197,0 +1197,0 @@ if(csvData && csvData.length > excelCharLimit) { |
52781