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

openshift-rest-client

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openshift-rest-client - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

8

lib/common-request.js

@@ -19,3 +19,3 @@ 'use strict';

auth: {
bearer: clientConfig.user.token
bearer: clientConfig.user.token || ''
},

@@ -34,2 +34,8 @@ strictSSL: false, // Just for testing since self signed certs

// Need to reject on unauthorized and errors that are not 404
if (resp.statusCode > 399 && resp.statusCode !== 404) {
return reject(body);
}
// The body will i think be an Object
return resolve(body);

@@ -36,0 +42,0 @@ });

2

package.json
{
"name": "openshift-rest-client",
"version": "0.1.0",
"version": "0.2.0",
"description": "Node.js client for developing with OpenShift",

@@ -5,0 +5,0 @@ "main": "index.js",

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