Socket
Socket
Sign inDemoInstall

jest-snapshot

Package Overview
Dependencies
18
Maintainers
5
Versions
279
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 17.0.1 to 17.0.2

8

build/index.js

@@ -86,3 +86,3 @@ /**

if (pass) {
return { pass: true, message: '' };
return { message: '', pass: true };
} else {const

@@ -113,3 +113,3 @@ count = result.count,expected = result.expected,actual = result.actual;

return { pass: false, message };
return { message, pass: false };
}

@@ -150,10 +150,10 @@ };

module.exports = {
EXTENSION: SNAPSHOT_EXTENSION,
SnapshotState,
addPlugins,
cleanup,
EXTENSION: SNAPSHOT_EXTENSION,
getPlugins,
getSnapshotState,
initializeSnapshotState,
SnapshotState,
toMatchSnapshot,
toThrowErrorMatchingSnapshot };

@@ -163,6 +163,6 @@ /**

return {
actual: receivedUnescaped,
count,
pass: false,
expected,
actual: receivedUnescaped };
pass: false };

@@ -169,0 +169,0 @@ } else {

@@ -96,10 +96,10 @@ /**

SNAPSHOT_EXTENSION,
ensureDirectoryExists,
escape,
getSnapshotData,
getSnapshotPath,
getSnapshotData,
testNameToKey,
keyToTestName,
saveSnapshotFile,
serialize,
ensureDirectoryExists,
saveSnapshotFile,
escape,
testNameToKey,
unescape };
{
"name": "jest-snapshot",
"version": "17.0.1",
"version": "17.0.2",
"repository": {

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

"dependencies": {
"jest-diff": "^17.0.1",
"jest-diff": "^17.0.2",
"jest-file-exists": "^17.0.0",
"jest-matcher-utils": "^17.0.1",
"jest-util": "^17.0.0",
"jest-util": "^17.0.2",
"natural-compare": "^1.4.0",

@@ -17,0 +17,0 @@ "pretty-format": "~4.2.1"

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc