@bendyline/squisq-formats 2.3.3 → 2.3.5

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.
@@ -152,7 +152,11 @@ async function docToPptx(doc, options = {}) {
152
152
  viewport: VIEWPORT_PRESETS.landscape,
153
153
  persistentLayers,
154
154
  theme,
155
- customTemplates: doc.customTemplates
155
+ customTemplates: doc.customTemplates,
156
+ // A .pptx is a discrete deck: the >20s pacing split would emit N identical
157
+ // copies of one authored slide (a long single block became 18 duplicates).
158
+ // Keep one authored slide as one slide, matching the slideshow.
159
+ splitLongBlocks: false
156
160
  });
157
161
  const slideBlocks = [];
158
162
  if (shouldIncludeCoverSlide(doc, effectiveOptions) && doc.startBlock) {
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  defaultRegistry,
12
12
  prepareConversion,
13
13
  resolveConversionLimits
14
- } from "./chunk-YLDQWCHS.js";
14
+ } from "./chunk-3DRWKOF4.js";
15
15
  import {
16
16
  inferThemeFromFile
17
17
  } from "./chunk-6S6GU3ZG.js";
@@ -33,7 +33,7 @@ import {
33
33
  markdownDocToPptx,
34
34
  pptxToDoc,
35
35
  pptxToMarkdownDoc
36
- } from "./chunk-C22NYDN2.js";
36
+ } from "./chunk-ZBPGMRFQ.js";
37
37
  import "./chunk-TAAENIRB.js";
38
38
  import "./chunk-GX7RAUME.js";
39
39
  import {
@@ -4,7 +4,7 @@ import {
4
4
  pptxToContainer,
5
5
  pptxToDoc,
6
6
  pptxToMarkdownDoc
7
- } from "../chunk-C22NYDN2.js";
7
+ } from "../chunk-ZBPGMRFQ.js";
8
8
  import {
9
9
  analyzePptxLayouts,
10
10
  inspectPptxLayouts
@@ -7,7 +7,7 @@ import {
7
7
  defaultRegistry,
8
8
  prepareConversion,
9
9
  resolveConversionLimits
10
- } from "../chunk-YLDQWCHS.js";
10
+ } from "../chunk-3DRWKOF4.js";
11
11
  import {
12
12
  ConversionError
13
13
  } from "../chunk-KXOZMWBS.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/squisq-formats",
3
- "version": "2.3.3",
3
+ "version": "2.3.5",
4
4
  "description": "Document format converters — DOCX, PDF, OOXML import/export",
5
5
  "license": "MIT",
6
6
  "author": "Bendyline",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "type": "module",
27
27
  "engines": {
28
- "node": ">=22.14.0"
28
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
29
29
  },
30
30
  "main": "./dist/index.js",
31
31
  "module": "./dist/index.js",
@@ -107,7 +107,7 @@
107
107
  "dependencies": {
108
108
  "@pdf-lib/upng": "1.0.1",
109
109
  "@xmldom/xmldom": "0.9.10",
110
- "@bendyline/squisq": "2.3.3",
110
+ "@bendyline/squisq": "2.4.1",
111
111
  "jszip": "3.10.1",
112
112
  "pdf-lib": "1.17.1",
113
113
  "pdfjs-dist": "4.10.38"
File without changes