@octokit/plugin-paginate-graphql
Advanced tools
Comparing version 5.2.3 to 5.2.4
@@ -40,3 +40,3 @@ // pkg/dist-src/errors.js | ||
); | ||
if (paginatedResourcePath === null || paginatedResourcePath.length === 0) { | ||
if (paginatedResourcePath.length === 0) { | ||
throw new MissingPageInfo(responseData); | ||
@@ -50,6 +50,6 @@ } | ||
const currentValue = object[key]; | ||
if (currentValue.hasOwnProperty(searchProp)) { | ||
return currentPath; | ||
} | ||
if (isObject(currentValue)) { | ||
if (currentValue.hasOwnProperty(searchProp)) { | ||
return currentPath; | ||
} | ||
const result = deepFindPathToProperty( | ||
@@ -56,0 +56,0 @@ currentValue, |
@@ -8,3 +8,3 @@ import { MissingPageInfo } from "./errors.js"; | ||
); | ||
if (paginatedResourcePath === null || paginatedResourcePath.length === 0) { | ||
if (paginatedResourcePath.length === 0) { | ||
throw new MissingPageInfo(responseData); | ||
@@ -18,6 +18,6 @@ } | ||
const currentValue = object[key]; | ||
if (currentValue.hasOwnProperty(searchProp)) { | ||
return currentPath; | ||
} | ||
if (isObject(currentValue)) { | ||
if (currentValue.hasOwnProperty(searchProp)) { | ||
return currentPath; | ||
} | ||
const result = deepFindPathToProperty( | ||
@@ -24,0 +24,0 @@ currentValue, |
@@ -1,4 +0,4 @@ | ||
const VERSION = "5.2.3"; | ||
const VERSION = "5.2.4"; | ||
export { | ||
VERSION | ||
}; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "5.2.3"; | ||
export declare const VERSION = "5.2.4"; |
@@ -8,3 +8,3 @@ { | ||
"type": "module", | ||
"version": "5.2.3", | ||
"version": "5.2.4", | ||
"description": "Octokit plugin to paginate GraphQL API endpoint responses", | ||
@@ -25,7 +25,7 @@ "repository": "github:octokit/plugin-paginate-graphql.js", | ||
"@octokit/plugin-rest-endpoint-methods": "^13.0.0", | ||
"@octokit/tsconfig": "^3.0.0", | ||
"@octokit/tsconfig": "^4.0.0", | ||
"@types/fetch-mock": "^7.3.1", | ||
"@types/jest": "^29.0.0", | ||
"@types/node": "^20.0.0", | ||
"esbuild": "^0.23.0", | ||
"esbuild": "^0.24.0", | ||
"fetch-mock": "npm:@gr2m/fetch-mock@9.11.0-pull-request-644.1", | ||
@@ -32,0 +32,0 @@ "glob": "^10.2.6", |
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
35373