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.11.0 to 0.11.1

23

package.json
{
"name": "node-xlsx",
"author": "Olivier Louvignes <olivier@mg-crea.com>",
"version": "0.11.0",
"version": "0.11.1",
"description": "NodeJS Excel files parser & builder",

@@ -20,7 +20,7 @@ "main": "lib/index.js",

"dependencies": {
"xlsx": "^0.11.3"
"xlsx": "^0.11.10"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^7.2.3",
"babel-eslint": "^8.0.2",
"babel-plugin-transform-class-properties": "^6.24.1",

@@ -31,11 +31,14 @@ "babel-plugin-transform-function-bind": "^6.22.0",

"babel-register": "^6.26.0",
"codacy-coverage": "^2.0.2",
"codacy-coverage": "^2.0.3",
"debug-utils": "^0.2.1",
"eslint": "^4.5.0",
"eslint-config-airbnb-base": "^11.3.2",
"eslint-plugin-import": "^2.7.0",
"expect": "^1.20.2",
"jest": "^20.0.4",
"rimraf": "^2.6.1"
"eslint": "^4.11.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0",
"expect": "^21.2.1",
"jest": "^21.2.1",
"rimraf": "^2.6.2"
},
"engines": {
"node": ">=4.0.0"
},
"keywords": [

@@ -42,0 +45,0 @@ "excel",

@@ -54,2 +54,12 @@ # Node XLSX

### Troubleshooting
This library requires at lease nodeJS v4. For legacy versions, you can use this workaround before using the lib.
```
npm i --save object-assign
Object.prototype.assign = require('object-assign');
```
### Contributing

@@ -56,0 +66,0 @@

@@ -13,3 +13,3 @@ import fs from 'fs';

const result = buildXSLX(worksheets);
expect(result).toBeA(Buffer);
expect(result instanceof Buffer).toBeTruthy();
// Only check the ten first bytes

@@ -16,0 +16,0 @@ expect(result.slice(0, 10)).toEqual(expected.slice(0, 10));

@@ -18,3 +18,3 @@ import expect from 'expect';

const notArrayData = [['a1'], ['b1']];
expect(() => buildSheetFromMatrix(notArrayData)).toNotThrow();
expect(typeof buildSheetFromMatrix(notArrayData)).toBe('object');
});

@@ -21,0 +21,0 @@

@@ -6,7 +6,7 @@ import expect from 'expect';

it('should get current object', () => {
expect(XSLX).toBeA(Object);
expect(typeof XSLX).toBe('object');
});
it('should has current keys', () => {
expect(XSLX).toIncludeKeys(['build', 'parse']);
expect(Object.keys(XSLX)).toEqual(['parse', 'build']);
});
});
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