Socket
Socket
Sign inDemoInstall

@semantic-release/github

Package Overview
Dependencies
Maintainers
4
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semantic-release/github - npm Package Compare versions

Comparing version 8.0.8 to 8.0.9

10

lib/get-client.js
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 @@ },

6

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc