Socket
Socket
Sign inDemoInstall

@octokit/plugin-rest-endpoint-methods

Package Overview
Dependencies
2
Maintainers
0
Versions
199
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 13.2.2 to 13.2.4

dist-src/endpoints-to-methods.js.map

1

dist-src/endpoints-to-methods.js

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

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

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

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

3

dist-src/version.js

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

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

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

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

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

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

@@ -25,3 +26,3 @@ "@types/jest": "^29.0.0",

"@types/sinon": "^17.0.0",
"esbuild": "^0.20.0",
"esbuild": "^0.22.0",
"fetch-mock": "npm:@gr2m/fetch-mock@^9.11.0-pull-request-644.1",

@@ -36,5 +37,5 @@ "github-openapi-graphql-query": "^4.3.1",

"npm-run-all2": "^6.0.0",
"prettier": "3.2.5",
"prettier": "3.3.2",
"semantic-release-plugin-update-version-in-files": "^1.0.0",
"sinon": "^17.0.0",
"sinon": "^18.0.0",
"sort-keys": "^5.0.0",

@@ -46,3 +47,3 @@ "string-to-jsdoc-comment": "^1.0.0",

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

@@ -57,10 +58,13 @@ "publishConfig": {

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

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

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

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

> [!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 }`.

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

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc