Repository navigation
deps: override qs, body-parser, compression, proxy-addr, moment - #227
Merged
Merged
Conversation
Runtime parents pin the vulnerable releases, so Dependabot cannot bump them. npm overrides force the patched releases: - proxy-addr 2.0.8 (critical, IP spoofing): sails-hook-sockets pins 1.1.5. It calls only proxyaddr() and proxyaddr.all(), unchanged in 2.x. - compression 1.8.2 (high): sails pins 1.8.1. - body-parser 1.20.9 (high): skipper pins 1.20.5. - qs 6.17.1 (medium): express, sails-mongo pin older. - moment 2.31.0 (medium): tempusdominus-core asks ~2.29.2. browserslist@3 and minimatch 5/10 stay: each patched release is a major past what its parent accepts (build chain, dev only). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Clears 5 of the 8 open Dependabot alerts (#110, #109, #116, #118, #93). Their parents pin the vulnerable releases, so no Dependabot PR can reach them.
overridesinpackage.jsonforces the patched release everywhere.proxy-addr is a major jump for sails-hook-sockets. It calls only
proxyaddr()andproxyaddr.all()(lib/receive-incoming-sails-io-msg.js), and both are unchanged in 2.x. Express 4 already used 2.0.7.Left open, recorded in the
comments.overridesentry: browserslist@3 (#84, #85; babel-preset-env in the build chain) and minimatch 5/10 (#131; filelist, eslint; dev only). Each patched release is a major past what its parent accepts.Local:
npm ci --legacy-peer-depsclean,npm test611 passing,npm run test:uiall checks passed. The lockfile keeps@popperjs/core.Docs: none — dependency versions, no visible change.
🤖 Generated with Claude Code