Repository navigation
Breaking changes:
- Node.js
^18.12.0 || >=20.9.0is required, and the optionalcanvasdependency is node-canvas 3 (was 1.x). - The Jasmine matchers use the Jasmine 2.0+ API: add them with
jasmine.addMatchers(imagediff.jasmine). Jasmine 1 (this.addMatchers) is no longer supported. toImageDiffEqualfailure messages are plain text in browsers, as in Node.js, instead of HTML with the actual, expected and diff images.- The Bower package (
bower.json) is removed; install from npm. - The npm package contains only the library, the CLI and their license and docs.
Other changes:
- The library loads without a canvas implementation (in bundlers, or in Node.js without
canvas) and reports the missing module when first used. - The library loads in bundlers that wrap modules in strict mode, and AMD
definereceives the module. - The matchers are tested on Jasmine 7.
- The built files' header names the package version.
- The repository's default branch is
main(wasmaster).