Closed gouldingken closed 7 years ago
Also, there are breaking changes in the 2.0.0 API.
Installing mime@1.4.0 manually in my own project pegged node-static to use the same version (because of the range) which is a workaround for now at least.
I had to peg mine at 1.3.6
Fixed & published.
The latest version of the "mime" module requires ES6 support (just released 9/12/2017).
The simplest solution to continue to allow broad Node.js support would be to update package.json to use more specific versioning (currently just > "mime": ">=1.2.9").
I guess 1.x.x would do the trick and prevent these kinds of breaking changes.