Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More โ†’
Socket
Sign inDemoInstall
Socket

jest-image-snapshot

Package Overview
Dependencies
Maintainers
5
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-image-snapshot - npm Package Compare versions

Comparing version 5.2.0 to 6.0.0

19

CHANGELOG.md

@@ -0,1 +1,20 @@

# [6.0.0](https://github.com/americanexpress/jest-image-snapshot/compare/v5.2.0...v6.0.0) (2022-11-03)
* chore(jest)!: add support for jest v29 (#309) ([79e53fc](https://github.com/americanexpress/jest-image-snapshot/commit/79e53fc010793f574cd9da783ced895af6987712)), closes [#309](https://github.com/americanexpress/jest-image-snapshot/issues/309)
### BREAKING CHANGES
* Drop support for Node v12 and Node v17,
as Jest v29 does not support these versions.
* ci(release): use Node v16 for release action
Node v16 is the current active LTS release of Node.JS
Co-authored-by: Jamie King <hello@jamieking.me>
Co-authored-by: Jamie King <hello@jamieking.me>
# [5.2.0](https://github.com/americanexpress/jest-image-snapshot/compare/v5.1.1...v5.2.0) (2022-08-31)

@@ -2,0 +21,0 @@

12

package.json
{
"name": "jest-image-snapshot",
"version": "5.2.0",
"version": "6.0.0",
"description": "Jest matcher for image comparisons. Most commonly used for visual regression testing.",
"main": "src/index.js",
"engines": {
"node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0"
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
},

@@ -56,4 +56,4 @@ "scripts": {

"image-size": "^0.8.3",
"jest": "^28.0.3",
"jest-snapshot": "^28.0.3",
"jest": "^29.0.0",
"jest-snapshot": "^29.0.0",
"lockfile-lint": "^4.0.0",

@@ -64,3 +64,3 @@ "mock-spawn": "^0.2.6",

"dependencies": {
"chalk": "^1.1.3",
"chalk": "^4.0.0",
"get-stdin": "^5.0.1",

@@ -76,3 +76,3 @@ "glur": "^1.1.2",

"peerDependencies": {
"jest": ">=20 <=28"
"jest": ">=20 <=29"
},

@@ -79,0 +79,0 @@ "husky": {

@@ -78,3 +78,3 @@ <h1 align="center">

Please note that `Jest` `>=20 <=27` is a peerDependency. `jest-image-snapshot` will **not** work with anything below Jest 20.x.x
Please note that `Jest` `>=20 <=29` is a peerDependency. `jest-image-snapshot` will **not** work with anything below Jest 20.x.x

@@ -81,0 +81,0 @@ ### Invocation

@@ -18,3 +18,3 @@ /*

const path = require('path');
const Chalk = require('chalk').constructor;
const Chalk = require('chalk').Instance;
const { diffImageToSnapshot, runDiffImageToSnapshot } = require('./diff-snapshot');

@@ -178,3 +178,4 @@ const fs = require('fs');

if (typeof noColors !== 'undefined') {
chalkOptions.enabled = !noColors;
// 1 means basic ANSI 16-color support, 0 means no support
chalkOptions.level = noColors ? 0 : 1;
}

@@ -181,0 +182,0 @@ const chalk = new Chalk(chalkOptions);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc