node-poppler 6.2.5 → 6.2.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.
Files changed (318) hide show
  1. package/package.json +2 -1
  2. package/src/index.js +273 -270
  3. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/cairo.dll +0 -0
  4. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/libcrypto-3-x64.dll +0 -0
  5. package/src/lib/win32/poppler-23.07.0/Library/bin/libcurl.dll +0 -0
  6. package/src/lib/win32/poppler-23.07.0/Library/bin/libssh2.dll +0 -0
  7. package/src/lib/win32/poppler-23.07.0/Library/bin/libtiff.dll +0 -0
  8. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/libzstd.dll +0 -0
  9. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdfattach.exe +0 -0
  10. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdfdetach.exe +0 -0
  11. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdffonts.exe +0 -0
  12. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdfimages.exe +0 -0
  13. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdfinfo.exe +0 -0
  14. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdfseparate.exe +0 -0
  15. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdftocairo.exe +0 -0
  16. package/src/lib/win32/poppler-23.07.0/Library/bin/pdftohtml.exe +0 -0
  17. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdftoppm.exe +0 -0
  18. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdftops.exe +0 -0
  19. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdftotext.exe +0 -0
  20. package/src/lib/win32/poppler-23.07.0/Library/bin/pdfunite.exe +0 -0
  21. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/poppler-cpp.dll +0 -0
  22. package/src/lib/win32/poppler-23.07.0/Library/bin/poppler-glib.dll +0 -0
  23. package/src/lib/win32/poppler-23.07.0/Library/bin/poppler.dll +0 -0
  24. package/src/lib/win32/poppler-23.07.0/Library/bin/tiff.dll +0 -0
  25. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/zlib.dll +0 -0
  26. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/zstd.dll +0 -0
  27. package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/zstd.exe +0 -0
  28. package/types/index.d.ts +560 -266
  29. package/src/lib/win32/poppler-23.05.0/Library/bin/libcurl.dll +0 -0
  30. package/src/lib/win32/poppler-23.05.0/Library/bin/libssh2.dll +0 -0
  31. package/src/lib/win32/poppler-23.05.0/Library/bin/libtiff.dll +0 -0
  32. package/src/lib/win32/poppler-23.05.0/Library/bin/pdftohtml.exe +0 -0
  33. package/src/lib/win32/poppler-23.05.0/Library/bin/pdfunite.exe +0 -0
  34. package/src/lib/win32/poppler-23.05.0/Library/bin/poppler-glib.dll +0 -0
  35. package/src/lib/win32/poppler-23.05.0/Library/bin/poppler.dll +0 -0
  36. package/src/lib/win32/poppler-23.05.0/Library/bin/tiff.dll +0 -0
  37. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/Lerc.dll +0 -0
  38. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/charset.dll +0 -0
  39. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/deflate.dll +0 -0
  40. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/expat.dll +0 -0
  41. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/fontconfig-1.dll +0 -0
  42. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/freetype.dll +0 -0
  43. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/iconv.dll +0 -0
  44. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/jpeg8.dll +0 -0
  45. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/lcms2.dll +0 -0
  46. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/libexpat.dll +0 -0
  47. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/liblzma.dll +0 -0
  48. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/libpng16.dll +0 -0
  49. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/openjp2.dll +0 -0
  50. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/COPYING +0 -0
  51. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/COPYING.adobe +0 -0
  52. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/COPYING.gpl2 +0 -0
  53. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/README +0 -0
  54. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-0 +0 -0
  55. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-1 +0 -0
  56. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-2 +0 -0
  57. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-3 +0 -0
  58. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-4 +0 -0
  59. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-5 +0 -0
  60. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-6 +0 -0
  61. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-7 +0 -0
  62. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-B5pc +0 -0
  63. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-ETen-B5 +0 -0
  64. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-H-CID +0 -0
  65. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-H-Host +0 -0
  66. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-H-Mac +0 -0
  67. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-UCS2 +0 -0
  68. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/B5-H +0 -0
  69. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/B5-V +0 -0
  70. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/B5pc-H +0 -0
  71. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/B5pc-UCS2 +0 -0
  72. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/B5pc-UCS2C +0 -0
  73. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/B5pc-V +0 -0
  74. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/CNS-EUC-H +0 -0
  75. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/CNS-EUC-V +0 -0
  76. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/CNS1-H +0 -0
  77. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/CNS1-V +0 -0
  78. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/CNS2-H +0 -0
  79. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/CNS2-V +0 -0
  80. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETHK-B5-H +0 -0
  81. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETHK-B5-V +0 -0
  82. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETen-B5-H +0 -0
  83. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETen-B5-UCS2 +0 -0
  84. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETen-B5-V +0 -0
  85. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETenms-B5-H +0 -0
  86. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETenms-B5-V +0 -0
  87. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKdla-B5-H +0 -0
  88. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKdla-B5-V +0 -0
  89. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKdlb-B5-H +0 -0
  90. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKdlb-B5-V +0 -0
  91. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKgccs-B5-H +0 -0
  92. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKgccs-B5-V +0 -0
  93. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKm314-B5-H +0 -0
  94. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKm314-B5-V +0 -0
  95. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKm471-B5-H +0 -0
  96. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKm471-B5-V +0 -0
  97. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKscs-B5-H +0 -0
  98. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKscs-B5-V +0 -0
  99. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UCS2-B5pc +0 -0
  100. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UCS2-ETen-B5 +0 -0
  101. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UCS2-H +0 -0
  102. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UCS2-V +0 -0
  103. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UTF16-H +0 -0
  104. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UTF16-V +0 -0
  105. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UTF32-H +0 -0
  106. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UTF32-V +0 -0
  107. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UTF8-H +0 -0
  108. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UTF8-V +0 -0
  109. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-0 +0 -0
  110. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-1 +0 -0
  111. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-2 +0 -0
  112. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-3 +0 -0
  113. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-4 +0 -0
  114. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-5 +0 -0
  115. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-GBK-EUC +0 -0
  116. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-GBpc-EUC +0 -0
  117. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-H-CID +0 -0
  118. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-H-Host +0 -0
  119. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-H-Mac +0 -0
  120. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-UCS2 +0 -0
  121. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GB-EUC-H +0 -0
  122. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GB-EUC-V +0 -0
  123. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GB-H +0 -0
  124. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GB-V +0 -0
  125. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBK-EUC-H +0 -0
  126. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBK-EUC-UCS2 +0 -0
  127. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBK-EUC-V +0 -0
  128. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBK2K-H +0 -0
  129. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBK2K-V +0 -0
  130. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBKp-EUC-H +0 -0
  131. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBKp-EUC-V +0 -0
  132. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBT-EUC-H +0 -0
  133. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBT-EUC-V +0 -0
  134. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBT-H +0 -0
  135. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBT-V +0 -0
  136. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBTpc-EUC-H +0 -0
  137. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBTpc-EUC-V +0 -0
  138. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBpc-EUC-H +0 -0
  139. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBpc-EUC-UCS2 +0 -0
  140. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBpc-EUC-UCS2C +0 -0
  141. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBpc-EUC-V +0 -0
  142. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UCS2-GBK-EUC +0 -0
  143. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UCS2-GBpc-EUC +0 -0
  144. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UCS2-H +0 -0
  145. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UCS2-V +0 -0
  146. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UTF16-H +0 -0
  147. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UTF16-V +0 -0
  148. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UTF32-H +0 -0
  149. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UTF32-V +0 -0
  150. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UTF8-H +0 -0
  151. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UTF8-V +0 -0
  152. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78-EUC-H +0 -0
  153. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78-EUC-V +0 -0
  154. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78-H +0 -0
  155. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78-RKSJ-H +0 -0
  156. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78-RKSJ-V +0 -0
  157. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78-V +0 -0
  158. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78ms-RKSJ-H +0 -0
  159. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78ms-RKSJ-V +0 -0
  160. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/83pv-RKSJ-H +0 -0
  161. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90ms-RKSJ-H +0 -0
  162. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90ms-RKSJ-UCS2 +0 -0
  163. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90ms-RKSJ-V +0 -0
  164. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90msp-RKSJ-H +0 -0
  165. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90msp-RKSJ-V +0 -0
  166. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90pv-RKSJ-H +0 -0
  167. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90pv-RKSJ-UCS2 +0 -0
  168. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90pv-RKSJ-UCS2C +0 -0
  169. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90pv-RKSJ-V +0 -0
  170. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Add-H +0 -0
  171. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Add-RKSJ-H +0 -0
  172. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Add-RKSJ-V +0 -0
  173. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Add-V +0 -0
  174. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-0 +0 -0
  175. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-1 +0 -0
  176. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-2 +0 -0
  177. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-3 +0 -0
  178. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-4 +0 -0
  179. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-5 +0 -0
  180. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-6 +0 -0
  181. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-7 +0 -0
  182. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-90ms-RKSJ +0 -0
  183. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-90pv-RKSJ +0 -0
  184. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-H-CID +0 -0
  185. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-H-Host +0 -0
  186. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-H-Mac +0 -0
  187. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-PS-H +0 -0
  188. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-PS-V +0 -0
  189. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-UCS2 +0 -0
  190. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/EUC-H +0 -0
  191. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/EUC-V +0 -0
  192. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Ext-H +0 -0
  193. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Ext-RKSJ-H +0 -0
  194. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Ext-RKSJ-V +0 -0
  195. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Ext-V +0 -0
  196. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/H +0 -0
  197. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Hankaku +0 -0
  198. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Hiragana +0 -0
  199. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Hojo-EUC-H +0 -0
  200. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Hojo-EUC-V +0 -0
  201. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Hojo-H +0 -0
  202. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Hojo-V +0 -0
  203. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Katakana +0 -0
  204. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/NWP-H +0 -0
  205. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/NWP-V +0 -0
  206. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/RKSJ-H +0 -0
  207. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/RKSJ-V +0 -0
  208. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Roman +0 -0
  209. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UCS2-90ms-RKSJ +0 -0
  210. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UCS2-90pv-RKSJ +0 -0
  211. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UCS2-H +0 -0
  212. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UCS2-V +0 -0
  213. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UTF16-H +0 -0
  214. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UTF16-V +0 -0
  215. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UTF32-H +0 -0
  216. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UTF32-V +0 -0
  217. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UTF8-H +0 -0
  218. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UTF8-V +0 -0
  219. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UCS2-H +0 -0
  220. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UCS2-HW-H +0 -0
  221. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UCS2-HW-V +0 -0
  222. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UCS2-V +0 -0
  223. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UTF16-H +0 -0
  224. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UTF16-V +0 -0
  225. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UTF32-H +0 -0
  226. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UTF32-V +0 -0
  227. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UTF8-H +0 -0
  228. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UTF8-V +0 -0
  229. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS2004-UTF16-H +0 -0
  230. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS2004-UTF16-V +0 -0
  231. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS2004-UTF32-H +0 -0
  232. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS2004-UTF32-V +0 -0
  233. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS2004-UTF8-H +0 -0
  234. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS2004-UTF8-V +0 -0
  235. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISPro-UCS2-HW-V +0 -0
  236. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISPro-UCS2-V +0 -0
  237. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISPro-UTF8-V +0 -0
  238. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISX0213-UTF32-H +0 -0
  239. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISX0213-UTF32-V +0 -0
  240. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISX02132004-UTF32-H +0 -0
  241. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISX02132004-UTF32-V +0 -0
  242. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/V +0 -0
  243. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/WP-Symbol +0 -0
  244. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan2/Adobe-Japan2-0 +0 -0
  245. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-0 +0 -0
  246. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-1 +0 -0
  247. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-2 +0 -0
  248. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-3 +0 -0
  249. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-4 +0 -0
  250. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-5 +0 -0
  251. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-6 +0 -0
  252. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-7 +0 -0
  253. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-8 +0 -0
  254. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-9 +0 -0
  255. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-UCS2 +0 -0
  256. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/UniAKR-UTF16-H +0 -0
  257. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/UniAKR-UTF32-H +0 -0
  258. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/UniAKR-UTF8-H +0 -0
  259. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-0 +0 -0
  260. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-1 +0 -0
  261. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-2 +0 -0
  262. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-H-CID +0 -0
  263. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-H-Host +0 -0
  264. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-H-Mac +0 -0
  265. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-KSCms-UHC +0 -0
  266. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-KSCpc-EUC +0 -0
  267. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-UCS2 +0 -0
  268. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSC-EUC-H +0 -0
  269. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSC-EUC-V +0 -0
  270. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSC-H +0 -0
  271. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSC-Johab-H +0 -0
  272. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSC-Johab-V +0 -0
  273. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSC-V +0 -0
  274. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCms-UHC-H +0 -0
  275. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCms-UHC-HW-H +0 -0
  276. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCms-UHC-HW-V +0 -0
  277. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCms-UHC-UCS2 +0 -0
  278. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCms-UHC-V +0 -0
  279. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCpc-EUC-H +0 -0
  280. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCpc-EUC-UCS2 +0 -0
  281. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCpc-EUC-UCS2C +0 -0
  282. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCpc-EUC-V +0 -0
  283. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UCS2-KSCms-UHC +0 -0
  284. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UCS2-KSCpc-EUC +0 -0
  285. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UCS2-H +0 -0
  286. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UCS2-V +0 -0
  287. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UTF16-H +0 -0
  288. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UTF16-V +0 -0
  289. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UTF32-H +0 -0
  290. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UTF32-V +0 -0
  291. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UTF8-H +0 -0
  292. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UTF8-V +0 -0
  293. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cidToUnicode/Adobe-CNS1 +0 -0
  294. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cidToUnicode/Adobe-GB1 +0 -0
  295. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cidToUnicode/Adobe-Japan1 +0 -0
  296. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cidToUnicode/Adobe-Korea1 +0 -0
  297. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/nameToUnicode/Bulgarian +0 -0
  298. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/nameToUnicode/Greek +0 -0
  299. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/nameToUnicode/Thai +0 -0
  300. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/poppler-data.pc +0 -0
  301. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/poppler-data.pc.in +0 -0
  302. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/Big5 +0 -0
  303. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/Big5ascii +0 -0
  304. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/EUC-CN +0 -0
  305. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/EUC-JP +0 -0
  306. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/GBK +0 -0
  307. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-2022-CN +0 -0
  308. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-2022-JP +0 -0
  309. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-2022-KR +0 -0
  310. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-8859-6 +0 -0
  311. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-8859-7 +0 -0
  312. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-8859-8 +0 -0
  313. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-8859-9 +0 -0
  314. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/KOI8-R +0 -0
  315. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/Latin2 +0 -0
  316. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/Shift-JIS +0 -0
  317. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/TIS-620 +0 -0
  318. /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/Windows-1255 +0 -0
