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

pretty-error

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pretty-error - npm Package Compare versions

Comparing version 0.1.14 to 0.1.15

4

package.json
{
"name": "pretty-error",
"version": "0.1.14",
"version": "0.1.15",
"description": "",

@@ -8,3 +8,3 @@ "main": "scripts/js/lib/PrettyError.js",

"utila": "~0.3",
"renderkid": "~0.2.0-beta.6"
"renderkid": "~0.2.0-beta.7"
},

@@ -11,0 +11,0 @@ "devDependencies": {

@@ -74,9 +74,9 @@ var PrettyError, error;

});
p.render(e, true);
console.log(p.render(e, false));
e2 = error(function() {
return Array.split(Object);
});
p.render(e2, true);
console.log(p.render(e2, false));
e3 = "Plain error message";
p.render(e3, true);
console.log(p.render(e3, false));
e4 = {

@@ -86,3 +86,3 @@ message: "Custom error message",

};
p.render(e4, true);
console.log(p.render(e4, false));
e5 = {

@@ -93,3 +93,3 @@ message: "Error with custom stack",

};
return p.render(e5, true);
return console.log(p.render(e5, false));
});

Sorry, the diff of this file is not supported yet

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