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

bugsnag

Package Overview
Dependencies
Maintainers
7
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bugsnag - npm Package Compare versions

Comparing version 2.1.3 to 2.2.0

10

CHANGELOG.md
Changelog
=========
## 2.2.0 (2018-02-22)
### Enhancements
* Apply `Configuation.filters` to all aspects of the payload that can contain custom data [#131](https://github.com/bugsnag/bugsnag-node/pull/131)
### Bug fixes
* Don't call `req.connection.address()` in `requestInfo()` if it's not available (to support express-like [`serverless-http`](https://github.com/dougmoscrop/serverless-http) framework) [Julien Guépin](https://github.com/jguepin) [#132](https://github.com/bugsnag/bugsnag-node/pull/132)
## 2.1.3 (2018-01-25)

@@ -5,0 +15,0 @@

7

lib/notification.js

@@ -168,5 +168,2 @@ "use strict";

// Filter before sending
this.events[0].metaData = Utils.filterObject(this.events[0].metaData, Configuration.filters);
var port = Configuration.notifyPort || (Configuration.useSSL ? 443 : 80);

@@ -216,2 +213,6 @@

delete this.handledState;
var event = this.events[0];
[ "user", "app", "metaData", "breadcrumbs", "request", "device" ].forEach(function (prop) {
event[prop] = Utils.filterObject(event[prop], Configuration.filters)
});
var payload = stringify(this, null, null, function() {

@@ -218,0 +219,0 @@ return "[RECURSIVE]";

module.exports = {
name: "Bugsnag Node Notifier",
version: "2.1.3",
version: "2.2.0",
url: "https://github.com/bugsnag/bugsnag-node"
}

@@ -5,3 +5,3 @@ "use strict";

var connection = req.connection;
var address = connection && connection.address();
var address = connection && connection.address && connection.address();
var portNumber = address && address.port;

@@ -8,0 +8,0 @@ var port = !portNumber || portNumber === 80 || portNumber === 443 ? '' : ':' + portNumber;

{
"name": "bugsnag",
"description": "Bugsnag notifier for node.js scripts",
"version": "2.1.3",
"version": "2.2.0",
"main": "./lib/bugsnag.js",

@@ -6,0 +6,0 @@ "typings": "./lib/bugsnag.d.ts",

@@ -7,2 +7,4 @@ # Bugsnag error reporter for Node.js

Learn more about [error reporting](https://www.bugsnag.com/) with Bugsnag.
## Features

@@ -17,8 +19,8 @@

1. [Create a Bugsnag account](https://bugsnag.com)
1. [Create a Bugsnag account](https://www.bugsnag.com)
2. Complete the instructions in the integration guide for your framework:
* [Express or Connect](http://docs.bugsnag.com/platforms/nodejs/express)
* [Koa](http://docs.bugsnag.com/platforms/nodejs/koa)
* [Restify](http://docs.bugsnag.com/platforms/nodejs/restify)
* [Other Node.js apps](http://docs.bugsnag.com/platforms/nodejs/other)
* [Express or Connect](https://docs.bugsnag.com/platforms/nodejs/express)
* [Koa](https://docs.bugsnag.com/platforms/nodejs/koa)
* [Restify](https://docs.bugsnag.com/platforms/nodejs/restify)
* [Other Node.js apps](https://docs.bugsnag.com/platforms/nodejs/other)
3. Relax!

@@ -29,6 +31,6 @@

* Read the configuration reference:
* [Express or Connect](http://docs.bugsnag.com/platforms/nodejs/express/configuration-options)
* [Koa](http://docs.bugsnag.com/platforms/nodejs/koa/configuration-options)
* [Restify](http://docs.bugsnag.com/platforms/nodejs/restify/configuration-options)
* [Other Node.js apps](http://docs.bugsnag.com/platforms/nodejs/other/configuration-options)
* [Express or Connect](https://docs.bugsnag.com/platforms/nodejs/express/configuration-options)
* [Koa](https://docs.bugsnag.com/platforms/nodejs/koa/configuration-options)
* [Restify](https://docs.bugsnag.com/platforms/nodejs/restify/configuration-options)
* [Other Node.js apps](https://docs.bugsnag.com/platforms/nodejs/other/configuration-options)
* [Search open and closed issues](https://github.com/bugsnag/bugsnag-node/issues?utf8=✓&q=is%3Aissue) for similar problems

@@ -35,0 +37,0 @@ * [Report a bug or request a feature](https://github.com/bugsnag/bugsnag-node/issues/new)

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