@octokit/plugin-paginate-rest
Advanced tools
Comparing version 9.1.4 to 9.1.5
@@ -31,3 +31,3 @@ "use strict"; | ||
// pkg/dist-src/version.js | ||
var VERSION = "9.1.4"; | ||
var VERSION = "9.1.5"; | ||
@@ -34,0 +34,0 @@ // pkg/dist-src/normalize-paginated-list-response.js |
@@ -1,3 +0,3 @@ | ||
import { paginate } from "./paginate"; | ||
import { iterator } from "./iterator"; | ||
import { paginate } from "./paginate.js"; | ||
import { iterator } from "./iterator.js"; | ||
const composePaginateRest = Object.assign(paginate, { | ||
@@ -4,0 +4,0 @@ iterator |
@@ -1,9 +0,9 @@ | ||
import { VERSION } from "./version"; | ||
import { paginate } from "./paginate"; | ||
import { iterator } from "./iterator"; | ||
import { composePaginateRest } from "./compose-paginate"; | ||
import { VERSION } from "./version.js"; | ||
import { paginate } from "./paginate.js"; | ||
import { iterator } from "./iterator.js"; | ||
import { composePaginateRest } from "./compose-paginate.js"; | ||
import { | ||
isPaginatingEndpoint, | ||
paginatingEndpoints | ||
} from "./paginating-endpoints"; | ||
} from "./paginating-endpoints.js"; | ||
function paginateRest(octokit) { | ||
@@ -10,0 +10,0 @@ return { |
@@ -1,2 +0,2 @@ | ||
import { normalizePaginatedListResponse } from "./normalize-paginated-list-response"; | ||
import { normalizePaginatedListResponse } from "./normalize-paginated-list-response.js"; | ||
function iterator(octokit, route, parameters) { | ||
@@ -3,0 +3,0 @@ const options = typeof route === "function" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters); |
@@ -1,2 +0,2 @@ | ||
import { iterator } from "./iterator"; | ||
import { iterator } from "./iterator.js"; | ||
function paginate(octokit, route, parameters, mapFn) { | ||
@@ -3,0 +3,0 @@ if (typeof parameters === "function") { |
import { | ||
paginatingEndpoints | ||
} from "./generated/paginating-endpoints"; | ||
import { paginatingEndpoints as paginatingEndpoints2 } from "./generated/paginating-endpoints"; | ||
} from "./generated/paginating-endpoints.js"; | ||
import { paginatingEndpoints as paginatingEndpoints2 } from "./generated/paginating-endpoints.js"; | ||
function isPaginatingEndpoint(arg) { | ||
@@ -6,0 +6,0 @@ if (typeof arg === "string") { |
@@ -1,4 +0,4 @@ | ||
const VERSION = "9.1.4"; | ||
const VERSION = "9.1.5"; | ||
export { | ||
VERSION | ||
}; |
@@ -1,2 +0,2 @@ | ||
import type { ComposePaginateInterface } from "./types"; | ||
import type { ComposePaginateInterface } from "./types.js"; | ||
export declare const composePaginateRest: ComposePaginateInterface; |
import type { Octokit } from "@octokit/core"; | ||
import type { PaginateInterface } from "./types"; | ||
export type { PaginateInterface, PaginatingEndpoints } from "./types"; | ||
export { composePaginateRest } from "./compose-paginate"; | ||
export { isPaginatingEndpoint, paginatingEndpoints, } from "./paginating-endpoints"; | ||
import type { PaginateInterface } from "./types.js"; | ||
export type { PaginateInterface, PaginatingEndpoints } from "./types.js"; | ||
export { composePaginateRest } from "./compose-paginate.js"; | ||
export { isPaginatingEndpoint, paginatingEndpoints, } from "./paginating-endpoints.js"; | ||
/** | ||
@@ -7,0 +7,0 @@ * @param octokit Octokit instance |
import type { Octokit } from "@octokit/core"; | ||
import type { RequestInterface, RequestParameters, Route } from "./types"; | ||
import type { RequestInterface, RequestParameters, Route } from "./types.js"; | ||
export declare function iterator(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters): { | ||
@@ -9,3 +9,3 @@ [Symbol.asyncIterator]: () => { | ||
} | { | ||
value: import("@octokit/types/dist-types/OctokitResponse").OctokitResponse<any, number>; | ||
value: import("@octokit/types/dist-types/OctokitResponse.js").OctokitResponse<any, number>; | ||
done?: undefined; | ||
@@ -12,0 +12,0 @@ } | { |
@@ -17,3 +17,3 @@ /** | ||
*/ | ||
import type { OctokitResponse } from "./types"; | ||
import type { OctokitResponse } from "./types.js"; | ||
export declare function normalizePaginatedListResponse(response: OctokitResponse<any>): OctokitResponse<any>; |
@@ -1,3 +0,3 @@ | ||
import { type PaginatingEndpoints } from "./generated/paginating-endpoints"; | ||
export { paginatingEndpoints } from "./generated/paginating-endpoints"; | ||
import { type PaginatingEndpoints } from "./generated/paginating-endpoints.js"; | ||
export { paginatingEndpoints } from "./generated/paginating-endpoints.js"; | ||
export declare function isPaginatingEndpoint(arg: unknown): arg is keyof PaginatingEndpoints; |
import { Octokit } from "@octokit/core"; | ||
import * as OctokitTypes from "@octokit/types"; | ||
export type { EndpointOptions, RequestInterface, OctokitResponse, RequestParameters, Route, } from "@octokit/types"; | ||
export type { PaginatingEndpoints } from "./generated/paginating-endpoints"; | ||
import type { PaginatingEndpoints } from "./generated/paginating-endpoints"; | ||
export type { PaginatingEndpoints } from "./generated/paginating-endpoints.js"; | ||
import type { PaginatingEndpoints } from "./generated/paginating-endpoints.js"; | ||
type KnownKeys<T> = Extract<{ | ||
@@ -7,0 +7,0 @@ [K in keyof T]: string extends K ? never : number extends K ? never : K; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "9.1.4"; | ||
export declare const VERSION = "9.1.5"; |
// pkg/dist-src/version.js | ||
var VERSION = "9.1.4"; | ||
var VERSION = "9.1.5"; | ||
@@ -4,0 +4,0 @@ // pkg/dist-src/normalize-paginated-list-response.js |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "9.1.4", | ||
"version": "9.1.5", | ||
"description": "Octokit plugin to paginate REST API endpoint responses", | ||
@@ -18,3 +18,3 @@ "repository": "github:octokit/plugin-paginate-rest.js", | ||
"dependencies": { | ||
"@octokit/types": "^12.3.0" | ||
"@octokit/types": "^12.4.0" | ||
}, | ||
@@ -37,3 +37,3 @@ "peerDependencies": { | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "3.0.3", | ||
"prettier": "3.1.0", | ||
"semantic-release-plugin-update-version-in-files": "^1.0.0", | ||
@@ -40,0 +40,0 @@ "ts-jest": "^29.0.0", |
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 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
200346
Updated@octokit/types@^12.4.0