Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xlsx-write-stream

Package Overview
Dependencies
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xlsx-write-stream - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

6

dist/templates/cell.js

@@ -14,4 +14,8 @@ 'use strict';

return `<c r="${cell}" t="inlineStr"><is><t>${(0, _utils.escape)(value)}</t></is></c>`;
} else if ((0, _lodash.isNumber)(value) || value) {
} else if ((0, _lodash.isBoolean)(value)) {
return `<c r="${cell}" t="inlineStr"><is><t>${value}</t></is></c>`;
} else if ((0, _lodash.isNumber)(value)) {
return `<c r="${cell}" t="n"><v>${value}</v></c>`;
} else if (value) {
return `<c r="${cell}" t="inlineStr"><is><t>${(0, _utils.escape)(`${value}`)}</t></is></c>`;
}

@@ -18,0 +22,0 @@ return '';

4

dist/XLSXWriteStream.js

@@ -72,4 +72,3 @@ 'use strict';

this.sheetStream.write(templates.SheetHeader);
stream.on('end', this.finalize);
stream.on('close', () => console.log('Input stream close'));
transformedStream.on('end', this.finalize);
// stream.on('data', () => console.log('Input stream data'));

@@ -89,3 +88,2 @@ transformedStream.pipe(this.sheetStream);

finalize() {
console.log('finalize');
this.sheetStream.end(templates.SheetFooter);

@@ -92,0 +90,0 @@ return this.zip.finalize();

{
"name": "xlsx-write-stream",
"version": "0.0.12",
"version": "0.0.13",
"description": "Apify xlsx write stream helper",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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