Repository navigation
fix(deps): update uuid to v11 to patch GHSA-w5hq-g745-h8pq - #16
Merged
Merged
Conversation
uuid is the one runtime dependency with an open advisory (GHSA-w5hq-g745-h8pq, fixed in 11.1.1). The v4 API used by useModal is unchanged and uuid 11 ships its own types, so @types/uuid is dropped. Dev tooling in the same lockfile: - semantic-release 25.0.9 and commitlint 21.2.4 (Node 22.12+, CI runs 22.23.2) - @rollup/plugin-terser 1.0.2 (serialize-javascript 7.1.4), rollup 4.68.8 - @babel/runtime override ^7.26.10 (GHSA-968p-4wvh-cqc8), lodash 4.18.1 - npm update and npm audit fix inside existing ranges npm audit --omit=dev: 0. The full audit keeps only the glob and minimatch copies bundled inside npm (pulled by @semantic-release/npm).
- react-router and react-router-dom 7.18.7 (GHSA-chx6-hx7r-mcp5 and the older 7.x advisories) - ajv 8.20.0 - overrides: uuid ^11.1.1 (the pinned @lomray packages still pull uuid 9) and fast-uri ^3.1.9 npm audit in docs-tests: 0; npm test passes.
|
|
🎉 This PR is included in version 2.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.



Summary
Clears every open Dependabot alert on this repository (71: 55 in the root lockfile, 16 in
docs-tests/package-lock.json) and ships the one runtime fix as a patch release.fix(deps): update uuid to v11 to patch GHSA-w5hq-g745-h8pquuid^9.0.1→^11.1.1(published dependency).src/use-modal.tsonly usesimport { v4 as uuidv4 } from 'uuid', which is unchanged in v11; uuid 11 ships its own types, so@types/uuidis removed.overrides["@babel/runtime"]: ^7.26.10(GHSA-968p-4wvh-cqc8, pulled in by build tooling).@commitlint/*18 → 21 (needs Node ≥ 22.12; CI uses.nvmrc22.23.2),@rollup/plugin-terser0.4 → 1,semantic-release21 → 25 (26 needs Node ≥ 26.13, so it stays on 25).npm audit fixapplied. No blanketnpm update: it hits ERESOLVE onmobx-react-lite.chore(deps): update docs-tests dependenciesreact-router/react-router-dom7.9.0 → 7.18.7,ajv8.17.1 → 8.20.0.overrides:uuid ^11.1.1(the published 2.0.1 still pins uuid 9; this can be dropped once 2.0.2 is out) andfast-uri ^3.1.9.Alert coverage
Checked each alert's vulnerable range against every matching entry in the new lockfiles: 0 of 71 still resolve to a vulnerable version.
fast-urireact-routeruuid@babel/core@babel/runtime@remix-run/router@tootallnate/oncebrace-expansionbracesflattedglobhandlebarsipjs-yamllodashlodash-esminimatchpicomatchpostcss-selector-parserreact-routerrollupserialize-javascriptsigstoretaruuid(npm-bundled)entries live undernode_modules/npm/node_modules/, shipped inside thenpmpackage that@semantic-release/npmdepends on. They are outside the vulnerable ranges now, are never installed into consumer trees and are not part of the published package (pkgRoot: ./lib).Semver
fix(deps)→ patch, 2.0.2. The public API is unchanged, uuid'sv4export is the same, and the published dependency ranges (@lomray/event-manager ^2.0.2,uuid ^11.1.1) need no consumer changes. uuid 11 requires Node ≥ 16 / modern bundlers, the same baseline React 18/19 consumers already have.Verification (Node 22.23.2, npm 10.9.8)
npm ci,npm run test:build-tooling,npm run lint:check,npm run ts:check,npm run build: all pass.lib/use-modal.jsimports in a smoke check.npm audit --omit=dev: 0 vulnerabilities. Fullnpm audit: only moderate npm-bundledglob/minimatchvia@semantic-release/npm.docs-tests:npm ci --legacy-peer-deps,npm test: pass;npm audit: 0 vulnerabilities.