fix(deps): update @octokit/core to 6.1.4 #1361
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Situation
Dependabot reports:
1.0.0
, <5.1.1
needing patched version5.1.1
and versions >=6.0.0
, <6.1.7
needing patched version6.1.7
1.0.0
, <9.2.1
needing patched version9.2.1
Assessment
These are the current dependency hierarchies:
As potential mitigation paths:
@octokit/[email protected] uses vulnerable
"@octokit/request-error": "^3.0.0"
@octokit/[email protected] uses vulnerable
"@octokit/request": "^8.3.1"
leaving only:
@octokit/[email protected] that resolves the vulnerabilities and that is the lowest possible version
Other compatibility considerations:
@octokit/[email protected] migrated to be an ESM package
Loading ECMAScript modules using require() was added into Node.js
v20.17.0
GitHub Actions
node20
usesNODE20_VERSION="20.18.2"
(see https://github.com/actions/runner/blob/main/src/Misc/externals.sh) and so supportsrequire(ESM)
.Change
@octokit/core is updated from @octokit/[email protected] to @octokit/[email protected]
This resolves the vulnerabilities reported by Dependabot.