Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump @oclif/plugin-help from 5.2.4 to 6.2.19 #3134

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
"@inquirer/prompts": "^5.0.5",
"@oclif/core": "^2.16.0",
"@oclif/plugin-commands": "2.2.28",
"@oclif/plugin-help": "^5",
"@oclif/plugin-help": "^6",
"@oclif/plugin-legacy": "^1.3.0",
"@oclif/plugin-not-found": "2.3.16",
"@oclif/plugin-plugins": "2.4.3",
50 changes: 7 additions & 43 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -3314,42 +3314,6 @@ __metadata:
languageName: node
linkType: hard

"@oclif/core@npm:^2.0.8":
version: 2.1.5
resolution: "@oclif/core@npm:2.1.5"
dependencies:
"@types/cli-progress": ^3.11.0
ansi-escapes: ^4.3.2
ansi-styles: ^4.3.0
cardinal: ^2.1.1
chalk: ^4.1.2
clean-stack: ^3.0.1
cli-progress: ^3.11.2
debug: ^4.3.4
ejs: ^3.1.6
fs-extra: ^9.1.0
get-package-type: ^0.1.0
globby: ^11.1.0
hyperlinker: ^1.0.0
indent-string: ^4.0.0
is-wsl: ^2.2.0
js-yaml: ^3.14.1
natural-orderby: ^2.0.3
object-treeify: ^1.1.33
password-prompt: ^1.1.2
semver: ^7.3.7
string-width: ^4.2.3
strip-ansi: ^6.0.1
supports-color: ^8.1.1
supports-hyperlinks: ^2.2.0
tslib: ^2.5.0
widest-line: ^3.1.0
wordwrap: ^1.0.0
wrap-ansi: ^7.0.0
checksum: 04429c9619c27fc7795b0072d1a86bbc460eaa58ee5264aead6ed9612c82aa0583b1d484ea5095f0cee2b94742005c02d80a35f550f93972c5a08c301e750a61
languageName: node
linkType: hard

"@oclif/core@npm:^2.1.7":
version: 2.3.2
resolution: "@oclif/core@npm:2.3.2"
@@ -3580,12 +3544,12 @@ __metadata:
languageName: node
linkType: hard

"@oclif/plugin-help@npm:^5":
version: 5.2.4
resolution: "@oclif/plugin-help@npm:5.2.4"
"@oclif/plugin-help@npm:^6":
version: 6.2.19
resolution: "@oclif/plugin-help@npm:6.2.19"
dependencies:
"@oclif/core": ^2.0.8
checksum: a2335e9b9ab806566082e4a52d259f206dbae6334afa9d816e09acdf6e51b4f37cff0ce72294ad532141895c4d1eb9c38e2fe4794e71abb59cd56e966be70b2e
"@oclif/core": ^4
checksum: 3e291d14c234a049a39fb639310c024eb82302b7d0df1be4707192fee0657323cc9bf0a5f0689fa8c440ba3ba8d89d67c5e0a1a3446436fb0326fcb30dc8411e
languageName: node
linkType: hard

@@ -6891,7 +6855,7 @@ __metadata:
languageName: node
linkType: hard

"cli-progress@npm:^3.10.0, cli-progress@npm:^3.11.2, cli-progress@npm:^3.12.0":
"cli-progress@npm:^3.10.0, cli-progress@npm:^3.12.0":
version: 3.12.0
resolution: "cli-progress@npm:3.12.0"
dependencies:
@@ -10519,7 +10483,7 @@ __metadata:
"@inquirer/prompts": ^5.0.5
"@oclif/core": ^2.16.0
"@oclif/plugin-commands": 2.2.28
"@oclif/plugin-help": ^5
"@oclif/plugin-help": ^6
"@oclif/plugin-legacy": ^1.3.0
"@oclif/plugin-not-found": 2.3.16
"@oclif/plugin-plugins": 2.4.3

Unchanged files with check annotations Beta

