Skip to content

Commit dcfddcb

Browse files
authored
ConsoleJanitor: Add HLJS deprecations (#3062)
1 parent 9d3c91e commit dcfddcb

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/plugins/consoleJanitor/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ export default definePlugin({
6666
},
6767

6868
patches: [
69+
{
70+
find: "https://github.com/highlightjs/highlight.js/issues/2277",
71+
replacement: {
72+
match: /(?<=&&\()console.log\(`Deprecated.+?`\),/,
73+
replace: ""
74+
}
75+
},
6976
{
7077
find: 'react-spring: The "interpolate" function',
7178
replacement: {

0 commit comments

Comments
 (0)