Skip to content

Commit c98184c

Browse files
committed
chore(version): bump to 1.1.5
1 parent 1a57439 commit c98184c

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<a name="0.1.5"></a>
2+
## 0.1.5 (2020/12/10)
3+
### Features
4+
* option object optional
5+
* pdf.js version 2.7.355
6+
17
<a name="0.1.4"></a>
28
## 0.1.4 (2019/12/30)
39
### Fixes

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"bugs": {
1010
"url": "https://github.com/ffalt/pdf.js-extract/issues"
1111
},
12-
"version": "0.1.4",
12+
"version": "0.1.5",
1313
"author": {
1414
"name": "ffalt"
1515
},

test/test.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe("PDFExtract", () => {
5959
if (err) return done(err);
6060
try {
6161
expect(data.meta).toEqual(sampleOutput.meta);
62-
deepEqualPages(data.pages, sampleOutput.pages, ['fontName']);
62+
deepEqualPages(data.pages, sampleOutput.pages, ["fontName"]);
6363
done();
6464
} catch (error) {
6565
done(error);
@@ -71,7 +71,7 @@ describe("PDFExtract", () => {
7171
const buffer = await readFileAsync(sampleFile);
7272
const data = await extract.extractBuffer(buffer, {});
7373
expect(data.meta).toEqual(sampleOutput.meta);
74-
deepEqualPages(data.pages, sampleOutput.pages, ['fontName']);
74+
deepEqualPages(data.pages, sampleOutput.pages, ["fontName"]);
7575
});
7676
it("should extract encrypted pdf buffer without error", (done) => {
7777
const extract = new PDFExtract();
@@ -88,7 +88,7 @@ describe("PDFExtract", () => {
8888
if (err) return done(err);
8989
try {
9090
expect(data.meta).toEqual(sampleEncryptedOutput.meta);
91-
deepEqualPages(data.pages, sampleEncryptedOutput.pages, ['fontName']);
91+
deepEqualPages(data.pages, sampleEncryptedOutput.pages, ["fontName"]);
9292
done();
9393
} catch (error) {
9494
done(error);
@@ -121,7 +121,7 @@ describe("PDFExtract", () => {
121121
const data = await extract.extract(sampleFile, {});
122122
//excludingEvery("fontName")
123123
expect(data.meta).toEqual(sampleOutput.meta);
124-
deepEqualPages(data.pages, sampleOutput.pages, ['fontName']);
124+
deepEqualPages(data.pages, sampleOutput.pages, ["fontName"]);
125125
});
126126
it("should load and extract encrypted pdf without error", (done) => {
127127
const extract = new PDFExtract();
@@ -152,7 +152,7 @@ describe("PDFExtract", () => {
152152
const extract = new PDFExtract();
153153
const data = await extract.extract(sampleCmapFile);
154154
expect(data.meta).toEqual(sampleCmapOutput.meta);
155-
deepEqualPages(data.pages, sampleCmapOutput.pages, ['fontName']);
155+
deepEqualPages(data.pages, sampleCmapOutput.pages, ["fontName"]);
156156
});
157157
});
158158

@@ -189,7 +189,7 @@ describe("PDFExtract.tools", () => {
189189
"• Compact PDF files are smaller than their source files and download a",
190190
"page at a time for fast display on the Web."
191191
];
192-
expect(text.join('\n')).toBe(content.join('\n'));
192+
expect(text.join("\n")).toBe(content.join("\n"));
193193
done();
194194
} catch (error) {
195195
done(error);

0 commit comments

Comments
 (0)