downgrade to v12 of got

This commit is contained in:
Connor Vidlock 2023-07-26 14:52:04 -05:00
parent 411b34ad9b
commit 72f18cb536
No known key found for this signature in database
GPG key ID: BADEF4A267C14600
3 changed files with 7 additions and 6 deletions

10
package-lock.json generated
View file

@ -14,7 +14,7 @@
"@actions/github": "^5.0.3", "@actions/github": "^5.0.3",
"adm-zip": "^0.5.3", "adm-zip": "^0.5.3",
"fast-glob": "^3.2.5", "fast-glob": "^3.2.5",
"got": "^13.0.0", "got": "^12.0.0",
"picomatch": "^2.2.2", "picomatch": "^2.2.2",
"xml2js": "^0.5.0" "xml2js": "^0.5.0"
}, },
@ -3758,9 +3758,9 @@
"dev": true "dev": true
}, },
"node_modules/got": { "node_modules/got": {
"version": "13.0.0", "version": "12.6.1",
"resolved": "https://registry.npmjs.org/got/-/got-13.0.0.tgz", "resolved": "https://registry.npmjs.org/got/-/got-12.6.1.tgz",
"integrity": "sha512-XfBk1CxOOScDcMr9O1yKkNaQyy865NbYs+F7dr4H0LZMVgCj2Le59k6PqbNHoL5ToeaEQUYh6c6yMfVcc6SJxA==", "integrity": "sha512-mThBblvlAF1d4O5oqyvN+ZxLAYwIJK7bpMxgYqPD9okW0C3qm5FFn7k811QrcuEBwaogR3ngOFoCfs6mRv7teQ==",
"dependencies": { "dependencies": {
"@sindresorhus/is": "^5.2.0", "@sindresorhus/is": "^5.2.0",
"@szmarczak/http-timer": "^5.0.1", "@szmarczak/http-timer": "^5.0.1",
@ -3775,7 +3775,7 @@
"responselike": "^3.0.0" "responselike": "^3.0.0"
}, },
"engines": { "engines": {
"node": ">=16" "node": ">=14.16"
}, },
"funding": { "funding": {
"url": "https://github.com/sindresorhus/got?sponsor=1" "url": "https://github.com/sindresorhus/got?sponsor=1"

View file

@ -35,7 +35,7 @@
"@actions/github": "^5.0.3", "@actions/github": "^5.0.3",
"adm-zip": "^0.5.3", "adm-zip": "^0.5.3",
"fast-glob": "^3.2.5", "fast-glob": "^3.2.5",
"got": "^13.0.0", "got": "^12.0.0",
"picomatch": "^2.2.2", "picomatch": "^2.2.2",
"xml2js": "^0.5.0" "xml2js": "^0.5.0"
}, },

View file

@ -5,6 +5,7 @@ import {GitHub} from '@actions/github/lib/utils'
import type {PullRequest} from '@octokit/webhooks-types' import type {PullRequest} from '@octokit/webhooks-types'
import * as stream from 'stream' import * as stream from 'stream'
import {promisify} from 'util' import {promisify} from 'util'
// eslint-disable-next-line import/no-named-as-default
import got from 'got' import got from 'got'
const asyncStream = promisify(stream.pipeline) const asyncStream = promisify(stream.pipeline)