Socket
Socket
Sign inDemoInstall

expect

Package Overview
Dependencies
Maintainers
7
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expect - npm Package Compare versions

Comparing version 21.3.0-beta.4 to 21.3.0-beta.5

12

build/index.js

@@ -200,8 +200,10 @@ 'use strict';

} catch (error) {
if (!(error instanceof JestAssertionError)) {
if (
!(error instanceof JestAssertionError) &&
error.name !== 'PrettyFormatPluginError' &&
// Guard for some environments (browsers) that do not support this feature.
Error.captureStackTrace)
{
// Try to remove this and deeper functions from the stack trace frame.
// Guard for some environments (browsers) that do not support this feature.
if (Error.captureStackTrace) {
Error.captureStackTrace(error, throwingMatcher);
}
Error.captureStackTrace(error, throwingMatcher);
}

@@ -208,0 +210,0 @@ throw error;

{
"name": "expect",
"version": "21.3.0-beta.4",
"version": "21.3.0-beta.5",
"repository": {

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

"ansi-styles": "^3.2.0",
"jest-diff": "21.3.0-beta.4",
"jest-get-type": "21.3.0-beta.4",
"jest-matcher-utils": "21.3.0-beta.4",
"jest-message-util": "21.3.0-beta.4",
"jest-diff": "21.3.0-beta.5",
"jest-get-type": "21.3.0-beta.5",
"jest-matcher-utils": "21.3.0-beta.5",
"jest-message-util": "21.3.0-beta.5",
"jest-regex-util": "^21.2.0"
}
}

Sorry, the diff of this file is too big to display

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