Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm-profile

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-profile - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

6

CHANGELOG.md

@@ -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 @@

4

index.js

@@ -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",

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