From 67b2697170fdb33143794f03e06bafe3db38b519 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 12 Oct 2024 04:46:58 +0900 Subject: [PATCH] Bump @octokit/plugin-paginate-graphql from 5.2.2 to 5.2.4 in the octokit-dependencies group across 1 directory (#949) * Bump @octokit/plugin-paginate-graphql Bumps the octokit-dependencies group with 1 update in the / directory: [@octokit/plugin-paginate-graphql](https://github.com/octokit/plugin-paginate-graphql.js). Updates `@octokit/plugin-paginate-graphql` from 5.2.2 to 5.2.4 - [Release notes](https://github.com/octokit/plugin-paginate-graphql.js/releases) - [Commits](https://github.com/octokit/plugin-paginate-graphql.js/compare/v5.2.2...v5.2.4) --- updated-dependencies: - dependency-name: "@octokit/plugin-paginate-graphql" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: octokit-dependencies ... Signed-off-by: dependabot[bot] * `makers setup && makers check` --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kenichi Kamiya --- dist/index.js | 11 +++++------ package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/dist/index.js b/dist/index.js index 69350436..4a85e2ab 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33644,7 +33644,7 @@ var Octokit = class { auth; }; -// node_modules/.pnpm/@octokit+plugin-paginate-graphql@5.2.2_@octokit+core@6.1.2/node_modules/@octokit/plugin-paginate-graphql/dist-bundle/index.js +// node_modules/.pnpm/@octokit+plugin-paginate-graphql@5.2.4_@octokit+core@6.1.2/node_modules/@octokit/plugin-paginate-graphql/dist-bundle/index.js var generateMessage = (path, cursorValue) => `The cursor at "${path.join( "," )}" did not change its value "${cursorValue}" after a page transition. Please make sure your that your query is set up correctly.`; @@ -33690,10 +33690,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, @@ -33738,8 +33738,7 @@ var createIterator = (octokit) => { return { [Symbol.asyncIterator]: () => ({ async next() { - if (!nextPageExists) - return { done: true, value: {} }; + if (!nextPageExists) return { done: true, value: {} }; const response = await octokit.graphql( query, parameters diff --git a/package.json b/package.json index 585a8796..7dcdac76 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@actions/github": "^6.0.0", "@octokit/core": "^6.1.2", "@octokit/graphql-schema": "^15.25.0", - "@octokit/plugin-paginate-graphql": "^5.2.2", + "@octokit/plugin-paginate-graphql": "^5.2.4", "ansi-styles": "^6.2.1", "temporal-polyfill": "^0.2.5", "zod": "^3.23.8" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 82b46f1d..74ea33ac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ dependencies: specifier: ^15.25.0 version: 15.25.0 '@octokit/plugin-paginate-graphql': - specifier: ^5.2.2 - version: 5.2.2(@octokit/core@6.1.2) + specifier: ^5.2.4 + version: 5.2.4(@octokit/core@6.1.2) ansi-styles: specifier: ^6.2.1 version: 6.2.1 @@ -617,8 +617,8 @@ packages: resolution: {integrity: sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ==} dev: false - /@octokit/plugin-paginate-graphql@5.2.2(@octokit/core@6.1.2): - resolution: {integrity: sha512-7znSVvlNAOJisCqAnjN1FtEziweOHSjPGAuc5W58NeGNAr/ZB57yCsjQbXDlWsVryA7hHQaEQPcBbJYFawlkyg==} + /@octokit/plugin-paginate-graphql@5.2.4(@octokit/core@6.1.2): + resolution: {integrity: sha512-pLZES1jWaOynXKHOqdnwZ5ULeVR6tVVCMm+AUbp0htdcyXDU95WbkYdU4R2ej1wKj5Tu94Mee2Ne0PjPO9cCyA==} engines: {node: '>= 18'} peerDependencies: '@octokit/core': '>=6'