Comparing version 1.1.6 to 1.1.7
@@ -57,2 +57,4 @@ "use strict"; | ||
} | ||
// refresh and load the metadata before downloading the target | ||
// refresh should be called once after the client is initialized | ||
async refresh() { | ||
@@ -106,3 +108,3 @@ await this.loadRoot(); | ||
if (fs.existsSync(filePath)) { | ||
targetInfo.verify(fs.createReadStream(filePath)); | ||
await targetInfo.verify(fs.createReadStream(filePath)); | ||
return filePath; | ||
@@ -109,0 +111,0 @@ } |
{ | ||
"name": "tuf-js", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "JavaScript implementation of The Update Framework (TUF)", | ||
@@ -32,7 +32,7 @@ "main": "dist/index.js", | ||
"@tufjs/repo-mock": "1.3.1", | ||
"@types/debug": "^4.1.7", | ||
"@types/debug": "^4.1.8", | ||
"@types/make-fetch-happen": "^10.0.1", | ||
"@types/node": "^20.1.1", | ||
"@types/node": "^20.2.5", | ||
"nock": "^13.3.1", | ||
"typescript": "^5.0.4" | ||
"typescript": "^5.1.3" | ||
}, | ||
@@ -42,3 +42,3 @@ "dependencies": { | ||
"debug": "^4.3.4", | ||
"make-fetch-happen": "^11.1.0" | ||
"make-fetch-happen": "^11.1.1" | ||
}, | ||
@@ -45,0 +45,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39258
838
Updatedmake-fetch-happen@^11.1.1