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

jest-snapshot

Package Overview
Dependencies
Maintainers
5
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-snapshot - npm Package Compare versions

Comparing version 18.0.0 to 18.1.0

12

build/index.js

@@ -112,3 +112,13 @@ /**

return { message, pass: false, report };
// Passing the the actual and expected objects so that a custom reporter
// could access them, for example in order to display a custom visual diff,
// or create a different error message
return {
actual: actualString,
expected: expectedString,
message,
name: 'toMatchSnapshot',
pass: false,
report };
}

@@ -115,0 +125,0 @@ };

10

package.json
{
"name": "jest-snapshot",
"version": "18.0.0",
"version": "18.1.0",
"repository": {

@@ -11,8 +11,8 @@ "type": "git",

"dependencies": {
"jest-diff": "^18.0.0",
"jest-diff": "^18.1.0",
"jest-file-exists": "^17.0.0",
"jest-matcher-utils": "^18.0.0",
"jest-util": "^18.0.0",
"jest-matcher-utils": "^18.1.0",
"jest-util": "^18.1.0",
"natural-compare": "^1.4.0",
"pretty-format": "^18.0.0"
"pretty-format": "^18.1.0"
},

@@ -19,0 +19,0 @@ "scripts": {

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