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:
parent
3ecf990cd2
commit
4db827f313
22 changed files with 236 additions and 66 deletions
13
node_modules/@actions/http-client/lib/index.js
generated
vendored
13
node_modules/@actions/http-client/lib/index.js
generated
vendored
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue