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

ferro

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ferro - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

19

index.js

@@ -7,13 +7,2 @@

var chain;
try {
chain = require('stack-chain');
} catch (error) {}
if (chain) {
chain.format.replace(function(error, frames) {
return formatStack(error, { callSite: frames });
});
}
function underscoreName(identifier) {

@@ -317,7 +306,3 @@ return identifier.replace(/[A-Z][a-z]+/g, function(part) {

message = error.message;
if (options && Array.isArray(options.callSite)) {
stack = options.callSite.map(frameJSON);
} else {
stack = error.toJSON().error_stack;
}
stack = error.toJSON().error_stack;
if (Array.isArray(stack)) {

@@ -359,3 +344,3 @@ stack = formatJSONStack(stack, options);

var cause = data ? data.cause : undefined;
var cause = data.cause;
if (typeof(cause) === 'object') {

@@ -362,0 +347,0 @@ delete data.cause;

5

package.json
{
"name": "ferro",
"version": "0.2.0",
"version": "0.2.1",
"description": "Ferocious Error Handling",

@@ -10,4 +10,5 @@ "repository": {

"dependencies": {
"tinycolor": "0.0.1"
"tinycolor": "0.0.1",
"package-lookup": "0.1.x"
}
}
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