office-viewer 0.3.14 → 0.3.15

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.
@@ -569,8 +569,8 @@ var wblk = function (dat, out, final, syms, lf, df, eb, li, bs, bl, p) {
569
569
  wbits(out, p + 3 * i, lct[clim[i]]);
570
570
  p += 3 * nlcc;
571
571
  var lcts = [lclt, lcdt];
572
- for (var it_1 = 0; it_1 < 2; ++it_1) {
573
- var clct = lcts[it_1];
572
+ for (var it = 0; it < 2; ++it) {
573
+ var clct = lcts[it];
574
574
  for (var i = 0; i < clct.length; ++i) {
575
575
  var len = clct[i] & 31;
576
576
  wbits(out, p, llm[len]), (p += lct[len]);
package/lib/util/saxes.js CHANGED
@@ -317,7 +317,7 @@ var SaxesParser = /** @class */ (function () {
317
317
  this.closedRoot =
318
318
  this.sawRoot =
319
319
  fragmentOpt;
320
- // An XML declaration is intially possible only when parsing whole
320
+ // An XML declaration is initially possible only when parsing whole
321
321
  // documents.
322
322
  this.xmlDeclPossible = !fragmentOpt;
323
323
  this.xmlDeclExpects = ['version'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "office-viewer",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
4
4
  "description": "office 文档在线预览",
5
5
  "main": "lib/index.js",
6
6
  "module": "esm/index.js",
@@ -71,12 +71,12 @@
71
71
  "@rollup/plugin-typescript": "^8.3.4",
72
72
  "@swc/jest": "^0.2.34",
73
73
  "@testing-library/jest-dom": "^5.17.0",
74
+ "@types/node": "^14.0.24",
74
75
  "@types/jest": "^28.1.0",
75
76
  "@types/prettier": "^2.7.3",
76
77
  "amis-formula": "^2.7.2",
77
78
  "jest": "^29.0.3",
78
79
  "jest-environment-jsdom": "^29.0.3",
79
- "puppeteer": "^22.8.0",
80
80
  "rollup": "^2.60.2",
81
81
  "rollup-plugin-terser": "^7.0.2",
82
82
  "sass": "^1.69.7",
@@ -87,7 +87,7 @@
87
87
  "xml-formatter": "^3.3.2"
88
88
  },
89
89
  "peerDependencies": {
90
- "echarts": "^5.4.0"
90
+ "echarts": "^5.5.1"
91
91
  },
92
92
  "jest": {
93
93
  "testEnvironment": "jsdom",
@@ -119,4 +119,4 @@
119
119
  "printBasicPrototype": false
120
120
  }
121
121
  }
122
- }
122
+ }