Socket
Socket
Sign inDemoInstall

nodejitsu-api

Package Overview
Dependencies
149
Maintainers
5
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.1 to 0.6.2

8

lib/client/client.js

@@ -283,2 +283,5 @@ 'use strict';

req.on('response', function (res) {
var statusCode = res.statusCode,
error;
//

@@ -288,4 +291,5 @@ // TODO: clean this up. This is an extraneous case that offsets the main

//
if (failCodes[res.statusCode]) {
var error = new Error('Nodejitsu Error (' + statusCode + '): ' + failCodes[statusCode]);
if (failCodes[statusCode]) {
error = new Error('Nodejitsu Error (' + statusCode + '): ' + failCodes[statusCode]);
error.statusCode = statusCode;

@@ -292,0 +296,0 @@ error.result = '';

{
"name": "nodejitsu-api",
"version": "0.6.1",
"version": "0.6.2",
"description": "nodejitsu API client wrapper",

@@ -5,0 +5,0 @@ "keywords": ["nodejitsu", "nodejitsu-api"],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc