I'm doing npm update and now things do not work quite as they used to.
A little background: in my code I use jquery to parse textual html. I do not use a window and I don't use jsdom. It used to work just fine to do this:
$ = require("jquery");
$(html).find("<h1>").html("The title");
But now I get this: jQuery requires a window with a document
How do I fix this?