diff --git a/packages/amis/package.json b/packages/amis/package.json index eb465ab7e..45aaa8b7f 100644 --- a/packages/amis/package.json +++ b/packages/amis/package.json @@ -62,7 +62,7 @@ "moment": "^2.19.4", "moment-timezone": "^0.5.34", "mpegts.js": "^1.6.10", - "office-viewer": "^0.3.11", + "office-viewer": "^0.3.12", "prop-types": "^15.6.1", "qrcode.react": "^3.1.0", "react-cropper": "^2.1.8", diff --git a/packages/office-viewer/package.json b/packages/office-viewer/package.json index 6580d8f6d..1ed48ab7e 100644 --- a/packages/office-viewer/package.json +++ b/packages/office-viewer/package.json @@ -1,6 +1,6 @@ { "name": "office-viewer", - "version": "0.3.11", + "version": "0.3.12", "description": "office 文档在线预览", "main": "lib/index.js", "module": "esm/index.js", @@ -61,7 +61,6 @@ "dependencies": { "numfmt": "^2.5.2", "papaparse": "^5.4.1", - "puppeteer": "^22.6.3", "tslib": "^2.3.1" }, "devDependencies": { diff --git a/packages/office-viewer/src/util/fflate.ts b/packages/office-viewer/src/util/fflate.ts index f94d29efa..f32aa2710 100644 --- a/packages/office-viewer/src/util/fflate.ts +++ b/packages/office-viewer/src/util/fflate.ts @@ -2160,7 +2160,7 @@ export function unzlibSync(data: Uint8Array, opts?: UnzlibOptions) { } // Default algorithm for compression (used because having a known output size allows faster decompression) -export {gzip as compress, AsyncGzip as AsyncCompress}; +export {gzip as compress}; export {gzipSync as compressSync, Gzip as Compress}; /**