pptx-browser 4.1.0 → 4.1.2

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": "pptx-browser",
3
- "version": "4.1.0",
3
+ "version": "4.1.2",
4
4
  "description": "Render, edit, and export PowerPoint (PPTX) slides. Canvas rendering, SVG export, PDF export, PPTX writer/template engine, slide show, text extraction, animations. Zero dependencies.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
package/src/index.js CHANGED
@@ -709,7 +709,6 @@ export default class PptxRenderer {
709
709
  }
710
710
 
711
711
  export { PptxRenderer };
712
- export default PptxRenderer;
713
712
 
714
713
  // Static font utilities — usable without a renderer instance
715
714
  export {
package/src/render.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * All rendering is done onto a Canvas 2D context.
7
7
  */
8
8
 
9
- import { g1, gtn, attr, attrInt, EMU_PER_PT } from './utils.js';
9
+ import { parseXml, g1, gtn, attr, attrInt, EMU_PER_PT } from './utils.js';
10
10
  import { resolveColorElement, findFirstColorChild, colorToCss, getRunColorInherited } from './colors.js';
11
11
  import { drawPresetGeom } from './shapes.js';
12
12
  import { buildFontInherited } from './fonts.js';