@atomist/sdm
Version:
Atomist Software Delivery Machine SDK
22 lines • 624 B
TypeScript
import { AutofixRegistration } from "../../../api/registration/AutofixRegistration";
export interface NpmAuditFixResult {
added: [];
removed: [];
updated: [];
moved: [];
}
/**
* Options to configure the npm audit support
*/
export interface NpmAuditOptions {
/** Only process the package lock file */
packageLockOnly?: boolean;
}
export declare const DefaultNpmAuditOptions: {
packageLockOnly: boolean;
};
/**
* Autofix to run npm audit fix on a project.
*/
export declare function npmAuditAutofix(options?: NpmAuditOptions): AutofixRegistration;
//# sourceMappingURL=npmAuditAutofix.d.ts.map