pdfmake 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.7 - 2026-03-17
4
+
5
+ - Updated pdfkit to 0.18.0
6
+
7
+ ## 0.3.6 - 2026-03-10
8
+
9
+ - Added `setUrlAccessPolicy()` for defining a custom access policy for external URLs before download
10
+ (addresses a potential server vulnerability **CVE-2026-26801**)
11
+
12
+ Example:
13
+ ```js
14
+ pdfmake.setUrlAccessPolicy((url) => {
15
+ // check allowed domain
16
+ return url.startsWith("https://example.com/");
17
+ });
18
+ ```
19
+ For details see [documentation](https://pdfmake.github.io/docs/0.3/getting-started/server-side/methods/#url-access-policy)
20
+ - Added validation for image height and width values
21
+
3
22
  ## 0.3.5 - 2026-02-22
4
23
 
5
24
  - Added `snakingColumns` property for columns to enable newspaper-like column flow