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

honeybadger-js

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

honeybadger-js - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

4

bower.json
{
"name": "honeybadger",
"version": "0.5.0",
"version": "0.5.1",
"homepage": "https://github.com/honeybadger-io/honeybadger-js",

@@ -26,2 +26,2 @@ "authors": [

]
}
}

@@ -8,2 +8,11 @@ # Change Log

## [0.5.1] - 2017-08-22
### Fixed
- Notification is now halted later in the process when `disabled` is `true` so
that errors are still logged when disabled. -@novito
- Make calls to `Honeybadger.wrap` idempotent. Previously calling
`Honeybadger.wrap(Honeybadger.wrap(func))` would wrap the function twice. Some
events can be wrapped numerous times, causing a stack recursion error in
certain environments (specifically IE 11).
## [0.5.0] - 2017-07-19

@@ -10,0 +19,0 @@ ### Changed

declare module "honeybadger-js" {
interface Config {
debug?: boolean;
apiKey: string;
revision?: string;
host?: string;

@@ -12,2 +14,4 @@ ssl?: boolean;

disabled?: boolean;
ignorePatterns?: RegExp[];
async?: boolean;
}

@@ -14,0 +18,0 @@

/*
honeybadger.js v0.5.0
honeybadger.js v0.5.1
A JavaScript Notifier for Honeybadger

@@ -52,3 +52,3 @@ https://github.com/honeybadger-io/honeybadger-js

}(this, function () {
var VERSION = '0.5.0',
var VERSION = '0.5.1',
NOTIFIER = {

@@ -227,2 +227,4 @@ name: 'honeybadger.js',

function request(url) {
if (config('disabled', false)) { return false; }
// Use XHR when available.

@@ -262,3 +264,2 @@ try {

function notify(err, generated) {
if (config('disabled', false)) { return false; }
if (!(typeof err === 'object')) { return false; }

@@ -389,2 +390,3 @@

}
fn.___hb.___hb = fn.___hb;
return fn.___hb;

@@ -391,0 +393,0 @@ } catch(_e) {

{
"name": "honeybadger-js",
"description": "A JavaScript library for integrating apps with the Honeybadger Rails Error Notifier.",
"version": "0.5.0",
"version": "0.5.1",
"homepage": "https://github.com/honeybadger-io/honeybadger-js",

@@ -34,2 +34,2 @@ "author": {

"typings": "./honeybadger-js.d.ts"
}
}

@@ -436,2 +436,10 @@ var url = 'global';

}
it('returns the same function when wrapping itself', function() {
var f = function() {}
var w = Honeybadger.wrap;
expect(w(w(f))).toEqual(w(f));
expect(w(w(w(f)))).toEqual(w(w(f)));
});
});

@@ -438,0 +446,0 @@

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