@json2csv/plainjs
Advanced tools
Comparing version 6.1.0 to 6.1.1
{ | ||
"name": "@json2csv/plainjs", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "Pure Javascript JSON to CSV converter.", | ||
@@ -47,3 +47,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@json2csv/formatters": "^6.1.0", | ||
"@json2csv/formatters": "^6.1.1", | ||
"@streamparser/json": "^0.0.10", | ||
@@ -50,0 +50,0 @@ "lodash.get": "^4.4.2" |
@@ -9,3 +9,3 @@ export function getProp(obj, path, defaultValue) { | ||
// This is faster but susceptible to `RangeError: Maximum call stack size exceeded` | ||
acc.push(...arr); | ||
Array.isArray(arr) ? acc.push(...arr) : acc.push(arr); | ||
return acc; | ||
@@ -12,0 +12,0 @@ } catch (err) { |
25209
Updated@json2csv/formatters@^6.1.1