Merge remote-tracking branch 'upstream/dev'

This commit is contained in:
thororen1234 2024-12-12 02:19:56 -05:00
commit fc7827a2f0
9 changed files with 44 additions and 49 deletions

View file

@ -74,9 +74,9 @@ export default definePlugin({
}
},
{
find: 'react-spring: The "interpolate" function',
find: 'The "interpolate" function is deprecated in v10 (use "to" instead)',
replacement: {
match: /,console.warn\('react-spring: The "interpolate" function is deprecated in v10 \(use "to" instead\)'\)/,
match: /,console.warn\(\i\+'The "interpolate" function is deprecated in v10 \(use "to" instead\)'\)/,
replace: ""
}
},
@ -133,7 +133,7 @@ export default definePlugin({
{
find: "Slow dispatch on",
replacement: {
match: /\i\.totalTime>100&&\i\.verbose\("Slow dispatch on ".+?\)\);/,
match: /\i\.totalTime>\i&&\i\.verbose\("Slow dispatch on ".+?\)\);/,
replace: ""
}
},