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 21.3.0-beta.12 to 21.3.0-beta.13

18

build/index.js

@@ -75,3 +75,3 @@ 'use strict';

if (pass) {
return { message: '', pass: true };
return { message: () => '', pass: true };
} else if (!expected) {

@@ -118,5 +118,7 @@ report = () =>

received,
testName)
testName,
fromPromise)
{
this.dontThrow && this.dontThrow();const
isNot = this.isNot;

@@ -132,6 +134,10 @@

try {
received();
} catch (e) {
error = e;
if (fromPromise) {
error = received;
} else {
try {
received();
} catch (e) {
error = e;
}
}

@@ -138,0 +144,0 @@

@@ -99,2 +99,6 @@ 'use strict';Object.defineProperty(exports, "__esModule", { value: true });

getUncheckedKeys() {
return Array.from(this._uncheckedKeys);
}
removeUncheckedKeys() {

@@ -101,0 +105,0 @@ if (this._updateSnapshot === 'all' && this._uncheckedKeys.size) {

{
"name": "jest-snapshot",
"version": "21.3.0-beta.12",
"version": "21.3.0-beta.13",
"repository": {

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

"chalk": "^2.0.1",
"jest-diff": "21.3.0-beta.12",
"jest-matcher-utils": "21.3.0-beta.12",
"jest-diff": "21.3.0-beta.13",
"jest-matcher-utils": "21.3.0-beta.13",
"mkdirp": "^0.5.1",
"natural-compare": "^1.4.0",
"pretty-format": "21.3.0-beta.12"
"pretty-format": "21.3.0-beta.13"
}
}
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