@octokit/request
Advanced tools
Comparing version 4.0.2 to 4.1.0
@@ -13,3 +13,3 @@ 'use strict'; | ||
const VERSION = "4.0.2"; | ||
const VERSION = "4.1.0"; | ||
@@ -16,0 +16,0 @@ function getBufferResponse(response) { |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "4.0.2"; | ||
export const VERSION = "4.1.0"; |
@@ -10,3 +10,3 @@ /// <reference types="node" /> | ||
*/ | ||
(options: Endpoint): Promise<AnyResponse>; | ||
<T = any>(options: Endpoint): Promise<OctokitResponse<T>>; | ||
/** | ||
@@ -18,3 +18,3 @@ * Sends a request based on endpoint options | ||
*/ | ||
(route: Route, parameters?: Parameters): Promise<AnyResponse>; | ||
<T = any>(route: Route, parameters?: Parameters): Promise<OctokitResponse<T>>; | ||
/** | ||
@@ -21,0 +21,0 @@ * Returns a new `endpoint` with updated route and parameters |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "4.0.2"; | ||
export declare const VERSION = "4.1.0"; |
@@ -745,3 +745,3 @@ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; | ||
const VERSION$1 = "4.0.2"; | ||
const VERSION$1 = "4.1.0"; | ||
@@ -748,0 +748,0 @@ function getBufferResponse(response) { |
@@ -7,3 +7,3 @@ import { endpoint } from '@octokit/endpoint'; | ||
const VERSION = "4.0.2"; | ||
const VERSION = "4.1.0"; | ||
@@ -10,0 +10,0 @@ function getBufferResponse(response) { |
{ | ||
"name": "@octokit/request", | ||
"description": "Send parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node", | ||
"version": "4.0.2", | ||
"version": "4.1.0", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "files": [ |
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
58326