Skip to content

fix: resolve npm audit failures - #1350

Merged
v-HarithaVattikuti merged 1 commit into
actions:mainfrom
v-HarithaVattikuti:fix/audit-2026-08-17
Aug 18, 2026
Merged

v-HarithaVattikuti merged 1 commit into
actions:mainfrom
v-HarithaVattikuti:fix/audit-2026-08-17

Conversation

@v-HarithaVattikuti

Copy link
Copy Markdown
Contributor

Summary

Fixes the failing basic-validation.yml audit step (npm audit --audit-level=high) caused by known advisories in transitive dependencies.

Vulnerabilities fixed

All are patch-level, non-breaking transitive bumps via npm audit fix; no package.json changes required.

Validation

  • npm audit --audit-level=high → 0 vulnerabilities
  • npm run build → dist/ rebuilt
  • npm run format-check → pass
  • npm run lint → pass
  • npm test → 210/210 tests pass
  • licensed cache + licensed status → 48 dependencies checked, 0 errors

Bumps transitive dependencies to patched versions:
- brace-expansion 5.0.8 -> 5.0.9 (GHSA-rgw5-rvv9-x895)
- js-yaml 3.15.0 -> 3.15.1 (GHSA-5p4m-2wfm-xmqj)
- undici 6.27.0 -> 6.28.0 (GHSA-8xcm-r25x-g524, GHSA-m8rv-5g2x-5cg5, GHSA-v3r7-h72x-cjcm)

Refreshes .licenses/ cache for the updated packages and rebuilds dist/.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 17, 2026 20:18
@v-HarithaVattikuti
v-HarithaVattikuti requested a review from a team as a code owner August 17, 2026 20:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates transitive npm dependencies to clear basic-validation.yml’s npm audit --audit-level=high step, and refreshes the checked-in build artifacts and license metadata accordingly.

Changes:

  • Bumps vulnerable transitive dependencies in package-lock.json (brace-expansion, js-yaml, undici).
  • Rebuilds dist/ bundles to reflect updated dependency code (notably undici + brace-expansion logic changes).
  • Updates licensed dependency metadata for bumped packages.

Reviewed changes

Copilot reviewed 2 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package-lock.json Updates resolved transitive dependency versions to remediate npm audit advisories.
dist/setup/index.js Rebuilt bundle output reflecting updated transitive deps (undici/brace-expansion changes).
dist/cache-save/index.js Rebuilt bundle output reflecting updated transitive deps (undici/brace-expansion changes).
.licenses/npm/undici.dep.yml Updates recorded undici version for license tracking.
.licenses/npm/brace-expansion.dep.yml Updates recorded brace-expansion version for license tracking.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@v-HarithaVattikuti v-HarithaVattikuti changed the title fix: resolve Basic Validation npm audit failures fix: resolve npm audit failures Aug 17, 2026
@v-HarithaVattikuti
v-HarithaVattikuti merged commit 9191ea1 into actions:main Aug 18, 2026
1015 checks passed
luketainton pushed a commit to luketainton/actions_gha-workflows that referenced this pull request Oct 24, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-python](https://github.com/actions/setup-python) | action | minor | `v7.0.0` → `v7.1.0` |

---

### Release Notes

<details>
<summary>actions/setup-python</summary>

### [`v7.1.0`](https://github.com/actions/setup-python/releases/tag/v7.1.0)

[Compare Source](actions/setup-python@v7.0.0...v7.1.0)

##### What's Changed

##### Enhancements

- Add `mirror` and `mirror-token` inputs for custom Python distribution sources by [@&#8203;luhenry](https://github.com/luhenry) in [#&#8203;1302](actions/setup-python#1302)
- Improve error message clarity by [@&#8203;v-lmvysakh](https://github.com/v-lmvysakh) in [#&#8203;1351](actions/setup-python#1351)

##### Dependency Upgrade

- Upgrade browserslist from 4.28.2 to 4.28.9 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1353](actions/setup-python#1353)
- Upgrade [@&#8203;typescript-eslint/parser](https://github.com/typescript-eslint/parser) from 8.62.0 to 8.70.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1343](actions/setup-python#1343)
- Upgrade eslint-plugin-jest from 29.15.2 to 29.16.6 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1342](actions/setup-python#1342)
- Upgrade [@&#8203;vercel/ncc](https://github.com/vercel/ncc) from 0.44.0 to 0.45.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1357](actions/setup-python#1357)
- Upgrade [@&#8203;types/semver](https://github.com/types/semver) from 7.7.1 to 7.8.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1359](actions/setup-python#1359)
- Upgrade undici from 6.28.0 to 6.29.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1364](actions/setup-python#1364)
- Upgrade ts-jest from 29.4.11 to 29.4.14 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1361](actions/setup-python#1361)
- Upgrade brace-expansion from 5.0.9 to 5.0.12 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1365](actions/setup-python#1365)
- Upgrade prettier from 3.8.4 to 3.9.9 and package.json from 7.0.0 to 7.1.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1363](actions/setup-python#1363)
- Upgrade [@&#8203;typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/eslint-plugin) from 8.62.0 to 8.71.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1369](actions/setup-python#1369)
- Upgrade actions/checkout from 7.0.0 to 7.0.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1345](actions/setup-python#1345)
- Upgrade cache to 6.3.0 by [@&#8203;v-HarithaVattikuti](https://github.com/v-HarithaVattikuti) in [#&#8203;1370](actions/setup-python#1370)
- Resolve Basic Validation audit failures by [@&#8203;v-HarithaVattikuti](https://github.com/v-HarithaVattikuti) in [#&#8203;1347](actions/setup-python#1347)
- Resolve npm audit failures by [@&#8203;v-HarithaVattikuti](https://github.com/v-HarithaVattikuti) in [#&#8203;1350](actions/setup-python#1350)

##### New Contributors

- [@&#8203;luhenry](https://github.com/luhenry) made their first contribution in [#&#8203;1302](actions/setup-python#1302)

**Full Changelog**: <actions/setup-python@v7.0.0...v7.1.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNjAuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE2MC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: https://git.tainton.uk/actions/gha-workflows/pulls/132
Reviewed-by: Luke Tainton <luke@tainton.uk>
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
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.

5 participants