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
4
Versions
112
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 7.1.2 to 8.0.0

2

dist-node/index.js

@@ -31,3 +31,3 @@ "use strict";

// pkg/dist-src/version.js
var VERSION = "7.1.2";
var VERSION = "8.0.0";

@@ -34,0 +34,0 @@ // pkg/dist-src/normalize-paginated-list-response.js

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

const VERSION = "7.1.2";
const VERSION = "8.0.0";
export {
VERSION
};

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

export declare const VERSION = "7.1.2";
export declare const VERSION = "8.0.0";
// pkg/dist-src/version.js
var VERSION = "7.1.2";
var VERSION = "8.0.0";

@@ -4,0 +4,0 @@ // pkg/dist-src/normalize-paginated-list-response.js

@@ -6,3 +6,3 @@ {

},
"version": "7.1.2",
"version": "8.0.0",
"description": "Octokit plugin to paginate REST API endpoint responses",

@@ -18,11 +18,11 @@ "repository": "github:octokit/plugin-paginate-rest.js",

"dependencies": {
"@octokit/tsconfig": "^2.0.0",
"@octokit/types": "^9.3.2"
"@octokit/types": "^11.0.0"
},
"peerDependencies": {
"@octokit/core": ">=4"
"@octokit/core": ">=5"
},
"devDependencies": {
"@octokit/core": "^4.0.0",
"@octokit/plugin-rest-endpoint-methods": "^7.2.1",
"@octokit/core": "^5.0.0",
"@octokit/plugin-rest-endpoint-methods": "^9.0.0",
"@octokit/tsconfig": "^2.0.0",
"@types/fetch-mock": "^7.3.1",

@@ -37,3 +37,3 @@ "@types/jest": "^29.0.0",

"npm-run-all": "^4.1.5",
"prettier": "2.8.8",
"prettier": "3.0.0",
"semantic-release-plugin-update-version-in-files": "^1.0.0",

@@ -40,0 +40,0 @@ "ts-jest": "^29.0.0",

@@ -93,3 +93,3 @@ # plugin-paginate-rest.js

},
(response) => response.data.map((issue) => issue.title)
(response) => response.data.map((issue) => issue.title),
);

@@ -114,3 +114,3 @@ ```

return response.data;
}
},
);

@@ -143,3 +143,3 @@ ```

"GET /repos/{owner}/{repo}/issues",
parameters
parameters,
)) {

@@ -163,3 +163,3 @@ // do whatever you want with each response, break out of the loop, etc.

octokit.rest.issues.listForRepo,
parameters
parameters,
)) {

@@ -242,3 +242,3 @@ // do whatever you want with each response, break out of the loop, etc.

endpoint: E,
parameters?: PaginatingEndpoints[E]["parameters"]
parameters?: PaginatingEndpoints[E]["parameters"],
): Promise<DataType<PaginatingEndpoints[E]["response"]>> {

@@ -245,0 +245,0 @@ return await composePaginateRest(octokit, endpoint, parameters);

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