@keen.io/data-export
Advanced tools
Comparing version 1.2.40 to 1.2.41
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.2.41](https://github.com/keen/keen/compare/@keen.io/data-export@1.2.40...@keen.io/data-export@1.2.41) (2022-04-28) | ||
### Bug Fixes | ||
* 🐛 handle delimeter in csv ([e701be5](https://github.com/keen/keen/commit/e701be509694b5260915e8cba75d3445d248ca0c)) | ||
## [1.2.40](https://github.com/keen/keen/compare/@keen.io/data-export@1.2.39...@keen.io/data-export@1.2.40) (2022-01-18) | ||
@@ -8,0 +19,0 @@ |
@@ -10,2 +10,5 @@ export var exportToCSV = function (data, columnDelimiter, lineDelimiter) { | ||
return 'null'; | ||
var hasDelimeter = typeof item === 'string' && item.includes(columnDelimiter); | ||
if (hasDelimeter) | ||
return "\"" + item + "\""; | ||
return item; | ||
@@ -12,0 +15,0 @@ }); |
{ | ||
"name": "@keen.io/data-export", | ||
"version": "1.2.40", | ||
"version": "1.2.41", | ||
"description": "Keen data export utilities", | ||
@@ -27,8 +27,8 @@ "author": "Keen.IO <team@keen.io> (https://keen.io/)", | ||
"@keen.io/charts-utils": "^1.15.0", | ||
"@keen.io/parser": "^2.8.135", | ||
"@keen.io/parser": "^2.8.136", | ||
"@keen.io/query": "^1.2.0" | ||
}, | ||
"devDependencies": { | ||
"@keen.io/charts": "^2.40.2", | ||
"@keen.io/widgets": "^2.18.2" | ||
"@keen.io/charts": "^2.40.3", | ||
"@keen.io/widgets": "^2.18.3" | ||
}, | ||
@@ -41,3 +41,3 @@ "bugs": { | ||
}, | ||
"gitHead": "0095b318299a7ca0a1a415187d5a807c4ebc099f" | ||
"gitHead": "163cfb16a6ab2cad0303f0f716b1630f3af2467d" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44667
683
Updated@keen.io/parser@^2.8.136