| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 0.3.8 source code.tar.gz | 2026-05-06 | 3.1 MB | |
| 0.3.8 source code.zip | 2026-05-06 | 3.2 MB | |
| README.md | 2026-05-06 | 731 Bytes | |
| Totals: 3 Items | 6.4 MB | 0 | |
-
Added server-side method
setLocalAccessPolicy()for defining a custom access policy for local fileExample:
js pdfmake.setLocalAccessPolicy((path) => { // check allowed local file path return path.startsWith("fonts/"); }); -
Improved URL Access Policy (
setUrlAccessPolicymethod); URLs are now validated even before each redirection in Node.js and after final redirection in browser (browsers do not support validation before redirection) - Fixed extra blank page when using headerRows, dontBreakRows and cell pageBreak together
- Fixed rendering of an invalid color name - previously it used the last valid color; now it defaults to black
- Fixed dontBreakRows rowSpan ending offset across pages