fix(deps): resolve security advisories in examples dependencies - #289
Merged
Conversation
The examples project pinned @octopusdeploy/api-client to a stale commit (v3.7.0), dragging in vulnerable adm-zip, axios, form-data, follow- redirects, lodash and glob->minimatch->brace-expansion. Refreshes the github pin to current main (3.11.6) and runs npm audit fix to bump the remaining transitive minimatch/brace-expansion (via glob) and diff (via ts-node). npm audit now reports 0 vulnerabilities; examples still compile (tsc). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
liamhughes
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Clears all 9 security advisories flagged in the
examples/project (npm auditnow reports 0 vulnerabilities).Root cause
examples/package-lock.jsonhad the@octopusdeploy/api-clientgithub dependency pinned to a stale commit (v3.7.0), which pulled in outdated, vulnerable transitive deps:adm-zip(<0.6.0),axios,form-data,follow-redirects,lodash, andglob@8.0.3βminimatch/brace-expansion. Onlydiff(viats-node) was unrelated to the api-client.Fix
main(3.11.6) β cascade-clears 6 of the advisories (adm-zip, axios, form-data, follow-redirects, lodash, api-client itself).npm audit fix(non-major) bumps the remaining transitives:minimatchβ 5.1.9,brace-expansionβ 2.1.2,diffβ 4.0.4.Notes
examples/package-lock.jsononly β nopackage.jsonor example source changes.npm run build/ tsc passes) against api-client 3.11.6.π€ Generated with Claude Code