Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

console-fail-test

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-fail-test - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

2

package.json

@@ -48,3 +48,3 @@ {

},
"version": "0.1.7"
"version": "0.1.8"
}

@@ -32,3 +32,3 @@ # console-fail-test

Test frameworks that are ✨ auto-detectable can be supported by running `console-fail-test/setup.js` before tests.
Test frameworks that are ✨ auto-detectable can be supported by just running `console-fail-test/setup.js` before tests.
For others, use the Node API with their API request:

@@ -35,0 +35,0 @@

@@ -20,5 +20,3 @@ "use strict";

const formatComplaintLineArg = (arg) => {
const text = JSON.stringify(arg) || JSON.stringify(`${arg}`);
const endlineMatch = text.match(/\n|(\\n)/);
return endlineMatch === null ? text : `${text.substring(0, endlineMatch.index)}...`;
return JSON.stringify(arg) || JSON.stringify(`${arg}`);
};

@@ -25,0 +23,0 @@ exports.formatComplaintLineArg = formatComplaintLineArg;

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