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

error-shelter

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

error-shelter - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

12

errorShelter.js

@@ -6,3 +6,3 @@ // errorShelter.js - Extends the native Error method and stores errors into localStorage obj

(function () {
var config = {

@@ -26,2 +26,5 @@ nameSpace : 'errorShelter',//can be changed to fit app needs

// invoke the Error
var e = nativeError.apply(window,arguments);
setErrorInStorage({

@@ -34,5 +37,7 @@ 'arguments' : arguments,

'location' : location.origin + '' + location.pathname
}
},
'stack' : e.stack
});
return nativeError.apply(window,arguments);
return e;
};

@@ -64,2 +69,1 @@

})();
{
"name": "error-shelter",
"version": "0.1.0",
"version": "0.1.1",
"description": "frontend error catch and storage utility for JS apps.",

@@ -5,0 +5,0 @@ "main": "errorShelter.js",

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