Using JS as an example here, if I am creating a library/plugin, and intend to make it available to others, should I keep it in Javascript? Or would jQuery be an acceptable dependency? At what point does the ease and added control of coding in jQuery outweigh the potential inconvenience of someone else having to include something they might not have wanted? Or, if like jQuery, the dependency is a very common library already included in most projects already, is it considered fine to use it as a foundation?
Note that I am not asking about something extending something else, but simply using the pre-existing code to program an entirely different library/plugin.