-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps)!: update pdf2json from 2.0.1 to 3.0.1 (#125)
Fixes #124. BREAKING CHANGE: switch `pdfreader` from commonJS to ES Module, as pdf2json did.
- Loading branch information
1 parent
561fcf5
commit 8e19815
Showing
16 changed files
with
81 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"extends": ["plugin:prettier/recommended"], | ||
"parserOptions": { "ecmaVersion": 2020 } | ||
"parserOptions": { "ecmaVersion": 2020, "sourceType": "module" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
exports.PdfReader = require("./PdfReader"); | ||
exports.Rule = require("./Rule"); | ||
exports.LOG = require("./lib/LOG.js"); | ||
exports.parseTable = require("./lib/parseTable.js"); | ||
exports.parseColumns = require("./lib/parseColumns.js"); | ||
exports.SequentialParser = require("./lib/SequentialParser.js"); // experimental | ||
exports.TableParser = require("./lib/TableParser.js"); | ||
exports.ColumnsParser = require("./lib/ColumnsParser.js"); | ||
export { PdfReader } from "./PdfReader.js"; | ||
export { Rule } from "./Rule.js"; | ||
export * as LOG from "./lib/LOG.js"; | ||
import * as parseTableExports from "./lib/parseTable.js"; | ||
export const parseTable = Object.assign( | ||
parseTableExports.parseTable, | ||
parseTableExports | ||
); | ||
import * as parseColumnsExports from "./lib/parseColumns.js"; | ||
export const parseColumns = Object.assign( | ||
parseColumnsExports.parseColumns, | ||
parseColumnsExports | ||
); | ||
export { SequentialParser } from "./lib/SequentialParser.js"; // experimental | ||
export { TableParser } from "./lib/TableParser.js"; | ||
export { ColumnsParser } from "./lib/ColumnsParser.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.