Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@octokit/plugin-rest-endpoint-methods

Package Overview
Dependencies
Maintainers
3
Versions
201
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 3.6.0 to 3.7.0

dist-src/generated/method-types.js

2

dist-node/index.js

@@ -1166,3 +1166,3 @@ 'use strict';

const VERSION = "3.6.0";
const VERSION = "3.7.0";

@@ -1169,0 +1169,0 @@ function endpointsToMethods(octokit, endpointsMap) {

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

export const VERSION = "3.6.0";
export const VERSION = "3.7.0";
import { Octokit } from "@octokit/core";
import { EndpointsDefaultsAndDecorations } from "./types";
import { RestEndpointMethods } from "./generated/types";
import { RestEndpointMethods } from "./generated/method-types";
export declare function endpointsToMethods(octokit: Octokit, endpointsMap: EndpointsDefaultsAndDecorations): RestEndpointMethods;
import { Octokit } from "@octokit/core";
export { RestEndpointMethodTypes } from "./generated/parameters-and-response-types";
import { Api } from "./types";

@@ -3,0 +4,0 @@ /**

import { Route, RequestParameters } from "@octokit/types";
import { RestEndpointMethods } from "./generated/types";
import { RestEndpointMethods } from "./generated/method-types";
export declare type Api = RestEndpointMethods;

@@ -4,0 +4,0 @@ export declare type EndpointDecorations = {

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

export declare const VERSION = "3.6.0";
export declare const VERSION = "3.7.0";

@@ -1293,3 +1293,3 @@ const Endpoints = {

const VERSION = "3.6.0";
const VERSION = "3.7.0";

@@ -1296,0 +1296,0 @@ function endpointsToMethods(octokit, endpointsMap) {

{
"name": "@octokit/plugin-rest-endpoint-methods",
"description": "Octokit plugin adding one method for all of api.github.com REST API endpoints",
"version": "3.6.0",
"version": "3.7.0",
"license": "MIT",

@@ -20,3 +20,3 @@ "files": [

"dependencies": {
"@octokit/types": "^2.0.1",
"@octokit/types": "^2.11.1",
"deprecation": "^2.3.1"

@@ -23,0 +23,0 @@ },

@@ -54,2 +54,15 @@ # plugin-rest-endpoint-methods.js

## TypeScript
Parameter and response types for all endpoint methods exported as `{ RestEndpointMethodTypes }`.
Example
```ts
import { RestEndpointMethodTypes } from "@octokit/rest-endpoint-methods";
type UpdateLabelParameters = RestEndpointMethodTypes["issues"]["updateLabel"]["parameters"];
type UpdateLabelResponse = RestEndpointMethodTypes["issues"]["updateLabel"]["response"];
```
## Contributing

@@ -56,0 +69,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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