diff --git a/lib/vmw.api.js b/lib/vmw.api.js index e523d1d..64b2f62 100755 --- a/lib/vmw.api.js +++ b/lib/vmw.api.js @@ -46,6 +46,7 @@ module.exports = class vmwApi { expiredInterval: 10 * 60 * 1000, // every 2 minutes the process will clean-up the expired cache forgiveParseErrors: false }); + this.cache.init(); } async main(category, version, type) { try { diff --git a/package.json b/package.json index 3713b36..602f491 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,8 @@ ], "dependencies": { "vmw-sdk": "*", - "chalk": "*", - "got": "*", + "chalk": "=4.1.2", + "got": "=11.8.2", "md5-file": "*", "node-persist": "*", "p-map": "=4.0.0",