Skip to content

v7.2.3

Choose a tag to compare

@github-actions github-actions released this 28 Jun 20:26

v7.2.3: 📦 Slim Browser Bundles, MathML Formula Support, and Dependency Upgrades

I am pleased to announce the release of officeParser v7.2.3! This patch release introduces dedicated slim browser bundles for strict runtime environments, support for formula parsing in ODF, and upgrades core dependency versions.


🌟 Key Highlights

1. Slim Browser Bundles (Manifest V3 Compliance)

To support deployment inside environments with strict security controls (such as Chrome and Edge Manifest V3 extensions where remotely hosted code is prohibited), we now distribute slim ESM and IIFE browser builds:

  • dist/officeparser.browser.slim.mjs (ESM)
  • dist/officeparser.browser.slim.iife.js (IIFE)
  • dist/officeparser.browser.slim.d.ts (Types)

In the slim bundles, the tesseract.js (OCR) engine is completely stubbed out, and default remote CDN references are stripped, reducing bundle footprints and ensuring compliance with web store policies.

2. MathML Formula Support (ODF)

Added native extraction for MathML formulas in OpenOffice/LibreOffice formats (.odt, .odp, .ods) at both block level and inline cell level, preserving mathematical notation.

3. Core Upgrades

  • Upgraded pdfjs-dist to 6.1.200 for optimized rendering performance, modern Node.js compatibility, and security mitigations.
  • Upgraded fflate to 0.8.3 to resolve Zip64 archive parsing issues.

🛠 Getting Started

npm install officeparser@7.2.3

🔗 Full Changelog: View v7.2.3 details
🔗 Documentation & Visualizer: officeparser.harshankur.com