mathjax / MathJax-node

MathJax for Node
Apache License 2.0
615 stars 97 forks source link

Install gives deprecation warning on one dependency #370

Closed dietmarw closed 6 years ago

dietmarw commented 6 years ago

Installing the latest version v1.2.1 gives the following warning

npm WARN deprecated content-type-parser@1.0.2:
  This package has been renamed whatwg-mimetype; please upgrade.

So it would be good to update the dependency.

dpvc commented 6 years ago

Mathjax-node has only two direct dependencies: jsdom and MathJax itself. So this dependency probably is coming from jsdom, and would need to be reported there, as it is not something we can change ourselves.

dietmarw commented 6 years ago

Ah ok. I was confused by the package-lock.json file. So this can probably be closed then.

dietmarw commented 6 years ago

Now that I know what to look for I found an already existing ticket on this :-) tmpvar/jsdom#2078

dpvc commented 6 years ago

Thanks for the report, and the follow up. We appreciate it even if it wasn't something we could fix.

pkra commented 6 years ago

In summary, this is a duplicate of #325 as only upgrading jsdom past v10 will get us this fix.