@octokit/rest
Advanced tools
Comparing version 18.5.1 to 18.5.2
@@ -10,5 +10,5 @@ 'use strict'; | ||
const VERSION = "18.5.1"; | ||
const VERSION = "18.5.2"; | ||
const Octokit = core.Octokit.plugin(pluginRequestLog.requestLog, pluginRestEndpointMethods.restEndpointMethods, pluginPaginateRest.paginateRest).defaults({ | ||
const Octokit = core.Octokit.plugin(pluginRequestLog.requestLog, pluginRestEndpointMethods.legacyRestEndpointMethods, pluginPaginateRest.paginateRest).defaults({ | ||
userAgent: `octokit-rest.js/${VERSION}` | ||
@@ -15,0 +15,0 @@ }); |
import { Octokit as Core } from "@octokit/core"; | ||
import { requestLog } from "@octokit/plugin-request-log"; | ||
import { paginateRest } from "@octokit/plugin-paginate-rest"; | ||
import { restEndpointMethods } from "@octokit/plugin-rest-endpoint-methods"; | ||
import { legacyRestEndpointMethods } from "@octokit/plugin-rest-endpoint-methods"; | ||
import { VERSION } from "./version"; | ||
export const Octokit = Core.plugin(requestLog, restEndpointMethods, paginateRest).defaults({ | ||
export const Octokit = Core.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults({ | ||
userAgent: `octokit-rest.js/${VERSION}`, | ||
}); |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "18.5.1"; | ||
export const VERSION = "18.5.2"; |
@@ -12,5 +12,3 @@ import { Octokit as Core } from "@octokit/core"; | ||
paginate: import("@octokit/plugin-paginate-rest").PaginateInterface; | ||
} & import("@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types").RestEndpointMethods & { | ||
rest: import("@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types").RestEndpointMethods; | ||
}>; | ||
} & import("@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types").RestEndpointMethods & import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api>; | ||
export declare type Octokit = InstanceType<typeof Octokit>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "18.5.1"; | ||
export declare const VERSION = "18.5.2"; |
import { Octokit as Octokit$1 } from '@octokit/core'; | ||
import { requestLog } from '@octokit/plugin-request-log'; | ||
import { paginateRest } from '@octokit/plugin-paginate-rest'; | ||
import { restEndpointMethods } from '@octokit/plugin-rest-endpoint-methods'; | ||
import { legacyRestEndpointMethods } from '@octokit/plugin-rest-endpoint-methods'; | ||
const VERSION = "18.5.1"; | ||
const VERSION = "18.5.2"; | ||
const Octokit = Octokit$1.plugin(requestLog, restEndpointMethods, paginateRest).defaults({ | ||
const Octokit = Octokit$1.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults({ | ||
userAgent: `octokit-rest.js/${VERSION}`, | ||
@@ -10,0 +10,0 @@ }); |
{ | ||
"name": "@octokit/rest", | ||
"description": "GitHub REST API client for Node.js", | ||
"version": "18.5.1", | ||
"version": "18.5.2", | ||
"license": "MIT", | ||
@@ -41,3 +41,3 @@ "files": [ | ||
"@octokit/plugin-request-log": "^1.0.2", | ||
"@octokit/plugin-rest-endpoint-methods": "4.15.0" | ||
"@octokit/plugin-rest-endpoint-methods": "5.0.0" | ||
}, | ||
@@ -44,0 +44,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8810
45
+ Added@octokit/plugin-rest-endpoint-methods@5.0.0(transitive)
- Removed@octokit/plugin-rest-endpoint-methods@4.15.0(transitive)