pdfmake 0.3.0-beta.2 → 0.3.0-beta.4

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.
Files changed (57) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/build/pdfmake.js +2988 -9785
  5. package/build/pdfmake.js.map +1 -1
  6. package/build/pdfmake.min.js +2 -2
  7. package/build/pdfmake.min.js.map +1 -1
  8. package/build/vfs_fonts.js +6 -5
  9. package/fonts/Roboto/Roboto-Italic.ttf +0 -0
  10. package/fonts/Roboto/Roboto-Medium.ttf +0 -0
  11. package/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
  12. package/fonts/Roboto/Roboto-Regular.ttf +0 -0
  13. package/js/3rd-party/svg-to-pdfkit/source.js +247 -920
  14. package/js/3rd-party/svg-to-pdfkit.js +0 -3
  15. package/js/DocMeasure.js +6 -139
  16. package/js/DocPreprocessor.js +2 -54
  17. package/js/DocumentContext.js +0 -40
  18. package/js/ElementWriter.js +2 -70
  19. package/js/LayoutBuilder.js +20 -165
  20. package/js/Line.js +6 -25
  21. package/js/OutputDocument.js +4 -13
  22. package/js/OutputDocumentServer.js +0 -6
  23. package/js/PDFDocument.js +1 -46
  24. package/js/PageElementWriter.js +7 -31
  25. package/js/PageSize.js +2 -16
  26. package/js/Printer.js +50 -59
  27. package/js/Renderer.js +11 -98
  28. package/js/SVGMeasure.js +1 -20
  29. package/js/StyleContextStack.js +12 -36
  30. package/js/TableProcessor.js +36 -117
  31. package/js/TextBreaker.js +2 -44
  32. package/js/TextDecorator.js +1 -38
  33. package/js/TextInlines.js +8 -49
  34. package/js/URLResolver.js +10 -18
  35. package/js/base.js +1 -17
  36. package/js/browser-extensions/OutputDocumentBrowser.js +5 -17
  37. package/js/browser-extensions/URLBrowserResolver.js +0 -17
  38. package/js/browser-extensions/fonts/Roboto.js +0 -4
  39. package/js/browser-extensions/index.js +0 -16
  40. package/js/browser-extensions/pdfMake.js +2 -4
  41. package/js/browser-extensions/standard-fonts/Courier.js +0 -4
  42. package/js/browser-extensions/standard-fonts/Helvetica.js +0 -4
  43. package/js/browser-extensions/standard-fonts/Symbol.js +0 -4
  44. package/js/browser-extensions/standard-fonts/Times.js +0 -4
  45. package/js/browser-extensions/standard-fonts/ZapfDingbats.js +0 -4
  46. package/js/columnCalculator.js +6 -18
  47. package/js/helpers/node.js +3 -27
  48. package/js/helpers/tools.js +0 -8
  49. package/js/helpers/variableType.js +4 -9
  50. package/js/index.js +0 -6
  51. package/js/qrEnc.js +126 -215
  52. package/js/tableLayouts.js +1 -28
  53. package/js/virtual-fs.js +3 -19
  54. package/package.json +2 -2
  55. package/src/3rd-party/svg-to-pdfkit/LICENSE +9 -9
  56. package/src/Printer.js +41 -13
  57. package/src/URLResolver.js +10 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.0-beta.4 - 2022-12-17
4
+
5
+ - Minimal supported version Node.js 14 LTS
6
+ - Fixed theoretical vulnerability CVE-2022-46161 (**It was never part of version released as npm package or cdnjs or bower or packagist!**)
7
+
8
+ ## 0.3.0-beta.3 - 2022-10-09
9
+
10
+ - Updated Roboto font (version 3.005)
11
+ - Fixed calculating auto page height
12
+ - Fixed TrueType Collection loading from URL
13
+ - Fixed refetching fonts from URL
14
+
3
15
  ## 0.3.0-beta.2 - 2022-04-01
4
16
 
5
17
  - Attachments embedding
package/LICENSE CHANGED
@@ -1,7 +1,7 @@
1
1
  The MIT License (MIT)
2
2
 
3
3
  Copyright (c) 2014-2015 bpampuch
4
- 2016-2021 liborm85
4
+ 2016-2022 liborm85
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy of
7
7
  this software and associated documentation files (the "Software"), to deal in
package/README.md CHANGED
@@ -53,7 +53,7 @@ Check out [the playground](http://bpampuch.github.io/pdfmake/playground.html) an
53
53
 
54
54
  **Documentation URL: https://pdfmake.github.io/docs/**
55
55
 
56
- Source of documenation: https://github.com/pdfmake/docs **Improvements are welcome!**
56
+ Source of documentation: https://github.com/pdfmake/docs **Improvements are welcome!**
57
57
 
58
58
  ## Building from sources
59
59