Skip to content

Commit

Permalink
v3.0.0 release with ES Module
Browse files Browse the repository at this point in the history
  • Loading branch information
modestysn committed Oct 23, 2022
1 parent a3884c9 commit 7f4ce48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pdf2json",
"version": "2.1.0",
"version": "3.0.0",
"description": "PDF file parser that converts PDF binaries to text based JSON, powered by porting a fork of PDF.JS to Node.js",
"keywords": [
"pdf",
Expand Down
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,8 @@ In order to support this auto merging capability, text block objects have an add

* v2.0.0 output data field, `Agency` and `Id` are replaced with `Meta`, JSON of the PDF's full metadata. (See above for details). Each page object also added `Width` property besides `Height`.
* v3.0.0 converted commonJS to ES Modules, plus dependency update and other minor bug fixes. Please update your project configuration file to enable ES Module before upgrade, ex., in `tsconfig.json`, set `"compilerOptions":{"module":"ESNext"}`
**Major Refactoring**
* v2.0.0 has the major refactoring since 2015. Primary updates including:
* Full PDF metadata support (see page format and breaking changes for details)
Expand All @@ -946,6 +948,8 @@ In order to support this auto merging capability, text block objects have an add
* Refactor to ES6 class for major entry modules
* Dependencies removed: lodash, async and yargs
* Upgrade to Node v14.18.0 LTSs
* v3.0.0 converted commonJS to ES Modules
### Install on Ubuntu
Expand Down

0 comments on commit 7f4ce48

Please sign in to comment.