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.0 to 0.4.1

2

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

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

@@ -1,49 +0,53 @@

## honeybadger-js v0.3.1 ##
# Change Log
All notable changes to this project will be documented in this file. See [Keep a
CHANGELOG](http://keepachangelog.com/) for how to update this file. This project
adheres to [Semantic Versioning](http://semver.org/).
* Sanitization bugfixes.
## [Unreleased][unreleased]
*@joshuap*
## [0.4.1] - 2016-02-25
### Fixed
- Fix a bug where our DOMContentLoaded event listener wasn't added until after
the event had already fired which prevented requests from being made.
## honeybadger-js v0.3.0 ##
## [0.4.0] - 2016-02-22
### Added
- Support reading configuration from data attributes on script tag.
- Improved `window.onerror` handling for IE 10+.
- A call stack is now generated in IE < 10 when reporting errors manually via
`Honeybadger.notify`.
- Support for CommonJS and AMD.
- Example projects added for Browserify, webpack and RequireJS. (See
[examples/](./examples))
- Test suite is now executed against a browser matrix (IE 6+) on TravisCI
(using Sauce Labs).
* Sanitize circular data structures.
### Changed
- Underlying code has been rewritten in plain JavaScript (CoffeeScript
development dependency removed).
- The `onerror` configuration option is now enabled by default. All unhandled
errors will be reported automatically.
- `Honeybadger.Client()` has been renamed to `Honeybadger.factory()`.
- `context` and other objects now have a maximum depth of 5 nested objects.
When the maximum depth is reached, recursion will be halted with the value
"[MAX DEPTH REACHED]". Maximum depth can be configured via the `max_depth`
option.
*@joshuap*
### Removed
- The `timeout` configuration option has been removed (this may be reintroduced
in the future, or we may limit the number of connections per browser session
instead).
* Generate source map.
## [0.3.1] - 2015-08-13
### Fixed
- Sanitization bugfixes.
*@joshuap*
## [0.3.0] - 2015-07-28
### Added
- Sanitize circular data structures.
- Generate source map.
## honeybadger-js v0.2.0 ##
* Use CORS to send data via POST when available.
*@joshuap*
* Improved error grouping.
*@joshuap*
## honeybadger-js v0.1.0 ##
* Stop parsing stack-traces client-side (removes TraceKit)
*@joshuap*
* New window.onerror handler
*@joshuap*
* Nested try/catch blocks and window.onerror will now report error only once.
*@joshuap*
## honeybadger-js v0.0.3 ##
* Add `beforeNotify` filter.
*@starrhorne*, *@joshuap*
* Require an object when calling `setContext` and `resetContext`.
*@joshuap*
## [0.2.0] - 2015-01-16
### Added
- Use CORS to send data via POST when available.
- Improved error grouping.
/*
honeybadger.js v0.4.0
honeybadger.js v0.4.1
A JavaScript Notifier for Honeybadger

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

log('Initializing honeybadger.js ' + VERSION);
if (document.readyState === 'complete') {
// See https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState
// https://www.w3.org/TR/html5/dom.html#dom-document-readystate
// The 'loaded' state is for older versions of Safari.
if (/complete|interactive|loaded/.test(document.readyState)) {
loaded = true;

@@ -520,0 +524,0 @@ log('honeybadger.js ' + VERSION + ' ready');

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

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

@@ -53,4 +53,4 @@ # Honeybadger Client-Side Javascript Library

- See an [example browserify + honeybadger.js project](examples/browserify).
- See an [example webpack + honeybadger.js project](examples/webpack).
- See an [example browserify + honeybadger.js project](https://github.com/honeybadger-io/honeybadger-js/tree/master/examples/browserify).
- See an [example webpack + honeybadger.js project](https://github.com/honeybadger-io/honeybadger-js/tree/master/examples/webpack).

@@ -68,4 +68,27 @@ #### RequireJS (AMD)

- See an [example requirejs + honeybadger.js project](examples/requirejs).
- See an [example requirejs + honeybadger.js project](https://github.com/honeybadger-io/honeybadger-js/tree/master/examples/requirejs).
#### Rails Assets
*Note: First, make sure you use bundler >= 1.8.4.*
Add the following to your Gemfile:
```ruby
source 'https://rails-assets.org' do
gem 'rails-assets-honeybadger'
end
```
Add the following to application.js:
```javascript
//= require honeybadger
Honeybadger.configure({
api_key: 'project api key',
environment: 'production'
});
```
### 2. Start reporting exceptions

@@ -85,3 +108,3 @@

See the [full documentation](#honeybadgernotify-send-an-exception-to-honeybadger) for the `notify` method for more examples.
See the [full documentation](https://github.com/honeybadger-io/honeybadger-js#honeybadgernotify-send-an-exception-to-honeybadger) for the `notify` method for more examples.

@@ -88,0 +111,0 @@ ## Advanced Configuration

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