npm pdfmake 0.3.8

5 hours ago
  • Added server-side method setLocalAccessPolicy() for defining a custom access policy for local file

    Example:

     pdfmake.setLocalAccessPolicy((path) => {
     	// check allowed local file path
     	return path.startsWith("fonts/");
     });
  • Improved URL Access Policy (setUrlAccessPolicy method); 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

Don't miss a new pdfmake release

NewReleases is sending notifications on new releases.