Comparing version 3.0.2 to 3.0.3
{ | ||
"name": "pdf2json", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "PDF file parser that converts PDF binaries to text based JSON, powered by porting a fork of PDF.JS to Node.js", | ||
@@ -30,5 +30,6 @@ "keywords": [ | ||
"main": "./pdfparser.js", | ||
"typings": "./pdfparser.d.ts", | ||
"scripts": { | ||
"test": "cd ./test && sh p2j.forms.sh", | ||
"test-misc": "cd ./test && sh p2j.one.sh misc . \"Expected: 5 success, 3 exception with stack trace\" ", | ||
"test-misc": "cd ./test && sh p2j.one.sh misc . \"Expected: 6 success, 3 fail exception with stack trace\" ", | ||
"parse": "node --trace-deprecation --trace-warnings pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form", | ||
@@ -58,3 +59,5 @@ "parse-s": "node --trace-deprecation --trace-warnings pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form -s", | ||
}, | ||
"devDependencies": {}, | ||
"devDependencies": { | ||
"@types/node": "^18.7.18" | ||
}, | ||
"bundledDependencies": [ | ||
@@ -61,0 +64,0 @@ "@xmldom/xmldom" |
@@ -54,3 +54,3 @@ # pdf2json | ||
import fs from "fs"; | ||
import PDFParser from "./pdfparser.js"; | ||
import PDFParser from "pdf2json"; | ||
@@ -89,3 +89,3 @@ const pdfParser = new PDFParser(); | ||
import fs from "fs"; | ||
import PDFParser from "./pdfparser.js"; | ||
import PDFParser from "pdf2json"; | ||
@@ -106,3 +106,3 @@ const pdfParser = new PDFParser(this,1); | ||
import fs from "fs"; | ||
import PDFParser from "./pdfparser.js"; | ||
import PDFParser from "pdf2json"; | ||
@@ -123,3 +123,3 @@ const pdfParser = new PDFParser(); | ||
import fs from "fs"; | ||
import PDFParser from "./pdfparser.js"; | ||
import PDFParser from "pdf2json"; | ||
@@ -126,0 +126,0 @@ const inputStream = fs.createReadStream("./pdf2json/test/pdf/fd/form/F1040EZ.pdf", {bufferSize: 64 * 1024}); |
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
1995162
69
47792
1