From 53ba10cd5c76ab72a61f4e0e75351a355377ea6a Mon Sep 17 00:00:00 2001 From: Nathanael Anderson Date: Fri, 27 Dec 2024 12:02:24 -0600 Subject: [PATCH] Bump PDFKit dependency --- changelog.txt | 3 ++- package.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/changelog.txt b/changelog.txt index e658c8a..54e3b2f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -57,11 +57,12 @@ x.x.x - [2015/03/18] - Added ability to Import PDF's 1.4.1 - FR: Fix a corner case where monkey patching could occur multiple times, update require('fs') to require('node:fs') 1.4.2 - FR(G): Added esm directory. 1.4.3 - Fix npm packaging (missing generator directory) +1.4.4 - Update to PDFKit 0.14.0 to solve security issue with CryptJS (v0.15.x has a regression) Breaking changes or API inconsistencies: In v0.1.2 bandField functionality was removed. This "feature" didn't make sense since simple detail abilities are now supported which are much more powerful, and those still needing bandField like ability can easily - emulate it in their own code by creating a array and pushing the fields to it before calling band with it... + emulate it in their own code by creating a array and pushing the fields to it before calling band with it. In v1.0.0 parent & current Headers now have the ability to be printed only ONCE (old behavior), On all new Pages (new default for the current header), and Always. In v1.0.0 when print(['hi','','testing']) the old code would ignore the '' in the middle of the array so you diff --git a/package.json b/package.json index 82b8c4a..56a9ab8 100644 --- a/package.json +++ b/package.json @@ -36,14 +36,14 @@ "url": "https://github.com/Nathanaela/fluentreports/issues" }, "dependencies": { - "pdfkit": "0.13.0" + "pdfkit": "0.14.0" }, "repository": { "type": "git", "url": "https://github.com/Nathanaela/fluentreports.git" }, "main": "./lib/fluentReports.js", - "version": "1.4.3", + "version": "1.4.4", "engines": { "node": "*" },