New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mocha-custom-stack-trace-reporter

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha-custom-stack-trace-reporter - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

4

built/src/mochaCustomStackTraceReporter.js

@@ -11,4 +11,4 @@ "use strict";

process.on("unhandledRejection", (reason, promise) => {
console.log("ERROR: the execution failed due to an unhandled promise rejection, details: %s", reason.stack || reason);
process.exit(process.exitCode | 100);
var reason_stack_or_reason = reason.stack || reason;
throw new Error(`the execution failed due to an unhandled promise rejection, details: ${reason_stack_or_reason}`);
});

@@ -15,0 +15,0 @@ });

{
"author": "Unscrambl",
"name": "mocha-custom-stack-trace-reporter",
"version": "1.0.4",
"version": "1.0.5",
"description": "Expand Mocha error reports with custom stack traces",

@@ -6,0 +6,0 @@ "main": "built/src/mochaCustomStackTraceReporter.js",

@@ -15,4 +15,4 @@ import { reporters, Runner } from "mocha";

process.on("unhandledRejection", (reason, promise) => {
console.log("ERROR: the execution failed due to an unhandled promise rejection, details: %s", reason.stack || reason);
process.exit(process.exitCode | 100);
var reason_stack_or_reason = reason.stack || reason
throw new Error(`the execution failed due to an unhandled promise rejection, details: ${reason_stack_or_reason}`);
});

@@ -19,0 +19,0 @@ });

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