fix(core): update

This commit is contained in:
Philipp Kunz 2024-04-14 02:09:41 +02:00
parent 78d1540ce0
commit f97d72da28
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/npmextra',
version: '5.0.10',
version: '5.0.11',
description: 'do more with npm'
}

View File

@ -170,7 +170,8 @@ export class KeyValueStore<T = any> {
keys.forEach(key => this.mandatoryKeys.add(key));
}
public getMissingMandatoryKeys(): string[] {
public async getMissingMandatoryKeys(): Promise<string[]> {
await this.readAll();
return Array.from(this.mandatoryKeys).filter(key => !(key in this.dataObject));
}