Repository navigation
How to address such vulnerabilities? #20620
0.5.4 does not exist. |
Replies: 2 comments 1 reply
|
the summary doesn't identify what needs fixing. if you have the earlier audit output, or the warnings return, could you share the affected package and advisory link from |
|
Both warnings are one advisory: GHSA-rj75-hqrm-r3gf in Undo the downgrade and override the transitive version instead: {
"dependencies": {
"@tailwindcss/typography": "^0.5.20"
},
"overrides": {
"@tailwindcss/typography": {
"postcss-selector-parser": "^6.1.5"
}
}
}npm install
npm ls postcss-selector-parser # 6.1.5
npm audit # found 0 vulnerabilitiesI checked that |
Both warnings are one advisory: GHSA-rj75-hqrm-r3gf in
postcss-selector-parser(fixed in 6.1.5).@tailwindcss/typography@0.5.20pins that dependency to exactly6.0.10, so npm can't update it inside the allowed range.npm audit fix --force"fixes" it by going back to typography0.5.4, an old release from before that dependency existed. That's why it looked like a version that doesn't exist.Undo the downgrade and override the transitive version instead:
{ "dependencies": { "@tailwindcss/typography": "^0.5.20" }, "overrides": { "@tailwindcss/typography": { "postcss-selector-parser": "^6.1.5" } } }npm install npm ls postcss-selector-parser # 6.1.5 npm audit …