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

sentry-node

Package Overview
Dependencies
Maintainers
6
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sentry-node - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

6

lib-js/sentry.js

@@ -163,4 +163,4 @@ // Generated by CoffeeScript 1.6.3

_this.emit("done");
if ((err != null) || res.statusCode > 299) {
if ((_ref = res.statusCode) === 429 || _ref === 413) {
if ((err != null) || !res || res.statusCode > 299) {
if ((_ref = res != null ? res.statusCode : void 0) === 429 || _ref === 413) {
_handle_http_load_errors(_this, err);

@@ -171,3 +171,3 @@ return cb(err || new Error("status code: " + res.statusCode));

_this.emit("error", err);
return cb(err || new Error("status code: " + res.statusCode));
return cb(err || new Error("status code: " + (res != null ? res.statusCode : void 0)));
} else {

@@ -174,0 +174,0 @@ _this.emit("logged");

{
"name": "sentry-node",
"version": "2.2.0",
"version": "2.2.1",
"description": "simple Node wrapper around Sentry API",

@@ -5,0 +5,0 @@ "engines": {

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