Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(workspace: string) {
this.db = level(path.join(COMPONENT_CACHE_ROOT, hash(workspace)), { valueEncoding: 'json' }, {});
}
private db: LevelUp;