Skip to content

Commit

Permalink
feat(replacements): add mem to memoize rename (#27847)
Browse files Browse the repository at this point in the history
Co-authored-by: Rhys Arkins <rhys@arkins.net>
  • Loading branch information
cprecioso and rarkins committed Mar 12, 2024
1 parent 6aec35e commit af5b08f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/config/presets/internal/replacements.ts
Expand Up @@ -22,6 +22,7 @@ export const presets: Record<string, Preset> = {
'replacements:joi-to-scoped',
'replacements:joi-to-unscoped',
'replacements:k8s-registry-move',
'replacements:mem-rename',
'replacements:middie-to-scoped',
'replacements:now-to-vercel',
'replacements:npm-run-all-to-maintenance-fork',
Expand Down Expand Up @@ -648,6 +649,18 @@ export const presets: Record<string, Preset> = {
},
],
},
'mem-rename': {
description: '`mem` was renamed to `memoize`.',
packageRules: [
{
matchCurrentVersion: '^10.0.0',
matchDatasources: ['npm'],
matchPackageNames: ['mem'],
replacementName: 'memoize',
replacementVersion: '10.0.0',
},
],
},
'middie-to-scoped': {
description: '`middie` became scoped.',
packageRules: [
Expand Down

0 comments on commit af5b08f

Please sign in to comment.