Skip to content

v2.3.1

Latest

Choose a tag to compare

@angelbot-ai angelbot-ai released this 04 Dec 05:14

Release v2.3.1 of @angelbot-ai-pvt-ltd/teamsync-pdf-viewer.

Features (from 2.3.0)

  • Added WebViewerOptions.allowPrint and allowDownload (default true): when set to false, disables Print, Download, and Save As in the menu, hides filled form export, and guards action-print / action-download bus actions (including instance.print()).

Security Hardening & Dependency Upgrades (2.3.1)

  • Replaced template-string XML wrapping in parseXfdf() and parseXfdfFormFields() with parseXfdfDocument() and splitTopLevelXmlElements() using DOMParser(..., 'application/xml') and document.implementation.createDocument / importNode, eliminating HTML/XML string interpolation while preserving DTD/ENTITY rejection.
  • Upgraded pdfjs-dist (6.5.438), lucide-react (1.80.0), vite (8.3.8), vitest (5.1.1), @vitejs/plugin-react (6.3.0), oxlint (1.95.0), jsdom (31.0.1), @types/node, and @types/react.