Skip to content

Commit 9e25bbc

Browse files
committed
JS: Add support for moment-timezone as well
1 parent 7bf21d8 commit 9e25bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/frameworks/DateFunctions.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private module DateFns {
5050
private module Moment {
5151
/** Gets a reference to a `moment` object. */
5252
private API::Node moment() {
53-
result = API::moduleImport("moment")
53+
result = API::moduleImport(["moment", "moment-timezone"])
5454
or
5555
result = moment().getReturn()
5656
or

0 commit comments

Comments
 (0)