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.4.4 to 0.4.5

2

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

@@ -5,0 +5,0 @@ "authors": [

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

## [0.4.5] - 2017-02-23
### Fixed
- Fix bug where default properties "name" and "message" on error objects were
not reported by `Honeybadger.notify`.
## [0.4.4] - 2017-02-23

@@ -10,0 +15,0 @@ ### Added

/*
honeybadger.js v0.4.4
honeybadger.js v0.4.5
A JavaScript Notifier for Honeybadger

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

}(this, function () {
var VERSION = '0.4.3',
var VERSION = '0.4.5',
NOTIFIER = {

@@ -258,3 +258,3 @@ name: 'honeybadger.js',

var e = err;
err = merge(err, {stack: stackTrace(e)})
err = merge(err, {name: e.name, message: e.message, stack: stackTrace(e)})
}

@@ -387,3 +387,3 @@

var e = err;
err = merge(err, {stack: stackTrace(e)})
err = merge(err, {name: e.name, message: e.message, stack: stackTrace(e)})
}

@@ -390,0 +390,0 @@

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

@@ -6,0 +6,0 @@ "author": {

@@ -296,2 +296,21 @@ describe('Honeybadger', function() {

it('reads default properties from error objects', function() {
Honeybadger.configure({
api_key: 'asdf'
});
var err = new Error("Test message");
try {
throw err;
} catch (e) {
Honeybadger.notify(e);
}
afterNotify(function() {
expect(requests.length).toEqual(1);
expect(requests[0].url).toMatch('%5Bclass%5D=Error');
expect(requests[0].url).toMatch('%5Bmessage%5D=Test%20message');
});
});
it('reads metadata from error objects', function() {

@@ -298,0 +317,0 @@ Honeybadger.configure({

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