Repository navigation
chore(deps-dev): override adm-zip to 0.6.1 for hugo-extended - #93
Merged
Merged
Conversation
hugo-extended 0.168.0 depends on adm-zip ^0.5.17, which has open security alerts fixed in 0.6.1. Dependabot can't update it because the parent range excludes the fix, so pin it with an npm override until hugo-extended widens its range. Signed-off-by: Karishma Chawla <kachawla@microsoft.com>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
DariuszPorowski
approved these changes
Oct 28, 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.
Summary
Adds an npm
overridesentry sohugo-extendedusesadm-zip^0.6.1 instead of 0.5.17, and regenerates the lockfile.Reason for change
hugo-extended0.168.0 (the latest release) depends onadm-zip^0.5.17. The openadm-zipalerts are fixed in 0.6.1, which is outside that range, so Dependabot fails withsecurity_update_not_possible.adm-zipis only used by thehugo-extendedinstall step to unpack the Hugo binary. The override can be removed oncehugo-extendedallows 0.6.x.GHSA-vwc7-r8mq-g2x9 lists no patched version, but its affected range is
<= 0.6.0, so 0.6.1 is outside it.Fixes #92
How to test
npm ci. Thehugo-extendedpostinstall should download and install Hugo 0.168.0.npm ls adm-zipshould showadm-zip@0.6.1underhugo-extended@0.168.0.npm run hugo:versionshould printhugo v0.168.0 ... +extended.npm run buildshould finish without errors.File change summary
package.jsonoverridesforcingadm-zip^0.6.1 forhugo-extended.package-lock.jsonadm-zipfrom 0.5.17 to 0.6.1.