Skip to content

Commit

Permalink
Merge pull request #160 from Fdawgs/feat/win32-binaries
Browse files Browse the repository at this point in the history
feat(lib): update poppler win32 binaries from 20.10.0 to 20.11.0
  • Loading branch information
Fdawgs authored Nov 3, 2020
2 parents a9b6cb7 + c450c04 commit c0fc64d
Show file tree
Hide file tree
Showing 49 changed files with 580 additions and 543 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,20 @@
"conventional-changelog-cli": "^2.1.0",
"coveralls": "^3.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.11.0",
"eslint": "^7.12.1",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.12.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-jsdoc": "^30.6.5",
"eslint-plugin-jsdoc": "^30.7.6",
"eslint-plugin-json": "^2.1.2",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-security": "^1.4.0",
"glob": "^7.1.6",
"jest": "^26.5.3",
"jest": "^26.6.2",
"jsdoc-to-markdown": "^6.0.1",
"jsinspect": "^0.12.7",
"prettier": "2.1.2",
"typescript": "^4.0.3"
"typescript": "^4.0.5"
}
}
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.
1,101 changes: 571 additions & 530 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit c0fc64d

Please sign in to comment.