package/src/index.js CHANGED
@@ -1,7 +1,10 @@
1
- const camelCase = require("camelcase");
2
- const path = require("upath");
1
+ "use strict";
2
+
3
3
  const { execFile, spawn } = require("child_process");
4
4
  const { promisify } = require("util");
5
+ const camelCase = require("camelcase");
6
+ const { lt } = require("semver");
7
+ const path = require("upath");
5
8
 
6
9
  const execFileAsync = promisify(execFile);
7
10
 
@@ -22,8 +25,8 @@ const errorMessages = {
22
25
  * @ignore
23
26
  * @param {object} acceptedOptions - Object containing options that a binary accepts.
24
27
  * @param {object} options - Object containing options to pass to binary.
25
- * @param {string=} version - Version of binary.
26
- * @returns {Array<string>} Array of CLI arguments.
28
+ * @param {string} [version] - Version of binary.
29
+ * @returns {string[]} Array of CLI arguments.
27
30
  * @throws If invalid arguments provided.
28
31
  */
29
32
  function parseOptions(acceptedOptions, options, version) {
@@ -56,7 +59,7 @@ function parseOptions(acceptedOptions, options, version) {
56
59
  if (
57
60
  acceptedOptions[key].minVersion &&
58
61
  version &&
59
- version < acceptedOptions[key].minVersion
62
+ lt(version, acceptedOptions[key].minVersion, { loose: true })
60
63
  ) {
61
64
  invalidArgs.push(
62
65
  `Invalid option provided for the current version of the binary used. '${key}' was introduced in v${acceptedOptions[key].minVersion}, but received v${version}`
@@ -74,7 +77,7 @@ function parseOptions(acceptedOptions, options, version) {
74
77
 
75
78
  class Poppler {
76
79
  /**
77
- * @param {string=} binPath - Path of poppler-utils binaries.
80
+ * @param {string} [binPath] - Path of poppler-utils binaries.
78
81
  */
79
82
  constructor(binPath) {
80
83
  if (binPath) {
@@ -84,7 +87,7 @@ class Poppler {
84
87
  __dirname,
85
88
  "lib",
86
89
  "win32",
87
- "poppler-23.05.0",
90
+ "poppler-23.07.0",
88
91
  "Library",
89
92
  "bin"
90
93
  );
@@ -101,9 +104,9 @@ class Poppler {
101
104
  * @param {string} file - Filepath of the PDF file to read.
102
105
  * @param {string} fileToAttach - Filepath of the attachment to be embedded into the PDF file.
103
106
  * @param {string} outputFile - Filepath of the file to output the results to.
104
- * @param {object=} options - Object containing options to pass to binary.
105
- * @param {boolean=} options.printVersionInfo - Print copyright and version info.
106
- * @param {boolean=} options.replace - Replace embedded file with same name (if it exists).
107
+ * @param {object} [options] - Object containing options to pass to binary.
108
+ * @param {boolean} [options.printVersionInfo] - Print copyright and version info.
109
+ * @param {boolean} [options.replace] - Replace embedded file with same name (if it exists).
107
110
  * @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
108
111
  */
109
112
  async pdfAttach(file, fileToAttach, outputFile, options = {}) {
@@ -132,26 +135,26 @@ class Poppler {
132
135
  * @author Frazer Smith
133
136
  * @description Lists or extracts embedded files (attachments) from a PDF file.
134
137
  * @param {string} file - Filepath of the PDF file to read.
135
- * @param {object=} options - Object containing options to pass to binary.
136
- * @param {boolean=} options.listEmbedded - List all of the embedded files in the PDF file.
138
+ * @param {object} [options] - Object containing options to pass to binary.
139
+ * @param {boolean} [options.listEmbedded] - List all of the embedded files in the PDF file.
137
140
  * File names are converted to the text encoding specified by `options.outputEncoding`.
138
- * @param {string=} options.ownerPassword - Owner password (for encrypted files).
139
- * @param {string=} options.outputEncoding - Sets the encoding to use for text output.
141
+ * @param {string} [options.ownerPassword] - Owner password (for encrypted files).
142
+ * @param {string} [options.outputEncoding] - Sets the encoding to use for text output.
140
143
  * This defaults to `UTF-8`.
141
- * @param {string=} options.outputPath - Set the file name used when saving an embedded file with
144
+ * @param {string} [options.outputPath] - Set the file name used when saving an embedded file with
142
145
  * the save option enabled, or the directory if `options.saveall` is used.
143
- * @param {boolean=} options.printVersionInfo - Print copyright and version info.
144
- * @param {boolean=} options.saveAllFiles - Save all of the embedded files. This uses the file
146
+ * @param {boolean} [options.printVersionInfo] - Print copyright and version info.
147
+ * @param {boolean} [options.saveAllFiles] - Save all of the embedded files. This uses the file
145
148
  * names associated with the embedded files (as printed by `options.listEmbedded`).
146
149
  * By default, the files are saved in the current directory; this can be changed
147
150
  * with `options.outputPath`.
148
- * @param {string=} options.saveFile - Save the specified embedded file.
151
+ * @param {string} [options.saveFile] - Save the specified embedded file.
149
152
  * By default, this uses the file name associated with the embedded file (as printed by
150
153
  * `options.listEmbedded`); the file name can be changed with `options.outputPath`.
151
- * @param {number=} options.saveSpecificFile - Save the specified embedded file.
154
+ * @param {number} [options.saveSpecificFile] - Save the specified embedded file.
152
155
  * By default, this uses the file name associated with the embedded file (as printed by
153
156
  * `options.listEmbedded`); the file name can be changed with `options.outputPath`.
154
- * @param {string=} options.userPassword - User password (for encrypted files).
157
+ * @param {string} [options.userPassword] - User password (for encrypted files).
155
158
  * @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
156
159
  */
157
160
  async pdfDetach(file, options = {}) {
@@ -188,15 +191,15 @@ class Poppler {
188
191
  /**
189
192
  * @author Frazer Smith
190
193
  * @description Lists the fonts used in a PDF file along with various information for each font.
191
- * @param {Buffer| string} file - PDF file as Buffer, or filepath of the PDF file to read.
192
- * @param {object=} options - Object containing options to pass to binary.
193
- * @param {number=} options.firstPageToExamine - Specifies the first page to examine.
194
- * @param {number=} options.lastPageToExamine - Specifies the last page to examine.
195
- * @param {boolean=} options.listSubstitutes - List the substitute fonts that poppler
194
+ * @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
195
+ * @param {object} [options] - Object containing options to pass to binary.
196
+ * @param {number} [options.firstPageToExamine] - Specifies the first page to examine.
197
+ * @param {number} [options.lastPageToExamine] - Specifies the last page to examine.
198
+ * @param {boolean} [options.listSubstitutes] - List the substitute fonts that poppler
196
199
  * will use for non-embedded fonts.
197
- * @param {string=} options.ownerPassword - Owner password (for encrypted files).
198
- * @param {boolean=} options.printVersionInfo - Print copyright and version info.
199
- * @param {string=} options.userPassword - User password (for encrypted files). *
200
+ * @param {string} [options.ownerPassword] - Owner password (for encrypted files).
201
+ * @param {boolean} [options.printVersionInfo] - Print copyright and version info.
202
+ * @param {string} [options.userPassword] - User password (for encrypted files). *
200
203
  * @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
201
204
  */
202
205
  async pdfFonts(file, options = {}) {
@@ -215,7 +218,7 @@ class Poppler {
215
218
  ["-v"]
216
219
  );
217
220
 
218
- const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/i.exec(stderr)[1];
221
+ const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
219
222
 
220
223
  const args = parseOptions(acceptedOptions, options, versionInfo);
221
224
 
@@ -263,25 +266,25 @@ class Poppler {
263
266
  /**
264
267
  * @author Frazer Smith
265
268
  * @description Saves images from a PDF file as PPM, PBM, PNG, TIFF, JPEG, JPEG2000, or JBIG2 files.
266
- * @param {Buffer| string} file - PDF file as Buffer, or filepath of the PDF file to read.
267
- * @param {string=} outputPrefix - Filename prefix of output files.
268
- * @param {object=} options - Object containing options to pass to binary.
269
- * @param {boolean=} options.allFiles - Write JPEG, JPEG2000, JBIG2, and CCITT images in their native format.
269
+ * @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
270
+ * @param {string} [outputPrefix] - Filename prefix of output files.
271
+ * @param {object} [options] - Object containing options to pass to binary.
272
+ * @param {boolean} [options.allFiles] - Write JPEG, JPEG2000, JBIG2, and CCITT images in their native format.
270
273
  * CMYK files are written as TIFF files. All other images are written as PNG files.
271
- * @param {boolean=} options.ccittFile - Generate CCITT images as CCITT files.
272
- * @param {number=} options.firstPageToConvert - Specifies the first page to convert.
273
- * @param {number=} options.lastPageToConvert - Specifies the last page to convert.
274
- * @param {boolean=} options.list - Instead of writing the images, list the
274
+ * @param {boolean} [options.ccittFile] - Generate CCITT images as CCITT files.
275
+ * @param {number} [options.firstPageToConvert] - Specifies the first page to convert.
276
+ * @param {number} [options.lastPageToConvert] - Specifies the last page to convert.
277
+ * @param {boolean} [options.list] - Instead of writing the images, list the
275
278
  * images along with various information for each image.
276
279
  * NOTE: Do not specify the outputPrefix with this option.
277
- * @param {boolean=} options.jbig2File - Generate JBIG2 images as JBIG2 files.
278
- * @param {boolean=} options.jpeg2000File - Generate JPEG2000 images at JP2 files.
279
- * @param {boolean=} options.jpegFile - Generate JPEG images as JPEG files.
280
- * @param {string=} options.ownerPassword - Owner password (for encrypted files).
281
- * @param {boolean=} options.pngFile - Change the default output format to PNG.
282
- * @param {boolean=} options.printVersionInfo - Print copyright and version info.
283
- * @param {boolean=} options.tiffFile - Change the default output format to TIFF.
284
- * @param {string=} options.userPassword - Specify the user password for the PDF file.
280
+ * @param {boolean} [options.jbig2File] - Generate JBIG2 images as JBIG2 files.
281
+ * @param {boolean} [options.jpeg2000File] - Generate JPEG2000 images at JP2 files.
282
+ * @param {boolean} [options.jpegFile] - Generate JPEG images as JPEG files.
283
+ * @param {string} [options.ownerPassword] - Owner password (for encrypted files).
284
+ * @param {boolean} [options.pngFile] - Change the default output format to PNG.
285
+ * @param {boolean} [options.printVersionInfo] - Print copyright and version info.
286
+ * @param {boolean} [options.tiffFile] - Change the default output format to TIFF.
287
+ * @param {string} [options.userPassword] - Specify the user password for the PDF file.
285
288
  * @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
286
289
  */
287
290
  async pdfImages(file, outputPrefix, options = {}) {
@@ -307,7 +310,7 @@ class Poppler {
307
310
  ["-v"]
308
311
  );
309
312
 
310
- const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/i.exec(stderr)[1];
313
+ const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
311
314
 
312
315
  const args = parseOptions(acceptedOptions, options, versionInfo);
313
316
 
@@ -364,35 +367,35 @@ class Poppler {
364
367
  /**
365
368
  * @author Frazer Smith
366
369
  * @description Prints the contents of the `Info` dictionary from a PDF file.
367
- * @param {Buffer| string} file - PDF file as Buffer, or filepath of the PDF file to read.
368
- * @param {object=} options - Object containing options to pass to binary.
369
- * @param {number=} options.firstPageToConvert - First page to print.
370
- * @param {number=} options.lastPageToConvert - Last page to print.
371
- * @param {boolean=} options.listEncodingOptions - List the available encodings.
372
- * @param {string=} options.outputEncoding - Sets the encoding to use for text output.
370
+ * @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
371
+ * @param {object} [options] - Object containing options to pass to binary.
372
+ * @param {number} [options.firstPageToConvert] - First page to print.
373
+ * @param {number} [options.lastPageToConvert] - Last page to print.
374
+ * @param {boolean} [options.listEncodingOptions] - List the available encodings.
375
+ * @param {string} [options.outputEncoding] - Sets the encoding to use for text output.
373
376
  * This defaults to `UTF-8`.
374
- * @param {string=} options.ownerPassword - Owner password (for encrypted files).
375
- * @param {boolean=} options.printAsJson - Print result as a JSON object.
376
- * @param {boolean=} options.printBoundingBoxes - Prints the page box bounding boxes:
377
+ * @param {string} [options.ownerPassword] - Owner password (for encrypted files).
378
+ * @param {boolean} [options.printAsJson] - Print result as a JSON object.
379
+ * @param {boolean} [options.printBoundingBoxes] - Prints the page box bounding boxes:
377
380
  * MediaBox, CropBox, BleedBox, TrimBox, and ArtBox.
378
- * @param {boolean=} options.printDocStruct - Prints the logical document structure
381
+ * @param {boolean} [options.printDocStruct] - Prints the logical document structure
379
382
  * of a Tagged-PDF file.
380
- * @param {boolean=} options.printDocStructText - Print the textual content along with the
383
+ * @param {boolean} [options.printDocStructText] - Print the textual content along with the
381
384
  * document structure of a Tagged-PDF file. Note that extracting text this way might be slow
382
385
  *
383
386
  * for big PDF files.
384
- * @param {boolean=} options.printIsoDates - Prints dates in ISO-8601 format (including the time zone).
385
- * @param {boolean=} options.printJS - Prints all JavaScript in the PDF file.
386
- * @param {boolean=} options.printMetadata - Prints document-level metadata. (This is the `Metadata`
387
+ * @param {boolean} [options.printIsoDates] - Prints dates in ISO-8601 format (including the time zone).
388
+ * @param {boolean} [options.printJS] - Prints all JavaScript in the PDF file.
389
+ * @param {boolean} [options.printMetadata] - Prints document-level metadata. (This is the `Metadata`
387
390
  * stream from the PDF file's Catalog object).
388
- * @param {boolean=} options.printNamedDests - Print a list of all named destinations. If a page range
391
+ * @param {boolean} [options.printNamedDests] - Print a list of all named destinations. If a page range
389
392
  * is specified using the `options.firstPageToConvert` and `options.lastPageToConvert` options, only destinations
390
393
  * in the page range are listed.
391
- * @param {boolean=} options.printRawDates - Prints the raw (undecoded) date strings, directly from the PDF file.
392
- * @param {boolean=} options.printUrls - Print all URLs in the PDF; only URLs referenced by PDF objects
394
+ * @param {boolean} [options.printRawDates] - Prints the raw (undecoded) date strings, directly from the PDF file.
395
+ * @param {boolean} [options.printUrls] - Print all URLs in the PDF; only URLs referenced by PDF objects
393
396
  * such as Link Annotations are listed, not URL strings in the text content.
394
- * @param {boolean=} options.printVersionInfo - Print copyright and version info.
395
- * @param {string=} options.userPassword - User password (for encrypted files).
397
+ * @param {boolean} [options.printVersionInfo] - Print copyright and version info.
398
+ * @param {string} [options.userPassword] - User password (for encrypted files).
396
399
  * @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
397
400
  */
398
401
  async pdfInfo(file, options = {}) {
@@ -422,7 +425,7 @@ class Poppler {
422
425
  ["-v"]
423
426
  );
424
427
 
425
- const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/i.exec(stderr)[1];
428
+ const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
426
429
 
427
430
  const args = parseOptions(acceptedOptions, options, versionInfo);
428
431
 
@@ -465,7 +468,7 @@ class Poppler {
465
468
  if (stdOut !== "") {
466
469
  if (fileSize) {
467
470
  stdOut = stdOut.replace(
468
- /(File\s+size:\s+)0(\s+)bytes/,
471
+ /(File\s+size:\s+)0(\s+)bytes/u,
469
472
  `$1${fileSize}$2bytes`
470
473
  );
471
474
  }
@@ -505,12 +508,12 @@ class Poppler {
505
508
  * @param {string} outputPattern - Should contain %d (or any variant respecting printf format),
506
509
  * since %d is replaced by the page number.
507
510
  * As an example, `sample-%d.pdf` will produce `sample-1.pdf` for a single page document.
508
- * @param {object=} options - Object containing options to pass to binary.
509
- * @param {number=} options.firstPageToExtract - Specifies the first page to extract.
511
+ * @param {object} [options] - Object containing options to pass to binary.
512
+ * @param {number} [options.firstPageToExtract] - Specifies the first page to extract.
510
513
  * This defaults to page 1.
511
- * @param {number=} options.lastPageToExtract - Specifies the last page to extract.
514
+ * @param {number} [options.lastPageToExtract] - Specifies the last page to extract.
512
515
  * This defaults to the last page of the PDF file.
513
- * @param {boolean=} options.printVersionInfo - Print copyright and version info.
516
+ * @param {boolean} [options.printVersionInfo] - Print copyright and version info.
514
517
  * @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
515
518
  */
516
519
  async pdfSeparate(file, outputPattern, options = {}) {
@@ -526,7 +529,7 @@ class Poppler {
526
529
  ["-v"]
527
530
  );
528
531
 
529
- const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/i.exec(stderr)[1];
532
+ const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
530
533
 
531
534
  const args = parseOptions(acceptedOptions, options, versionInfo);
532
535
  args.push(file);
@@ -545,45 +548,45 @@ class Poppler {
545
548
  /**
546
549
  * @author Frazer Smith
547
550
  * @description Converts a PDF file to EPS/JPEG/PDF/PNG/PS/SVG/TIFF.
548
- * @param {Buffer| string} file - PDF file as Buffer, or filepath of the PDF file to read.
549
- * @param {string=} outputFile - Filepath of the file to output the results to.
551
+ * @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
552
+ * @param {string} [outputFile] - Filepath of the file to output the results to.
550
553
  *
551
554
  * If `undefined` then will write output to stdout. Using stdout is not valid with image formats
552
555
  * (jpeg, png, and tiff) unless `options.singleFile` is set to `true`.
553
556
  * Encoding is set to `binary` if used with `options.singleFile` or `options.pdfFile`.
554
557
  *
555
558
  * If not set then the output filename will be derived from the PDF file name.
556
- * @param {object=} options - Object containing options to pass to binary.
557
- * @param {('default'|'none'|'gray'|'subpixel'|'fast'|'good'|'best')=} options.antialias - Set the cairo
559
+ * @param {object} [options] - Object containing options to pass to binary.
560
+ * @param {('best'|'default'|'fast'|'good'|'gray'|'none'|'subpixel')} [options.antialias] - Set the cairo
558
561
  * antialias option used for text and drawing in image files (or rasterized regions in vector output).
559
- * @param {boolean=} options.cropBox - Uses the crop box rather than media box when
562
+ * @param {boolean} [options.cropBox] - Uses the crop box rather than media box when
560
563
  * generating the files (PNG/JPEG/TIFF only).
561
- * @param {number=} options.cropHeight - Specifies the height of crop area in pixels
564
+ * @param {number} [options.cropHeight] - Specifies the height of crop area in pixels
562
565
  * (image output) or points (vector output).
563
- * @param {number=} options.cropSize - Specifies the size of crop square in pixels
566
+ * @param {number} [options.cropSize] - Specifies the size of crop square in pixels
564
567
  * (image output) or points (vector output).
565
- * @param {number=} options.cropWidth - Specifies the width of crop area in pixels
568
+ * @param {number} [options.cropWidth] - Specifies the width of crop area in pixels
566
569
  * (image output) or points (vector output).
567
- * @param {number=} options.cropXAxis - Specifies the x-coordinate of the crop area top left
570
+ * @param {number} [options.cropXAxis] - Specifies the x-coordinate of the crop area top left
568
571
  * corner in pixels (image output) or points (vector output).
569
- * @param {number=} options.cropYAxis - Specifies the y-coordinate of the crop area top left
572
+ * @param {number} [options.cropYAxis] - Specifies the y-coordinate of the crop area top left
570
573
  * corner in pixels (image output) or points (vector output).
571
- * @param {boolean=} options.duplex - Adds the %%IncludeFeature: *Duplex DuplexNoTumble DSC
574
+ * @param {boolean} [options.duplex] - Adds the %%IncludeFeature: *Duplex DuplexNoTumble DSC
572
575
  * comment to the PostScript file (PS only). This tells the print manager to enable duplexing.
573
- * @param {boolean=} options.epsFile - Generate an EPS file. An EPS file contains a single image,
576
+ * @param {boolean} [options.epsFile] - Generate an EPS file. An EPS file contains a single image,
574
577
  * so if you use this option with a multi-page PDF file, you must use `options.firstPageToConvert` and
575
578
  * `options.lastPageToConvert` to specify a single page.
576
579
  * The page size options (originalPageSizes, paperSize, paperWidth, paperHeight) can not be used
577
580
  * with this option.
578
- * @param {boolean=} options.evenPagesOnly - Generates only the even numbered pages.
579
- * @param {boolean=} options.fillPage - Expand PDF pages smaller than the paper to fill the
581
+ * @param {boolean} [options.evenPagesOnly] - Generates only the even numbered pages.
582
+ * @param {boolean} [options.fillPage] - Expand PDF pages smaller than the paper to fill the
580
583
  * paper (PS,PDF,SVG only). By default, these pages are not scaled.
581
- * @param {number=} options.firstPageToConvert - Specifies the first page to convert.
582
- * @param {boolean=} options.grayscaleFile - Generate grayscale file (PNG, JPEG, and TIFF only).
583
- * @param {string=} options.iccFile - Use the specified ICC file as the output profile
584
+ * @param {number} [options.firstPageToConvert] - Specifies the first page to convert.
585
+ * @param {boolean} [options.grayscaleFile] - Generate grayscale file (PNG, JPEG, and TIFF only).
586
+ * @param {string} [options.iccFile] - Use the specified ICC file as the output profile
584
587
  * (PNG only). The profile will be embedded in the PNG file.
585
- * @param {boolean=} options.jpegFile - Generate JPEG file(s).
586
- * @param {string=} options.jpegOptions - When used with `options.jpegFile`, this option can
588
+ * @param {boolean} [options.jpegFile] - Generate JPEG file(s).
589
+ * @param {string} [options.jpegOptions] - When used with `options.jpegFile`, this option can
587
590
  * be used to control the JPEG compression parameters. It takes a string of the form
588
591
  * `"<opt>=<val>[,<opt>=<val>]"`. Currently available options are:
589
592
  * - `quality` Selects the JPEG quality value. The value must be an integer between 0 and 100.
@@ -594,57 +597,57 @@ class Poppler {
594
597
  * with "y" performing optimization, otherwise the default Huffman tables are used.
595
598
  *
596
599
  * Example: `"quality=95,optimize=y"`.
597
- * @param {number=} options.lastPageToConvert - Specifies the last page to convert.
598
- * @param {boolean=} options.monochromeFile - Generate monochrome file (PNG and TIFF only).
599
- * @param {boolean=} options.noCenter - By default, PDF pages smaller than the paper
600
+ * @param {number} [options.lastPageToConvert] - Specifies the last page to convert.
601
+ * @param {boolean} [options.monochromeFile] - Generate monochrome file (PNG and TIFF only).
602
+ * @param {boolean} [options.noCenter] - By default, PDF pages smaller than the paper
600
603
  * (after any scaling) are centered on the paper. This option causes them to be aligned to
601
604
  * the lower-left corner of the paper instead (PS,PDF,SVG only).
602
- * @param {boolean=} options.noCrop - By default, printing output is cropped to the CropBox
605
+ * @param {boolean} [options.noCrop] - By default, printing output is cropped to the CropBox
603
606
  * specified in the PDF file. This option disables cropping (PS, PDF, SVG only).
604
- * @param {boolean=} options.noShrink - Do not scale PDF pages which are larger than the paper
607
+ * @param {boolean} [options.noShrink] - Do not scale PDF pages which are larger than the paper
605
608
  * (PS,PDF,SVG only). By default, pages larger than the paper are shrunk to fit.
606
- * @param {boolean=} options.oddPagesOnly - Generates only the odd numbered pages.
607
- * @param {boolean=} options.originalPageSizes - Set the paper size of each page to match
609
+ * @param {boolean} [options.oddPagesOnly] - Generates only the odd numbered pages.
610
+ * @param {boolean} [options.originalPageSizes] - Set the paper size of each page to match
608
611
  * the size specified in the PDF file.
609
- * @param {string=} options.ownerPassword - Specify the owner password for the PDF file.
612
+ * @param {string} [options.ownerPassword] - Specify the owner password for the PDF file.
610
613
  * Providing this will bypass all security restrictions.
611
- * @param {number=} options.paperHeight - Set the paper height, in points (PS, PDF, SVG only).
612
- * @param {('letter'|'legal'|'A4'|'A3'|'match')=} options.paperSize - Set the paper size to one of `letter`, `legal`, `A4`,
613
- * or `A3` (PS,PDF,SVG only). This can also be set to `match`, which will set the paper size
614
+ * @param {number} [options.paperHeight] - Set the paper height, in points (PS, PDF, SVG only).
615
+ * @param {('A3'|'A4'|'legal'|'letter'|'match')} [options.paperSize] - Set the paper size to one of `A3`, `A4`,
616
+ * `legal`, or `letter` (PS,PDF,SVG only). This can also be set to `match`, which will set the paper size
614
617
  * of each page to match the size specified in the PDF file. If none of the paperSize,
615
618
  * paperWidth, or paperHeight options are specified the default is to match the paper size.
616
- * @param {number=} options.paperWidth - Set the paper width, in points (PS,PDF,SVG only).
617
- * @param {boolean=} options.pdfFile - Generate PDF file.
618
- * @param {boolean=} options.pngFile - Generate PNG file(s).
619
- * @param {boolean=} options.printVersionInfo - Print copyright and version information.
620
- * @param {boolean=} options.psFile - Generate PS file.
621
- * @param {boolean=} options.psLevel2 - Generate Level 2 PostScript (PS only).
622
- * @param {boolean=} options.psLevel3 - Generate Level 3 PostScript (PS only). This enables all
619
+ * @param {number} [options.paperWidth] - Set the paper width, in points (PS,PDF,SVG only).
620
+ * @param {boolean} [options.pdfFile] - Generate PDF file.
621
+ * @param {boolean} [options.pngFile] - Generate PNG file(s).
622
+ * @param {boolean} [options.printVersionInfo] - Print copyright and version information.
623
+ * @param {boolean} [options.psFile] - Generate PS file.
624
+ * @param {boolean} [options.psLevel2] - Generate Level 2 PostScript (PS only).
625
+ * @param {boolean} [options.psLevel3] - Generate Level 3 PostScript (PS only). This enables all
623
626
  * Level 2 features plus shading patterns and masked images. This is the default setting.
624
- * @param {boolean=} options.quiet - Do not print any messages or errors.
625
- * @param {number=} options.resolutionXAxis - Specifies the X resolution, in pixels per inch of
627
+ * @param {boolean} [options.quiet] - Do not print any messages or errors.
628
+ * @param {number} [options.resolutionXAxis] - Specifies the X resolution, in pixels per inch of
626
629
  * image files (or rasterized regions in vector output). The default is 150 PPI.
627
- * @param {number=} options.resolutionXYAxis - Specifies the X and Y resolution, in pixels per
630
+ * @param {number} [options.resolutionXYAxis] - Specifies the X and Y resolution, in pixels per
628
631
  * inch of image files (or rasterized regions in vector output). The default is 150 PPI.
629
- * @param {number=} options.resolutionYAxis - Specifies the Y resolution, in pixels per inch of
632
+ * @param {number} [options.resolutionYAxis] - Specifies the Y resolution, in pixels per inch of
630
633
  * image files (or rasterized regions in vector output). The default is 150 PPI.
631
- * @param {number=} options.scalePageTo - Scales the long side of each page (width for landscape
634
+ * @param {number} [options.scalePageTo] - Scales the long side of each page (width for landscape
632
635
  * pages, height for portrait pages) to fit in scale-to pixels. The size of the short side will
633
636
  * be determined by the aspect ratio of the page (PNG/JPEG/TIFF only).
634
- * @param {number=} options.scalePageToXAxis - Scales each page horizontally to fit in scale-to-x
637
+ * @param {number} [options.scalePageToXAxis] - Scales each page horizontally to fit in scale-to-x
635
638
  * pixels. If scale-to-y is set to -1, the vertical size will determined by the aspect ratio of
636
639
  * the page (PNG/JPEG/TIFF only).
637
- * @param {number=} options.scalePageToYAxis - Scales each page vertically to fit in scale-to-y
640
+ * @param {number} [options.scalePageToYAxis] - Scales each page vertically to fit in scale-to-y
638
641
  * pixels. If scale-to-x is set to -1, the horizontal size will determined by the aspect ratio of
639
642
  * the page (PNG/JPEG/TIFF only).
640
- * @param {boolean=} options.singleFile - Writes only the first page and does not add digits.
643
+ * @param {boolean} [options.singleFile] - Writes only the first page and does not add digits.
641
644
  * Can only be used with `options.jpegFile`, `options.pngFile`, and `options.tiffFile`.
642
- * @param {boolean=} options.svgFile - Generate SVG (Scalable Vector Graphics) file.
643
- * @param {('none'|'packbits'|'jpeg'|'lzw'|'deflate')=} options.tiffCompression - Set TIFF compression.
644
- * @param {boolean=} options.tiffFile - Generate TIFF file(s).
645
- * @param {boolean=} options.transparentPageColor - Use a transparent page color
645
+ * @param {boolean} [options.svgFile] - Generate SVG (Scalable Vector Graphics) file.
646
+ * @param {('deflate'|'jpeg'|'lzw'|'none'|'packbits')} [options.tiffCompression] - Set TIFF compression.
647
+ * @param {boolean} [options.tiffFile] - Generate TIFF file(s).
648
+ * @param {boolean} [options.transparentPageColor] - Use a transparent page color
646
649
  * instead of white (PNG and TIFF only).
647
- * @param {string=} options.userPassword - Specify the user password for the PDF file.
650
+ * @param {string} [options.userPassword] - Specify the user password for the PDF file.
648
651
  * @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
649
652
  */
650
653
  async pdfToCairo(file, outputFile, options = {}) {
@@ -703,7 +706,7 @@ class Poppler {
703
706
  ["-v"]
704
707
  );
705
708
 
706
- const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/i.exec(stderr)[1];
709
+ const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
707
710
 
708
711
  const args = parseOptions(acceptedOptions, options, versionInfo);
709
712
 
@@ -769,41 +772,41 @@ class Poppler {
769
772
  /**
770
773
  * @author Frazer Smith
771
774
  * @description Converts a PDF file to HTML.
772
- * @param {Buffer| string} file - PDF file as Buffer, or filepath of the PDF file to read.
773
- * @param {string=} outputFile - Filepath of the file to output the results to.
775
+ * @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
776
+ * @param {string} [outputFile] - Filepath of the file to output the results to.
774
777
  * If `undefined` then Poppler will use the directory and name of the original file
775
778
  * and create a new file, with `-html` appended to the end of the filename.
776
779
  *
777
780
  * Required if `file` is a Buffer.
778
- * @param {object=} options - Object containing options to pass to binary.
779
- * @param {boolean=} options.complexOutput - Generate complex output.
780
- * @param {boolean=} options.dataUrls - Use data URLs instead of external images in HTML.
781
- * @param {boolean=} options.exchangePdfLinks - Exchange .pdf links with .html.
782
- * @param {boolean=} options.extractHidden - Force hidden text extraction.
783
- * @param {number=} options.firstPageToConvert - First page to print.
784
- * @param {boolean=} options.fontFullName - Outputs the font name without any substitutions.
785
- * @param {boolean=} options.ignoreImages - Ignore images.
786
- * @param {('PNG'|'JPG')=} options.imageFormat - Image file format for Splash output (PNG or JPG).
781
+ * @param {object} [options] - Object containing options to pass to binary.
782
+ * @param {boolean} [options.complexOutput] - Generate complex output.
783
+ * @param {boolean} [options.dataUrls] - Use data URLs instead of external images in HTML.
784
+ * @param {boolean} [options.exchangePdfLinks] - Exchange .pdf links with .html.
785
+ * @param {boolean} [options.extractHidden] - Force hidden text extraction.
786
+ * @param {number} [options.firstPageToConvert] - First page to print.
787
+ * @param {boolean} [options.fontFullName] - Outputs the font name without any substitutions.
788
+ * @param {boolean} [options.ignoreImages] - Ignore images.
789
+ * @param {('JPG'|'PNG')} [options.imageFormat] - Image file format for Splash output (JPG or PNG).
787
790
  * If complexOutput is selected, but imageFormat is not specified, PNG will be assumed.
788
- * @param {number=} options.lastPageToConvert - Last page to print.
789
- * @param {boolean=} options.noDrm - Override document DRM settings.
790
- * @param {boolean=} options.noFrames - Generate no frames. Not supported in complex output mode.
791
- * @param {boolean=} options.noMergeParagraph - Do not merge paragraphs.
792
- * @param {boolean=} options.noRoundedCoordinates - Do not round coordinates
791
+ * @param {number} [options.lastPageToConvert] - Last page to print.
792
+ * @param {boolean} [options.noDrm] - Override document DRM settings.
793
+ * @param {boolean} [options.noFrames] - Generate no frames. Not supported in complex output mode.
794
+ * @param {boolean} [options.noMergeParagraph] - Do not merge paragraphs.
795
+ * @param {boolean} [options.noRoundedCoordinates] - Do not round coordinates
793
796
  * (with XML output only).
794
- * @param {string=} options.outputEncoding - Sets the encoding to use for text output.
797
+ * @param {string} [options.outputEncoding] - Sets the encoding to use for text output.
795
798
  * This defaults to `UTF-8`.
796
- * @param {string=} options.ownerPassword - Owner password (for encrypted files).
797
- * @param {boolean=} options.printVersionInfo - Print copyright and version info.
798
- * @param {boolean=} options.quiet - Do not print any messages or errors.
799
- * @param {boolean=} options.singlePage - generate single HTML that includes all pages.
800
- * @param {boolean=} options.stdout - Use standard output.
801
- * @param {string=} options.userPassword - User password (for encrypted files).
802
- * @param {number=} options.wordBreakThreshold - Adjust the word break threshold percent.
799
+ * @param {string} [options.ownerPassword] - Owner password (for encrypted files).
800
+ * @param {boolean} [options.printVersionInfo] - Print copyright and version info.
801
+ * @param {boolean} [options.quiet] - Do not print any messages or errors.
802
+ * @param {boolean} [options.singlePage] - generate single HTML that includes all pages.
803
+ * @param {boolean} [options.stdout] - Use standard output.
804
+ * @param {string} [options.userPassword] - User password (for encrypted files).
805
+ * @param {number} [options.wordBreakThreshold] - Adjust the word break threshold percent.
803
806
  * Default is 10. Word break occurs when distance between two adjacent characters is greater
804
807
  * than this percent of character height.
805
- * @param {boolean=} options.xmlOutput - Output for XML post-processing.
806
- * @param {number=} options.zoom - Zoom the PDF document (default 1.5).
808
+ * @param {boolean} [options.xmlOutput] - Output for XML post-processing.
809
+ * @param {number} [options.zoom] - Zoom the PDF document (default 1.5).
807
810
  * @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
808
811
  */
809
812
  async pdfToHtml(file, outputFile, options = {}) {
@@ -843,7 +846,7 @@ class Poppler {
843
846
  ["-v"]
844
847
  );
845
848
 
846
- const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/i.exec(stderr)[1];
849
+ const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
847
850
 
848
851
  const args = parseOptions(acceptedOptions, options, versionInfo);
849
852
 
@@ -901,73 +904,73 @@ class Poppler {
901
904
  * @description Converts a PDF file to colour image files in Portable Pixmap (PPM) format,
902
905
  * grayscale image files in Portable Graymap (PGM) format, or monochrome image files
903
906
  * in Portable Bitmap (PBM) format.
904
- * @param {Buffer| string} file - PDF file as Buffer, or filepath of the PDF file to read.
907
+ * @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
905
908
  * @param {string} outputPath - Filepath to output the results to.
906
- * @param {object=} options - Object containing options to pass to binary.
907
- * @param {('yes'|'no')=} options.antialiasFonts - Enable or disable font anti-aliasing.
909
+ * @param {object} [options] - Object containing options to pass to binary.
910
+ * @param {('no'|'yes')} [options.antialiasFonts] - Enable or disable font anti-aliasing.
908
911
  * This defaults to `yes`.
909
- * @param {('yes'|'no')=} options.antialiasVectors - Enable or disable vector anti-aliasing.
912
+ * @param {('no'|'yes')} [options.antialiasVectors] - Enable or disable vector anti-aliasing.
910
913
  * This defaults to `yes`.
911
- * @param {boolean=} options.cropBox - Uses the crop box rather than media box when
914
+ * @param {boolean} [options.cropBox] - Uses the crop box rather than media box when
912
915
  * generating the files (PNG/JPEG/TIFF only).
913
- * @param {number=} options.cropHeight - Specifies the height of crop area in pixels
916
+ * @param {number} [options.cropHeight] - Specifies the height of crop area in pixels
914
917
  * (image output) or points (vector output).
915
- * @param {number=} options.cropSize - Specifies the size of crop square in pixels
918
+ * @param {number} [options.cropSize] - Specifies the size of crop square in pixels
916
919
  * (image output) or points (vector output).
917
- * @param {number=} options.cropWidth - Specifies the width of crop area in pixels
920
+ * @param {number} [options.cropWidth] - Specifies the width of crop area in pixels
918
921
  * (image output) or points (vector output).
919
- * @param {number=} options.cropXAxis - Specifies the x-coordinate of the crop area top left
922
+ * @param {number} [options.cropXAxis] - Specifies the x-coordinate of the crop area top left
920
923
  * corner in pixels (image output) or points (vector output).
921
- * @param {number=} options.cropYAxis - Specifies the y-coordinate of the crop area top left
924
+ * @param {number} [options.cropYAxis] - Specifies the y-coordinate of the crop area top left
922
925
  * corner in pixels (image output) or points (vector output).
923
- * @param {string=} options.defaultCmykProfile - If Poppler is compiled with colour management support, this option
926
+ * @param {string} [options.defaultCmykProfile] - If Poppler is compiled with colour management support, this option
924
927
  * sets the DefaultCMYK color space to the ICC profile stored in the display profile file passed.
925
- * @param {string=} options.defaultGrayProfile - If Poppler is compiled with colour management support, this option
928
+ * @param {string} [options.defaultGrayProfile] - If Poppler is compiled with colour management support, this option
926
929
  * sets the DefaultGray color space to the ICC profile stored in the display profile file passed.
927
- * @param {string=} options.defaultRgbProfile - If Poppler is compiled with colour management support, this option
930
+ * @param {string} [options.defaultRgbProfile] - If Poppler is compiled with colour management support, this option
928
931
  * sets the DefaultRGB color space to the ICC profile stored in the display profile file passed.
929
- * @param {string=} options.displayProfile - If Poppler is compiled with colour management support, this option
932
+ * @param {string} [options.displayProfile] - If Poppler is compiled with colour management support, this option
930
933
  * sets the display profile to the ICC profile stored in the display profile file passed.
931
- * @param {boolean=} options.evenPagesOnly - Generates only the even numbered pages.
932
- * @param {number=} options.firstPageToConvert - Specifies the first page to convert.
933
- * @param {('yes'|'no')=} options.freetype - Enable or disable FreeType (a TrueType / Type 1 font rasterizer).
934
+ * @param {boolean} [options.evenPagesOnly] - Generates only the even numbered pages.
935
+ * @param {number} [options.firstPageToConvert] - Specifies the first page to convert.
936
+ * @param {('no'|'yes')} [options.freetype] - Enable or disable FreeType (a TrueType / Type 1 font rasterizer).
934
937
  * This defaults to `yes`.
935
- * @param {boolean=} options.forcePageNumber - Force page number even if there is only one page.
936
- * @param {boolean=} options.grayscaleFile - Generate grayscale PGM file (instead of a color PPM file).
937
- * @param {boolean=} options.hideAnnotations - Hide annotations.
938
- * @param {boolean=} options.jpegFile - Generate JPEG file instead a PPM file.
939
- * @param {number=} options.lastPageToConvert - Specifies the last page to convert.
940
- * @param {boolean=} options.monochromeFile - Generate monochrome PBM file (instead of a color PPM file).
941
- * @param {boolean=} options.oddPagesOnly - Generates only the odd numbered pages.
942
- * @param {string=} options.ownerPassword - Specify the owner password for the PDF file.
938
+ * @param {boolean} [options.forcePageNumber] - Force page number even if there is only one page.
939
+ * @param {boolean} [options.grayscaleFile] - Generate grayscale PGM file (instead of a color PPM file).
940
+ * @param {boolean} [options.hideAnnotations] - Hide annotations.
941
+ * @param {boolean} [options.jpegFile] - Generate JPEG file instead a PPM file.
942
+ * @param {number} [options.lastPageToConvert] - Specifies the last page to convert.
943
+ * @param {boolean} [options.monochromeFile] - Generate monochrome PBM file (instead of a color PPM file).
944
+ * @param {boolean} [options.oddPagesOnly] - Generates only the odd numbered pages.
945
+ * @param {string} [options.ownerPassword] - Specify the owner password for the PDF file.
943
946
  * Providing this will bypass all security restrictions.
944
- * @param {boolean=} options.pngFile - Generate PNG file instead a PPM file.
945
- * @param {boolean=} options.printProgress - Print progress info as each page is generated.
947
+ * @param {boolean} [options.pngFile] - Generate PNG file instead a PPM file.
948
+ * @param {boolean} [options.printProgress] - Print progress info as each page is generated.
946
949
  * Three space-separated fields are printed to STDERR: the number of the current page, the number
947
950
  * of the last page that will be generated, and the path to the file written to.
948
- * @param {boolean=} options.printVersionInfo - Print copyright and version information.
949
- * @param {boolean=} options.quiet - Do not print any messages or errors.
950
- * @param {number=} options.resolutionXAxis - Specifies the X resolution, in pixels per inch of
951
+ * @param {boolean} [options.printVersionInfo] - Print copyright and version information.
952
+ * @param {boolean} [options.quiet] - Do not print any messages or errors.
953
+ * @param {number} [options.resolutionXAxis] - Specifies the X resolution, in pixels per inch of
951
954
  * image files (or rasterized regions in vector output). The default is 150 PPI.
952
- * @param {number=} options.resolutionXYAxis - Specifies the X and Y resolution, in pixels per
955
+ * @param {number} [options.resolutionXYAxis] - Specifies the X and Y resolution, in pixels per
953
956
  * inch of image files (or rasterized regions in vector output). The default is 150 PPI.
954
- * @param {number=} options.resolutionYAxis - Specifies the Y resolution, in pixels per inch of
957
+ * @param {number} [options.resolutionYAxis] - Specifies the Y resolution, in pixels per inch of
955
958
  * image files (or rasterized regions in vector output). The default is 150 PPI.
956
- * @param {number=} options.scalePageTo - Scales the long side of each page (width for landscape
959
+ * @param {number} [options.scalePageTo] - Scales the long side of each page (width for landscape
957
960
  * pages, height for portrait pages) to fit in scale-to pixels. The size of the short side will
958
961
  * be determined by the aspect ratio of the page.
959
- * @param {number=} options.scalePageToXAxis - Scales each page horizontally to fit in scale-to-x
962
+ * @param {number} [options.scalePageToXAxis] - Scales each page horizontally to fit in scale-to-x
960
963
  * pixels. If scale-to-y is set to -1, the vertical size will determined by the aspect ratio of
961
964
  * the page.
962
- * @param {number=} options.scalePageToYAxis - Scales each page vertically to fit in scale-to-y
965
+ * @param {number} [options.scalePageToYAxis] - Scales each page vertically to fit in scale-to-y
963
966
  * pixels. If scale-to-x is set to -1, the horizontal size will determined by the aspect ratio of
964
967
  * the page.
965
- * @param {string=} options.separator - Specify single character separator between name and page number.
966
- * @param {boolean=} options.singleFile - Writes only the first page and does not add digits.
967
- * @param {('none'|'solid'|'shape')=} options.thinLineMode - Specifies the thin line mode. This defaults to `none`.
968
- * @param {('none'|'packbits'|'jpeg'|'lzw'|'deflate')=} options.tiffCompression - Set TIFF compression.
969
- * @param {boolean=} options.tiffFile - Generate TIFF file instead a PPM file.
970
- * @param {string=} options.userPassword - Specify the user password for the PDF file.
968
+ * @param {string} [options.separator] - Specify single character separator between name and page number.
969
+ * @param {boolean} [options.singleFile] - Writes only the first page and does not add digits.
970
+ * @param {('none'|'shape'|'solid')} [options.thinLineMode] - Specifies the thin line mode. This defaults to `none`.
971
+ * @param {('deflate'|'jpeg'|'lzw'|'none'|'packbits')} [options.tiffCompression] - Set TIFF compression.
972
+ * @param {boolean} [options.tiffFile] - Generate TIFF file instead a PPM file.
973
+ * @param {string} [options.userPassword] - Specify the user password for the PDF file.
971
974
  * @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
972
975
  */
973
976
  async pdfToPpm(file, outputPath, options = {}) {
@@ -1047,7 +1050,7 @@ class Poppler {
1047
1050
  ["-v"]
1048
1051
  );
1049
1052
 
1050
- const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/i.exec(stderr)[1];
1053
+ const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
1051
1054
 
1052
1055
  const args = parseOptions(acceptedOptions, options, versionInfo);
1053
1056
 
@@ -1095,110 +1098,110 @@ class Poppler {
1095
1098
  /**
1096
1099
  * @author Frazer Smith
1097
1100
  * @description Converts a PDF file to PostScript (PS).
1098
- * @param {Buffer| string} file - PDF file as Buffer, or filepath of the PDF file to read.
1099
- * @param {string=} outputFile - Filepath of the file to output the results to.
1101
+ * @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
1102
+ * @param {string} [outputFile] - Filepath of the file to output the results to.
1100
1103
  * If `undefined` then will write output to stdout.
1101
- * @param {object=} options - Object containing options to pass to binary.
1102
- * @param {('yes'|'no')=} options.antialias - Enable anti-aliasing on rasterization, accepts `yes` or `no`.
1103
- * @param {boolean=} options.binary - Write binary data in Level 1 PostScript. By default,
1104
+ * @param {object} [options] - Object containing options to pass to binary.
1105
+ * @param {('no'|'yes')} [options.antialias] - Enable anti-aliasing on rasterization, accepts `no` or `yes`.
1106
+ * @param {boolean} [options.binary] - Write binary data in Level 1 PostScript. By default,
1104
1107
  * pdftops writes hex-encoded data in Level 1 PostScript. Binary data is non-standard in Level 1
1105
1108
  * PostScript but reduces the file size and can be useful when Level 1 PostScript is required
1106
1109
  * only for its restricted use of PostScript operators.
1107
- * @param {string=} options.defaultCmykProfile - If Poppler is compiled with colour management support, this option
1110
+ * @param {string} [options.defaultCmykProfile] - If Poppler is compiled with colour management support, this option
1108
1111
  * sets the DefaultCMYK color space to the ICC profile stored in the display profile file passed.
1109
- * @param {string=} options.defaultGrayProfile - If Poppler is compiled with colour management support, this option
1112
+ * @param {string} [options.defaultGrayProfile] - If Poppler is compiled with colour management support, this option
1110
1113
  * sets the DefaultGray color space to the ICC profile stored in the display profile file passed.
1111
- * @param {string=} options.defaultRgbProfile - If Poppler is compiled with colour management support, this option
1114
+ * @param {string} [options.defaultRgbProfile] - If Poppler is compiled with colour management support, this option
1112
1115
  * sets the DefaultRGB color space to the ICC profile stored in the display profile file passed.
1113
- * @param {boolean=} options.duplex - Set the Duplex pagedevice entry in the PostScript file.
1116
+ * @param {boolean} [options.duplex] - Set the Duplex pagedevice entry in the PostScript file.
1114
1117
  * This tells duplex-capable printers to enable duplexing.
1115
- * @param {boolean=} options.epsFile - Generate an EPS file. An EPS file contains a single image,
1118
+ * @param {boolean} [options.epsFile] - Generate an EPS file. An EPS file contains a single image,
1116
1119
  * so if you use this option with a multi-page PDF file, you must use `options.firstPageToConvert` and
1117
1120
  * `options.lastPageToConvert` to specify a single page.
1118
1121
  * The page size options (originalPageSizes, paperSize, paperWidth, paperHeight) can not be used
1119
1122
  * with this option.
1120
- * @param {boolean=} options.fillPage - Expand PDF pages smaller than the paper to fill the
1123
+ * @param {boolean} [options.fillPage] - Expand PDF pages smaller than the paper to fill the
1121
1124
  * paper. By default, these pages are not scaled.
1122
- * @param {number=} options.firstPageToConvert - Specifies the first page to convert.
1123
- * @param {number=} options.form - Generate PostScript form which can be imported by software
1125
+ * @param {number} [options.firstPageToConvert] - Specifies the first page to convert.
1126
+ * @param {number} [options.form] - Generate PostScript form which can be imported by software
1124
1127
  * that understands forms.
1125
1128
  * A form contains a single page, so if you use this option with a multi-page PDF file,
1126
1129
  * you must use `options.firstPageToConvert` and `options.lastPageToConvert` to specify a single page.
1127
1130
  * The `options.level1` option cannot be used with `options.form`.
1128
1131
  * No more than one of the mode options (`options.epsFile`, `options.form`) may be given.
1129
- * @param {number=} options.lastPageToConvert - Specifies the last page to convert.
1130
- * @param {boolean=} options.level1 - Generate Level 1 PostScript. The resulting PostScript
1132
+ * @param {number} [options.lastPageToConvert] - Specifies the last page to convert.
1133
+ * @param {boolean} [options.level1] - Generate Level 1 PostScript. The resulting PostScript
1131
1134
  * files will be significantly larger (if they contain images), but will print on Level 1 printers.
1132
1135
  * This also converts all images to black and white.
1133
- * @param {boolean=} options.level1Sep - Generate Level 1 separable PostScript.
1136
+ * @param {boolean} [options.level1Sep] - Generate Level 1 separable PostScript.
1134
1137
  * All colors are converted to CMYK. Images are written with separate stream data for the four components.
1135
- * @param {boolean=} options.level2 - Generate Level 2 PostScript.
1138
+ * @param {boolean} [options.level2] - Generate Level 2 PostScript.
1136
1139
  * Level 2 supports color images and image compression. This is the default setting.
1137
- * @param {boolean=} options.level2Sep - Generate Level 2 separable PostScript. All colors are
1140
+ * @param {boolean} [options.level2Sep] - Generate Level 2 separable PostScript. All colors are
1138
1141
  * converted to CMYK. The PostScript separation convention operators are used to handle custom (spot) colors.
1139
- * @param {boolean=} options.level3 - Generate Level 3 PostScript.
1142
+ * @param {boolean} [options.level3] - Generate Level 3 PostScript.
1140
1143
  * This enables all Level 2 featuresplus CID font embedding.
1141
- * @param {boolean=} options.level3Sep - Generate Level 3 separable PostScript.
1144
+ * @param {boolean} [options.level3Sep] - Generate Level 3 separable PostScript.
1142
1145
  * The separation handling is the same as for `options.level2Sep`.
1143
- * @param {boolean=} options.noEmbedCIDFonts - By default, any CID PostScript fonts which are
1146
+ * @param {boolean} [options.noEmbedCIDFonts] - By default, any CID PostScript fonts which are
1144
1147
  * embedded in the PDF file are copied into the PostScript file. This option disables that embedding.
1145
1148
  * No attempt is made to substitute for non-embedded CID PostScript fonts.
1146
- * @param {boolean=} options.noEmbedCIDTrueTypeFonts - By default, any CID TrueType fonts which are
1149
+ * @param {boolean} [options.noEmbedCIDTrueTypeFonts] - By default, any CID TrueType fonts which are
1147
1150
  * embedded in the PDF file are copied into the PostScript file. This option disables that embedding.
1148
1151
  * No attempt is made to substitute for non-embedded CID TrueType fonts.
1149
- * @param {boolean=} options.noEmbedTrueTypeFonts - By default, any TrueType fonts which are embedded
1152
+ * @param {boolean} [options.noEmbedTrueTypeFonts] - By default, any TrueType fonts which are embedded
1150
1153
  * in the PDF file are copied into the PostScript file. This option causes pdfToPs to substitute base fonts instead.
1151
1154
  * Embedded fonts make PostScript files larger, but may be necessary for readable output.
1152
1155
  * Also, some PostScript interpreters do not have TrueType rasterizers.
1153
- * @param {boolean=} options.noEmbedType1Fonts - By default, any Type 1 fonts which are embedded in the PDF file
1156
+ * @param {boolean} [options.noEmbedType1Fonts] - By default, any Type 1 fonts which are embedded in the PDF file
1154
1157
  * are copied into the PostScript file. This option causes pdfToPs to substitute base fonts instead.
1155
1158
  * Embedded fonts make PostScript files larger, but may be necessary for readable output.
1156
- * @param {boolean=} options.noCenter - By default, PDF pages smaller than the paper
1159
+ * @param {boolean} [options.noCenter] - By default, PDF pages smaller than the paper
1157
1160
  * (after any scaling) are centered on the paper. This option causes them to be aligned to
1158
1161
  * the lower-left corner of the paper instead.
1159
- * @param {boolean=} options.noCrop - By default, printing output is cropped to the CropBox
1162
+ * @param {boolean} [options.noCrop] - By default, printing output is cropped to the CropBox
1160
1163
  * specified in the PDF file. This option disables cropping.
1161
- * @param {boolean=} options.noShrink - Do not scale PDF pages which are larger than the paper.
1164
+ * @param {boolean} [options.noShrink] - Do not scale PDF pages which are larger than the paper.
1162
1165
  * By default, pages larger than the paper are shrunk to fit.
1163
- * @param {boolean=} options.opi - Generate OPI comments for all images and forms which have OPI information.
1164
- * @param {boolean=} options.optimizecolorspace - By default, bitmap images in the PDF pass through to the
1166
+ * @param {boolean} [options.opi] - Generate OPI comments for all images and forms which have OPI information.
1167
+ * @param {boolean} [options.optimizecolorspace] - By default, bitmap images in the PDF pass through to the
1165
1168
  * output PostScript in their original color space, which produces predictable results.
1166
1169
  * This option converts RGB and CMYK images into Gray images if every pixel of the image has equal components.
1167
1170
  * This can fix problems when doing color separations of PDFs that contain embedded black and
1168
1171
  * white images encoded as RGB.
1169
- * @param {boolean=} options.originalPageSizes - Set the paper size of each page to match
1172
+ * @param {boolean} [options.originalPageSizes] - Set the paper size of each page to match
1170
1173
  * the size specified in the PDF file.
1171
- * @param {boolean=} options.overprint - Enable overprinting.
1172
- * @param {string=} options.ownerPassword - Owner password (for encrypted files).
1173
- * @param {number=} options.paperHeight - Set the paper height, in points.
1174
- * @param {('letter'|'legal'|'A4'|'A3'|'match')=} options.paperSize - Set the paper size to one of `letter`, `legal`, `A4`,
1175
- * or `A3`. This can also be set to `match`, which will set the paper size
1174
+ * @param {boolean} [options.overprint] - Enable overprinting.
1175
+ * @param {string} [options.ownerPassword] - Owner password (for encrypted files).
1176
+ * @param {number} [options.paperHeight] - Set the paper height, in points.
1177
+ * @param {('A3'|'A4'|'legal'|'letter'|'match')} [options.paperSize] - Set the paper size to one of `A3`, `A4`,
1178
+ * `legal`, or `letter`. This can also be set to `match`, which will set the paper size
1176
1179
  * of each page to match the size specified in the PDF file. If none of the paperSize,
1177
1180
  * paperWidth, or paperHeight options are specified the default is to match the paper size.
1178
- * @param {number=} options.paperWidth - Set the paper width, in points.
1179
- * @param {boolean=} options.passfonts - By default, references to non-embedded 8-bit fonts
1181
+ * @param {number} [options.paperWidth] - Set the paper width, in points.
1182
+ * @param {boolean} [options.passfonts] - By default, references to non-embedded 8-bit fonts
1180
1183
  * in the PDF file are substituted with the closest `Helvetica`, `Times-Roman`, or `Courier` font.
1181
1184
  * This option passes references to non-embedded fonts through to the PostScript file.
1182
- * @param {boolean=} options.preload - Preload images and forms.
1183
- * @param {boolean=} options.printVersionInfo - Print copyright and version information.
1184
- * @param {('CMYK8'|'MONO8'|'RGB8')=} options.processColorFormat - Sets the process color format as it is used
1185
+ * @param {boolean} [options.preload] - Preload images and forms.
1186
+ * @param {boolean} [options.printVersionInfo] - Print copyright and version information.
1187
+ * @param {('CMYK8'|'MONO8'|'RGB8')} [options.processColorFormat] - Sets the process color format as it is used
1185
1188
  * during rasterization and transparency reduction.
1186
1189
  *
1187
1190
  * The default depends on the other settings: For `options.level1` the default is MONO8; for `options.level1Sep`,
1188
1191
  * `options.level2Sep`, `options.level3Sep`, or `options.overprint` the default is CMYK8; in all other
1189
1192
  * cases RGB8 is the default.
1190
1193
  * If `option.processColorProfile` is set then `options.processColorFormat` is inferred from the specified ICC profile.
1191
- * @param {string=} options.processColorProfile - Sets the ICC profile that is assumed during
1194
+ * @param {string} [options.processColorProfile] - Sets the ICC profile that is assumed during
1192
1195
  * rasterization and transparency reduction.
1193
- * @param {boolean=} options.quiet - Do not print any messages or errors.
1194
- * @param {('always'|'never'|'whenneeded')=} options.rasterize - By default, pdfToPs rasterizes pages as needed,
1196
+ * @param {boolean} [options.quiet] - Do not print any messages or errors.
1197
+ * @param {('always'|'never'|'whenneeded')} [options.rasterize] - By default, pdfToPs rasterizes pages as needed,
1195
1198
  * for example, if they contain transparencies. To force rasterization, set `rasterize` to `always`.
1196
1199
  * Use this to eliminate fonts.
1197
1200
  * To prevent rasterization, set `rasterize` to `never`.
1198
1201
  * This may produce files that display incorrectly.
1199
- * @param {number=} options.resolutionXYAxis - Specifies the X and Y resolution, in pixels per
1202
+ * @param {number} [options.resolutionXYAxis] - Specifies the X and Y resolution, in pixels per
1200
1203
  * inch of image files (or rasterized regions in vector output). The default is 300 PPI.
1201
- * @param {string=} options.userPassword - User password (for encrypted files).
1204
+ * @param {string} [options.userPassword] - User password (for encrypted files).
1202
1205
  * @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
1203
1206
  */
1204
1207
  async pdfToPs(file, outputFile, options = {}) {
@@ -1277,7 +1280,7 @@ class Poppler {
1277
1280
  ["-v"]
1278
1281
  );
1279
1282
 
1280
- const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/i.exec(stderr)[1];
1283
+ const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
1281
1284
 
1282
1285
  const args = parseOptions(acceptedOptions, options, versionInfo);
1283
1286
 
@@ -1336,49 +1339,49 @@ class Poppler {
1336
1339
  /**
1337
1340
  * @author Frazer Smith
1338
1341
  * @description Converts a PDF file to TXT.
1339
- * @param {Buffer| string} file - PDF file as Buffer, or filepath of the PDF file to read.
1340
- * @param {string=} outputFile - Filepath of the file to output the results to.
1342
+ * @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
1343
+ * @param {string} [outputFile] - Filepath of the file to output the results to.
1341
1344
  * If `undefined` then will write output to stdout.
1342
- * @param {object=} options - Object containing options to pass to binary.
1343
- * @param {boolean=} options.boundingBoxXhtml - Generate an XHTML file containing bounding
1345
+ * @param {object} [options] - Object containing options to pass to binary.
1346
+ * @param {boolean} [options.boundingBoxXhtml] - Generate an XHTML file containing bounding
1344
1347
  * box information for each word in the file.
1345
- * @param {boolean=} options.boundingBoxXhtmlLayout - Generate an XHTML file containing
1348
+ * @param {boolean} [options.boundingBoxXhtmlLayout] - Generate an XHTML file containing
1346
1349
  * bounding box information for each block, line, and word in the file.
1347
- * @param {boolean=} options.cropBox - Use the crop box rather than the media box with
1350
+ * @param {boolean} [options.cropBox] - Use the crop box rather than the media box with
1348
1351
  * `options.boundingBoxXhtml` and `options.boundingBoxXhtmlLayout`
1349
- * @param {number=} options.cropHeight - Specifies the height of crop area in pixels
1352
+ * @param {number} [options.cropHeight] - Specifies the height of crop area in pixels
1350
1353
  * (image output) or points (vector output).
1351
- * @param {number=} options.cropWidth - Specifies the width of crop area in pixels
1354
+ * @param {number} [options.cropWidth] - Specifies the width of crop area in pixels
1352
1355
  * (image output) or points (vector output).
1353
- * @param {number=} options.cropXAxis - Specifies the x-coordinate of the crop area top left
1356
+ * @param {number} [options.cropXAxis] - Specifies the x-coordinate of the crop area top left
1354
1357
  * corner in pixels (image output) or points (vector output).
1355
- * @param {number=} options.cropYAxis - Specifies the y-coordinate of the crop area top left
1358
+ * @param {number} [options.cropYAxis] - Specifies the y-coordinate of the crop area top left
1356
1359
  * corner in pixels (image output) or points (vector output).
1357
- * @param {('unix'|'dos'|'mac')=} options.eolConvention - Sets the end-of-line convention to use for
1358
- * text output: unix; dos; mac.
1359
- * @param {number=} options.firstPageToConvert - Specifies the first page to convert.
1360
- * @param {number=} options.fixedWidthLayout - Assume fixed-pitch (or tabular) text, with the
1360
+ * @param {('dos'|'mac'|'unix')} [options.eolConvention] - Sets the end-of-line convention to use for
1361
+ * text output: dos; mac; unix.
1362
+ * @param {number} [options.firstPageToConvert] - Specifies the first page to convert.
1363
+ * @param {number} [options.fixedWidthLayout] - Assume fixed-pitch (or tabular) text, with the
1361
1364
  * specified character width (in points). This forces physical layout mode.
1362
- * @param {boolean=} options.generateHtmlMetaFile - Generate simple HTML file, including the
1365
+ * @param {boolean} [options.generateHtmlMetaFile] - Generate simple HTML file, including the
1363
1366
  * meta information. This simply wraps the text in `<pre>` and `</pre>` and prepends the meta headers.
1364
- * @param {boolean=} options.generateTsvFile - Generate a TSV file containing the bounding box
1367
+ * @param {boolean} [options.generateTsvFile] - Generate a TSV file containing the bounding box
1365
1368
  * information for each block, line, and word in the file.
1366
- * @param {number=} options.lastPageToConvert - Specifies the last page to convert.
1367
- * @param {boolean=} options.listEncodingOptions - List the available encodings.
1368
- * @param {boolean=} options.maintainLayout - Maintain (as best as possible) the original physical
1369
+ * @param {number} [options.lastPageToConvert] - Specifies the last page to convert.
1370
+ * @param {boolean} [options.listEncodingOptions] - List the available encodings.
1371
+ * @param {boolean} [options.maintainLayout] - Maintain (as best as possible) the original physical
1369
1372
  * layout of the text. The default is to undo physical layout (columns, hyphenation, etc.) and
1370
1373
  * output the text in reading order.
1371
- * @param {boolean=} options.noDiagonalText - Discard diagonal text.
1372
- * @param {boolean=} options.noPageBreaks - Do not insert page breaks (form feed characters)
1374
+ * @param {boolean} [options.noDiagonalText] - Discard diagonal text.
1375
+ * @param {boolean} [options.noPageBreaks] - Do not insert page breaks (form feed characters)
1373
1376
  * between pages.
1374
- * @param {string=} options.outputEncoding - Sets the encoding to use for text output.
1377
+ * @param {string} [options.outputEncoding] - Sets the encoding to use for text output.
1375
1378
  * This defaults to `UTF-8`.
1376
- * @param {string=} options.ownerPassword - Owner password (for encrypted files).
1377
- * @param {boolean=} options.printVersionInfo - Print copyright and version information.
1378
- * @param {boolean=} options.quiet - Do not print any messages or errors.
1379
- * @param {boolean=} options.rawLayout - Keep the text in content stream order. This is a
1379
+ * @param {string} [options.ownerPassword] - Owner password (for encrypted files).
1380
+ * @param {boolean} [options.printVersionInfo] - Print copyright and version information.
1381
+ * @param {boolean} [options.quiet] - Do not print any messages or errors.
1382
+ * @param {boolean} [options.rawLayout] - Keep the text in content stream order. This is a
1380
1383
  * hack which often undoes column formatting, etc. Use of raw mode is no longer recommended.
1381
- * @param {string=} options.userPassword - User password (for encrypted files).
1384
+ * @param {string} [options.userPassword] - User password (for encrypted files).
1382
1385
  * @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
1383
1386
  */
1384
1387
  async pdfToText(file, outputFile, options = {}) {
@@ -1426,7 +1429,7 @@ class Poppler {
1426
1429
  ["-v"]
1427
1430
  );
1428
1431
 
1429
- const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/i.exec(stderr)[1];
1432
+ const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
1430
1433
 
1431
1434
  const args = parseOptions(acceptedOptions, options, versionInfo);
1432
1435
 
@@ -1486,11 +1489,11 @@ class Poppler {
1486
1489
  * @author Frazer Smith
1487
1490
  * @description Merges several PDF files in order of their occurrence in the files array to
1488
1491
  * one PDF result file.
1489
- * @param {Array} files - Filepaths of the PDF files to merge.
1492
+ * @param {string[]} files - Filepaths of the PDF files to merge.
1490
1493
  * An entire directory of PDF files can be merged like so: `path/to/directory/*.pdf`.
1491
1494
  * @param {string} outputFile - Filepath of the file to output the resulting merged PDF to.
1492
- * @param {object=} options - Object containing options to pass to binary.
1493
- * @param {boolean=} options.printVersionInfo - Print copyright and version information.
1495
+ * @param {object} [options] - Object containing options to pass to binary.
1496
+ * @param {boolean} [options.printVersionInfo] - Print copyright and version information.
1494
1497
  * @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
1495
1498
  */
1496
1499
  async pdfUnite(files, outputFile, options = {}) {
@@ -1504,7 +1507,7 @@ class Poppler {
1504
1507
  ["-v"]
1505
1508
  );
1506
1509
 
1507
- const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/i.exec(stderr)[1];
1510
+ const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
1508
1511
 
1509
1512
  const args = parseOptions(acceptedOptions, options, versionInfo);
1510
1513
  files.forEach((element) => {