UNPKG

@promptbook/google

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

13 lines (12 loc) • 628 B
/** * Compares an installed npm package version with the newest published version. * * Release and prerelease identifiers follow semantic-version precedence while build metadata is ignored. Harnesses can * preserve their historical behavior by setting `isPrereleaseIgnored`, because some harness commands report a build * suffix which does not correspond to npm release precedence. * * @private internal utility of `promptbookCli` */ export declare function isNpmPackageVersionOutdated(installedVersion: string, latestVersion: string, { isPrereleaseIgnored }?: { readonly isPrereleaseIgnored?: boolean; }): boolean;