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

bugsnag

Package Overview
Dependencies
Maintainers
4
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.3.2 to 1.4.0

4

CHANGELOG.md
Changelog
=========
1.4.0
-----
- Don't send appVersion automatically
1.3.2

@@ -5,0 +9,0 @@ -----

9

lib/configuration.js

@@ -57,3 +57,2 @@ var Configuration, Logger, Utils, path;

Configuration.configure = function(options) {
var _ref1;
if (options.logger) {

@@ -82,10 +81,4 @@ Configuration.logger = options.logger;

if ((options.packageJSON != null) && !Configuration.appVersion) {
Configuration.appVersion = Utils.getPackageVersion(Utils.fullPath(options.packageJSON));
return Configuration.appVersion = Utils.getPackageVersion(Utils.fullPath(options.packageJSON));
}
if (!Configuration.appVersion) {
if (typeof require !== "undefined" && require !== null ? (_ref1 = require.main) != null ? _ref1.filename : void 0 : void 0) {
Configuration.appVersion = Utils.getPackageVersion(path.join(path.dirname(require.main.filename), 'package.json'));
}
return Configuration.appVersion || (Configuration.appVersion = Utils.getPackageVersion(path.join(Configuration.projectRoot, 'package.json')));
}
};

@@ -92,0 +85,0 @@

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

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

@@ -179,3 +179,3 @@ Bugsnag Notifier for Node.js

The Bugsnag notifier will automatically use the version from your `package.json` file. If you want to override this behavior, you can set the `appVersion` option:
If you use an appVersion to identify releases of your app you can send it to Bugsnag. When set errors will only unresolve when they re-occur in a newer appVersion.

@@ -186,3 +186,3 @@ ```javascript

### autoNotifyUncaught
### autoNotify

@@ -192,5 +192,7 @@ Bugsnag will automatically register for the `uncaughtexception` event. If you do not wish for this to happen, you can disable the functionality as part of the register call:

```javascript
bugsnag.register("your-api-key-here", { autoNotifyUncaught: false });
bugsnag.register("your-api-key-here", { autoNotify: false });
```
<!-- Custom anchor for linking from alerts -->
<div id="set-project-root"></div>
### projectRoot

@@ -197,0 +199,0 @@

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