This commit is contained in:
Graham Christensen 2024-09-04 12:31:25 -04:00
parent f834447080
commit 0ef64f9f86
2 changed files with 8 additions and 5 deletions

7
dist/index.js generated vendored
View file

@ -96403,7 +96403,7 @@ const external_node_dns_promises_namespaceObject = __WEBPACK_EXTERNAL_createRequ
var cache = __nccwpck_require__(6878);
;// CONCATENATED MODULE: external "node:child_process"
const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:child_process");
;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@b32eaff5853519dc6c92a63bac86f5169bc07112_yhfhaezty374j2ssralz6bnlie/node_modules/detsys-ts/dist/index.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@4d0e2c8ed44e4347573f7cd88fb9f51a3f688b1c_hjqxpokvb4p3rcxhd2fluho574/node_modules/detsys-ts/dist/index.js
var __defProp = Object.defineProperty;
var __export = (target, all) => {
for (var name in all)
@ -97664,7 +97664,10 @@ var DetSysAction = class {
`No match from the cache, re-fetching from the redirect: ${versionCheckup.url}`
);
const destFile = this.getTemporaryName();
const fetchStream = await this.downloadFile(destFile, versionCheckup.url);
const fetchStream = await this.downloadFile(
new URL(versionCheckup.url),
destFile
);
if (fetchStream.response?.headers.etag) {
const v = fetchStream.response.headers.etag;
try {

6
pnpm-lock.yaml generated
View file

@ -16,7 +16,7 @@ dependencies:
version: 5.1.1
detsys-ts:
specifier: github:DeterminateSystems/detsys-ts#retry-streams
version: github.com/DeterminateSystems/detsys-ts/b32eaff5853519dc6c92a63bac86f5169bc07112
version: github.com/DeterminateSystems/detsys-ts/4d0e2c8ed44e4347573f7cd88fb9f51a3f688b1c
got:
specifier: ^14.4.2
version: 14.4.2
@ -5650,10 +5650,10 @@ packages:
engines: { node: ">=10" }
dev: true
github.com/DeterminateSystems/detsys-ts/b32eaff5853519dc6c92a63bac86f5169bc07112:
github.com/DeterminateSystems/detsys-ts/4d0e2c8ed44e4347573f7cd88fb9f51a3f688b1c:
resolution:
{
tarball: https://codeload.github.com/DeterminateSystems/detsys-ts/tar.gz/b32eaff5853519dc6c92a63bac86f5169bc07112,
tarball: https://codeload.github.com/DeterminateSystems/detsys-ts/tar.gz/4d0e2c8ed44e4347573f7cd88fb9f51a3f688b1c,
}
name: detsys-ts
version: 1.0.0