Dennis is allowed to stop working on something he's not being paid for. If anyone doesn't think this is the case, they should take a long hard look at their supply chain security posture.
For that matter, even if someone is being paid to work on something today, they're not obligated to keep working on it forever.
When the world found out OpenSSL was maintained by one guy in a basement they rallied around him and supported him. From what it sounds like, the author of core-js is threatening to blow up the internet by deleting his package or weaponizing it with malware.