Update got to 14.6.6

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2026-03-30 18:35:39 -05:00
committed by GitHub
parent d6d4b1040c
commit 3fa0448741
5 changed files with 150 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ import { join } from 'node:path';
import { readFile } from 'node:fs/promises';
import chalk from 'chalk';
import semver from 'semver';
import got from 'got';
import { got, HTTPError } from 'got';
import enquirer from 'enquirer';
import execa from 'execa';
@@ -46,7 +46,7 @@ const npm = got.extend({
retry: {
calculateDelay: retry => {
if (
retry.error instanceof got.HTTPError &&
retry.error instanceof HTTPError &&
retry.error.response.statusCode === 429
) {
const retryAfter = parseNumberField(