@kingstonsoftware/pdf-o-rama
Advanced tools
Comparing version 2.2.4 to 2.2.5
@@ -20,3 +20,3 @@ #!/usr/bin/env node | ||
warning: function () { | ||
console.warning(_chalk.default.yellow("warning:", [...arguments].join(" "))); | ||
console.error(_chalk.default.yellow("warning:", [...arguments].join(" "))); | ||
} | ||
@@ -23,0 +23,0 @@ }; |
@@ -122,3 +122,3 @@ "use strict"; | ||
const context = { | ||
nextPageNum: 1, | ||
nextPageNum: 0, | ||
fields: [] | ||
@@ -224,4 +224,3 @@ }; | ||
for (let i = 0; i < numPages; i++) { | ||
const page = this.pdfReader.parsePage(i); | ||
const pageModifier = new _hummus.default.PDFPageModifier(this.pdfWriter, 0); | ||
const pageModifier = new _hummus.default.PDFPageModifier(this.pdfWriter, i); | ||
let pageContext = pageModifier.startContext().getContext(); | ||
@@ -228,0 +227,0 @@ const fields = data.fields.filter(f => f.page === i); |
@@ -7,6 +7,6 @@ "use strict"; | ||
exports.fullVersion = exports.version = void 0; | ||
const version = '2.2.4'; | ||
const version = '2.2.5'; | ||
exports.version = version; | ||
const fullVersion = '2.2.4-20200223.0'; | ||
const fullVersion = '2.2.5-20200223.0'; | ||
exports.fullVersion = fullVersion; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@kingstonsoftware/pdf-o-rama", | ||
"private": false, | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"description": "A tool for manipulating PDF files", | ||
@@ -6,0 +6,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67613
525