Socket
Socket
Sign inDemoInstall

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 3.2.0 to 4.0.0

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # Changelog

## [4.0.0](https://github.com/nodeshift/openshift-rest-client/compare/v3.2.0...v4.0.0) (2020-02-17)
### ⚠ BREAKING CHANGES
* removal of Node 8 support
* engine parameter targets node 10+ ([#194](https://github.com/nodeshift/openshift-rest-client/issues/194)) ([ab0bab4](https://github.com/nodeshift/openshift-rest-client/commit/ab0bab46e705a1eac9279d7f87ffff4f09961875))
## [3.2.0](https://github.com/nodeshift/openshift-rest-client/compare/v3.1.0...v3.2.0) (2020-01-21)

@@ -7,0 +16,0 @@

10

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

@@ -41,3 +41,3 @@ "main": "index.js",

"engines": {
"node": ">= 8.0.0"
"node": ">= 10"
},

@@ -60,10 +60,10 @@ "repository": {

"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "~2.19.1",
"eslint-plugin-import": "~2.20.1",
"eslint-plugin-node": "~11.0.0",
"eslint-plugin-promise": "~4.2.1",
"eslint-plugin-standard": "^4.0.0",
"nock": "^11.3.2",
"nock": "^12.0.0",
"nyc": "~15.0.0",
"proxyquire": "^2.1.3",
"standard-version": "^7.0.0",
"standard-version": "^7.1.0",
"tap-spec": "^5.0.0",

@@ -70,0 +70,0 @@ "tape": "~4.13.0"

@@ -35,2 +35,8 @@ [![Build Status](https://travis-ci.org/nodeshift/openshift-rest-client.svg?branch=master)](https://travis-ci.org/nodeshift/openshift-rest-client) [![Coverage Status](https://coveralls.io/repos/github/nodeshift/openshift-rest-client/badge.svg?branch=master)](https://coveralls.io/github/nodeshift/openshift-rest-client?branch=master)

If needed, [Query Parameters](https://docs.openshift.com/container-platform/3.11/rest_api/apis-project.openshift.io/v1.Project.html#query-parameters-3) can be used:
```js
const projects = await client.apis['project.openshift.io'].v1.projects.get({qs: {labelSelector: 'someOpenShiftLabel'}})
```
The openshift-rest-client translates Path Templating \[[2]\] (*e.g.*,

@@ -37,0 +43,0 @@ `/apis/build.openshift.io/v1/namespaces/$NAMESPACE/buildconfigs`) to function calls (*e.g.*,

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