pptx-viewer-mcp 2.5.2 → 2.5.3

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/CHANGELOG.md CHANGED
@@ -7,6 +7,20 @@ A release listed with no entries carried no Conventional Commit in this package'
7
7
  scope: scripts/release-plan.mjs re-releases a package whenever any of its files
8
8
  change, not only on conventional ones.
9
9
 
10
+ ## [2.5.2](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-viewer-mcp@2.5.2) - 2026-09-14
11
+
12
+ ### Documentation
13
+
14
+ - **repo:** Sync guides and references with implementation (by @ChristopherVR) ([70440f6](https://github.com/ChristopherVR/pptx-viewer/commit/70440f6f10297ba7847662361c6d6f23d35ad9e2))
15
+
16
+ ### Dependencies
17
+
18
+ - **deps:** Rebase lint-staged update (by @ChristopherVR) ([c2a649e](https://github.com/ChristopherVR/pptx-viewer/commit/c2a649ee2df1e29a963aec29cb109d9c70ead6ff))
19
+
20
+ ### Chores
21
+
22
+ - **deps-dev:** Bump vitest from 4.1.11 to 5.0.0 (by @dependabot[bot]) ([5f8fe4f](https://github.com/ChristopherVR/pptx-viewer/commit/5f8fe4f851d33a02545556fd63238a55cf5f868a))
23
+
10
24
  ## [2.5.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-viewer-mcp@2.5.1) - 2026-09-10
11
25
 
12
26
  ### Bug Fixes
@@ -166,7 +166,14 @@ function decodeTextBodyFromYText(ytext) {
166
166
  } catch {
167
167
  }
168
168
  }
169
- if (op.insert !== "\n" && op.insert !== EMPTY_PLACEHOLDER) {
169
+ const isBreakMarker = /^\n+$/u.test(op.insert) && (a.pb === "1" || a.lb === "1");
170
+ if (isBreakMarker) {
171
+ for (let index = 0; index < op.insert.length; index++) {
172
+ segments.push(structuredClone(seg));
173
+ }
174
+ continue;
175
+ }
176
+ if (op.insert !== EMPTY_PLACEHOLDER) {
170
177
  seg.text = op.insert;
171
178
  }
172
179
  segments.push(seg);
@@ -164,7 +164,14 @@ function decodeTextBodyFromYText(ytext) {
164
164
  } catch {
165
165
  }
166
166
  }
167
- if (op.insert !== "\n" && op.insert !== EMPTY_PLACEHOLDER) {
167
+ const isBreakMarker = /^\n+$/u.test(op.insert) && (a.pb === "1" || a.lb === "1");
168
+ if (isBreakMarker) {
169
+ for (let index = 0; index < op.insert.length; index++) {
170
+ segments.push(structuredClone(seg));
171
+ }
172
+ continue;
173
+ }
174
+ if (op.insert !== EMPTY_PLACEHOLDER) {
168
175
  seg.text = op.insert;
169
176
  }
170
177
  segments.push(seg);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-viewer-mcp",
3
- "version": "2.5.2",
3
+ "version": "2.5.3",
4
4
  "description": "PowerPoint PPTX tools and MCP server: manipulate, convert, and collaborate on .pptx files from AI agents.",
5
5
  "keywords": [
6
6
  "ai",
@@ -72,7 +72,7 @@
72
72
  "@modelcontextprotocol/sdk": "^1.30.0",
73
73
  "fast-xml-parser": "^5.11.1",
74
74
  "jszip": "^3.10.2",
75
- "pptx-viewer-core": "^3.15.0",
75
+ "pptx-viewer-core": "^3.15.5",
76
76
  "zod": ">=4.4.3 <4.5.3"
77
77
  },
78
78
  "devDependencies": {