Open
Conversation
updated dev dependency mocha to v10.1.0 updated dependency canvas to v2.10.2 updated dependency fs-extra to v10.1.0 updated dependency gm to v1.25.0 updated dependency lodash to v4.17.21 updated dependency pdfjs-dist to v3.1.81 updated dependency pixelmatch to v5.3.0 updated dependency pngjs to v6.0.0 used path.resolve to ensure paths remain consistent on linux/win32 platforms removed comment to use 32bit version of GhostScript from README.md as you can now use either added optional "legacy" config setting for ImageMagick < 7
updated dev dependency @types/node to v18.11.18 updated dev dependency chai to v4.3.7 updated dev dependency mocha to v10.2.0 updated dependency canvas to v2.11.0 updated dependency fs-extra to v10.1.0 updated dependency gm to v1.25.0 updated dependency lodash to v4.17.21 updated dependency pdfjs-dist to v3.2.146 updated dependency pixelmatch to v5.3.0 updated dependency pngjs to v6.0.0 used path.resolve to ensure paths remain consistent on linux/win32 platforms removed comment to use 32bit version of GhostScript from README.md as you can now use either imageEngine can now be set as one of [native, graphicsMagick, imageMagick] default is native Version of ImageMagick must be now be >=7 Added optional password setting to for password protected or restricted pdf's Added tests for password protected and restricted pdf's
added .idea/ to .gitignore
Imagemagick7+
…sword configured graphicsMagick.js to use .out( "+adjoin" / "-adjoin") for multipage / single page pdfs
configured graphicsMagick.js to use .in('-authenticate', ...) for password
udpated graphicsMagick.js to use Unit8Array instead of bufffer
updated version of pdfjs-dist to 3.5.141
set pdfjs-dist dependency to v3.4.120
uses pdfjsLib build instead of legacy/build
updated dependencies to latest versions
updated dependencies to latest version
- node:path - node:assert
Migrate from commonjs 2 esm
cleaned up code
added yaml-eslint-parser
cleaned up code
bumped @eslint/js from 9.10.0 to 9.12.0 bumped @stylistic/eslint-plugin from 2.8.0 to 2.9.0 bumped eslint from 9.10.0 to 9.12.0 bumped globals from 15.9.0 to 15.11.0 bumped typescript from 5.6.2 to 5.6.3 bumped typescript-eslint from 8.5.0 to 8.10.0 bumped pdfjs-dist from 4.6.82 to 4.7.76
set version to 2.0.1
bumped the following dependencies: @eslint/js ^9.12.0 → ^9.15.0 @stylistic/eslint-plugin ^2.9.0 → ^2.11.0 chai ^5.1.1 → ^5.1.2 eslint ^9.12.0 → ^9.15.0 globals ^15.11.0 → ^15.12.0 husky ^9.1.6 → ^9.1.7 mocha ^10.7.3 → ^10.8.2 nock ^13.5.5 → ^13.5.6 pdfjs-dist ^4.7.76 → ^4.8.69 typescript-eslint ^8.10.0 → ^8.15.0
ci(gm): latest gm version
Set version to 2.1.0 updated dependency gm to version 2.0.0
ci(version): update version
bumped the following dependencies: @eslint/js ^9.37.0 → ^9.39.2 @stylistic/eslint-plugin ^5.4.0 → ^5.6.1 chai ^6.2.0 → ^6.2.1 eslint ^9.37.0 → ^9.39.2 globals ^16.4.0 → ^16.5.0 lint-staged ^16.2.4 → ^16.2.7 mocha ^11.7.4 → ^11.7.5 pdfjs-dist 5.4.296 → 5.4.449 prettier ^3.6.2 → ^3.7.4 typescript-eslint ^8.46.1 → ^8.49.0 yaml-eslint-parser ^1.3.0 → ^1.3.2
unit test against Node v22.20 and 24.x only
Bump dependencies
updated version to 2.1.1
build(dependencies): bump
Set version to v1.1.11 Tagged v1.1.11 Set node engine to >=22.20.0 Added .npmrc file bumped the following dependencies: @types/chai ^4.3.14 → ^5.2.3 @types/mocha ^10.0.6 → ^10.0.10 @types/node ^20.11.30 → ^25.0.3 canvas ^2.11.2 → ^3.2.0 chai ^4.4.1 → ^6.2.2 fs-extra ^11.2.0 → ^11.3.3 gm ^1.25.0 → ^1.25.1 mocha ^10.4.0 → ^11.7.5
Set version to v2.0.0 Tagged v2.0.0 Added .editorconfig Added linting and its configuration file eslint.config.js Added the following devDependencies for linting: @eslint/js@9.39.2 @stylistic/eslint-plugin@5.7.1 eslint-config-prettier@10.1.8 eslint-plugin-json@4.0.1 eslint-plugin-markdown@5.1.0 eslint-plugin-prettier@5.5.5 globals@17.1.0 typescript-eslint@8.53.1 Added the following dependencies for prettier: @prettier/plugin-xml@3.4.2 prettier@3.8.1 bumped the following dependencies: @types/node ^25.0.3 → ^25.0.10 canvas ^3.2.0 → ^3.2.1 lodash ^4.17.23 → ^4.17.23 pixelmatch ^5.3.0 → ^7.1.0 pdfjs-dist 3.8.162 → 5.4.530
Set version to v3.0.0 Tagged v3.0.0 Added .editorconfig Added linting and its configuration file eslint.config.js Added the following devDependencies for linting: @eslint/js@9.39.2 @stylistic/eslint-plugin@5.7.1 eslint-config-prettier@10.1.8 eslint-plugin-json@4.0.1 eslint-plugin-markdown@5.1.0 eslint-plugin-prettier@5.5.5 globals@17.1.0 typescript-eslint@8.53.1 Added the following dependencies for prettier: @prettier/plugin-xml@3.4.2 prettier@3.8.1 bumped the following dependencies: @types/node ^25.0.3 → ^25.0.10 canvas ^3.2.0 → ^3.2.1 lodash ^4.17.23 → ^4.17.23 pixelmatch ^5.3.0 → ^7.1.0 pdfjs-dist 3.8.162 → 5.4.530
…o 3.0.0 # Conflicts: # .gitignore # .prettierignore # README.md # eslint.config.js # examples/cypress/config.js # examples/cypress/cypress/integration/examplePdfTest.js # examples/cypress/cypress/plugins/index.js # examples/cypress/cypress/support/index.js # examples/cypress/package.json # examples/mocha/config.js # examples/mocha/package.json # examples/mocha/test/examplePdfTest.js # functions/ComparePdf.js # functions/compareData.js # functions/compareImages.js # functions/config.js # functions/engines/NodeCanvasFactory.js # functions/engines/graphicsMagick.js # functions/engines/native.js # functions/utils.js # package-lock.json # package.json # prettier.config.js # test/comparePdfTests.js # test/config.js # test/newConfig.js # tsconfig.json # types/comparePdf.d.ts
fix commit/push
npm install
added commitlint configuration
Fixed Github Workflow unit test git
Fixed Github Workflow unit test git
Delete package-lock.json
Delete package-lock.json Added package-lock.json to gitignore
Updated github unitTest.yml workflow to force install
Fixed Javascript typings Fixed exports removed typescript type typings Bumped the following dependencies: @commitlint/cli ^20.2.0 → ^20.3.1 @commitlint/config-conventional ^20.2.0 → ^20.3.1 @commitlint/format ^20.2.0 → ^20.3.1 globals ^17.1.0 → ^17.2.0 typescript-eslint ^8.53.1 → ^8.54.0
Fixed Javascript typings Fixed exports Bumped the following dependencies: @napi-rs/canvas 0.1.88 → 0.1.89
Fixed JSDocs for ImageEngine enum
Updated Github Actions to the latest versions Added JSDoc documentation to methods Added typing to each method Removed dependency lodash as it is nor longer required Addded enums for LogLevel, ImageEngine, CompareBy Bumped the following dependencies: @commitlint/cli ^20.3.1 → ^20.4.1 @commitlint/config-conventional ^20.3.1 → ^20.4.1 @commitlint/format ^20.3.1 → ^20.4.0 @napi-rs/canvas ^0.1.89 → ^0.1.92 @stylistic/eslint-plugin ^5.7.1 → ^5.8.0 globals ^17.2.0 → ^17.3.0 pdfjs-dist ^5.4.530 → ^5.4.624 typescript-eslint ^8.54.0 → ^8.55.0
Fix types
Reverts commit 71f52d0
Fixes types
This reverts commit 8ff0a09.
Fixes exporting enums
Fixes typings
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.