csv-to-js-parser
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -72,10 +72,3 @@ /* | ||
if (i === -1) throw new Error('No row delimeter found'); | ||
if (data[i - 1] === '\r') | ||
{ | ||
newRow = '\r\n'; | ||
} | ||
else | ||
{ | ||
newRow = '\n'; | ||
} | ||
newRow = (data[i - 1] === '\r') ? '\r\n' : '\n'; | ||
data = data.split(newRow); | ||
@@ -82,0 +75,0 @@ //Deleting last empty row |
{ | ||
"name": "csv-to-js-parser", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Converting csv data into array of JavaScript objects. This module can group input data.", | ||
@@ -5,0 +5,0 @@ "main": "app.js", |
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
57113
1260