mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-18 13:51:38 -04:00
committed by
Zoltan Kochan
parent
a858f61d9e
commit
1aedec2d53
@@ -79,7 +79,7 @@ function extend (url, options) {
|
||||
var authToken = getAuthToken(url, {recursive: true})
|
||||
if (authToken) {
|
||||
options.headers = assign({}, options.headers || {}, {
|
||||
authorization: 'Bearer ' + authToken
|
||||
authorization: authToken.type + ' ' + authToken.token
|
||||
})
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
"observatory": "1.0.0",
|
||||
"rc": "1.1.6",
|
||||
"read-pkg-up": "1.0.1",
|
||||
"registry-auth-token": "2.1.1",
|
||||
"registry-auth-token": "3.0.0",
|
||||
"registry-url": "3.1.0",
|
||||
"rimraf": "2.5.4",
|
||||
"semver": "5.3.0",
|
||||
|
||||
Reference in New Issue
Block a user