read-excel-file 9.1.1 → 9.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "read-excel-file",
3
- "version": "9.1.1",
3
+ "version": "9.2.0",
4
4
  "description": "Read `.xlsx` files in a web browser or in Node.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -28,14 +28,15 @@
28
28
  },
29
29
  "sideEffects": false,
30
30
  "scripts": {
31
- "test": "mocha --bail \"source/**/*.test.js\" \"test/*.test.js\" \"test/!(exports|benchmark)/**/*.test.js\"",
31
+ "test": "mocha --bail \"source/**/*.test.js\" \"test/*.test.js\" \"test/!(exports|benchmark|benchmark-unzipFromStream)/**/*.test.js\"",
32
32
  "test:exports": "mocha --bail \"test/exports/**/*.test.js\"",
33
33
  "test:benchmark": "mocha --bail \"test/benchmark/**/*.test.js\"",
34
- "clean-for-build": "rimraf ./commonjs/**/* ./modules/**/*",
35
- "build-commonjs-modules": "better-npm-run build-commonjs-modules",
34
+ "test:benchmark:unzipFromStream": "mocha --bail \"test/benchmark-unzipFromStream/**/*.test.js\"",
35
+ "clean-for-build": "rimraf ./commonjs ./modules",
36
+ "build-es6-modules": "cross-env BABEL_ENV=es6 babel ./source --out-dir ./modules --source-maps",
37
+ "build-commonjs-modules": "cross-env BABEL_ENV=commonjs babel ./source --out-dir ./commonjs --source-maps",
36
38
  "build-commonjs-package.json": "node build-scripts/create-commonjs-package-json.js",
37
39
  "build-commonjs": "npm-run-all build-commonjs-modules build-commonjs-package.json",
38
- "build-es6-modules": "better-npm-run build-es6-modules",
39
40
  "browser-build": "rollup --config rollup.config.mjs",
40
41
  "build": "npm-run-all clean-for-build build-commonjs build-es6-modules browser-build",
41
42
  "prepublishOnly": "npm-run-all build test test:exports browser-build"
@@ -45,7 +46,8 @@
45
46
  },
46
47
  "dependencies": {
47
48
  "@xmldom/xmldom": "^0.9.10",
48
- "fflate": "^0.8.3"
49
+ "fflate": "^0.8.3",
50
+ "unzipper-esm": "^0.13.0"
49
51
  },
50
52
  "devDependencies": {
51
53
  "@babel/cli": "^7.17.10",
@@ -55,13 +57,13 @@
55
57
  "@babel/plugin-transform-runtime": "^7.17.12",
56
58
  "@babel/preset-env": "^7.17.12",
57
59
  "@babel/register": "^7.17.7",
58
- "better-npm-run": "^0.1.1",
59
60
  "chai": "^4.3.6",
60
61
  "core-js": "^3.22.5",
62
+ "cross-env": "^10.1.0",
61
63
  "mocha": "^10.0.0",
62
64
  "npm-run-all": "^4.1.5",
63
65
  "regenerator-runtime": "^0.13.9",
64
- "rimraf": "^3.0.2",
66
+ "rimraf": "^6.1.3",
65
67
  "rollup": "^2.73.0",
66
68
  "rollup-plugin-commonjs": "^10.1.0",
67
69
  "rollup-plugin-json": "^4.0.0",
@@ -69,26 +71,6 @@
69
71
  "rollup-plugin-terser": "^7.0.2",
70
72
  "xpath": "0.0.32"
71
73
  },
72
- "betterScripts": {
73
- "browser-build": {
74
- "command": "webpack --mode production --progress --colors",
75
- "env": {
76
- "WEBPACK_ENV": "build"
77
- }
78
- },
79
- "build-commonjs-modules": {
80
- "command": "babel ./source --out-dir ./commonjs --source-maps",
81
- "env": {
82
- "BABEL_ENV": "commonjs"
83
- }
84
- },
85
- "build-es6-modules": {
86
- "command": "babel ./source --out-dir ./modules --source-maps",
87
- "env": {
88
- "BABEL_ENV": "es6"
89
- }
90
- }
91
- },
92
74
  "repository": {
93
75
  "type": "git",
94
76
  "url": "https://gitlab.com/catamphetamine/read-excel-file"