Comparing version 0.17.1 to 0.17.2
@@ -41,2 +41,3 @@ "use strict"; | ||
exports.isCellDescriptor = isCellDescriptor; | ||
var SUPPORTED_WS_OPTIONS = ['!cols', '!rows', '!merges', '!autofilter', '!protect']; | ||
@@ -131,10 +132,7 @@ var buildExcelDate = function buildExcelDate(value, is1904) { | ||
if (options['!cols']) { | ||
workSheet['!cols'] = options['!cols']; | ||
} | ||
if (options['!merges']) { | ||
workSheet['!merges'] = options['!merges']; | ||
} | ||
SUPPORTED_WS_OPTIONS.forEach(function (option) { | ||
if (options[option]) { | ||
workSheet[option] = options[option]; | ||
} | ||
}); | ||
return workSheet; | ||
@@ -141,0 +139,0 @@ }; |
{ | ||
"name": "node-xlsx", | ||
"author": "Olivier Louvignes <olivier@mg-crea.com>", | ||
"version": "0.17.1", | ||
"version": "0.17.2", | ||
"description": "NodeJS Excel files parser & builder", | ||
@@ -20,21 +20,21 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@babel/runtime": "^7.14.6", | ||
"buffer-from": "^1.1.1", | ||
"xlsx": "^0.17.0" | ||
"@babel/runtime": "^7.15.4", | ||
"buffer-from": "^1.1.2", | ||
"xlsx": "^0.17.2" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.14.5", | ||
"@babel/core": "^7.14.6", | ||
"@babel/cli": "^7.15.7", | ||
"@babel/core": "^7.15.5", | ||
"@babel/plugin-proposal-class-properties": "^7.14.5", | ||
"@babel/plugin-transform-runtime": "^7.14.5", | ||
"@babel/preset-env": "^7.14.7", | ||
"@babel/plugin-transform-runtime": "^7.15.0", | ||
"@babel/preset-env": "^7.15.6", | ||
"babel-eslint": "^10.1.0", | ||
"codacy-coverage": "^3.4.0", | ||
"debug-utils": "^0.5.3", | ||
"eslint": "^7.30.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-airbnb-base": "^14.2.1", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.23.4", | ||
"expect": "^27.0.6", | ||
"jest": "^27.0.6", | ||
"eslint-plugin-import": "^2.24.2", | ||
"expect": "^27.2.1", | ||
"jest": "^27.2.1", | ||
"rimraf": "^3.0.2" | ||
@@ -41,0 +41,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27118
Updated@babel/runtime@^7.15.4
Updatedbuffer-from@^1.1.2
Updatedxlsx@^0.17.2