2017-08-16 16:54:23 +00:00
|
|
|
import { KeyValueStore } from 'npmextra';
|
|
|
|
export declare class SmartUpdate {
|
|
|
|
kvStore: KeyValueStore;
|
2017-08-17 09:56:38 +00:00
|
|
|
check(npmnameArg: string, compareVersion: string, changelogUrlArg?: string): Promise<void>;
|
2017-08-16 16:54:23 +00:00
|
|
|
private getNpmPackageFromRegistry(npmnameArg);
|
2017-08-18 10:52:11 +00:00
|
|
|
private checkIfUpgrade(npmPackage, localVersionStringArg, changelogUrlArg?);
|
2017-08-16 16:54:23 +00:00
|
|
|
}
|
|
|
|
export declare let standardHandler: SmartUpdate;
|