Socket
Socket
Sign inDemoInstall

@octokit/request-error

Package Overview
Dependencies
Maintainers
4
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/request-error - npm Package Compare versions

Comparing version 6.1.1 to 6.1.2

5

dist-src/index.js

@@ -21,3 +21,6 @@ class RequestError extends Error {

this.name = "HttpError";
this.status = statusCode;
this.status = Number.parseInt(statusCode);
if (Number.isNaN(this.status)) {
this.status = 0;
}
if ("response" in options) {

@@ -24,0 +27,0 @@ this.response = options.response;

8

package.json
{
"name": "@octokit/request-error",
"version": "6.1.1",
"version": "6.1.2",
"publishConfig": {

@@ -26,6 +26,6 @@ "access": "public",

"@types/node": "^20.0.0",
"esbuild": "^0.20.0",
"glob": "^10.2.6",
"esbuild": "^0.23.0",
"glob": "^11.0.0",
"jest": "^29.0.0",
"prettier": "3.2.5",
"prettier": "3.3.2",
"ts-jest": "^29.0.0",

@@ -32,0 +32,0 @@ "typescript": "^5.0.0"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc