Skip to content

dependabit / monitor/src / CheckResult

Interface: CheckResult

Defined in: packages/monitor/src/monitor.ts:55

The outcome of a single dependency check performed by Monitor.

Remarks

When hasChanged is false and error is undefined, the dependency's state is unchanged. When error is set, the check failed and the snapshot should not be used to update the manifest.

Properties

PropertyTypeDescriptionDefined in
changes?ChangeDetection-packages/monitor/src/monitor.ts:58
dependencyDependencyConfig-packages/monitor/src/monitor.ts:56
error?stringNon-empty string if the check failed; callers should log and skip.packages/monitor/src/monitor.ts:62
hasChangedboolean-packages/monitor/src/monitor.ts:57
newSnapshot?DependencySnapshot-packages/monitor/src/monitor.ts:60
severity?"breaking" | "major" | "minor"-packages/monitor/src/monitor.ts:59

Released under the MIT License.