@dotcom-tool-kit/error
Advanced tools
Comparing version 3.2.0 to 4.0.0-beta.0
@@ -9,11 +9,11 @@ export declare class ToolKitError extends Error { | ||
} | ||
export interface HookTaskConflict { | ||
hook: string; | ||
export interface CommandTaskConflict { | ||
command: string; | ||
conflictingTasks: ConflictingTask[]; | ||
} | ||
export declare class ToolKitConflictError extends ToolKitError { | ||
conflicts: HookTaskConflict[]; | ||
constructor(message: string, conflicts: HookTaskConflict[]); | ||
conflicts: CommandTaskConflict[]; | ||
constructor(message: string, conflicts: CommandTaskConflict[]); | ||
} | ||
export declare function hasToolKitConflicts(error: unknown): error is ToolKitConflictError; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@dotcom-tool-kit/error", | ||
"version": "3.2.0", | ||
"version": "4.0.0-beta.0", | ||
"description": "", | ||
@@ -29,5 +29,5 @@ "main": "lib", | ||
"engines": { | ||
"node": "16.x || 18.x || 20.x", | ||
"node": "18.x || 20.x", | ||
"npm": "7.x || 8.x || 9.x || 10.x" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2557
2