mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-04 00:53:14 +08:00
.
This commit is contained in:
16
packages/github/package-lock.json
generated
16
packages/github/package-lock.json
generated
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"name": "@actions/github",
|
||||
"version": "6.0.0",
|
||||
"version": "6.0.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@actions/github",
|
||||
"version": "6.0.0",
|
||||
"version": "6.0.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@actions/http-client": "file:../http-client/actions-http-client-3.0.1.tgz",
|
||||
"@actions/http-client": "file:actions-http-client-3.0.3.tgz",
|
||||
"@octokit/core": "^4.2.4",
|
||||
"@octokit/plugin-paginate-rest": "^6.1.2",
|
||||
"@octokit/plugin-rest-endpoint-methods": "^7.2.3",
|
||||
@@ -21,9 +21,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@actions/http-client": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "file:../http-client/actions-http-client-3.0.1.tgz",
|
||||
"integrity": "sha512-vb0zh02sfoY8TlAPKOvV8twM2xEuIxX48BQ+bikj5W5wMJ1zxwvly5Y5I0kBHRp4b9reGd8fsKbvWLUeNg1XSA==",
|
||||
"version": "3.0.3",
|
||||
"resolved": "file:actions-http-client-3.0.3.tgz",
|
||||
"integrity": "sha512-oD3QP51ndN4IMUntw5mWcP7yZ/7c9cpLRejqbUwe9cT5vC72bWHLr5odlPzE+RAsoEVZMEkKazJbCjXdTzq8og==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"tunnel": "^0.0.6"
|
||||
@@ -439,8 +439,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@actions/http-client": {
|
||||
"version": "file:../http-client/actions-http-client-3.0.1.tgz",
|
||||
"integrity": "sha512-vb0zh02sfoY8TlAPKOvV8twM2xEuIxX48BQ+bikj5W5wMJ1zxwvly5Y5I0kBHRp4b9reGd8fsKbvWLUeNg1XSA==",
|
||||
"version": "file:actions-http-client-3.0.3.tgz",
|
||||
"integrity": "sha512-oD3QP51ndN4IMUntw5mWcP7yZ/7c9cpLRejqbUwe9cT5vC72bWHLr5odlPzE+RAsoEVZMEkKazJbCjXdTzq8og==",
|
||||
"requires": {
|
||||
"tunnel": "^0.0.6"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@actions/github",
|
||||
"version": "6.0.0",
|
||||
"version": "6.0.2",
|
||||
"description": "Actions github lib",
|
||||
"keywords": [
|
||||
"github",
|
||||
@@ -38,7 +38,7 @@
|
||||
"url": "https://github.com/actions/toolkit/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@actions/http-client": "file:../actions-http-client-3.0.1.tgz",
|
||||
"@actions/http-client": "file:actions-http-client-3.0.3.tgz",
|
||||
"@octokit/core": "^4.2.4",
|
||||
"@octokit/plugin-paginate-rest": "^6.1.2",
|
||||
"@octokit/plugin-rest-endpoint-methods": "^7.2.3",
|
||||
|
||||
@@ -21,7 +21,7 @@ export function getProxyAgent(destinationUrl: string): http.Agent {
|
||||
return hc.getAgent(destinationUrl)
|
||||
}
|
||||
|
||||
export function getProxyAgentDispatcher(destinationUrl: string): ProxyAgent | Agent {
|
||||
export function getProxyAgentDispatcher(destinationUrl: string): ProxyAgent | undefined {
|
||||
const hc = new httpClient.HttpClient()
|
||||
return hc.getAgentDispatcher(destinationUrl)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user