Skip to content

Commit

Permalink
feat(lib): update poppler win32 binaries from 20.10.0 to 20.11.0
Browse files Browse the repository at this point in the history
pdftohtml: HTML and XML output includes font opacity
  • Loading branch information
Frazer Smith committed Nov 3, 2020
1 parent a9b6cb7 commit bc5478e
Show file tree
Hide file tree
Showing 47 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Poppler {
__dirname,
'lib',
'win32',
'poppler-20.10.0',
'poppler-20.11.0',
'bin'
);
break;
Expand Down
10 changes: 3 additions & 7 deletions src/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ switch (platform) {
__dirname,
'lib',
'win32',
'poppler-20.10.0',
'poppler-20.11.0',
'bin'
);
break;
Expand Down Expand Up @@ -88,11 +88,7 @@ describe('pdfAttach function', () => {
const attachmentFile = `${testDirectory}test.txt`;
const outputFile = `${testDirectory}pdf_1.3_NHS_Constitution_attached.pdf`;

const res = await poppler.pdfAttach(
file,
attachmentFile,
outputFile
);
const res = await poppler.pdfAttach(file, attachmentFile, outputFile);

expect(typeof res).toBe('string');
expect(
Expand Down Expand Up @@ -629,7 +625,7 @@ describe('pdfToPpm function', () => {
middlePageToConvert: 'test'
};

await poppler.pdfToPpm(undefined, undefined ,options).catch((err) => {
await poppler.pdfToPpm(undefined, undefined, options).catch((err) => {
expect(err.message).toEqual(
"Invalid option provided 'middlePageToConvert'"
);
Expand Down
Binary file removed src/lib/win32/poppler-20.10.0/bin/libtiff.dll
Binary file not shown.
Binary file removed src/lib/win32/poppler-20.10.0/bin/libtiffxx.dll
Binary file not shown.
Binary file removed src/lib/win32/poppler-20.10.0/bin/pdftohtml.exe
Binary file not shown.
Binary file removed src/lib/win32/poppler-20.10.0/bin/poppler-cpp.dll
Binary file not shown.
Binary file removed src/lib/win32/poppler-20.10.0/bin/tiff.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/lib/win32/poppler-20.11.0/bin/libtiff.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/lib/win32/poppler-20.11.0/bin/pdftohtml.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/lib/win32/poppler-20.11.0/bin/tiff.dll
Binary file not shown.
Binary file not shown.
File renamed without changes.

0 comments on commit bc5478e

Please sign in to comment.