pdfmake 0.3.0-beta.17 → 0.3.0-beta.19
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 +14 -0
- package/README.md +2 -7
- package/build/pdfmake.js +33324 -33106
- package/build/pdfmake.js.map +1 -1
- package/build/pdfmake.min.js +2 -2
- package/build/pdfmake.min.js.map +1 -1
- package/build/vfs_fonts.js +4 -4
- package/fonts/Roboto/Roboto-Italic.ttf +0 -0
- package/fonts/Roboto/Roboto-Medium.ttf +0 -0
- package/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
- package/fonts/Roboto/Roboto-Regular.ttf +0 -0
- package/js/DocMeasure.js +12 -1
- package/js/DocPreprocessor.js +21 -6
- package/js/DocumentContext.js +5 -4
- package/js/LayoutBuilder.js +137 -34
- package/js/OutputDocument.js +22 -34
- package/js/OutputDocumentServer.js +6 -11
- package/js/PageElementWriter.js +2 -2
- package/js/Printer.js +132 -145
- package/js/StyleContextStack.js +4 -0
- package/js/TextBreaker.js +30 -3
- package/js/URLResolver.js +23 -62
- package/js/browser-extensions/OutputDocumentBrowser.js +35 -72
- package/js/browser-extensions/index.js +2 -2
- package/package.json +18 -18
- package/src/DocMeasure.js +15 -1
- package/src/DocPreprocessor.js +25 -6
- package/src/DocumentContext.js +4 -4
- package/src/LayoutBuilder.js +169 -39
- package/src/OutputDocument.js +23 -37
- package/src/OutputDocumentServer.js +6 -11
- package/src/PageElementWriter.js +2 -2
- package/src/Printer.js +131 -143
- package/src/StyleContextStack.js +4 -0
- package/src/TextBreaker.js +23 -4
- package/src/URLResolver.js +23 -68
- package/src/browser-extensions/OutputDocumentBrowser.js +33 -71
- package/src/browser-extensions/index.js +2 -2
- package/js/browser-extensions/URLBrowserResolver.js +0 -81
- package/src/browser-extensions/URLBrowserResolver.js +0 -89
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.0-beta.19 - 2025-12-22
|
|
4
|
+
|
|
5
|
+
- Minimal supported version Node.js 20 LTS
|
|
6
|
+
- Added `wordBreak` property for `text` node, supported values: `'normal'` (default), `'break-all'`
|
|
7
|
+
- Used fetch API for downloading fonts and images
|
|
8
|
+
- Update Roboto font (version 3.014)
|
|
9
|
+
- Fixed render empty list entries
|
|
10
|
+
|
|
11
|
+
## 0.3.0-beta.18 - 2025-05-09
|
|
12
|
+
|
|
13
|
+
- Added `section` node
|
|
14
|
+
- Fixed crash that occurred when using automatic page height
|
|
15
|
+
- Fixed text overflow with some non-wrappable texts
|
|
16
|
+
|
|
3
17
|
## 0.3.0-beta.17 - 2025-04-29
|
|
4
18
|
|
|
5
19
|
- Fixed DoS via repeatedly redirect URL in file embedding
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# pdfmake [![Node.js CI][githubactions_img]][githubactions_url] [![GitHub][github_img]][github_url] [![npm][npm_img]][npm_url] [![
|
|
1
|
+
# pdfmake [![Node.js CI][githubactions_img]][githubactions_url] [![GitHub][github_img]][github_url] [![npm][npm_img]][npm_url] [![CDNJS][cdnjs_img]][cndjs_url]
|
|
2
2
|
|
|
3
3
|
[githubactions_img]: https://github.com/bpampuch/pdfmake/actions/workflows/node.js.yml/badge.svg?branch=master
|
|
4
4
|
[githubactions_url]: https://github.com/bpampuch/pdfmake/actions
|
|
@@ -9,12 +9,6 @@
|
|
|
9
9
|
[npm_img]: https://img.shields.io/npm/v/pdfmake.svg?colorB=0E7FBF
|
|
10
10
|
[npm_url]: https://www.npmjs.com/package/pdfmake
|
|
11
11
|
|
|
12
|
-
[bower_img]: https://img.shields.io/bower/v/pdfmake.svg?colorB=0E7FBF
|
|
13
|
-
[bower_url]: https://github.com/bpampuch/pdfmake
|
|
14
|
-
|
|
15
|
-
[packagist_img]: https://img.shields.io/packagist/v/bpampuch/pdfmake.svg?colorB=0E7FBF
|
|
16
|
-
[packagist_url]: https://packagist.org/packages/bpampuch/pdfmake
|
|
17
|
-
|
|
18
12
|
[cdnjs_img]: https://img.shields.io/cdnjs/v/pdfmake.svg?colorB=0E7FBF
|
|
19
13
|
[cndjs_url]: https://cdnjs.com/libraries/pdfmake
|
|
20
14
|
|
|
@@ -42,6 +36,7 @@ Check out [the playground](http://bpampuch.github.io/pdfmake/playground.html) an
|
|
|
42
36
|
* background-layer,
|
|
43
37
|
* page dimensions and orientations,
|
|
44
38
|
* margins,
|
|
39
|
+
* document sections,
|
|
45
40
|
* custom page breaks,
|
|
46
41
|
* font embedding,
|
|
47
42
|
* support for complex, multi-level (nested) structures,
|