From 4a687a12220d75ea1a1c07f5acfc39c33d0f530d Mon Sep 17 00:00:00 2001 From: Asger F Date: Wed, 27 Aug 2025 11:21:18 +0200 Subject: [PATCH] JS: Add deprecated alias The old DbLocation class was public, hence the alias --- javascript/ql/lib/semmle/javascript/Locations.qll | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/javascript/ql/lib/semmle/javascript/Locations.qll b/javascript/ql/lib/semmle/javascript/Locations.qll index a36e7807e5d..a3ad79ef93e 100644 --- a/javascript/ql/lib/semmle/javascript/Locations.qll +++ b/javascript/ql/lib/semmle/javascript/Locations.qll @@ -149,3 +149,8 @@ class Locatable extends @locatable { */ string getAPrimaryQlClass() { result = "???" } } + +/** + * DEPRECATED. Use `Location` instead. + */ +deprecated class DbLocation = Location;