@oclif/core 4.2.10 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,7 +96,7 @@ export declare class Config implements IConfig {
96
96
  loadTheme(): Promise<Theme | undefined>;
97
97
  protected macosCacheDir(): string | undefined;
98
98
  runCommand<T = unknown>(id: string, argv?: string[], cachedCommand?: Command.Loadable | null): Promise<T>;
99
- runHook<T extends keyof Hooks>(event: T, opts: Hooks[T]['options'], timeout?: number, captureErrors?: boolean): Promise<Hook.Result<Hooks[T]['return']>>;
99
+ runHook<T extends keyof Hooks, P extends Hooks = Hooks>(event: T, opts: P[T]['options'], timeout?: number, captureErrors?: boolean): Promise<Hook.Result<P[T]['return']>>;
100
100
  s3Key(type: keyof S3Templates, ext?: '.tar.gz' | '.tar.xz' | IConfig.s3Key.Options, options?: IConfig.s3Key.Options): string;
101
101
  s3Url(key: string): string;
102
102
  scopedEnvVar(k: string): string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/core",
3
3
  "description": "base library for oclif CLIs",
4
- "version": "4.2.10",
4
+ "version": "4.3.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@commitlint/config-conventional": "^19",
29
- "@eslint/compat": "^1.2.7",
29
+ "@eslint/compat": "^1.2.8",
30
30
  "@oclif/plugin-help": "^6",
31
31
  "@oclif/plugin-plugins": "^5",
32
32
  "@oclif/prettier-config": "^0.2.1",
@@ -59,10 +59,10 @@
59
59
  "mocha": "^10.8.2",
60
60
  "nyc": "^15.1.0",
61
61
  "prettier": "^3.5.3",
62
- "shx": "^0.3.4",
62
+ "shx": "^0.4.0",
63
63
  "sinon": "^18",
64
64
  "ts-node": "^10.9.2",
65
- "tsd": "^0.31.2",
65
+ "tsd": "^0.32.0",
66
66
  "typescript": "^5"
67
67
  },
68
68
  "engines": {