Skip to content

[Snyk] Upgrade @octokit/plugin-rest-endpoint-methods from 10.0.0 to 14.0.0 #159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented May 7, 2025

snyk-top-banner

Snyk has created this PR to upgrade @octokit/plugin-rest-endpoint-methods from 10.0.0 to 14.0.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 34 versions ahead of your current version.

  • The recommended version was released a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Insecure Randomness
SNYK-JS-UNDICI-8641354
67 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-OCTOKITREQUESTERROR-8730854
67 Proof of Concept
low severity Information Exposure
SNYK-JS-UNDICI-5962466
67 No Known Exploit
low severity Permissive Cross-domain Policy with Untrusted Domains
SNYK-JS-UNDICI-6252336
67 No Known Exploit
low severity Improper Access Control
SNYK-JS-UNDICI-6564963
67 No Known Exploit
low severity Improper Authorization
SNYK-JS-UNDICI-6564964
67 No Known Exploit
Release notes
Package name: @octokit/plugin-rest-endpoint-methods
  • 14.0.0 - 2025-04-10

    14.0.0 (2025-04-10)

    Features

    • add new organization campaign endpoints, remove deprecated endpoints (#797) (4c8a166)

    BREAKING CHANGES

    • remove deprecated copilot metrics endpoints
    • remove deprecated legacy projects endpoints
  • 13.5.0 - 2025-03-18

    13.5.0 (2025-03-18)

    Features

    • new /orgs/{org}/issue-types, /orgs/{org}/issue-types/{issue_type_id} enpoints (#792) (58d342e)
  • 13.4.0 - 2025-03-18

    13.4.0 (2025-03-18)

    Features

    • new /enterprises/{enterprise}/actions/hosted-runners, /orgs/{org}/actions/hosted-runners, /orgs/{org}/settings/network-configurations, /orgs/{org}/rulesets/{ruleset_id}/history,/repos/{owner}/{repo}/rulesets/{ruleset_id}/history endpoints (#791) (b3fe977)
  • 13.3.2-cjs.1 - 2025-02-26

    13.3.2-cjs.1 (2025-02-26)

    Important

    This is a special release to backport newer changes to CJS and address a ReDos vulnerability

    Bug Fixes

    • backport fixes and endpoints from v13.3.1 (de45eb1)
    • release: add prerelease flag (99baedc)

    Reverts

    • Revert "feat: package is now ESM (#716)" (f0e9b87)
    • Revert "fix: add main entry point (#719)" (8a45428)
    • Revert "fix(pkg): add a default fallback export (#733)" (8251b8e)
    • Revert "fix(pkg): correct path in default export fallback to point to the JS and not the types (#736)" (4aed459)
  • 13.3.1 - 2025-02-07

    13.3.1 (2025-02-07)

    Bug Fixes

    • deps: bump @ octokit/types - only changes to graphQL (#783) (519a1ab)
  • 13.3.0 - 2025-01-08

    13.3.0 (2025-01-08)

    Features

    • new action runner groups endpoints, new code scanning alerts autofix endpoints, new sub-issues endpoints, new private registries enpoints, new code security endpoints, various description updates (#777) (5e1ecd4)
  • 13.2.6 - 2024-10-03

    13.2.6 (2024-10-03)

    Bug Fixes

  • 13.2.5 - 2024-09-27

    13.2.5 (2024-09-27)

    Bug Fixes

    • typescript: bump octokit/types for types for request.request.signal (#771) (24f5176)
  • 13.2.4 - 2024-07-02

    13.2.4 (2024-07-02)

    Bug Fixes

  • 13.2.2 - 2024-05-02

    13.2.2 (2024-05-02)

    **Special release to backport new REST API changes to v10/CJS users**

    Reverts

    • Revert "feat: package is now ESM (#716)" (f0e9b87), closes #716
    • Revert "fix: add main entry point (#719)" (8a45428), closes #719
    • Revert "fix(pkg): add a default fallback export (#733)" (8251b8e), closes #733
    • Revert "fix(pkg): correct path in default export fallback to point to the JS and not the types (#736)" (4aed459), closes #736
  • 13.2.1 - 2024-04-30
  • 13.2.0 - 2024-04-29
  • 13.1.1 - 2024-04-24
  • 13.1.0 - 2024-04-22
  • 13.0.1 - 2024-04-16
  • 13.0.0 - 2024-04-15
  • 12.2.2 - 2024-04-09
  • 12.2.1 - 2024-04-09
  • 12.2.0 - 2024-04-05
  • 12.1.0 - 2024-04-03
  • 12.0.0 - 2024-04-03
  • 11.0.1 - 2024-02-27
  • 11.0.0 - 2024-02-25
  • 10.4.1 - 2024-03-01
  • 10.4.0 - 2024-02-22
  • 10.3.0 - 2024-02-15
  • 10.2.0 - 2023-11-28
  • 10.1.5 - 2023-11-14
  • 10.1.4 - 2023-11-12
  • 10.1.3 - 2023-11-09
  • 10.1.2 - 2023-10-26
  • 10.1.1 - 2023-10-25
  • 10.1.0 - 2023-10-24
  • 10.0.1 - 2023-10-11
  • 10.0.0 - 2023-09-23
from @octokit/plugin-rest-endpoint-methods GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Summary by Sourcery

Upgrade @octokit/plugin-rest-endpoint-methods from version 10.0.0 to 14.0.0 to address multiple security vulnerabilities

New Features:

  • Add new organization campaign endpoints

Bug Fixes:

  • Address multiple security vulnerabilities in the package

….0.0

Snyk has created this PR to upgrade @octokit/plugin-rest-endpoint-methods from 10.0.0 to 14.0.0.

See this package in npm:
@octokit/plugin-rest-endpoint-methods

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/1dea72f1-7418-4449-b0b9-c8d4eb19cc09?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented May 7, 2025

Reviewer's Guide

This pull request upgrades the @octokit/plugin-rest-endpoint-methods dependency from version 10.0.0 to 14.0.0 in the packages/github/package.json file. This is a major version update and includes breaking changes such as the removal of deprecated endpoints and the addition of new ones.

Class Diagram: API Evolution of @octokit/plugin-rest-endpoint-methods (v10.0.0 to v14.0.0)

classDiagram
    class OctokitPluginRestEndpointMethods {
        <<Library: @octokit/plugin-rest-endpoint-methods>>
        version: "10.0.0 -> 14.0.0"
        -- Removed Endpoints (Breaking Change in v14.0.0) --
        - DeprecatedCopilotMetricsEndpoints()
        - DeprecatedLegacyProjectsEndpoints()
        -- Added Endpoints (Examples from v13.x - v14.0.0) --
        + NewOrganizationCampaignEndpoints()
        + NewOrgIssueTypesEndpoints()
        + NewActionsHostedRunnersEndpoints()
        + NewOrgNetworkConfigurationsEndpoints()
        + NewRulesetHistoryEndpoints()
        + NewCodeScanningAutofixEndpoints()
        + NewSubIssuesEndpoints()
        + NewPrivateRegistriesEndpoints()
        + NewCodeSecurityEndpoints()
    }
    note for OctokitPluginRestEndpointMethods "Highlights API changes in @octokit/plugin-rest-endpoint-methods from v10 to v14. Key breaking changes in v14 include removal of deprecated Copilot Metrics and Legacy Projects endpoints. Numerous new endpoints were added across versions 13.x and 14.0.0, enhancing capabilities for organization campaigns, issue types, hosted runners, code scanning, and more."
Loading

File-Level Changes

Change Details Files
Upgraded @octokit/plugin-rest-endpoint-methods dependency.
  • Updated the version of @octokit/plugin-rest-endpoint-methods from 10.0.0 to 14.0.0.
  • This is a major version upgrade which, according to the release notes, removes deprecated copilot metrics and legacy projects endpoints.
  • The new version introduces new organization campaign endpoints.
  • This upgrade also addresses multiple security vulnerabilities.
packages/github/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants