Skip to content

Commit 6ca9965

Browse files
author
reko
committed
support formula
ref pr:protobi/js-xlsx#76 ref issue:protobi/js-xlsx#75
1 parent 57e2905 commit 6ca9965

File tree

4 files changed

+36
-35
lines changed

4 files changed

+36
-35
lines changed

package-lock.json

Lines changed: 31 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "style-node-xlsx",
33
"author": "suhli",
4-
"version": "0.15.1-style",
4+
"version": "0.15.2-style",
55
"description": "NodeJS Excel files parser & builder",
66
"main": "lib/index.js",
77
"scripts": {
@@ -20,7 +20,7 @@
2020
"dependencies": {
2121
"buffer-from": "^1.1.1",
2222
"xlsx": "^0.14.4",
23-
"xlsx-style": "^0.8.13"
23+
"xlsx-styled": "0.8.20"
2424
},
2525
"devDependencies": {
2626
"babel-cli": "^6.26.0",

src/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import XLSX from 'xlsx-style';
1+
import XLSX from 'xlsx-styled';
22

33
const ORIGIN_DATE = new Date(Date.UTC(1899, 11, 30));
44

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import XLSX from 'xlsx-style';
1+
import XLSX from 'xlsx-styled';
22
import bufferFrom from 'buffer-from';
33
import {buildSheetFromMatrix, isString} from './helpers';
44
import Workbook from './workbook';
@@ -15,7 +15,7 @@ export const build = (worksheets, options = {}) => {
1515
const defaults = {
1616
bookType: 'xlsx',
1717
bookSST: false,
18-
type: 'binary'
18+
type: 'binary',
1919
};
2020
const workBook = new Workbook();
2121
worksheets.forEach((worksheet) => {

0 commit comments

Comments
 (0)