-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(npm)!: drop transitiveRemediation option #27985
Conversation
2e26bda
to
2da2fde
Compare
Previously, config from globalExtends was incorrectly merged _after_ other global config. This meant for example that packageRules in a config.js could not override packageRules from within globalExtends, because they were applied after. Now, globalExtends content will be merged first, and remaining global config merged second. Fixes #28131 BREAKING CHANGE: order of globalExtends resolution is changed so that it is applied first and remaining global config takes precedence.
…t groups (#28193) Co-authored-by: Michael Kriese <[email protected]>
Co-authored-by: Rhys Arkins <[email protected]> Co-authored-by: Sebastian Poxhofer <[email protected]>
fdc9cbb
to
6717725
Compare
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
I think we should also remove the follow code-blocks as they are related to renovate/lib/workers/repository/update/branch/get-updated.ts Lines 97 to 128 in 8ce089b
renovate/lib/workers/repository/updates/flatten.ts Lines 162 to 193 in 8ce089b
|
Could you please comment on the reason for the removal? |
@SchroederSteffen essentially that's it. It was designed at the time for the npm v1 lock file. npm underwent some pretty big rewrites around the time of the v2 lock file, and some missing/changed capabilities in npm meant that we couldn't use some of the same tricks for updating lock files so v2 wasn't able to be immediately done. Years have passed and there hasn't been any contribution or interest in improving it from the community, either in npm or other managers, and now we're left with a feature which only works with a deprecated version of npm |
Thanks for the detailed response! |
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
This option only worked for npm <7, which is now EOL. BREAKING CHANGE: Transitive remediation for npm <7 is no longer supported.
Changes
Remove transitiveRemediation option, as it only works for deprecated npm versions.
BREAKING CHANGE: transitiveRemediation option is removed, will now be ignored.
Context
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: