Socket
Socket
Sign inDemoInstall

node-xlsx

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-xlsx - npm Package Compare versions

Comparing version 0.7.3 to 0.7.4

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc