ConsoleJanitor: Add HLJS deprecations (#3062)

This commit is contained in:
sadan4 2024-12-10 16:37:21 -05:00 committed by GitHub
parent 9d3c91e9df
commit dcfddcbc21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,6 +66,13 @@ export default definePlugin({
},
patches: [
{
find: "https://github.com/highlightjs/highlight.js/issues/2277",
replacement: {
match: /(?<=&&\()console.log\(`Deprecated.+?`\),/,
replace: ""
}
},
{
find: 'react-spring: The "interpolate" function',
replacement: {