dependabit / monitor/src / ChangeDetection
Interface: ChangeDetection
Defined in: packages/monitor/src/types.ts:49
The result of comparing two DependencySnapshot objects.
Remarks
When hasChanged is true, changes lists the fields that differed (e.g. 'version', 'content'). The strings are checker-specific and should not be parsed programmatically.
Pitfalls
hasChanged: truedoes not guarantee a real change; ETag drift in dynamic HTTP responses can trigger false positives for URL-based checkers. SeeURLContentCheckerpitfalls.
Properties
| Property | Type | Defined in |
|---|---|---|
changes | string[] | packages/monitor/src/types.ts:51 |
diff? | unknown | packages/monitor/src/types.ts:54 |
hasChanged | boolean | packages/monitor/src/types.ts:50 |
newVersion? | string | packages/monitor/src/types.ts:53 |
oldVersion? | string | packages/monitor/src/types.ts:52 |
severity? | "breaking" | "major" | "minor" | packages/monitor/src/types.ts:55 |