@octokit/plugin-paginate-rest
Advanced tools
Comparing version 9.2.0 to 9.3.0-beta.1
@@ -1,32 +0,3 @@ | ||
"use strict"; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return to; | ||
}; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
// pkg/dist-src/index.js | ||
var dist_src_exports = {}; | ||
__export(dist_src_exports, { | ||
composePaginateRest: () => composePaginateRest, | ||
isPaginatingEndpoint: () => isPaginatingEndpoint, | ||
paginateRest: () => paginateRest, | ||
paginatingEndpoints: () => paginatingEndpoints | ||
}); | ||
module.exports = __toCommonJS(dist_src_exports); | ||
// pkg/dist-src/version.js | ||
var VERSION = "9.2.0"; | ||
var VERSION = "9.3.0-beta.1"; | ||
@@ -392,4 +363,3 @@ // pkg/dist-src/normalize-paginated-list-response.js | ||
paginateRest.VERSION = VERSION; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
export { | ||
composePaginateRest, | ||
@@ -399,2 +369,2 @@ isPaginatingEndpoint, | ||
paginatingEndpoints | ||
}); | ||
}; |
@@ -1,4 +0,4 @@ | ||
const VERSION = "9.2.0"; | ||
const VERSION = "9.3.0-beta.1"; | ||
export { | ||
VERSION | ||
}; |
import type { Octokit } from "@octokit/core"; | ||
import type { MapFunction, PaginationResults, RequestParameters, Route, RequestInterface } from "./types"; | ||
import type { MapFunction, PaginationResults, RequestParameters, Route, RequestInterface } from "./types.js"; | ||
export declare function paginate(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters, mapFn?: MapFunction): Promise<PaginationResults>; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "9.2.0"; | ||
export declare const VERSION = "9.3.0-beta.1"; |
// pkg/dist-src/version.js | ||
var VERSION = "9.2.0"; | ||
var VERSION = "9.3.0-beta.1"; | ||
@@ -4,0 +4,0 @@ // pkg/dist-src/normalize-paginated-list-response.js |
@@ -6,3 +6,4 @@ { | ||
}, | ||
"version": "9.2.0", | ||
"type": "module", | ||
"version": "9.3.0-beta.1", | ||
"description": "Octokit plugin to paginate REST API endpoint responses", | ||
@@ -21,8 +22,8 @@ "repository": "github:octokit/plugin-paginate-rest.js", | ||
"peerDependencies": { | ||
"@octokit/core": ">=5" | ||
"@octokit/core": ">=6" | ||
}, | ||
"devDependencies": { | ||
"@octokit/core": "^5.1.0", | ||
"@octokit/core": "^6.0.0", | ||
"@octokit/plugin-rest-endpoint-methods": "^10.4.0", | ||
"@octokit/tsconfig": "^2.0.0", | ||
"@octokit/tsconfig": "^3.0.0", | ||
"@types/fetch-mock": "^7.3.1", | ||
@@ -32,3 +33,3 @@ "@types/jest": "^29.0.0", | ||
"esbuild": "^0.20.0", | ||
"fetch-mock": "^9.0.0", | ||
"fetch-mock": "npm:@gr2m/fetch-mock@9.11.0-pull-request-644.1", | ||
"github-openapi-graphql-query": "^4.0.0", | ||
@@ -35,0 +36,0 @@ "glob": "^10.2.5", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Yes
200589
3168
2