Comparing version 0.7.3 to 0.7.4
{ | ||
"name": "node-xlsx", | ||
"author": "Olivier Louvignes <olivier@mg-crea.com>", | ||
"version": "0.7.3", | ||
"version": "0.7.4", | ||
"description": "NodeJS Excel files parser & builder", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
@@ -8,3 +8,3 @@ | ||
const workSheet = XLSX[isString(mixed) ? 'readFile' : 'read'](mixed, options); | ||
return Object.keys(workSheet.Sheets).map(name => { | ||
return Object.keys(workSheet.Sheets).map((name) => { | ||
const sheet = workSheet.Sheets[name]; | ||
@@ -22,3 +22,3 @@ return {name, data: XLSX.utils.sheet_to_json(sheet, {header: 1, raw: true})}; | ||
const workBook = new Workbook(); | ||
worksheets.forEach(worksheet => { | ||
worksheets.forEach((worksheet) => { | ||
const name = worksheet.name || 'Sheet'; | ||
@@ -25,0 +25,0 @@ const data = buildSheetFromMatrix(worksheet.data || [], options); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
37069