Socket
Socket
Sign inDemoInstall

@octokit/plugin-rest-endpoint-methods

Package Overview
Dependencies
10
Maintainers
4
Versions
198
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.1.5 to 10.2.0

2

dist-src/endpoints-to-methods.js

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

import ENDPOINTS from "./generated/endpoints";
import ENDPOINTS from "./generated/endpoints.js";
const endpointMethodsMap = /* @__PURE__ */ new Map();

@@ -3,0 +3,0 @@ for (const [scope, endpoints] of Object.entries(ENDPOINTS)) {

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

import { VERSION } from "./version";
import { endpointsToMethods } from "./endpoints-to-methods";
import { VERSION } from "./version.js";
import { endpointsToMethods } from "./endpoints-to-methods.js";
function restEndpointMethods(octokit) {

@@ -4,0 +4,0 @@ const api = endpointsToMethods(octokit);

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

const VERSION = "10.1.5";
const VERSION = "10.2.0";
export {
VERSION
};
import type { Octokit } from "@octokit/core";
import type { RestEndpointMethods } from "./generated/method-types";
import type { RestEndpointMethods } from "./generated/method-types.js";
export declare function endpointsToMethods(octokit: Octokit): RestEndpointMethods;

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

import type { EndpointsDefaultsAndDecorations } from "../types";
import type { EndpointsDefaultsAndDecorations } from "../types.js";
declare const Endpoints: EndpointsDefaultsAndDecorations;
export default Endpoints;
import type { Octokit } from "@octokit/core";
export type { RestEndpointMethodTypes } from "./generated/parameters-and-response-types";
import type { Api } from "./types";
export type { RestEndpointMethodTypes } from "./generated/parameters-and-response-types.js";
import type { Api } from "./types.js";
export declare function restEndpointMethods(octokit: Octokit): Api;

@@ -5,0 +5,0 @@ export declare namespace restEndpointMethods {

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

@@ -4,0 +4,0 @@ rest: RestEndpointMethods;

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

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

@@ -5,0 +5,0 @@ "repository": "github:octokit/plugin-rest-endpoint-methods.js",

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

Sorry, the diff of this file is not supported yet

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

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

Sorry, the diff of this file is not supported yet

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