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 Oct 13, 2018. It is now read-only.
Weinre lists an old version of express (uses 2.x, where latest is 4.x). This seems to be what is dictating the version being run by browser-sync, which is frustrating due to issues with the old express version. Specifically, my use-case calls for middleware and it seems as though the res does not have several properties expected by that version of express, including req and app. Here is my BS config:
letbrowserSyncConfig={server: {baseDir: baseDirs,middleware: [function(req,res,next){// expected by node_modules/express/lib/response.js, but all undefined:console.log(typeofres.req);// undefinedconsole.log(typeofres.app);// undefinedconsole.log(typeofres.enabled);// undefinednext();}]},open: false,notify: false};
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://www.bithound.io/github/BrowserSync/UI/master/dependencies/npm#filter-insecure-dep
The text was updated successfully, but these errors were encountered: