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.2 to 0.7.3

test/specs/import.spec.js

2

lib/helpers.js

@@ -32,3 +32,3 @@ 'use strict';

var buildSheetFromMatrix = function buildSheetFromMatrix(data) {
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

@@ -35,0 +35,0 @@ var workSheet = {};

@@ -22,3 +22,3 @@ 'use strict';

function parse(mixed) {
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

@@ -33,3 +33,3 @@ var workSheet = _xlsx2.default[(0, _helpers.isString)(mixed) ? 'readFile' : 'read'](mixed, options);

function build(worksheets) {
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

@@ -51,2 +51,4 @@ var defaults = {

}
exports.default = { parse: parse, build: build };
//# sourceMappingURL=index.js.map
{
"name": "node-xlsx",
"author": "Olivier Louvignes <olivier@mg-crea.com>",
"version": "0.7.2",
"version": "0.7.3",
"description": "NodeJS Excel files parser & builder",

@@ -23,17 +23,17 @@ "main": "lib/index.js",

"devDependencies": {
"babel-cli": "^6.11.4",
"babel-eslint": "^6.1.2",
"babel-plugin-transform-class-properties": "^6.11.5",
"babel-cli": "^6.16.0",
"babel-eslint": "^7.0.0",
"babel-plugin-transform-class-properties": "^6.16.0",
"babel-plugin-transform-function-bind": "^6.8.0",
"babel-plugin-transform-object-rest-spread": "^6.8.0",
"babel-preset-es2015": "^6.13.2",
"babel-register": "^6.11.6",
"codeclimate-test-reporter": "^0.3.3",
"eslint": "^3.3.1",
"eslint-config-airbnb-base": "^5.0.2",
"eslint-plugin-import": "^1.13.0",
"eslint-plugin-jsx-a11y": "^2.1.0",
"babel-plugin-transform-object-rest-spread": "^6.16.0",
"babel-preset-es2015": "^6.16.0",
"babel-register": "^6.16.3",
"codeclimate-test-reporter": "^0.4.0",
"eslint": "^3.8.1",
"eslint-config-airbnb-base": "^9.0.0",
"eslint-plugin-import": "^2.0.1",
"eslint-plugin-jsx-a11y": "^2.2.3",
"expect": "^1.20.2",
"mocha": "^3.0.2",
"nyc": "^8.1.0",
"mocha": "^3.1.2",
"nyc": "^8.3.1",
"rimraf": "^2.5.4"

@@ -40,0 +40,0 @@ },

@@ -17,2 +17,3 @@ # Node XLSX

import xlsx from 'node-xlsx';
// Or var xlsx = require('node-xlsx').default;

@@ -29,2 +30,3 @@ // Parse a buffer

import xlsx from 'node-xlsx';
// Or var xlsx = require('node-xlsx').default;

@@ -31,0 +33,0 @@ const data = [[1, 2, 3], [true, false, null, 'sheetjs'], ['foo', 'bar', new Date('2014-02-19T14:30Z'), '0.3'], ['baz', null, 'qux']];

@@ -30,1 +30,3 @@

}
export default {parse, build};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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