@socketsecurity/lib
Version:
Core utilities and infrastructure for Socket.dev security tools
16 lines (15 loc) • 493 B
TypeScript
/**
* Check if package name is a blessed Socket.dev package.
*/
/*@__NO_SIDE_EFFECTS__*/
export declare function isBlessedPackageName(name: unknown): boolean;
/**
* Check if a type string represents a registry fetcher type.
*/
/*@__NO_SIDE_EFFECTS__*/
export declare function isRegistryFetcherType(type: string): boolean;
/**
* Check if a package name is valid according to npm naming rules.
*/
/*@__NO_SIDE_EFFECTS__*/
export declare function isValidPackageName(name: string): boolean;