- Reworked reading xref table;
- Shifted minimum Node from 10 to 12;
- Added Husky;
- Upgraded dependencies;
- Added support for overriding signature SubFilter value allowing the creation of PAdES compliant signatures;
- Added linting to CI;
- Bump dependencies;
- Removed Travis integration in favor of GitHub Actions;
- plainAddPlaceholder: Fixed loss of PDF metadata when adding placeholder;
- Export helpers from root;
- Bumped dependencies;
- Fixed detection of ByteRange (including when it is a placeholder);
- Bumped node-forge version;
- Allow pdfkitAddPlaceholder to receive custom location, contactInfo, name;
- Fixed duplicate startxref in some PDFs;
- Fixed AcroForm ID extraction;
- Updated dependencies;
- Fixed the opposite of 1.2.2's fix: adding placeholder failed when there were no previous /Annots.
- Fixed an issue in plainAddPlaceholder that used to fail when the source PDF already contained /Annots.
- Fixed the logo for display in npmjs.com.
removeTrailingNewLine
removes both\r
and\n
.- Simplified regex that finds page dictionary ref.
- Introduced the logo.
plainAddPlaceholder
creates an incremental change to allow signing a document multiple times.
- Republish to fix messed up
latest
tag
- Removed signature verification as it is an incomplete implementation
- Split helpers as they became a huge piece of code
- Renamed
addSignaturePlaceholder
topdfkitAddPlaceholder
- Implemented
plainAddPlaceholder
that works without pdfkit but with string/Buffer operations instead - Started this CHNAGELOG
- Switched from npm to yarn
- Upgraded dependencies due to vulnerabilities
- Fixed the ByteRange-matching regex
- Fixed ByteRange logic in extractSignature
- Updated the way the page dictionary is refernced to make it work with both pdfkit 0.8 and 0.9
- Upgraded dependencies due to vulnerabilities
- Added signature verification
- Extracted helpers out to make them reusable