jspm-github
Advanced tools
Comparing version 0.13.23 to 0.13.24
@@ -238,7 +238,6 @@ var fs = require('graceful-fs'); | ||
uri: remotes.apiRemoteString + 'user', | ||
headers: { | ||
headers: Object.assign({ | ||
'User-Agent': 'jspm', | ||
'Accept': 'application/vnd.github.v3+json', | ||
...remotes.authHeader | ||
}, | ||
'Accept': 'application/vnd.github.v3+json' | ||
}, removes.authHeader), | ||
followRedirect: false, | ||
@@ -366,6 +365,5 @@ strictSSL: 'strictSSL' in config ? config.strictSSL : true | ||
uri: remoteString + repo, | ||
headers: { | ||
'User-Agent': 'jspm', | ||
...authHeader | ||
}, | ||
headers: Object.assign({ | ||
'User-Agent': 'jspm' | ||
}, authHeader), | ||
followRedirect: false | ||
@@ -466,7 +464,6 @@ }, self.defaultRequestOptions | ||
uri: this.apiRemoteString + 'repos/' + repo + '/contents/package.json', | ||
headers: { | ||
headers: Object.assign({ | ||
'User-Agent': 'jspm', | ||
'Accept': 'application/vnd.github.v3.raw', | ||
...this.authHeader | ||
}, | ||
'Accept': 'application/vnd.github.v3.raw' | ||
}, this.authHeader), | ||
qs: { | ||
@@ -676,7 +673,6 @@ ref: version | ||
uri: release.url, | ||
headers: { | ||
headers: Object.assign({ | ||
'accept': 'application/octet-stream', | ||
'user-agent': 'jspm', | ||
...authHeader | ||
}, | ||
'user-agent': 'jspm' | ||
}, authHeader), | ||
followRedirect: false, | ||
@@ -727,6 +723,5 @@ }, self.defaultRequestOptions | ||
uri: remoteString + repo + '/archive/' + version + '.tar.gz', | ||
headers: { | ||
'accept': 'application/octet-stream', | ||
...authHeader | ||
}, | ||
headers: Object.assign({ | ||
'accept': 'application/octet-stream' | ||
}, authHeader), | ||
}, self.defaultRequestOptions | ||
@@ -769,7 +764,6 @@ )) | ||
uri: this.apiRemoteString + 'repos/' + repo + '/releases' + buildRequestQueryParams.call(this, { per_page: 100 }), | ||
headers: { | ||
headers: Object.assign({ | ||
'User-Agent': 'jspm', | ||
'Accept': 'application/vnd.github.v3+json', | ||
...this.authHeader | ||
}, | ||
'Accept': 'application/vnd.github.v3+json' | ||
}, this.authHeader), | ||
followRedirect: false | ||
@@ -776,0 +770,0 @@ }, this.defaultRequestOptions); |
{ | ||
"name": "jspm-github", | ||
"version": "0.13.23", | ||
"version": "0.13.24", | ||
"description": "jspm GitHub endpoint", | ||
@@ -5,0 +5,0 @@ "main": "github.js", |
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
29893
844