pdfkit 0.14.0 → 0.15.1
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 +18 -0
- package/README.md +2 -2
- package/js/{pdfkit.esnext.js → pdfkit.es.js} +1406 -2233
- package/js/pdfkit.es.js.map +1 -0
- package/js/pdfkit.js +624 -1572
- package/js/pdfkit.js.map +1 -1
- package/js/pdfkit.standalone.js +38825 -52323
- package/js/virtual-fs.js +13 -30
- package/package.json +8 -7
- package/js/pdfkit.es5.js +0 -7320
- package/js/pdfkit.es5.js.map +0 -1
- package/js/pdfkit.esnext.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,28 @@
|
|
|
1
1
|
## pdfkit changelog
|
|
2
2
|
|
|
3
|
+
### [v0.15.1] - 2024-10-30
|
|
4
|
+
|
|
5
|
+
- Fix browserify transform sRGB_IEC61966_2_1.icc file
|
|
6
|
+
- Fix time comparison check equality embedded files
|
|
7
|
+
|
|
8
|
+
### [v0.15.0] - 2024-03-23
|
|
9
|
+
|
|
10
|
+
- Add subset for PDF/UA
|
|
11
|
+
- Fix for line breaks in list items (#1486)
|
|
12
|
+
- Fix for soft hyphen not being replaced by visible hyphen if necessary (#457)
|
|
13
|
+
- Optimize output files by ignoring identity transforms
|
|
14
|
+
- Fix for Acroforms - setting an option to false will still apply the flag (#1495)
|
|
15
|
+
- Fix for text extraction in PDFium-based viewers due to invalid ToUnicodeMap (#1498)
|
|
16
|
+
- Remove deprecated `write` method
|
|
17
|
+
- Drop support for Node.js < 18 and for browsers released before 2020
|
|
18
|
+
|
|
3
19
|
### [v0.14.0] - 2023-11-09
|
|
4
20
|
|
|
5
21
|
- Add support for PDF/A-1b, PDF/A-1a, PDF/A-2b, PDF/A-2a, PDF/A-3b, PDF/A-3a
|
|
6
22
|
- Update crypto-js to v4.2.0 (properly fix security issue)
|
|
7
23
|
|
|
24
|
+
- Add support for EXIF orientation on JPEG images (#626 and #1353)
|
|
25
|
+
|
|
8
26
|
### [v0.13.0] - 2021-10-24
|
|
9
27
|
|
|
10
28
|
- Add tiling pattern support
|
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ Installation uses the [npm](http://npmjs.org/) package manager. Just type the fo
|
|
|
31
31
|
- Transformations
|
|
32
32
|
- Linear and radial gradients
|
|
33
33
|
- Text
|
|
34
|
-
- Line wrapping
|
|
34
|
+
- Line wrapping (with soft hyphen recognition)
|
|
35
35
|
- Text alignments
|
|
36
36
|
- Bulleted lists
|
|
37
37
|
- Font embedding
|
|
@@ -129,7 +129,7 @@ complex documents with a very small amount of code. For more, see the `demo` fol
|
|
|
129
129
|
There are three ways to use PDFKit in the browser:
|
|
130
130
|
|
|
131
131
|
- Use [Browserify](http://browserify.org/). See demo [source code](demo/browser.js) and [build script](https://github.com/foliojs/pdfkit/blob/master/package.json#L56)
|
|
132
|
-
- Use [webpack](https://webpack.js.org/). See [complete example](
|
|
132
|
+
- Use [webpack](https://webpack.js.org/). See [complete example](examples/webpack).
|
|
133
133
|
- Use prebuilt version. Distributed as `pdfkit.standalone.js` file in the [releases](https://github.com/foliojs/pdfkit/releases) or in the package `js` folder.
|
|
134
134
|
|
|
135
135
|
In addition to PDFKit, you'll need somewhere to stream the output to. HTML5 has a
|