From 2f9e3f69b45dd875e018d2a87dc8662e12f46297 Mon Sep 17 00:00:00 2001 From: Aubaid Date: Mon, 8 Jul 2024 17:46:56 +0500 Subject: [PATCH] Update package.json Fix xlsx module 'fs' error in package.json --- package.json | 109 ++++++++++++++++++++++++++------------------------- 1 file changed, 56 insertions(+), 53 deletions(-) diff --git a/package.json b/package.json index 45ebdd3dc..20adb0790 100644 --- a/package.json +++ b/package.json @@ -1,55 +1,58 @@ { - "name": "tempa-xlsx", - "version": "0.8.20", - "author": "sheetjs", - "description": "Excel (XLSB/XLSX/XLSM/XLS/XML) and ODS spreadsheet parser and writer (extended to enable read/write of cell formats with xlsx files)", - "keywords": [ - "excel", - "xls", - "xlsx", - "xlsb", - "xlsm", - "ods", - "office", - "spreadsheet" - ], - "bin": { - "xlsx": "./bin/xlsx.njs" - }, - "main": "./xlsx", - "dependencies": { - "ssf": "~0.8.1", - "codepage": "~1.3.6", - "cfb": ">=0.10.0", - "jszip": "2.4.0", - "crc-32": "", - "adler-32": "", - "commander": "" - }, - "devDependencies": { - "cheerio": "^0.19.0", - "mocha": "", - "xlsjs": "", - "uglify-js": "" - }, - "repository": { - "type": "git", - "url": "git@github.com:securedeveloper/js-xlsx.git" - }, - "scripts": { - "pretest": "git submodule init && git submodule update", - "test": "make test" - }, - "config": { - "blanket": { - "pattern": "xlsx.js" - } - }, - "bugs": { - "url": "https://github.com/securedeveloper/js-xlsx/issues" - }, - "license": "Apache-2.0", - "engines": { - "node": ">=0.8" - } + "name": "tempa-xlsx", + "version": "0.8.20", + "author": "sheetjs", + "description": "Excel (XLSB/XLSX/XLSM/XLS/XML) and ODS spreadsheet parser and writer (extended to enable read/write of cell formats with xlsx files)", + "keywords": [ + "excel", + "xls", + "xlsx", + "xlsb", + "xlsm", + "ods", + "office", + "spreadsheet" + ], + "bin": { + "xlsx": "./bin/xlsx.njs" + }, + "browser": { + "fs": false + }, + "main": "./xlsx", + "dependencies": { + "ssf": "~0.8.1", + "codepage": "~1.3.6", + "cfb": ">=0.10.0", + "jszip": "2.4.0", + "crc-32": "", + "adler-32": "", + "commander": "" + }, + "devDependencies": { + "cheerio": "^0.19.0", + "mocha": "", + "xlsjs": "", + "uglify-js": "" + }, + "repository": { + "type": "git", + "url": "git@github.com:securedeveloper/js-xlsx.git" + }, + "scripts": { + "pretest": "git submodule init && git submodule update", + "test": "make test" + }, + "config": { + "blanket": { + "pattern": "xlsx.js" + } + }, + "bugs": { + "url": "https://github.com/securedeveloper/js-xlsx/issues" + }, + "license": "Apache-2.0", + "engines": { + "node": ">=0.8" + } }