@socketsecurity/lib
Version:
Core utilities and infrastructure for Socket.dev security tools
23 lines (22 loc) • 837 B
TypeScript
/**
* Core primitives and fundamental constants.
* Goal: Minimize this module by finding proper semantic homes for all constants.
*/
// Internal implementation symbol.
export declare const kInternalsSymbol: unique symbol;
// Sentinel values.
export declare const LOOP_SENTINEL = 1000000;
// Error and unknown values.
export declare const UNKNOWN_ERROR = "Unknown error";
export declare const UNKNOWN_VALUE = "<unknown>";
// Empty values.
export declare const EMPTY_FILE = "/* empty */\n";
export declare const EMPTY_VALUE = "<value>";
// Undefined token.
export declare const UNDEFINED_TOKEN: undefined;
// Miscellaneous.
export declare const V = "v";
export declare const COLUMN_LIMIT = 80;
// Environment variable name constants.
export declare const NODE_AUTH_TOKEN = "NODE_AUTH_TOKEN";
export declare const NODE_ENV = "NODE_ENV";