setup-node/.licenses/npm
Copilot e51e5fe84f
fix: update brace-expansion to patch GHSA-3jxr-9vmj-r5cp (exponential-time DoS) (#1599)
* Initial plan

* fix: update brace-expansion to address GHSA-3jxr-9vmj-r5cp and rebuild dist

- brace-expansion 1.1.13 → 1.1.16 (GHSA-3jxr-9vmj-r5cp patched floor: 1.1.16)
- brace-expansion 2.1.1 → 2.1.2 (GHSA-3jxr-9vmj-r5cp patched floor: 2.1.2)
- brace-expansion 5.0.6 → 5.0.8 (GHSA-3jxr-9vmj-r5cp patched floor: 5.0.7; also fixes GHSA-mh99-v99m-4gvg)
- Regenerated package-lock.json
- Rebuilt dist/setup/index.js and dist/cache-save/index.js with patched dependency

Closes #1596

* fix: eliminate remaining brace-expansion vulnerabilities and update license cache

## Basic validation CI fix
Add `overrides` in package.json to eliminate all brace-expansion 1.x and 2.x
from the dependency tree, resolving GHSA-mh99-v99m-4gvg for all packages:
- `"@actions/glob": "$@actions/glob"` - forces @actions/cache to use the
  root @actions/glob@0.7.0 (minimatch@10.x → brace-expansion@5.0.8) instead
  of its bundled @actions/glob@0.6.1 (minimatch@3.x → brace-expansion@1.x)
- `"glob": {"minimatch": "^10.2.5"}` - forces glob@10.x to use
  minimatch@10.x → brace-expansion@5.0.8 instead of minimatch@9.x → brace-expansion@2.x
- `"test-exclude": "^7.0.2"` - upgrades test-exclude to a version that
  natively uses minimatch@10.x (instead of @3.x), removing brace-expansion@1.x
  from the jest coverage instrumentation path

`npm audit --audit-level=high` now reports 0 vulnerabilities.

## Licensed CI fix
Update .licenses/npm/ cache to match the new dependency tree:
- Add: brace-expansion-5.0.8.dep.yml
- Add: minimatch-10.2.6.dep.yml
- Remove stale: brace-expansion-1.1.13.dep.yml (already done in prev commit)
- Remove stale: brace-expansion-5.0.6.dep.yml (already done in prev commit)
- Remove stale: minimatch-3.1.5.dep.yml
- Remove stale: @actions/glob-0.6.1.dep.yml
- Remove stale: concat-map.dep.yml
- Remove stale: balanced-match-1.0.2.dep.yml

Rebuild dist artifacts to include updated brace-expansion.

* fix: replace brace-expansion workarounds with single override

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-07-29 13:03:59 -05:00
..
@actions chore(deps): bump @actions/cache to 6.2.0 (#1584) 2026-07-16 10:32:50 -05:00
@azure Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00
@nodable Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00
@octokit Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00
@protobuf-ts Bump @actions/cache from 4.0.3 to 4.1.0 (#1384) 2025-11-18 14:33:59 -06:00
@typespec Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00
agent-base.dep.yml Bump @actions/cache to v5.0.1 (#1449) 2026-01-13 17:06:04 -06:00
balanced-match.dep.yml fix: update brace-expansion to patch GHSA-3jxr-9vmj-r5cp (exponential-time DoS) (#1599) 2026-07-29 13:03:59 -05:00
before-after-hook.dep.yml Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00
brace-expansion.dep.yml fix: update brace-expansion to patch GHSA-3jxr-9vmj-r5cp (exponential-time DoS) (#1599) 2026-07-29 13:03:59 -05:00
debug.dep.yml Bump @actions/cache to v5.0.1 (#1449) 2026-01-13 17:06:04 -06:00
events.dep.yml regenerate license (#7) 2021-06-29 13:34:35 +03:00
fast-content-type-parse.dep.yml Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00
fast-xml-builder.dep.yml Resolve high-severity audit issues 2026-06-18 17:59:56 -07:00
fast-xml-parser.dep.yml Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00
http-proxy-agent.dep.yml Bump @actions/cache to v5.0.1 (#1449) 2026-01-13 17:06:04 -06:00
https-proxy-agent.dep.yml Bump @actions/cache to v5.0.1 (#1449) 2026-01-13 17:06:04 -06:00
json-with-bigint.dep.yml Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00
minimatch-3.1.5.dep.yml Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00
minimatch-10.2.5.dep.yml Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00
ms.dep.yml Bump @actions/cache to v5.0.1 (#1449) 2026-01-13 17:06:04 -06:00
path-expression-matcher.dep.yml Resolve high-severity audit issues 2026-06-18 17:59:56 -07:00
semver.dep.yml Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00
strnum.dep.yml Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00
tslib.dep.yml Bump @actions/cache to v5.0.1 (#1449) 2026-01-13 17:06:04 -06:00
tunnel.dep.yml Add `Licensed` To Help Verify Prod Licenses (#180) 2020-09-10 09:23:54 -04:00
undici.dep.yml Resolve high-severity audit issues 2026-06-18 17:59:56 -07:00
universal-user-agent.dep.yml Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00
xml-naming.dep.yml Migrate to ESM and upgrade dependencies (#1574) 2026-07-13 21:38:27 -05:00