UNPKG

sicua

Version:

A tool for analyzing project structure and dependencies

88 lines (87 loc) 2.17 kB
/** * Constants for client-side storage and cookie-related detection */ export declare const STORAGE_APIS: string[]; export declare const STORAGE_LIBRARIES: string[]; export declare const COOKIE_LIBRARIES: string[]; export declare const SECURE_COOKIE_ATTRIBUTES: { secure: { name: string; description: string; required: boolean; values: string[]; }; httpOnly: { name: string; description: string; required: boolean; values: string[]; }; sameSite: { name: string; description: string; required: boolean; values: string[]; }; domain: { name: string; description: string; required: boolean; values: never[]; }; path: { name: string; description: string; required: boolean; values: string[]; }; expires: { name: string; description: string; required: boolean; values: never[]; }; maxAge: { name: string; description: string; required: boolean; values: never[]; }; }; export declare const STORAGE_METHODS: string[]; export declare const COOKIE_METHODS: string[]; export declare const STORAGE_SECURITY_PATTERNS: RegExp[]; export declare const INSECURE_STORAGE_PATTERNS: RegExp[]; export declare const STORAGE_LIMITS: { localStorage: { typical: string; varies: boolean; persistent: boolean; }; sessionStorage: { typical: string; varies: boolean; persistent: boolean; }; indexedDB: { typical: string; varies: boolean; persistent: boolean; }; webSQL: { typical: string; varies: boolean; persistent: boolean; deprecated: boolean; }; cookies: { typical: string; varies: boolean; persistent: boolean; limit: string; }; }; export declare const STORAGE_BEST_PRACTICES: string[]; export declare const COOKIE_SECURITY_FLAGS: RegExp[]; export declare const UI_STATE_TERMS: string[]; export declare const UI_STATE_PATTERNS: string[];