The source project of this merge request has been removed.
WIP: Deprecate jsUnit and lang modules.
Deprecation should be explicit.
Todo
-
Move to an exported js Function via imports.gi.GjsPrivate
-
Deprecation notices / documentation -
Have a look at https://gitlab.gnome.org/GNOME/gjs/blob/master/gjs/deprecation.cpp
It could also be done in cpp land a-la https://gitlab.gnome.org/GNOME/gjs/blob/master/gjs/deprecation.cpp and export a js_func but I don't see any benefit for deprecating modules, maybe later for deprecating functions/methods and logging once.
Edited by Philip Chimento