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

exceljs

Package Overview
Dependencies
Maintainers
1
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exceljs - npm Package Compare versions

Comparing version 3.6.0 to 3.6.1

2

dist/es5/doc/workbook.js

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

if (this._worksheets.find(function (ws) {
return ws && ws.name === name;
return ws && ws.name.toLowerCase() === name.toLowerCase();
})) {

@@ -54,0 +54,0 @@ throw new Error("Worksheet name already exists: ".concat(name));

@@ -95,3 +95,3 @@ "use strict";

priority: model.priority,
id: "{".concat(uuid.v4(), "}")
id: model.x14Id || "{".concat(uuid.v4(), "}")
});

@@ -98,0 +98,0 @@ this.iconSetXform.render(xmlStream, model);

@@ -354,6 +354,6 @@ "use strict";

var printOptionsModel = {
showRowColHeaders: model.showRowColHeaders,
showGridLines: model.showGridLines,
horizontalCentered: model.horizontalCentered,
verticalCentered: model.verticalCentered
showRowColHeaders: model.pageSetup && model.pageSetup.showRowColHeaders,
showGridLines: model.pageSetup && model.pageSetup.showGridLines,
horizontalCentered: model.pageSetup && model.pageSetup.horizontalCentered,
verticalCentered: model.pageSetup && model.pageSetup.verticalCentered
};

@@ -375,4 +375,5 @@ var sheetProtectionModel = model.sheetProtection;

this.map.conditionalFormatting.render(xmlStream, model.conditionalFormattings);
this.map.printOptions.render(xmlStream, printOptionsModel); // Note: must be before pageMargins
this.map.pageMargins.render(xmlStream, pageMarginsModel);
this.map.printOptions.render(xmlStream, printOptionsModel);
this.map.pageSetup.render(xmlStream, model.pageSetup);

@@ -379,0 +380,0 @@ this.map.headerFooter.render(xmlStream, model.headerFooter);

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

name = (name || `sheet${id}`).substring(0, 31);
if (this._worksheets.find(ws => ws && ws.name === name)) {
if (this._worksheets.find(ws => ws && ws.name.toLowerCase() === name.toLowerCase())) {
throw new Error(`Worksheet name already exists: ${name}`);

@@ -57,0 +57,0 @@ }

@@ -77,3 +77,3 @@ const uuid = require('uuid');

priority: model.priority,
id: `{${uuid.v4()}}`,
id: model.x14Id || `{${uuid.v4()}}`,
});

@@ -80,0 +80,0 @@

@@ -282,6 +282,6 @@ const _ = require('../../../utils/under-dash');

const printOptionsModel = {
showRowColHeaders: model.showRowColHeaders,
showGridLines: model.showGridLines,
horizontalCentered: model.horizontalCentered,
verticalCentered: model.verticalCentered,
showRowColHeaders: model.pageSetup && model.pageSetup.showRowColHeaders,
showGridLines: model.pageSetup && model.pageSetup.showGridLines,
horizontalCentered: model.pageSetup && model.pageSetup.horizontalCentered,
verticalCentered: model.pageSetup && model.pageSetup.verticalCentered,
};

@@ -305,4 +305,4 @@ const sheetProtectionModel = model.sheetProtection;

this.map.conditionalFormatting.render(xmlStream, model.conditionalFormattings);
this.map.printOptions.render(xmlStream, printOptionsModel); // Note: must be before pageMargins
this.map.pageMargins.render(xmlStream, pageMarginsModel);
this.map.printOptions.render(xmlStream, printOptionsModel);
this.map.pageSetup.render(xmlStream, model.pageSetup);

@@ -309,0 +309,0 @@ this.map.headerFooter.render(xmlStream, model.headerFooter);

{
"name": "exceljs",
"version": "3.6.0",
"version": "3.6.1",
"description": "Excel Workbook Manager - Read and Write xlsx and csv Files.",

@@ -42,2 +42,3 @@ "private": false,

"test:end-to-end:es5": "export EXCEL_BUILD=es5 && npm run test:end-to-end",
"test:dist": "mocha --require spec/config/setup spec/dist --recursive",
"test:manual": "node spec/manual/app.js",

@@ -51,3 +52,3 @@ "clean-build": "npm run clean && npm run build",

"build": "npm run patch:fast-csv && grunt build",
"preversion": "npm run clean && npm run build && npm run test:all",
"preversion": "npm run clean && npm run build && npm run test:all && npm run test:dist",
"postversion": "git push --no-verify && git push --tags --no-verify"

@@ -54,0 +55,0 @@ },

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 too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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