@semantic-release/github
Advanced tools
Comparing version 8.0.8 to 8.0.9
const urljoin = require('url-join'); | ||
const HttpProxyAgent = require('http-proxy-agent'); | ||
const HttpsProxyAgent = require('https-proxy-agent'); | ||
const {HttpProxyAgent} = require('http-proxy-agent'); | ||
const {HttpsProxyAgent} = require('https-proxy-agent'); | ||
@@ -15,4 +15,6 @@ const SemanticReleaseOctokit = require('./semantic-release-octokit'); | ||
? baseUrl && new URL(baseUrl).protocol.replace(':', '') === 'http' | ||
? new HttpProxyAgent(proxy) | ||
: new HttpsProxyAgent(proxy) | ||
? // Some `proxy.headers` need to be passed as second arguments since version 6 or 7 | ||
// For simplicity, we just pass the same proxy object twice. It works 🤷🏻 | ||
new HttpProxyAgent(proxy, proxy) | ||
: new HttpsProxyAgent(proxy, proxy) | ||
: undefined, | ||
@@ -19,0 +21,0 @@ }, |
{ | ||
"name": "@semantic-release/github", | ||
"description": "semantic-release plugin to publish a GitHub release and comment on released Pull Requests/Issues", | ||
"version": "8.0.8", | ||
"version": "8.0.9", | ||
"author": "Pierre Vanduynslager (https://twitter.com/@pvdlg_)", | ||
@@ -29,4 +29,4 @@ "ava": { | ||
"globby": "^11.0.0", | ||
"http-proxy-agent": "^5.0.0", | ||
"https-proxy-agent": "^5.0.0", | ||
"http-proxy-agent": "^7.0.0", | ||
"https-proxy-agent": "^7.0.0", | ||
"issue-parser": "^6.0.0", | ||
@@ -33,0 +33,0 @@ "lodash": "^4.17.4", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65858
865
- Removed@tootallnate/once@2.0.0(transitive)
- Removedagent-base@6.0.2(transitive)
- Removedhttp-proxy-agent@5.0.0(transitive)
- Removedhttps-proxy-agent@5.0.1(transitive)
Updatedhttp-proxy-agent@^7.0.0
Updatedhttps-proxy-agent@^7.0.0