Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: accessing
response.data[namespacekey]
in `.paginate(options, …
…mapFn)` map function now logs a deprecation
- Loading branch information
Showing
4 changed files
with
2 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
module.exports = paginatePlugin; | ||
|
||
const iterator = require("./iterator"); | ||
const paginate = require("./paginate"); | ||
const { paginateRest } = require("@octokit/plugin-paginate-rest"); | ||
|
||
function paginatePlugin(octokit) { | ||
octokit.paginate = paginate.bind(null, octokit); | ||
octokit.paginate.iterator = iterator.bind(null, octokit); | ||
Object.assign(octokit, paginateRest(octokit)); | ||
} |
This file was deleted.
Oops, something went wrong.
116 changes: 0 additions & 116 deletions
116
plugins/pagination/normalize-paginated-list-response.js
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.