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

openshift-rest-client

Package Overview
Dependencies
Maintainers
4
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 1.6.3 to 1.6.4

11

CHANGELOG.md

@@ -5,2 +5,13 @@ # Change Log

<a name="1.6.4"></a>
## [1.6.4](https://github.com/nodeshift/openshift-rest-client/compare/v1.6.3...v1.6.4) (2019-01-23)
### Bug Fixes
* no cluster url should return a rejected Promise ([fa2a549](https://github.com/nodeshift/openshift-rest-client/commit/fa2a549))
* Throw an error when there's no CLUSTER URL ([#108](https://github.com/nodeshift/openshift-rest-client/issues/108)) ([65093a3](https://github.com/nodeshift/openshift-rest-client/commit/65093a3))
<a name="1.6.3"></a>

@@ -7,0 +18,0 @@ ## [1.6.3](https://github.com/nodeshift/openshift-rest-client/compare/v1.6.2...v1.6.3) (2019-01-15)

6

lib/openshift-rest-client.js

@@ -101,3 +101,7 @@ 'use strict';

const url = client.settings.config.cluster;
client.settings.config.cluster = url.endsWith('/') ? url.slice(0, url.length - 1) : url;
if (!url) {
return Promise.reject(new Error('Please provide an url of your OpenShift cluster in your configuration settings.'));
} else {
client.settings.config.cluster = url.endsWith('/') ? url.slice(0, url.length - 1) : url;
}
}

@@ -104,0 +108,0 @@

2

package.json
{
"name": "openshift-rest-client",
"version": "1.6.3",
"version": "1.6.4",
"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