Socket
Socket
Sign inDemoInstall

@octokit/request-error

Package Overview
Dependencies
Maintainers
4
Versions
41
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.0 to 6.1.1

6

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

@@ -40,3 +40,2 @@ "access": "public",

],
"main": "./dist-src/index.js",
"types": "./dist-types/index.d.ts",

@@ -46,3 +45,4 @@ "exports": {

"types": "./dist-types/index.d.ts",
"import": "./dist-src/index.js"
"import": "./dist-src/index.js",
"default": "./dist-src/index.js"
}

@@ -49,0 +49,0 @@ },

@@ -38,2 +38,8 @@ # http-error.js

> [!IMPORTANT]
> As we use [conditional exports](https://nodejs.org/api/packages.html#conditional-exports), you will need to adapt your `tsconfig.json` by setting `"moduleResolution": "node16", "module": "node16"`.
>
> See the TypeScript docs on [package.json "exports"](https://www.typescriptlang.org/docs/handbook/modules/reference.html#packagejson-exports).<br>
> See this [helpful guide on transitioning to ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) from [@sindresorhus](https://github.com/sindresorhus)
```js

@@ -40,0 +46,0 @@ const error = new RequestError("Oops", 500, {

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