From b3cfc64fae967019c76c77f3aa5fb45dc59f8f95 Mon Sep 17 00:00:00 2001 From: Sebastian Poxhofer <secustor@users.noreply.github.com> Date: Sun, 28 Jan 2024 21:38:48 +0100 Subject: [PATCH] feat(replacements): add migration from passport-saml to @node-saml/passport-saml (#26902) --- lib/config/presets/internal/replacements.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/config/presets/internal/replacements.ts b/lib/config/presets/internal/replacements.ts index 208282cce9..d04968eec0 100644 --- a/lib/config/presets/internal/replacements.ts +++ b/lib/config/presets/internal/replacements.ts @@ -24,6 +24,7 @@ export const presets: Record<string, Preset> = { 'replacements:now-to-vercel', 'replacements:npm-run-all-to-maintenance-fork', 'replacements:parcel-css-to-lightningcss', + 'replacements:passport-saml', 'replacements:react-query-devtools-to-scoped', 'replacements:react-query-to-scoped', 'replacements:react-scripts-ts-to-react-scripts', @@ -640,6 +641,17 @@ export const presets: Record<string, Preset> = { }, ], }, + 'passport-saml': { + description: '`passport-saml` was renamed to `@node-saml/passport-saml`.', + packageRules: [ + { + matchDatasources: ['npm'], + matchPackageNames: ['passport-saml'], + replacementName: '@node-saml/passport-saml', + replacementVersion: '4.0.4', + }, + ], + }, 'react-query-devtools-to-scoped': { description: '`react-query/devtools` became scoped under the `tanstack` organization.', -- GitLab