@octokit/plugin-paginate-rest
Advanced tools
Comparing version 7.1.2 to 8.0.0
@@ -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
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
197345
2
16
+ Added@octokit/types@11.1.0(transitive)
- Removed@octokit/tsconfig@^2.0.0
- Removed@octokit/tsconfig@2.0.0(transitive)
- Removed@octokit/types@9.3.2(transitive)
Updated@octokit/types@^11.0.0