Skip to content

Commit

Permalink
Moved all request dependencies to devDepencies as the request client …
Browse files Browse the repository at this point in the history
…is not supported
  • Loading branch information
Stono committed Feb 18, 2021
1 parent 9ae6e95 commit 96878ff
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
1 change: 1 addition & 0 deletions backends/request/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class Request {
* on the server's certificate.
*/
constructor (options) {
console.warn('Request is deprecated, as is this backend implementation. It remains in place only for test purposes and should not be used in production')
this.requestOptions = options.request || {}

let convertedOptions
Expand Down
9 changes: 6 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,16 @@
"dependencies": {
"@kubernetes/client-node": "0.13.2",
"camelcase": "^6.2.0",
"deepmerge": "^4.2.2",
"depd": "^2.0.0",
"js-yaml": "^4.0.0",
"json-stream": "^1.0.0",
"openid-client": "^4.4.0",
"pump": "^3.0.0",
"qs": "^6.9.6",
"request": "^2.88.2",
"swagger-fluent": "^5.0.3",
"url-join": "^4.0.1",
"ws": "^7.4.3"
"swagger-fluent": "^5.0.3"
},
"devDependencies": {
"@types/node": "14.14.28",
"chai": "4.3.0",
"deepmerge": "^4.2.2",
"json-stream": "^1.0.0",
"mocha": "8.3.0",
"mustache": "4.1.0",
"nock": "13.0.7",
Expand All @@ -58,7 +53,12 @@
"standard": "16.0.3",
"standard-version": "9.1.1",
"typescript": "4.1.5",
"yargs": "16.2.0"
"yargs": "16.2.0",
"pump": "^3.0.0",
"qs": "^6.9.6",
"request": "^2.88.2",
"url-join": "^4.0.1",
"ws": "^7.4.3"
},
"nyc": {
"check-coverage": true,
Expand Down

0 comments on commit 96878ff

Please sign in to comment.