pdfmake 0.1.69 → 0.2.0
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 +10 -0
- package/LICENSE +2 -1
- package/README.md +6 -6
- package/build/pdfmake.js +68193 -66840
- 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/build-vfs.js +44 -0
- package/package.json +33 -23
- package/src/browser-extensions/pdfMake.js +10 -0
- package/src/layoutBuilder.js +14 -14
- package/src/pdfKitEngine.js +1 -1
- package/src/printer.js +1 -1
- package/src/textTools.js +1 -1
- package/gulpfile.js +0 -110
- package/webpack-standardfonts.config.js +0 -7
- package/webpack.config.js +0 -134
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.2.0 - 2021-07-05
|
|
4
|
+
|
|
5
|
+
- Move to [@foliojs-fork](https://github.com/foliojs-fork) packages with up-to-date dependecies and security bug fixes and others. These are the libraries [@foliojs-fork/fontkit](https://github.com/foliojs-fork/fontkit), [@foliojs-fork/restructure](https://github.com/foliojs-fork/restructure), [@foliojs-fork/linebreak](https://github.com/foliojs-fork/linebreak) which are used in [@foliojs-fork/pdfkit](https://github.com/foliojs-fork/pdfkit).
|
|
6
|
+
- Upgrade Unicode Line Breaking Algorithm (UAX #14) to Unicode 12.0.0
|
|
7
|
+
- Introduced new `build-vfs.js` script to build virtual file system for fonts (see [documentation](https://pdfmake.github.io/docs/0.1/fonts/custom-fonts-client-side/vfs/)).
|
|
8
|
+
- Removed support Node.js 8 and 10. Minimum required version is 12 LTS.
|
|
9
|
+
- Removed support Internet Explorer 10. Supported only Internet Explorer 11.
|
|
10
|
+
- Removed gulp.
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2014 bpampuch
|
|
3
|
+
Copyright (c) 2014-2015 bpampuch
|
|
4
|
+
2016-2021 liborm85
|
|
4
5
|
|
|
5
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
7
|
this software and associated documentation files (the "Software"), to deal in
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# pdfmake [![
|
|
1
|
+
# pdfmake [![Node.js CI][githubactions_img]][githubactions_url] [![GitHub][github_img]][github_url] [![npm][npm_img]][npm_url] [![Bower][bower_img]][bower_url] [![Packagist][packagist_img]][packagist_url] [![CDNJS][cdnjs_img]][cndjs_url]
|
|
2
2
|
|
|
3
|
-
[
|
|
4
|
-
[
|
|
3
|
+
[githubactions_img]: https://github.com/bpampuch/pdfmake/workflows/Node.js%20CI/badge.svg?branch=0.1
|
|
4
|
+
[githubactions_url]: https://github.com/bpampuch/pdfmake/actions
|
|
5
5
|
|
|
6
6
|
[github_img]: https://img.shields.io/github/release/bpampuch/pdfmake.svg
|
|
7
7
|
[github_url]: https://github.com/bpampuch/pdfmake/releases/latest
|
|
@@ -51,11 +51,11 @@ Check out [the playground](http://bpampuch.github.io/pdfmake/playground.html) an
|
|
|
51
51
|
|
|
52
52
|
Documentation URL: https://pdfmake.github.io/docs/
|
|
53
53
|
|
|
54
|
-
## Building from sources version 0.
|
|
54
|
+
## Building from sources version 0.2.x
|
|
55
55
|
|
|
56
56
|
using npm:
|
|
57
57
|
```
|
|
58
|
-
git clone --branch 0.
|
|
58
|
+
git clone --branch 0.2 https://github.com/bpampuch/pdfmake.git
|
|
59
59
|
cd pdfmake
|
|
60
60
|
npm install
|
|
61
61
|
npm run build
|
|
@@ -63,7 +63,7 @@ npm run build
|
|
|
63
63
|
|
|
64
64
|
using yarn:
|
|
65
65
|
```
|
|
66
|
-
git clone --branch 0.
|
|
66
|
+
git clone --branch 0.2 https://github.com/bpampuch/pdfmake.git
|
|
67
67
|
cd pdfmake
|
|
68
68
|
yarn
|
|
69
69
|
yarn run build
|