🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

spreadsheet-stream

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spreadsheet-stream - npm Package Compare versions

Comparing version

to
1.0.2

5

index.js

@@ -28,5 +28,6 @@ 'use strict'

const buf = Buffer.concat(chunks, size)
let workbook
try {
var workbook = xlsx.read(buf, { type: 'buffer' })
workbook = xlsx.read(buf, { type: 'buffer' })
} catch (err) {

@@ -43,3 +44,3 @@ return callback(err)

duplex.setReadable(xlsx.stream.to_json(sheet, { raw: true }))
duplex.setReadable(xlsx.stream.to_json(sheet, { raw: true, defval: null }))
callback()

@@ -46,0 +47,0 @@ }

14

package.json
{
"name": "spreadsheet-stream",
"version": "1.0.1",
"version": "1.0.2",
"description": "Semi-streaming XLS(X) / ODS / QPW (and more) parser",

@@ -14,11 +14,11 @@ "license": "MIT",

"dependencies": {
"duplexify": "~4.1.0",
"readable-stream": "~3.4.0",
"xlsx": "~0.14.3"
"duplexify": "^4.1.0",
"readable-stream": "^3.4.0",
"xlsx": "^0.18.0"
},
"devDependencies": {
"concat-stream": "^2.0.0",
"hallmark": "^0.1.0",
"standard": "^12.0.1",
"tape": "^4.10.2"
"hallmark": "^4.1.0",
"standard": "^16.0.4",
"tape": "^5.5.0"
},

@@ -25,0 +25,0 @@ "keywords": [

@@ -8,4 +8,4 @@ # spreadsheet-stream

[![node](https://img.shields.io/node/v/spreadsheet-stream.svg)](https://www.npmjs.org/package/spreadsheet-stream)
[![Travis build status](https://img.shields.io/travis/vweevers/spreadsheet-stream.svg?label=travis)](http://travis-ci.org/vweevers/spreadsheet-stream)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![Test](https://img.shields.io/github/workflow/status/vweevers/spreadsheet-stream/Test?label=test)](https://github.com/vweevers/spreadsheet-stream/actions/workflows/test.yml)
[![Standard](https://img.shields.io/badge/standard-informational?logo=javascript&logoColor=fff)](https://standardjs.com)

@@ -12,0 +12,0 @@ ## Example