whatwg-mimetype
5.0.0 · 20 Jan 2026MIT220.3M / weekRepositoryHomepagenpmAtom feed
Your version
Release note
Node.js v12 is now the minimum supported version.
Changed the semantics of the isJavaScript() method to allow parameters by default, like the other testing functions and matching the spec definition of JavaScript MIME type. Now you can prohibit parameters by using isJavaScript({ prohibitParameters: true }).
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.