Skip to content

Releases: modesty/pdf2json

Stable build v3.1.3

25 May 19:05
Compare
Choose a tag to compare
  • eslint is configured and enabled
  • typescript: configured and part of build
  • typescript: updated pdfparser.d.ts with more types
  • typescript: previous lib/p2jcmd*.js are replaced with src/cli/p2jcli*.ts
  • maint: previous root/pdf2json.js is removed, favor bin/pdf2json.js
  • tests: Jest test's Page content are validated with test/data/xxx.json
  • error and exception handling: address the following issues and also added associated test PDFs:
    ** ENOENT: no such file or directory, open '/var/task/../package.json' #343
    ** Node.js Server got stuck when parsing specific PDF while it is working for other PDFs #321
    ** TypeError: Cannot read property 'free' of undefined #318
    ** parserError: 'bad XRef entry' #277
    ** params.get is not a function #262
    ** Error: Requesting object that isn't resolved yet #255

Stable build v3.1.2

04 May 19:00
Compare
Choose a tag to compare
  • add conditional export for both esm and cjs,
  • remove unused dev dependency
  • more tests

Stable build v3.1.1

01 May 01:18
3c703fe
Compare
Choose a tag to compare

This v3.1.1 release replaces pdf2json@3.1.0.

  • output to both esm and commonJS bundles and source map with rollup
  • bundle outputs directory: ./dist
  • note: previous pdfparser.cjs from root is moved to ./dist/pdfparser.cjs
  • note: previous output bundles are now minified
  • note: previous vows tests are removed, test suits are rewritten in Jest, currently 23 test cases
  • note: npm build is required to run command line, output from build step is not tracked by git
  • more README.md updates and type corrections, thanks @gladykov @mkrishnan-codes
  • add env option to disable debugging logs, thanks @AyresMonteiro

Stable build v3.0.5

29 Oct 23:52
Compare
Choose a tag to compare
  1. Add more exported types for TypeScript & update pdfparser.d.ts. thanks to @adufr and @tuffstuff9
  2. Add JSDocs to pdfparser.js, thanks to @nql5161
  3. Add rollup for better ES module and commonJS handling, thanks to @isimisi
  4. Issue #313 : enhance parsebuffer logging with default level, thanks to @nql5161

Stable Build v3.0.4

24 May 01:05
Compare
Choose a tag to compare
  1. issue #296: correct bin value with .js file extension
  2. make v3.0.4 the latest in npm

Stable build v2.0.2

30 Apr 20:01
Compare
Choose a tag to compare

release/version2 branch: patch security issues in 2.x line. issue #300

Stable build v3.0.3

20 Feb 19:51
Compare
Choose a tag to compare

Enhancement:

  • Issue #278: add initial Typescript typings

Stable Build v3.0.2

26 Dec 23:33
Compare
Choose a tag to compare

Bug fixes:

  • issue #289: make sure LTS node ver is set in package.json and deprecated MobBlobBuilder is replaced with Blob
  • issue #293: fix text color, both color idx and hex code that not in color dictionary

Stable build v3.0.1

11 Nov 17:33
Compare
Choose a tag to compare

dependency update xmldom

Stable build v3.0.0: ES Module

23 Oct 22:48
Compare
Choose a tag to compare

Breaking changes: converted commonJS to ES Module, see README for details
plus dependency upgrade for security patch and other minor bug fixes