Socket
Socket
Sign inDemoInstall

jest-jasmine2

Package Overview
Dependencies
186
Maintainers
6
Versions
306
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 29.4.3 to 29.5.0

14

build/jasmineAsyncInstall.js

@@ -50,4 +50,4 @@ 'use strict';

// https://crbug.com/v8/7142
// eslint-disable-next-line no-self-assign
extraError.stack = extraError.stack;
const originalExtraErrorStack = extraError.stack;
extraError.stack = originalExtraErrorStack;

@@ -67,2 +67,5 @@ // We make *all* functions async and run `done` right away if they

extraError.message = message;
extraError.stack =
originalExtraErrorStack &&
originalExtraErrorStack.replace('Error: ', `Error: ${message}`);
}

@@ -109,4 +112,4 @@ done.fail(checkIsError ? error : extraError);

// https://crbug.com/v8/7142
// eslint-disable-next-line no-self-assign
extraError.stack = extraError.stack;
const originalExtraErrorStack = extraError.stack;
extraError.stack = originalExtraErrorStack;
const asyncJestTest = function (done) {

@@ -122,2 +125,5 @@ const wrappedFn = (0, _isGeneratorFn.default)(fn)

extraError.message = message;
extraError.stack =
originalExtraErrorStack &&
originalExtraErrorStack.replace('Error: ', `Error: ${message}`);
}

@@ -124,0 +130,0 @@ if (jasmine.Spec.isPendingSpecException(error)) {

{
"name": "jest-jasmine2",
"version": "29.4.3",
"version": "29.5.0",
"repository": {

@@ -20,7 +20,7 @@ "type": "git",

"dependencies": {
"@jest/environment": "^29.4.3",
"@jest/expect": "^29.4.3",
"@jest/environment": "^29.5.0",
"@jest/expect": "^29.5.0",
"@jest/source-map": "^29.4.3",
"@jest/test-result": "^29.4.3",
"@jest/types": "^29.4.3",
"@jest/test-result": "^29.5.0",
"@jest/types": "^29.5.0",
"@types/node": "*",

@@ -30,10 +30,10 @@ "chalk": "^4.0.0",

"is-generator-fn": "^2.0.0",
"jest-each": "^29.4.3",
"jest-matcher-utils": "^29.4.3",
"jest-message-util": "^29.4.3",
"jest-runtime": "^29.4.3",
"jest-snapshot": "^29.4.3",
"jest-util": "^29.4.3",
"jest-each": "^29.5.0",
"jest-matcher-utils": "^29.5.0",
"jest-message-util": "^29.5.0",
"jest-runtime": "^29.5.0",
"jest-snapshot": "^29.5.0",
"jest-util": "^29.5.0",
"p-limit": "^3.1.0",
"pretty-format": "^29.4.3"
"pretty-format": "^29.5.0"
},

@@ -49,3 +49,3 @@ "devDependencies": {

},
"gitHead": "a49c88610e49a3242576160740a32a2fe11161e1"
"gitHead": "39f3beda6b396665bebffab94e8d7c45be30454c"
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc