Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using `JSON.load` on untrusted input is considered unsafe. While the MIME type definition files would presumably come from a trusted source, there doesn't seem to be a need for the "extra" stuff that `JSON.load` does in here, so switching over to the safer `JSON.parse` API should help to reduce exposure.
- Loading branch information