npm / jest-canvas-mock-compare
jest-canvas-mock-compare
What changed in jest-canvas-mock-compare 0.0 to 0.1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 breaking10 new APIs and options1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initjest-canvas-mock-compare 0.12 changes
Breaking changes 1
jest-canvas-mock snapshot output now serializes jest mocks, such as CanvasGradient.
Fixes and other changes 1
The project license changed from AGPL-3.0-only to Apache-2.0, which may affect a developer’s decision to use the project.
jest-canvas-mock-compare 0.010 changes
New APIs and options 10
Introduces TypeScript types for canvas snapshot comparison.
Makes the payload output directory configurable via this environment variable.
Introduces a viewer URL hint via this environment variable.
Introduces matchers for canvas snapshot comparison.
Introduces removeCanvasTransforms for canvas snapshot comparison.
Payload output is written under
.jest-canvas-mock-compare/; the directory can be configured with JEST_CANVAS_MOCK_COMPARE_DIR.Configures the directory used for payload output.
Provides a viewer URL hint.
Introduces matchers for canvas snapshot comparison.
Introduces removeCanvasTransforms for canvas snapshot comparison.