Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@octokit/plugin-paginate-rest

Package Overview
Dependencies
Maintainers
3
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/plugin-paginate-rest - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

2

dist-node/index.js

@@ -5,3 +5,3 @@ 'use strict';

const VERSION = "2.2.1";
const VERSION = "2.2.2";

@@ -8,0 +8,0 @@ /**

@@ -1,1 +0,1 @@

export const VERSION = "2.2.1";
export const VERSION = "2.2.2";
import { Endpoints } from "@octokit/types";
export interface PaginatingEndpoints {
/**
* @see https://developer.github.com/v3/apps/#list-installations
* @see https://developer.github.com/v3/apps/#list-installations-for-the-authenticated-app
*/

@@ -32,3 +32,3 @@ "GET /app/installations": {

/**
* @see https://developer.github.com/v3/gists/comments/#list-comments-on-a-gist
* @see https://developer.github.com/v3/gists/comments/#list-gist-comments
*/

@@ -68,11 +68,4 @@ "GET /gists/:gist_id/comments": {

/**
* @see https://developer.github.com/v3/gitignore/#listing-available-templates
* @see https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation
*/
"GET /gitignore/templates": {
parameters: Endpoints["GET /gitignore/templates"]["parameters"];
response: Endpoints["GET /gitignore/templates"]["response"];
};
/**
* @see https://developer.github.com/v3/apps/installations/#list-repositories
*/
"GET /installation/repositories": {

@@ -92,9 +85,2 @@ parameters: Endpoints["GET /installation/repositories"]["parameters"];

/**
* @see https://developer.github.com/v3/licenses/#list-commonly-used-licenses
*/
"GET /licenses": {
parameters: Endpoints["GET /licenses"]["parameters"];
response: Endpoints["GET /licenses"]["response"];
};
/**
* @see https://developer.github.com/v3/apps/marketplace/#list-plans

@@ -135,3 +121,3 @@ */

/**
* @see https://developer.github.com/v3/orgs/#list-all-organizations
* @see https://developer.github.com/v3/orgs/#list-organizations
*/

@@ -159,4 +145,22 @@ "GET /organizations": {

/**
* @see https://developer.github.com/v3/orgs/blocking/#list-blocked-users
* @see https://developer.github.com/v3/actions/secrets/#list-organization-secrets
*/
"GET /orgs/:org/actions/secrets": {
parameters: Endpoints["GET /orgs/:org/actions/secrets"]["parameters"];
response: Endpoints["GET /orgs/:org/actions/secrets"]["response"] & {
data: Endpoints["GET /orgs/:org/actions/secrets"]["response"]["data"]["secrets"];
};
};
/**
* @see https://developer.github.com/v3/actions/secrets/#list-selected-repositories-for-an-organization-secret
*/
"GET /orgs/:org/actions/secrets/:secret_name/repositories": {
parameters: Endpoints["GET /orgs/:org/actions/secrets/:secret_name/repositories"]["parameters"];
response: Endpoints["GET /orgs/:org/actions/secrets/:secret_name/repositories"]["response"] & {
data: Endpoints["GET /orgs/:org/actions/secrets/:secret_name/repositories"]["response"]["data"]["repositories"];
};
};
/**
* @see https://developer.github.com/v3/orgs/blocking/#list-users-blocked-by-an-organization
*/
"GET /orgs/:org/blocks": {

@@ -167,3 +171,3 @@ parameters: Endpoints["GET /orgs/:org/blocks"]["parameters"];

/**
* @see https://developer.github.com/v3/orgs/#list-credential-authorizations-for-an-organization
* @see https://developer.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization
*/

@@ -175,3 +179,3 @@ "GET /orgs/:org/credential-authorizations": {

/**
* @see https://developer.github.com/v3/orgs/hooks/#list-hooks
* @see https://developer.github.com/v3/orgs/hooks/#list-organization-webhooks
*/

@@ -183,3 +187,3 @@ "GET /orgs/:org/hooks": {

/**
* @see https://developer.github.com/v3/orgs/#list-installations-for-an-organization
* @see https://developer.github.com/v3/orgs/#list-app-installations-for-an-organization
*/

@@ -214,3 +218,3 @@ "GET /orgs/:org/installations": {

/**
* @see https://developer.github.com/v3/orgs/members/#members-list
* @see https://developer.github.com/v3/orgs/members/#list-organization-members
*/

@@ -236,3 +240,3 @@ "GET /orgs/:org/members": {

/**
* @see https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators
* @see https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators-for-an-organization
*/

@@ -251,3 +255,3 @@ "GET /orgs/:org/outside_collaborators": {

/**
* @see https://developer.github.com/v3/orgs/members/#public-members-list
* @see https://developer.github.com/v3/orgs/members/#list-public-organization-members
*/

@@ -266,3 +270,3 @@ "GET /orgs/:org/public_members": {

/**
* @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-in-an-organization
* @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-an-organization
*/

@@ -290,3 +294,3 @@ "GET /orgs/:org/team-sync/groups": {

/**
* @see https://developer.github.com/v3/teams/discussion_comments/#list-comments
* @see https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments
*/

@@ -333,3 +337,3 @@ "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments": {

/**
* @see https://developer.github.com/v3/teams/#list-team-repos
* @see https://developer.github.com/v3/teams/#list-team-repositories
*/

@@ -357,3 +361,3 @@ "GET /orgs/:org/teams/:team_slug/repos": {

/**
* @see https://developer.github.com/v3/projects/collaborators/#list-collaborators
* @see https://developer.github.com/v3/projects/collaborators/#list-project-collaborators
*/

@@ -404,3 +408,3 @@ "GET /projects/:project_id/collaborators": {

/**
* @see https://developer.github.com/v3/actions/workflow-runs/#list-repository-workflow-runs
* @see https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs-for-a-repository
*/

@@ -432,3 +436,3 @@ "GET /repos/:owner/:repo/actions/runs": {

/**
* @see https://developer.github.com/v3/actions/secrets/#list-secrets-for-a-repository
* @see https://developer.github.com/v3/actions/secrets/#list-repository-secrets
*/

@@ -474,9 +478,2 @@ "GET /repos/:owner/:repo/actions/secrets": {

/**
* @see https://developer.github.com/v3/repos/branches/#list-required-status-checks-contexts-of-protected-branch
*/
"GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": {
parameters: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"]["parameters"];
response: Endpoints["GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"]["response"];
};
/**
* @see https://developer.github.com/v3/checks/runs/#list-check-run-annotations

@@ -498,4 +495,11 @@ */

/**
* @see https://developer.github.com/v3/repos/collaborators/#list-collaborators
* @see https://developer.github.com/v3/code-scanning/#list-code-scanning-alerts-for-a-repository
*/
"GET /repos/:owner/:repo/code-scanning/alerts": {
parameters: Endpoints["GET /repos/:owner/:repo/code-scanning/alerts"]["parameters"];
response: Endpoints["GET /repos/:owner/:repo/code-scanning/alerts"]["response"];
};
/**
* @see https://developer.github.com/v3/repos/collaborators/#list-repository-collaborators
*/
"GET /repos/:owner/:repo/collaborators": {

@@ -520,3 +524,3 @@ parameters: Endpoints["GET /repos/:owner/:repo/collaborators"]["parameters"];

/**
* @see https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository
* @see https://developer.github.com/v3/repos/commits/#list-commits
*/

@@ -535,3 +539,3 @@ "GET /repos/:owner/:repo/commits": {

/**
* @see https://developer.github.com/v3/repos/comments/#list-comments-for-a-single-commit
* @see https://developer.github.com/v3/repos/comments/#list-commit-comments
*/

@@ -543,3 +547,3 @@ "GET /repos/:owner/:repo/commits/:commit_sha/comments": {

/**
* @see https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-commit
* @see https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-a-commit
*/

@@ -569,3 +573,3 @@ "GET /repos/:owner/:repo/commits/:commit_sha/pulls": {

/**
* @see https://developer.github.com/v3/repos/statuses/#list-statuses-for-a-specific-ref
* @see https://developer.github.com/v3/repos/statuses/#list-commit-statuses-for-a-reference
*/

@@ -577,3 +581,3 @@ "GET /repos/:owner/:repo/commits/:ref/statuses": {

/**
* @see https://developer.github.com/v3/repos/#list-contributors
* @see https://developer.github.com/v3/repos/#list-repository-contributors
*/

@@ -599,9 +603,2 @@ "GET /repos/:owner/:repo/contributors": {

/**
* @see https://developer.github.com/v3/repos/downloads/#list-downloads-for-a-repository
*/
"GET /repos/:owner/:repo/downloads": {
parameters: Endpoints["GET /repos/:owner/:repo/downloads"]["parameters"];
response: Endpoints["GET /repos/:owner/:repo/downloads"]["response"];
};
/**
* @see https://developer.github.com/v3/repos/forks/#list-forks

@@ -621,3 +618,3 @@ */

/**
* @see https://developer.github.com/v3/repos/hooks/#list-hooks
* @see https://developer.github.com/v3/repos/hooks/#list-repository-webhooks
*/

@@ -629,3 +626,3 @@ "GET /repos/:owner/:repo/hooks": {

/**
* @see https://developer.github.com/v3/repos/invitations/#list-invitations-for-a-repository
* @see https://developer.github.com/v3/repos/invitations/#list-repository-invitations
*/

@@ -644,3 +641,3 @@ "GET /repos/:owner/:repo/invitations": {

/**
* @see https://developer.github.com/v3/issues/comments/#list-comments-on-an-issue
* @see https://developer.github.com/v3/issues/comments/#list-issue-comments
*/

@@ -652,3 +649,3 @@ "GET /repos/:owner/:repo/issues/:issue_number/comments": {

/**
* @see https://developer.github.com/v3/issues/events/#list-events-for-an-issue
* @see https://developer.github.com/v3/issues/events/#list-issue-events
*/

@@ -660,3 +657,3 @@ "GET /repos/:owner/:repo/issues/:issue_number/events": {

/**
* @see https://developer.github.com/v3/issues/labels/#list-labels-on-an-issue
* @see https://developer.github.com/v3/issues/labels/#list-labels-for-an-issue
*/

@@ -675,3 +672,3 @@ "GET /repos/:owner/:repo/issues/:issue_number/labels": {

/**
* @see https://developer.github.com/v3/issues/timeline/#list-events-for-an-issue
* @see https://developer.github.com/v3/issues/timeline/#list-timeline-events-for-an-issue
*/

@@ -683,3 +680,3 @@ "GET /repos/:owner/:repo/issues/:issue_number/timeline": {

/**
* @see https://developer.github.com/v3/issues/comments/#list-comments-in-a-repository
* @see https://developer.github.com/v3/issues/comments/#list-issue-comments-for-a-repository
*/

@@ -698,3 +695,3 @@ "GET /repos/:owner/:repo/issues/comments": {

/**
* @see https://developer.github.com/v3/issues/events/#list-events-for-a-repository
* @see https://developer.github.com/v3/issues/events/#list-issue-events-for-a-repository
*/

@@ -713,3 +710,3 @@ "GET /repos/:owner/:repo/issues/events": {

/**
* @see https://developer.github.com/v3/issues/labels/#list-all-labels-for-this-repository
* @see https://developer.github.com/v3/issues/labels/#list-labels-for-a-repository
*/

@@ -721,3 +718,3 @@ "GET /repos/:owner/:repo/labels": {

/**
* @see https://developer.github.com/v3/repos/#list-languages
* @see https://developer.github.com/v3/repos/#list-repository-languages
*/

@@ -729,3 +726,3 @@ "GET /repos/:owner/:repo/languages": {

/**
* @see https://developer.github.com/v3/issues/milestones/#list-milestones-for-a-repository
* @see https://developer.github.com/v3/issues/milestones/#list-milestones
*/

@@ -737,3 +734,3 @@ "GET /repos/:owner/:repo/milestones": {

/**
* @see https://developer.github.com/v3/issues/labels/#get-labels-for-every-issue-in-a-milestone
* @see https://developer.github.com/v3/issues/labels/#list-labels-for-issues-in-a-milestone
*/

@@ -752,3 +749,3 @@ "GET /repos/:owner/:repo/milestones/:milestone_number/labels": {

/**
* @see https://developer.github.com/v3/repos/pages/#list-pages-builds
* @see https://developer.github.com/v3/repos/pages/#list-github-pages-builds
*/

@@ -774,3 +771,3 @@ "GET /repos/:owner/:repo/pages/builds": {

/**
* @see https://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request
* @see https://developer.github.com/v3/pulls/comments/#list-review-comments-on-a-pull-request
*/

@@ -796,3 +793,3 @@ "GET /repos/:owner/:repo/pulls/:pull_number/comments": {

/**
* @see https://developer.github.com/v3/pulls/review_requests/#list-review-requests
* @see https://developer.github.com/v3/pulls/review_requests/#list-requested-reviewers-for-a-pull-request
*/

@@ -806,3 +803,3 @@ "GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": {

/**
* @see https://developer.github.com/v3/pulls/reviews/#list-reviews-on-a-pull-request
* @see https://developer.github.com/v3/pulls/reviews/#list-reviews-for-a-pull-request
*/

@@ -814,4 +811,11 @@ "GET /repos/:owner/:repo/pulls/:pull_number/reviews": {

/**
* @see https://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository
* @see https://developer.github.com/v3/pulls/reviews/#list-comments-for-a-pull-request-review
*/
"GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments": {
parameters: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"]["parameters"];
response: Endpoints["GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"]["response"];
};
/**
* @see https://developer.github.com/v3/pulls/comments/#list-review-comments-in-a-repository
*/
"GET /repos/:owner/:repo/pulls/comments": {

@@ -829,3 +833,3 @@ parameters: Endpoints["GET /repos/:owner/:repo/pulls/comments"]["parameters"];

/**
* @see https://developer.github.com/v3/repos/releases/#list-releases-for-a-repository
* @see https://developer.github.com/v3/repos/releases/#list-releases
*/

@@ -837,3 +841,3 @@ "GET /repos/:owner/:repo/releases": {

/**
* @see https://developer.github.com/v3/repos/releases/#list-assets-for-a-release
* @see https://developer.github.com/v3/repos/releases/#list-release-assets
*/

@@ -859,3 +863,3 @@ "GET /repos/:owner/:repo/releases/:release_id/assets": {

/**
* @see https://developer.github.com/v3/repos/#list-tags
* @see https://developer.github.com/v3/repos/#list-repository-tags
*/

@@ -867,3 +871,3 @@ "GET /repos/:owner/:repo/tags": {

/**
* @see https://developer.github.com/v3/repos/#list-teams
* @see https://developer.github.com/v3/repos/#list-repository-teams
*/

@@ -882,3 +886,3 @@ "GET /repos/:owner/:repo/teams": {

/**
* @see https://developer.github.com/v3/scim/#get-a-list-of-provisioned-identities
* @see https://developer.github.com/v3/scim/#list-scim-provisioned-identities
*/

@@ -899,3 +903,3 @@ "GET /scim/v2/organizations/:org/Users": {

/**
* @see https://developer.github.com/v3/teams/discussion_comments/#list-comments-legacy
* @see https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments-legacy
*/

@@ -942,3 +946,3 @@ "GET /teams/:team_id/discussions/:discussion_number/comments": {

/**
* @see https://developer.github.com/v3/teams/#list-team-repos-legacy
* @see https://developer.github.com/v3/teams/#list-team-repositories-legacy
*/

@@ -973,3 +977,3 @@ "GET /teams/:team_id/repos": {

/**
* @see https://developer.github.com/v3/users/blocking/#list-blocked-users
* @see https://developer.github.com/v3/users/blocking/#list-users-blocked-by-the-authenticated-user
*/

@@ -981,3 +985,3 @@ "GET /user/blocks": {

/**
* @see https://developer.github.com/v3/users/emails/#list-email-addresses-for-a-user
* @see https://developer.github.com/v3/users/emails/#list-email-addresses-for-the-authenticated-user
*/

@@ -996,3 +1000,3 @@ "GET /user/emails": {

/**
* @see https://developer.github.com/v3/users/followers/#list-users-followed-by-the-authenticated-user
* @see https://developer.github.com/v3/users/followers/#list-the-people-the-authenticated-user-follows
*/

@@ -1004,3 +1008,3 @@ "GET /user/following": {

/**
* @see https://developer.github.com/v3/users/gpg_keys/#list-your-gpg-keys
* @see https://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-the-authenticated-user
*/

@@ -1012,3 +1016,3 @@ "GET /user/gpg_keys": {

/**
* @see https://developer.github.com/v3/apps/installations/#list-installations-for-a-user
* @see https://developer.github.com/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token
*/

@@ -1022,3 +1026,3 @@ "GET /user/installations": {

/**
* @see https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-installation
* @see https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token
*/

@@ -1039,3 +1043,3 @@ "GET /user/installations/:installation_id/repositories": {

/**
* @see https://developer.github.com/v3/users/keys/#list-your-public-keys
* @see https://developer.github.com/v3/users/keys/#list-public-ssh-keys-for-the-authenticated-user
*/

@@ -1061,3 +1065,3 @@ "GET /user/keys": {

/**
* @see https://developer.github.com/v3/orgs/members/#list-your-organization-memberships
* @see https://developer.github.com/v3/orgs/members/#list-organization-memberships-for-the-authenticated-user
*/

@@ -1076,3 +1080,3 @@ "GET /user/memberships/orgs": {

/**
* @see https://developer.github.com/v3/orgs/#list-your-organizations
* @see https://developer.github.com/v3/orgs/#list-organizations-for-the-authenticated-user
*/

@@ -1084,3 +1088,3 @@ "GET /user/orgs": {

/**
* @see https://developer.github.com/v3/users/emails/#list-public-email-addresses-for-a-user
* @see https://developer.github.com/v3/users/emails/#list-public-email-addresses-for-the-authenticated-user
*/

@@ -1092,3 +1096,3 @@ "GET /user/public_emails": {

/**
* @see https://developer.github.com/v3/repos/invitations/#list-a-users-repository-invitations
* @see https://developer.github.com/v3/repos/invitations/#list-repository-invitations-for-the-authenticated-user
*/

@@ -1114,3 +1118,3 @@ "GET /user/repository_invitations": {

/**
* @see https://developer.github.com/v3/teams/#list-user-teams
* @see https://developer.github.com/v3/teams/#list-teams-for-the-authenticated-user
*/

@@ -1122,3 +1126,3 @@ "GET /user/teams": {

/**
* @see https://developer.github.com/v3/users/#get-all-users
* @see https://developer.github.com/v3/users/#list-users
*/

@@ -1137,3 +1141,3 @@ "GET /users": {

/**
* @see https://developer.github.com/v3/users/followers/#list-users-followed-by-another-user
* @see https://developer.github.com/v3/users/followers/#list-the-people-a-user-follows
*/

@@ -1166,3 +1170,3 @@ "GET /users/:username/following": {

/**
* @see https://developer.github.com/v3/orgs/#list-user-organizations
* @see https://developer.github.com/v3/orgs/#list-organizations-for-a-user
*/

@@ -1169,0 +1173,0 @@ "GET /users/:username/orgs": {

@@ -1,1 +0,1 @@

export declare const VERSION = "2.2.1";
export declare const VERSION = "2.2.2";

@@ -1,2 +0,2 @@

const VERSION = "2.2.1";
const VERSION = "2.2.2";

@@ -3,0 +3,0 @@ /**

{
"name": "@octokit/plugin-paginate-rest",
"description": "Octokit plugin to paginate REST API endpoint responses",
"version": "2.2.1",
"version": "2.2.2",
"license": "MIT",

@@ -20,3 +20,3 @@ "files": [

"dependencies": {
"@octokit/types": "^4.0.1"
"@octokit/types": "^5.0.0"
},

@@ -31,10 +31,11 @@ "devDependencies": {

"@types/fetch-mock": "^7.3.1",
"@types/jest": "^25.1.0",
"@types/node": "^13.1.0",
"@types/jest": "^26.0.0",
"@types/node": "^14.0.4",
"fetch-mock": "^9.0.0",
"jest": "^24.9.0",
"jest": "^26.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"semantic-release": "^17.0.0",
"semantic-release-plugin-update-version-in-files": "^1.0.0",
"ts-jest": "^25.1.0",
"ts-jest": "^26.0.0",
"typescript": "^3.7.2"

@@ -41,0 +42,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc