[Snyk] Security upgrade @octokit/core from 3.5.1 to 6.1.5#107
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-OCTOKITREQUESTERROR-8730854
|
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
…ce undici >=6.24 Snyk flagged 9 transitive vulnerabilities (3 high, 6 moderate) through the old toolchain. Bumps: - @actions/github@2.2.0 -> 6.0.1 - @octokit/core@3.5.1 -> 6.1.5 Both bumps are upstream-recommended (Snyk auto-PR #107 was waiting for the same change). The undici resolution forces the upstream package to pull a fixed version that addresses: - undici WebSocket permessage-deflate unbounded memory consumption - undici WebSocket invalid server_max_window_bits unhandled exception After: 'yarn npm audit --recursive' reports no audit suggestions. Also: lint-staged globs now exclude dist/ explicitly so pre-commit hooks don't fail when the only staged files are in the dist/ ignore-patterned tree (e.g. after a yarn build that touches dist/index.js + sourcemap).
… + husky) (#110) * chore: quality-tightening (yarn 1 -> 4, oxfmt + oxlint + tsc + vitest + husky) Yarn 1 -> 4 migration plus the standard quality-tightening rollout. - Drops yarn 1 lockfile + .yarnrc; adds .yarnrc.yml + mise.toml (node 20.18.0, yarn 4.14.1, actionlint, shellcheck, gitleaks). - prettier -> oxfmt - eslint (with @typescript-eslint, github, jest, prettier, unicorn) -> oxlint with eslint-plugin-unicorn - jest 26 + jest-circus + ts-jest + @types/jest -> vitest 4 + vite 7 + @vitest/coverage-istanbul (jest.config.js removed) - new: tsgo --noEmit (alongside tsc fallback) - husky 7 -> husky 9 with scripts/ensure-husky.mjs self-heal + lint-staged - new: gitleaks, actionlint, shellcheck as mise-managed binaries - TypeScript bumped 4.x -> 5; tsconfig target ES6 -> ES2022 + lib ES2022 + DOM, skipLibCheck on, types: [node]. Test migration (6 files): - Bulk-converted jest.* -> vi.* and added vitest imports. Workflow + action.yml updates: - actions/checkout@v3 -> @v4 across main.yml. - actions/setup-node@v3 -> @v4 with node-version 12.x -> 20.x. - action.yml runs.using 'node12' -> 'node20' (node12 is end-of-life on GitHub Actions and was already an actionlint error). Verified locally: lint 0/5, format clean, typecheck clean, test 21/23 (2 pre-existing skipped), build succeeds, actionlint clean across both workflows. * chore: gitignore yarn 4 cache (.yarn/cache, install-state.gz) Add the standard yarn 4 .gitignore entries so we don't commit the zip cache + install-state.gz. * ci: corepack-enable yarn 4 in main.yml + use mise node + add cache * chore(deps): bump @octokit/core 3 -> 6 + @actions/github 2 -> 6 + force undici >=6.24 Snyk flagged 9 transitive vulnerabilities (3 high, 6 moderate) through the old toolchain. Bumps: - @actions/github@2.2.0 -> 6.0.1 - @octokit/core@3.5.1 -> 6.1.5 Both bumps are upstream-recommended (Snyk auto-PR #107 was waiting for the same change). The undici resolution forces the upstream package to pull a fixed version that addresses: - undici WebSocket permessage-deflate unbounded memory consumption - undici WebSocket invalid server_max_window_bits unhandled exception After: 'yarn npm audit --recursive' reports no audit suggestions. Also: lint-staged globs now exclude dist/ explicitly so pre-commit hooks don't fail when the only staged files are in the dist/ ignore-patterned tree (e.g. after a yarn build that touches dist/index.js + sourcemap).
Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
package.jsonyarn.lockNote for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the
.yarn/cache/directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to runyarnto update the contents of the./yarn/cachedirectory.If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:
SNYK-JS-OCTOKITREQUESTERROR-8730854
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)