release-it
Advanced tools
Comparing version 2.5.2 to 2.5.3
@@ -14,3 +14,3 @@ #!/usr/bin/env node | ||
if(!isDebug) { | ||
console.error(error); | ||
console.error(err); | ||
} else { | ||
@@ -17,0 +17,0 @@ throw new Error(err); |
@@ -149,3 +149,3 @@ var util = require('./util'), | ||
function initGithubClient() { | ||
function initGithubClient(repo) { | ||
if(!_githubClient) { | ||
@@ -156,3 +156,4 @@ _githubClient = new GitHubApi({ | ||
protocol: 'https', | ||
host: 'api.github.com', | ||
host: repo.host === 'github.com' ? '' : repo.host, | ||
pathPrefix: repo.host === 'github.com' ? '' : '/api/v3', | ||
timeout: 10000, | ||
@@ -212,3 +213,3 @@ headers: { | ||
var githubClient = initGithubClient(), | ||
var githubClient = initGithubClient(repo), | ||
success = false, | ||
@@ -215,0 +216,0 @@ attempts = 3; |
{ | ||
"name": "release-it", | ||
"version": "2.5.2", | ||
"version": "2.5.3", | ||
"description": "Interactive release tool for Git repositories. Increment version, commit, tag, push, build, publish to npm. Supports to build and release to a distribution/component repository.", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
"chalk": "1.1.3", | ||
"github": "6.0.4", | ||
"github": "7.2.0", | ||
"glob": "7.1.1", | ||
@@ -39,0 +39,0 @@ "graceful-fs": "4.1.10", |
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
46342
1051
+ Addedgithub@7.2.0(transitive)
+ Addednetrc@0.1.4(transitive)
- Removedgithub@6.0.4(transitive)
Updatedgithub@7.2.0