public async run(): Promise<void> {
const {flags, args} = await this.parse(Wait)
// TODO: remove this type once the schema is fixed

Check warning on line 24 in packages/cli/src/commands/addons/wait.ts

GitHub Actions / test (20.x, ubuntu-latest)

Unexpected 'todo' comment: 'TODO: remove this type once the schema...'

Check warning on line 24 in packages/cli/src/commands/addons/wait.ts

GitHub Actions / test (20.x, macos-latest)

Unexpected 'todo' comment: 'TODO: remove this type once the schema...'

Check warning on line 24 in packages/cli/src/commands/addons/wait.ts

GitHub Actions / test (20.x, windows-latest)

Unexpected 'todo' comment: 'TODO: remove this type once the schema...'
type AddonWithDeprovisioningState = Heroku.AddOn & {state?: 'deprovisioning'}
let addonsToWaitFor: AddonWithDeprovisioningState[]
if (args.addon) {
ux.action.stop()
ux.styledObject(
Object.keys(vars).reduce((memo: Record<string, string>, key: string) => {

Check warning on line 55 in packages/cli/src/commands/ci/config/set.ts

GitHub Actions / test (20.x, ubuntu-latest)

`Array#reduce()` is not allowed

Check warning on line 55 in packages/cli/src/commands/ci/config/set.ts

GitHub Actions / test (20.x, ubuntu-latest)

Prefer `Object.fromEntries()` over `Array#reduce()`

Check warning on line 55 in packages/cli/src/commands/ci/config/set.ts

GitHub Actions / test (20.x, macos-latest)

`Array#reduce()` is not allowed

Check warning on line 55 in packages/cli/src/commands/ci/config/set.ts

GitHub Actions / test (20.x, macos-latest)

Prefer `Object.fromEntries()` over `Array#reduce()`

Check warning on line 55 in packages/cli/src/commands/ci/config/set.ts

GitHub Actions / test (20.x, windows-latest)

`Array#reduce()` is not allowed

Check warning on line 55 in packages/cli/src/commands/ci/config/set.ts

GitHub Actions / test (20.x, windows-latest)

Prefer `Object.fromEntries()` over `Array#reduce()`
memo[color.green(key)] = vars[key]
return memo
}, {}),
}
export function stringToConfig(s: string): Config {
return s.split('\n').reduce((config: Config, line: string): Config => {

Check warning on line 38 in packages/cli/src/commands/config/edit.ts

GitHub Actions / test (20.x, ubuntu-latest)

`Array#reduce()` is not allowed

Check warning on line 38 in packages/cli/src/commands/config/edit.ts

GitHub Actions / test (20.x, ubuntu-latest)

Prefer `Object.fromEntries()` over `Array#reduce()`

Check warning on line 38 in packages/cli/src/commands/config/edit.ts

GitHub Actions / test (20.x, macos-latest)

`Array#reduce()` is not allowed

Check warning on line 38 in packages/cli/src/commands/config/edit.ts

GitHub Actions / test (20.x, macos-latest)

Prefer `Object.fromEntries()` over `Array#reduce()`

Check warning on line 38 in packages/cli/src/commands/config/edit.ts

GitHub Actions / test (20.x, windows-latest)

`Array#reduce()` is not allowed

Check warning on line 38 in packages/cli/src/commands/config/edit.ts

GitHub Actions / test (20.x, windows-latest)

Prefer `Object.fromEntries()` over `Array#reduce()`
const error = () => {
throw new Error(`Invalid line: ${line}`)
}
return
}
await new Promise(resolve => setTimeout(resolve, 5000))

Check warning on line 176 in packages/cli/src/commands/pg/promote.ts

GitHub Actions / test (20.x, ubuntu-latest)

Return values from promise executor functions cannot be read

Check warning on line 176 in packages/cli/src/commands/pg/promote.ts

GitHub Actions / test (20.x, macos-latest)

Return values from promise executor functions cannot be read

Check warning on line 176 in packages/cli/src/commands/pg/promote.ts

GitHub Actions / test (20.x, windows-latest)

Return values from promise executor functions cannot be read
}
}
}
import keyBy from '../../lib/pipelines/key-by'
export const sleep = (time: number) => {
return new Promise(resolve => setTimeout(resolve, time))

Check warning on line 14 in packages/cli/src/commands/pipelines/promote.ts

GitHub Actions / test (20.x, ubuntu-latest)

Return values from promise executor functions cannot be read

Check warning on line 14 in packages/cli/src/commands/pipelines/promote.ts

GitHub Actions / test (20.x, macos-latest)

Return values from promise executor functions cannot be read

Check warning on line 14 in packages/cli/src/commands/pipelines/promote.ts

GitHub Actions / test (20.x, windows-latest)

Return values from promise executor functions cannot be read
}
function assertNotPromotingToSelf(source: string, target: string) {
const PROMOTION_ORDER = ['development', 'staging', 'production']
const wait = (ms = 100) => new Promise(resolve => setTimeout(resolve, ms))

Check warning on line 30 in packages/cli/src/commands/pipelines/promote.ts

GitHub Actions / test (20.x, ubuntu-latest)

Return values from promise executor functions cannot be read

Check warning on line 30 in packages/cli/src/commands/pipelines/promote.ts

GitHub Actions / test (20.x, macos-latest)

Return values from promise executor functions cannot be read

Check warning on line 30 in packages/cli/src/commands/pipelines/promote.ts

GitHub Actions / test (20.x, windows-latest)

Return values from promise executor functions cannot be read
function isComplete(promotionTarget: Heroku.PipelinePromotionTarget) {
return promotionTarget.status !== 'pending'
return coupling
}
async function promote(heroku: APIClient, label: string, id: string, sourceAppId: string, targetApps: Array<AppWithPipelineCoupling>, secondFactor?: string): Promise<Heroku.PipelinePromotion> {

Check warning on line 72 in packages/cli/src/commands/pipelines/promote.ts

GitHub Actions / test (20.x, ubuntu-latest)

Async function 'promote' has too many parameters (6). Maximum allowed is 4

Check warning on line 72 in packages/cli/src/commands/pipelines/promote.ts

GitHub Actions / test (20.x, macos-latest)

Async function 'promote' has too many parameters (6). Maximum allowed is 4

Check warning on line 72 in packages/cli/src/commands/pipelines/promote.ts

GitHub Actions / test (20.x, windows-latest)

Async function 'promote' has too many parameters (6). Maximum allowed is 4
const options = {
headers: {},
body: {
// Now let's make sure that we can find every target app they specified
// The only requirement is that the app be in this pipeline. They can be at any stage.
targetApps = targetAppNames.reduce((acc: Array<AppWithPipelineCoupling>, targetAppNameOrId) => {

Check warning on line 206 in packages/cli/src/commands/pipelines/promote.ts

GitHub Actions / test (20.x, ubuntu-latest)

`Array#reduce()` is not allowed

Check warning on line 206 in packages/cli/src/commands/pipelines/promote.ts

GitHub Actions / test (20.x, macos-latest)

`Array#reduce()` is not allowed

Check warning on line 206 in packages/cli/src/commands/pipelines/promote.ts

GitHub Actions / test (20.x, windows-latest)

`Array#reduce()` is not allowed
assertNotPromotingToSelf(appNameOrId, targetAppNameOrId)
const app = findAppInPipeline(allApps, targetAppNameOrId)
if (app) {