9 lines
384 B
TypeScript
9 lines
384 B
TypeScript
import { KeyValueStore } from 'npmextra';
|
|
export declare class SmartUpdate {
|
|
kvStore: KeyValueStore;
|
|
check(npmnameArg: string, compareVersion: string, changelogUrlArg?: string): Promise<void>;
|
|
private getNpmPackageFromRegistry(npmnameArg);
|
|
private checkIfUpgrade(npmPackage, localVersionStringArg, changelogUrlArg?);
|
|
}
|
|
export declare let standardHandler: SmartUpdate;
|