pretty-error
Advanced tools
Comparing version 0.1.14 to 0.1.15
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53246
Updatedrenderkid@~0.2.0-beta.7