Socket
Socket
Sign inDemoInstall

@octokit/plugin-rest-endpoint-methods

Package Overview
Dependencies
Maintainers
4
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/plugin-rest-endpoint-methods - npm Package Compare versions

Comparing version 13.2.1 to 13.2.2

dist-node/index.js

1

dist-src/endpoints-to-methods.js

@@ -126,2 +126,1 @@ import ENDPOINTS from "./generated/endpoints.js";

};
//# sourceMappingURL=endpoints-to-methods.js.map

@@ -22,2 +22,1 @@ import { VERSION } from "./version.js";

};
//# sourceMappingURL=index.js.map

@@ -1,5 +0,4 @@

const VERSION = "13.2.1";
const VERSION = "13.2.2";
export {
VERSION
};
//# sourceMappingURL=version.js.map

@@ -1,1 +0,1 @@

export declare const VERSION = "13.2.1";
export declare const VERSION = "13.2.2";
{
"name": "@octokit/plugin-rest-endpoint-methods",
"version": "13.2.1",
"type": "module",
"version": "13.2.2",
"description": "Octokit plugin adding one method for all of api.github.com REST API endpoints",

@@ -19,4 +18,4 @@ "repository": "github:octokit/plugin-rest-endpoint-methods.js",

"devDependencies": {
"@octokit/core": "^6.0.0",
"@octokit/tsconfig": "^3.0.0",
"@octokit/core": "^5.0.0",
"@octokit/tsconfig": "^2.0.0",
"@types/fetch-mock": "^7.3.1",

@@ -45,3 +44,3 @@ "@types/jest": "^29.0.0",

"peerDependencies": {
"@octokit/core": ">=6"
"@octokit/core": "^5"
},

@@ -56,13 +55,10 @@ "publishConfig": {

"files": [
"dist-*/**"
"dist-*/**",
"bin/**"
],
"types": "./dist-types/index.d.ts",
"exports": {
".": {
"import": "./dist-src/index.js",
"types": "./dist-types/index.d.ts",
"default": "./dist-src/index.js"
}
},
"main": "dist-node/index.js",
"browser": "dist-web/index.js",
"types": "dist-types/index.d.ts",
"module": "dist-src/index.js",
"sideEffects": false
}

@@ -33,4 +33,6 @@ # plugin-rest-endpoint-methods.js

```js
import { Octokit } from "@octokit/core";
import { restEndpointMethods } from "@octokit/plugin-rest-endpoint-methods";
const { Octokit } = require("@octokit/core");
const {
restEndpointMethods,
} = require("@octokit/plugin-rest-endpoint-methods");
```

@@ -54,8 +56,2 @@

> [!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)
Parameter and response types for all endpoint methods exported as `{ RestEndpointMethodTypes }`.

@@ -62,0 +58,0 @@

Sorry, the diff of this file is too big to display

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