Skip to content

Commit 221239d

Browse files
authored
fix: update versions of @heroku/http-call and debug (#156)
* fix: update versions of @heroku/http-call and debug * fix: update deps fetch to @heroku/http-call
1 parent 32f1010 commit 221239d

File tree

6 files changed

+33
-40
lines changed

6 files changed

+33
-40
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"author": "Heroku",
66
"bugs": "https://github.com/heroku/heroku-cli-command/issues",
77
"dependencies": {
8+
"@heroku/http-call": "^5.4.0",
89
"@heroku-cli/color": "^2.0.1",
910
"@oclif/core": "^2.16.0",
1011
"cli-ux": "^6.0.9",
11-
"debug": "^4.3.4",
12+
"debug": "^4.4.0",
1213
"fs-extra": "^9.1.0",
1314
"heroku-client": "^3.1.0",
14-
"http-call": "^5.3.0",
1515
"netrc-parser": "^3.1.6",
1616
"open": "^8.4.2",
1717
"uuid": "^8.3.0",

src/api-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {Interfaces} from '@oclif/core'
22
import {CLIError, warn} from '@oclif/core/lib/errors'
3-
import {HTTP, HTTPError, HTTPRequestOptions} from 'http-call'
3+
import {HTTP, HTTPError, HTTPRequestOptions} from '@heroku/http-call'
44
import Netrc from 'netrc-parser'
55
import * as url from 'url'
66

src/deps.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// remote
22
import oclif = require('@oclif/core')
3-
import HTTP = require('http-call')
3+
import HTTP = require('@heroku/http-call')
44
import netrc = require('netrc-parser')
55

66
import apiClient = require('./api-client')
@@ -19,7 +19,7 @@ export const deps = {
1919
return fetch('@oclif/core').ux
2020
},
2121
get HTTP(): typeof HTTP {
22-
return fetch('http-call')
22+
return fetch('@heroku/http-call')
2323
},
2424
get netrc(): typeof netrc.default {
2525
return fetch('netrc-parser').default

src/login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import color from '@heroku-cli/color'
22
import * as Heroku from '@heroku-cli/schema'
33
import {Interfaces, ux} from '@oclif/core'
4-
import HTTP from 'http-call'
4+
import HTTP from '@heroku/http-call'
55
import Netrc from 'netrc-parser'
66
import open from 'open'
77
import * as os from 'os'

src/particleboard-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Interfaces} from '@oclif/core'
2-
import {HTTP, HTTPRequestOptions} from 'http-call'
2+
import {HTTP, HTTPRequestOptions} from '@heroku/http-call'
33
import * as url from 'url'
44

55
import deps from './deps'

yarn.lock

Lines changed: 26 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,17 @@
255255
resolved "https://registry.npmjs.org/@heroku-cli/schema/-/schema-1.0.25.tgz"
256256
integrity sha512-7V6/WdTHrsvpqeqttm4zhzVJyt/Us/Cz9oS4yure4JdLtwlr2eF6PvlDLA5ZIvBybMtSDyxhHid0PeshKLtwxw==
257257

258+
"@heroku/http-call@^5.4.0":
259+
version "5.4.0"
260+
resolved "https://registry.yarnpkg.com/@heroku/http-call/-/http-call-5.4.0.tgz#1f3d804d17888c61d375d2dcb399f405781132e8"
261+
integrity sha512-8ys8jFP9l1wFXNmhmUb/EKLY/3flGzd7lv3x5MCw+36ov+qR9OFgk7bNHn3s+FPUKRSf/2GmKJjJmgnaD1YMmA==
262+
dependencies:
263+
content-type "^1.0.5"
264+
debug "^4.4.0"
265+
is-retry-allowed "^2.2.0"
266+
is-stream "^2.0.0"
267+
tunnel-agent "^0.6.0"
268+
258269
"@humanwhocodes/config-array@^0.5.0":
259270
version "0.5.0"
260271
resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz"
@@ -1513,10 +1524,10 @@ confusing-browser-globals@1.0.10:
15131524
resolved "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.10.tgz"
15141525
integrity sha512-gNld/3lySHwuhaVluJUKLePYirM3QNCKzVxqAdhJII9/WXKVX5PURzMVJspS1jTslSqjeuG4KMVTSouit5YPHA==
15151526

1516-
content-type@^1.0.4:
1517-
version "1.0.4"
1518-
resolved "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz"
1519-
integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==
1527+
content-type@^1.0.5:
1528+
version "1.0.5"
1529+
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918"
1530+
integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==
15201531

15211532
convert-source-map@^2.0.0:
15221533
version "2.0.0"
@@ -1610,6 +1621,13 @@ debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.4, debug@^4.3
16101621
dependencies:
16111622
ms "2.1.2"
16121623

1624+
debug@^4.4.0:
1625+
version "4.4.0"
1626+
resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.0.tgz#2b3f2aea2ffeb776477460267377dc8710faba8a"
1627+
integrity sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==
1628+
dependencies:
1629+
ms "^2.1.3"
1630+
16131631
decamelize-keys@^1.1.0:
16141632
version "1.1.1"
16151633
resolved "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz"
@@ -2788,18 +2806,6 @@ http-cache-semantics@^4.0.0:
27882806
resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz"
27892807
integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==
27902808

2791-
http-call@^5.3.0:
2792-
version "5.3.0"
2793-
resolved "https://registry.npmjs.org/http-call/-/http-call-5.3.0.tgz"
2794-
integrity sha512-ahwimsC23ICE4kPl9xTBjKB4inbRaeLyZeRunC/1Jy/Z6X8tv22MEAjK+KBOMSVLaqXPTTmd8638waVIKLGx2w==
2795-
dependencies:
2796-
content-type "^1.0.4"
2797-
debug "^4.1.1"
2798-
is-retry-allowed "^1.1.0"
2799-
is-stream "^2.0.0"
2800-
parse-json "^4.0.0"
2801-
tunnel-agent "^0.6.0"
2802-
28032809
human-signals@^2.1.0:
28042810
version "2.1.0"
28052811
resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz"
@@ -3169,10 +3175,10 @@ is-retry-allowed@^1.0.0:
31693175
resolved "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz"
31703176
integrity sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=
31713177

3172-
is-retry-allowed@^1.1.0:
3173-
version "1.2.0"
3174-
resolved "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz"
3175-
integrity sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==
3178+
is-retry-allowed@^2.2.0:
3179+
version "2.2.0"
3180+
resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-2.2.0.tgz#88f34cbd236e043e71b6932d09b0c65fb7b4d71d"
3181+
integrity sha512-XVm7LOeLpTW4jV19QSH38vkswxoLud8sQ57YwJVTPWdiaI9I8keEhGFpBlslyVsgdQy4Opg8QOLb8YRgsyZiQg==
31763182

31773183
is-scoped@^2.1.0:
31783184
version "2.1.0"
@@ -3313,11 +3319,6 @@ json-buffer@3.0.1:
33133319
resolved "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz"
33143320
integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==
33153321

3316-
json-parse-better-errors@^1.0.1:
3317-
version "1.0.2"
3318-
resolved "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz"
3319-
integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==
3320-
33213322
json-parse-even-better-errors@^2.3.0:
33223323
version "2.3.1"
33233324
resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz"
@@ -4222,14 +4223,6 @@ parent-module@^1.0.0:
42224223
dependencies:
42234224
callsites "^3.0.0"
42244225

4225-
parse-json@^4.0.0:
4226-
version "4.0.0"
4227-
resolved "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz"
4228-
integrity sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=
4229-
dependencies:
4230-
error-ex "^1.3.1"
4231-
json-parse-better-errors "^1.0.1"
4232-
42334226
parse-json@^5.0.0:
42344227
version "5.2.0"
42354228
resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz"

0 commit comments

Comments
 (0)