Skip to content

Commit

Permalink
Merge pull request #120 from babbel/dependabot/npm_and_yarn/octokit/p…
Browse files Browse the repository at this point in the history
…lugin-paginate-graphql-5.2.4

Bump @octokit/plugin-paginate-graphql from 5.2.3 to 5.2.4
  • Loading branch information
jansiwy authored Oct 12, 2024
2 parents 1f731a6 + b514957 commit e3c81e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32908,7 +32908,7 @@ function findPaginatedResourcePath(responseData) {
responseData,
"pageInfo"
);
if (paginatedResourcePath === null || paginatedResourcePath.length === 0) {
if (paginatedResourcePath.length === 0) {
throw new MissingPageInfo(responseData);
}
return paginatedResourcePath;
Expand All @@ -32917,10 +32917,10 @@ var deepFindPathToProperty = (object, searchProp, path = []) => {
for (const key of Object.keys(object)) {
const currentPath = [...path, key];
const currentValue = object[key];
if (currentValue.hasOwnProperty(searchProp)) {
return currentPath;
}
if (isObject(currentValue)) {
if (currentValue.hasOwnProperty(searchProp)) {
return currentPath;
}
const result = deepFindPathToProperty(
currentValue,
searchProp,
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e3c81e3

Please sign in to comment.