npm-profile
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -0,1 +1,7 @@ | ||
# v3.0.2 (2018-06-07) | ||
- Allow newer make-fetch-happen. | ||
- Report 500s from weblogin end point as unsupported. | ||
- EAUTHUNKNOWN errors were incorrectly reported as EAUTHIP. | ||
# v3.0.1 (2018-02-18) | ||
@@ -2,0 +8,0 @@ |
@@ -110,3 +110,3 @@ 'use strict' | ||
}).catch(er => { | ||
if (er.statusCode >= 400 && er.statusCode <= 499) { | ||
if ((er.statusCode >= 400 && er.statusCode <= 499) || er.statusCode === 500) { | ||
throw new WebLoginNotSupported('POST', target, { | ||
@@ -317,3 +317,3 @@ status: er.statusCode, | ||
this.message = 'Unable to authenticate, need: ' + res.headers.get('www-authenticate') | ||
this.code = 'EAUTHIP' | ||
this.code = 'EAUTHUNKNOWN' | ||
Error.captureStackTrace(this, HttpErrorAuthUnknown) | ||
@@ -320,0 +320,0 @@ } |
{ | ||
"name": "npm-profile", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Library for updating an npmjs.com profile", | ||
@@ -9,4 +9,4 @@ "keywords": [], | ||
"dependencies": { | ||
"aproba": "^1.1.2", | ||
"make-fetch-happen": "^2.5.0" | ||
"aproba": "^1.1.2 || 2", | ||
"make-fetch-happen": "^2.5.0 || 3 || 4" | ||
}, | ||
@@ -13,0 +13,0 @@ "main": "index.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
36528
+ Addedagent-base@4.2.1(transitive)
+ Addedaproba@2.0.0(transitive)
+ Addedcacache@11.3.3(transitive)
+ Addedfiggy-pudding@3.5.2(transitive)
+ Addedip@1.1.5(transitive)
+ Addedlru-cache@5.1.1(transitive)
+ Addedmake-fetch-happen@4.0.2(transitive)
+ Addedmississippi@3.0.0(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedsmart-buffer@4.2.0(transitive)
+ Addedsocks@2.3.3(transitive)
+ Addedsocks-proxy-agent@4.0.2(transitive)
+ Addedssri@6.0.2(transitive)
+ Addedyallist@3.1.1(transitive)
- Removedcacache@10.0.4(transitive)
- Removedip@1.1.9(transitive)
- Removedlru-cache@4.1.5(transitive)
- Removedmake-fetch-happen@2.6.0(transitive)
- Removedmississippi@1.3.12.0.0(transitive)
- Removedpseudomap@1.0.2(transitive)
- Removedpump@1.0.3(transitive)
- Removedsmart-buffer@1.1.15(transitive)
- Removedsocks@1.1.10(transitive)
- Removedsocks-proxy-agent@3.0.1(transitive)
- Removedssri@5.3.0(transitive)
- Removedyallist@2.1.2(transitive)
Updatedaproba@^1.1.2 || 2