This repository has been archived by the owner on Oct 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
weinre and protractor have security issues #27
Comments
Weinre won't be developed anymore, so might be worth looking for alternatives? https://issues.apache.org/jira/browse/CB-10358 |
+1. 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 let browserSyncConfig = {
server: {
baseDir: baseDirs,
middleware: [function(req, res, next) {
// expected by node_modules/express/lib/response.js, but all undefined:
console.log(typeof res.req); // undefined
console.log(typeof res.app); // undefined
console.log(typeof res.enabled); // undefined
next();
}]
},
open: false,
notify: false
}; |
Sign up for free
to 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: