From f97d72da2831cb96da594885ef3569ee842b0dc5 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sun, 14 Apr 2024 02:09:41 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/npmextra.classes.keyvaluestore.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 88f2af8..43262a5 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/npmextra', - version: '5.0.10', + version: '5.0.11', description: 'do more with npm' } diff --git a/ts/npmextra.classes.keyvaluestore.ts b/ts/npmextra.classes.keyvaluestore.ts index 26ffbd7..1e1913d 100644 --- a/ts/npmextra.classes.keyvaluestore.ts +++ b/ts/npmextra.classes.keyvaluestore.ts @@ -170,7 +170,8 @@ export class KeyValueStore { keys.forEach(key => this.mandatoryKeys.add(key)); } - public getMissingMandatoryKeys(): string[] { + public async getMissingMandatoryKeys(): Promise { + await this.readAll(); return Array.from(this.mandatoryKeys).filter(key => !(key in this.dataObject)); }