node-pptx-templater 1.0.14 → 1.0.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-pptx-templater",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
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",
|
|
@@ -181,4 +181,4 @@
|
|
|
181
181
|
"LICENSE",
|
|
182
182
|
"CHANGELOG.md"
|
|
183
183
|
]
|
|
184
|
-
}
|
|
184
|
+
}
|
|
@@ -232,8 +232,8 @@ class ZipManager {
|
|
|
232
232
|
async toBuffer() {
|
|
233
233
|
return this.#zip.generateAsync({
|
|
234
234
|
type: 'nodebuffer',
|
|
235
|
-
compression: '
|
|
236
|
-
compressionOptions: { level:
|
|
235
|
+
compression: 'STORE',
|
|
236
|
+
compressionOptions: { level: 0 },
|
|
237
237
|
})
|
|
238
238
|
}
|
|
239
239
|
|
|
@@ -245,8 +245,8 @@ class ZipManager {
|
|
|
245
245
|
async toStream() {
|
|
246
246
|
return this.#zip.generateNodeStream({
|
|
247
247
|
type: 'nodebuffer',
|
|
248
|
-
compression: '
|
|
249
|
-
compressionOptions: { level:
|
|
248
|
+
compression: 'STORE',
|
|
249
|
+
compressionOptions: { level: 0 },
|
|
250
250
|
streamFiles: true,
|
|
251
251
|
})
|
|
252
252
|
}
|