Socket
Socket
Sign inDemoInstall

@octokit/types

Package Overview
Dependencies
Maintainers
3
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/types - npm Package Compare versions

Comparing version 2.8.0-beta.1 to 2.8.0-beta.2

3

package.json
{
"name": "@octokit/types",
"version": "2.8.0-beta.1",
"version": "2.8.0-beta.2",
"publishConfig": {

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

"devDependencies": {
"@gimenete/type-writer": "^0.1.5",
"@octokit/graphql": "^4.2.2",

@@ -35,0 +36,0 @@ "handlebars": "^4.7.6",

@@ -7,2 +7,4 @@ import { EndpointInterface } from "./EndpointInterface";

import { Endpoints } from "./generated/Endpoints";
export interface RequestInterface {

@@ -22,5 +24,10 @@ /**

*/
<T = any>(route: Route, parameters?: RequestParameters): Promise<
OctokitResponse<T>
>;
<R extends Route>(
route: keyof Endpoints | R,
options?: R extends keyof Endpoints
? Endpoints[R][0] & RequestParameters
: RequestParameters
): R extends keyof Endpoints
? Promise<OctokitResponse<Endpoints[R][2]>>
: Promise<OctokitResponse<any>>;

@@ -27,0 +34,0 @@ /**

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

export const VERSION = "2.8.0-beta.1";
export const VERSION = "2.8.0-beta.2";

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