Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: oclif/plugin-legacy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.18
Choose a base ref
...
head repository: oclif/plugin-legacy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
Showing with 1,684 additions and 1,336 deletions.
  1. +24 −0 CHANGELOG.md
  2. +15 −15 package.json
  3. +1 −1 src/index.ts
  4. +1,644 −1,320 yarn.lock
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
## [2.0.22](https://github.com/oclif/plugin-legacy/compare/2.0.21...2.0.22) (2025-02-09)

### Bug Fixes

- **deps:** bump semver from 7.7.0 to 7.7.1 ([#580](https://github.com/oclif/plugin-legacy/issues/580)) ([b87c4f3](https://github.com/oclif/plugin-legacy/commit/b87c4f3e7fb8cdac52aababdd48b637a7ce2cbdb))

## [2.0.21](https://github.com/oclif/plugin-legacy/compare/2.0.20...2.0.21) (2025-02-05)

### Bug Fixes

- **#575:** parse() is not awaited ([#576](https://github.com/oclif/plugin-legacy/issues/576)) ([c192a9a](https://github.com/oclif/plugin-legacy/commit/c192a9ae92f089b38c9132554b67987a88d2f576)), closes [#575](https://github.com/oclif/plugin-legacy/issues/575)

## [2.0.20](https://github.com/oclif/plugin-legacy/compare/2.0.19...2.0.20) (2025-02-02)

### Bug Fixes

- **deps:** bump semver from 7.6.3 to 7.7.0 ([#572](https://github.com/oclif/plugin-legacy/issues/572)) ([f50fb6f](https://github.com/oclif/plugin-legacy/commit/f50fb6fb35f40f5f915013f321cd2fd864cf99d7))

## [2.0.19](https://github.com/oclif/plugin-legacy/compare/2.0.18...2.0.19) (2024-12-08)

### Bug Fixes

- **deps:** bump debug from 4.3.7 to 4.4.0 ([#543](https://github.com/oclif/plugin-legacy/issues/543)) ([2d7956c](https://github.com/oclif/plugin-legacy/commit/2d7956ca6031217c69af4222285e588ab34d57c7))

## [2.0.18](https://github.com/oclif/plugin-legacy/compare/2.0.17...2.0.18) (2024-09-08)

### Bug Fixes
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
{
"name": "@oclif/plugin-legacy",
"description": "converts older style plugins to be compatible with oclif",
"version": "2.0.18",
"version": "2.0.22",
"author": "Salesforce",
"bugs": "https://github.com/oclif/plugin-legacy/issues",
"dependencies": {
"@oclif/color": "^1.0.13",
"@oclif/core": "^3.27.0",
"ansi-escapes": "^4.3.2",
"debug": "^4.3.7",
"semver": "^7.6.3"
"debug": "^4.4.0",
"semver": "^7.7.1"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.8.1",
"@heroku-cli/plugin-apps": "^7.59.1",
"@heroku-cli/plugin-status": "5.0.10",
"@oclif/plugin-help": "^6.2.10",
"@oclif/plugin-help": "^6.2.25",
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^4",
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.7",
"@types/mocha": "^10.0.10",
"@types/nock": "^11.1.0",
"@types/node": "^14.0.14",
"@types/semver": "^7.5.8",
"@types/supports-color": "^7.2.0",
"chai": "^4.5.0",
"commitlint": "^17.8.1",
"eslint": "^8.57.0",
"eslint-config-oclif": "^5.2.1",
"eslint-config-oclif-typescript": "^3.1.10",
"eslint": "^8.57.1",
"eslint-config-oclif": "^5.2.2",
"eslint-config-oclif-typescript": "^3.1.14",
"eslint-config-prettier": "^9.1.0",
"globby": "^11.1.0",
"heroku-apps": "^2.4.22",
"husky": "^9.1.5",
"lint-staged": "^15.2.10",
"mocha": "^10.7.3",
"nock": "^13.5.5",
"husky": "^9.1.7",
"lint-staged": "^15.4.3",
"mocha": "^10.8.2",
"nock": "^13.5.6",
"nyc": "^15.1.0",
"oclif": "^4.14.29",
"prettier": "^3.3.3",
"oclif": "^4.17.28",
"prettier": "^3.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
"typescript": "^5.7.3"
},
"peerDependencies": {
"@heroku-cli/command": "*"
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -155,7 +155,7 @@ export class PluginLegacy extends Plugin implements Interfaces.Plugin {

async run() {
const color: typeof Color = require('@oclif/color').default
const {args, argv, flags} = this.parse(this.constructor as any)
const {args, argv, flags} = await this.parse(this.constructor as any)
const ctx: any = {
apiHost: vars.apiHost,
apiToken: this.heroku.auth,
Loading