Update @actions/cache and remove overrides

Now that `@actions/cache` has been updated, we can remove our manual
overrides for vulnerable dependencies.
This commit is contained in:
Henry Mercer 2023-08-14 18:59:06 +01:00
parent 3ecf990cd2
commit 4db827f313
22 changed files with 236 additions and 66 deletions

View file

@ -123,6 +123,19 @@ class HttpClientResponse {
}));
});
}
readBodyBuffer() {
return __awaiter(this, void 0, void 0, function* () {
return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {
const chunks = [];
this.message.on('data', (chunk) => {
chunks.push(chunk);
});
this.message.on('end', () => {
resolve(Buffer.concat(chunks));
});
}));
});
}
}
exports.HttpClientResponse = HttpClientResponse;
function isHttps(requestUrl) {