securityos/node_modules/next/dist/lib/get-package-version.d.ts

13 lines
364 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
type PackageJsonDependencies = {
dependencies: Record<string, string>;
devDependencies: Record<string, string>;
};
export declare function getDependencies({ cwd, }: {
cwd: string;
}): Promise<PackageJsonDependencies>;
export declare function getPackageVersion({ cwd, name, }: {
cwd: string;
name: string;
}): Promise<string | null>;
export {};