node-pptx-templater 1.0.16 → 1.0.17
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": "node-pptx-templater",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"description": "High-performance, low-level PowerPoint (PPTX) OpenXML template engine for Node.js. Dynamically replace text, insert images, update charts (with Excel workbook data caching), and merge table cells without PowerPoint corruption or Repair Mode prompts.",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -388,8 +388,8 @@ class ZipManager {
|
|
|
388
388
|
await this.#ensureZipForExport()
|
|
389
389
|
return this.#zip.generateAsync({
|
|
390
390
|
type: 'nodebuffer',
|
|
391
|
-
compression: '
|
|
392
|
-
compressionOptions: { level:
|
|
391
|
+
compression: 'DEFLATE',
|
|
392
|
+
compressionOptions: { level: 6 },
|
|
393
393
|
})
|
|
394
394
|
}
|
|
395
395
|
|
|
@@ -397,8 +397,8 @@ class ZipManager {
|
|
|
397
397
|
await this.#ensureZipForExport()
|
|
398
398
|
return this.#zip.generateNodeStream({
|
|
399
399
|
type: 'nodebuffer',
|
|
400
|
-
compression: '
|
|
401
|
-
compressionOptions: { level:
|
|
400
|
+
compression: 'DEFLATE',
|
|
401
|
+
compressionOptions: { level: 6 },
|
|
402
402
|
streamFiles: true,
|
|
403
403
|
})
|
|
404
404
|
}
|