Skip to content

Commit

Permalink
deps: npm-registry-fetch@17.0.1 (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed May 2, 2024
1 parent f67687d commit 5c4221b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const webAuth = async (opener, opts, body) => {
if ((er.statusCode >= 400 && er.statusCode <= 499) || er.statusCode === 500) {
throw new WebLoginNotSupported('POST', {
status: er.statusCode,
headers: { raw: () => er.headers },
headers: er.headers,
}, er.body)
}
throw er
Expand Down Expand Up @@ -250,7 +250,6 @@ class WebLoginInvalidResponse extends HttpErrorBase {
constructor (method, res, body) {
super(method, res, body)
this.message = 'Invalid response from web login endpoint'
Error.captureStackTrace(this, WebLoginInvalidResponse)
}
}

Expand All @@ -259,7 +258,6 @@ class WebLoginNotSupported extends HttpErrorBase {
super(method, res, body)
this.message = 'Web login not supported'
this.code = 'ENYI'
Error.captureStackTrace(this, WebLoginNotSupported)
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "GitHub Inc.",
"license": "ISC",
"dependencies": {
"npm-registry-fetch": "^17.0.0",
"npm-registry-fetch": "^17.0.1",
"proc-log": "^4.0.0"
},
"main": "./lib/index.js",
Expand Down

0 comments on commit 5c4221b

Please sign in to comment.