You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
/**
* Load an Apache2-style ".types" file
*
* This may be called multiple times (it's expected). Where files declare
* overlapping types/extensions, the last file wins.
*
* @param file (String) path of file to load.
*/
Mime.prototype.load = function(file) {
this._loading = file;
// Read file and split into lines
var map = {},
content = fs.readFileSync(file, 'ascii'),
lines = content.split(/[\r\n]+/);
The text was updated successfully, but these errors were encountered:
You need to update your Request dependency, c.f. this bug request/request#455
Request was using the mime package which was incompatible with Browserify, and switched over mime-types instead.
You should be bumping it to "request": "~2.51.0" at least.
The line that chrome complains about:
In this function:
The text was updated successfully, but these errors were encountered: