Socket
Socket
Sign inDemoInstall

rollbar

Package Overview
Dependencies
Maintainers
3
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollbar - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

3

CHANGELOG.md
# Change Log
**0.4.3**
- Support HTTP proxies. ([#32](https://github.com/rollbar/node_rollbar/pull/32))
**0.4.2**

@@ -4,0 +7,0 @@ - Fixed a bug that caused the library to crash if a request was provided but did not have a `headers` object. ([#31](https://github.com/rollbar/node_rollbar/pull/31))

@@ -14,3 +14,4 @@ var url = require('url');

endpoint: exports.endpoint,
verbose: true
verbose: true,
proxy: null
};

@@ -34,2 +35,3 @@

SETTINGS.transport = {http: http, https: https}[SETTINGS.protocol];
SETTINGS.proxy = options.proxy;

@@ -86,2 +88,10 @@ var portCheck = SETTINGS.endpointOpts.host.split(':');

}
if (SETTINGS.proxy) {
opts.path = SETTINGS.protocol + '://' + opts.host + opts.path;
opts.host = SETTINGS.proxy.host;
opts.port = SETTINGS.proxy.port;
transport = http;
}
var req = transport.request(opts, function(resp) {

@@ -88,0 +98,0 @@ var respData = [];

2

package.json

@@ -13,3 +13,3 @@ {

],
"version": "0.4.2",
"version": "0.4.3",
"repository": "git://github.com/rollbar/node_rollbar.git",

@@ -16,0 +16,0 @@ "author": "Rollbar, Inc. <support@rollbar.com>",

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