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

bugsnag

Package Overview
Dependencies
Maintainers
2
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 1.1.3 to 1.1.4

6

CHANGELOG.md
Changelog
=========
1.1.4
-----
- Send hostname to Bugsnag
1.1.1

@@ -40,2 +44,2 @@ -----

- Change default notifyReleaseStages to notify in "development" as well as "production" by default.
- Execute onUncaughtErrorHandler in the callback from notifyBugsnag, in case exit is called in the handler.
- Execute onUncaughtErrorHandler in the callback from notifyBugsnag, in case exit is called in the handler.

@@ -30,2 +30,4 @@ var Configuration, Logger, Utils, path;

Configuration.hostname = process.env.DYNO ? null : require("os").hostname();
Configuration.apiKey = process.env.BUGSNAG_API_KEY;

@@ -71,2 +73,3 @@

Configuration.onUncaughtError = options.onUncaughtError || Configuration.onUncaughtError;
Configuration.hostname = options.hostname || Configuration.hostname;
if (options.projectRoot != null) {

@@ -73,0 +76,0 @@ Configuration.projectRoot = Utils.fullPath(options.projectRoot);

2

lib/logger.js

@@ -31,3 +31,3 @@ var Logger,

output = 1 <= arguments.length ? __slice.call(arguments, 0) : [];
if (this.logLevel === "warn" || this.logLevel === "log") {
if (this.logLevel === "warn" || this.logLevel === "info") {
return console.log.apply(console, ["" + LOG_PREFIX + ": "].concat(__slice.call(output)));

@@ -34,0 +34,0 @@ }

@@ -51,2 +51,7 @@ var Configuration, Logger, Notification, Utils, path, requestInfo;

}
if (Configuration.hostname) {
event.device = {
hostname: Configuration.hostname
};
}
if (options.req) {

@@ -53,0 +58,0 @@ this.processRequest(event, requestInfo(options.req));

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

@@ -6,0 +6,0 @@ "homepage": "http://bugsnag.com",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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