create depreciation scanning tool

This commit is contained in:
zefie
2026-05-03 15:23:23 -04:00
parent 4347543ef7
commit 0c5dc17ae6
5 changed files with 408 additions and 17 deletions

View File

@@ -0,0 +1,18 @@
[
{
"id": "session_data.hasCap",
"pattern": "session\\_data\\.hasCap\\s*\\(",
"flags": "g",
"message": "session_data.hasCap() is deprecated and will be removed",
"removeVersion": "0.9.80",
"replacement": "Use session_data.capabilities.get() instead"
},
{
"id": "getServiceString",
"pattern": "(?<!wtvshared\\.)getServiceString\\s*\\(",
"flags": "g",
"message": "getServiceString() is deprecated and will be removed",
"removeVersion": "0.9.80",
"replacement": "Use wtvshared.getServiceString() instead"
}
]