We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a91b4d commit c8a00a3Copy full SHA for c8a00a3
.changeset/silver-hotels-laugh.md
@@ -0,0 +1,5 @@
1
+---
2
+"@nodesecure/scanner": minor
3
4
+
5
+refactor(scanner): make highlight contacts optional
workspaces/scanner/src/types.ts
@@ -169,9 +169,9 @@ export type DependencyConfusionWarning = {
169
export type GlobalWarning = { message: string; } & (
170
{
171
type:
172
- | "dangerous-dependency"
173
- | "integrity-mismatch"
174
- | "empty-package";
+ | "dangerous-dependency"
+ | "integrity-mismatch"
+ | "empty-package";
175
metadata?: Record<string, unknown>;
176
} |
177
@@ -257,7 +257,7 @@ export interface Options {
257
};
258
259
highlight?: {
260
- contacts: Contact[];
+ contacts?: Contact[];
261
packages?: HighlightPackages;
262
263
0 commit comments