Sandino
Sandino
This could be fixed adding a Map() polyfill
+1 we are facing the exact same problem
Maybe somehow related to what is happening to us, not exact the same as I said before but really similar: https://github.com/facebook/jest/issues/13208
How about: ``` app.get('/api/secureSite', app.oauth.authenticate(), (req, res, next) => { console.log(res.locals.oauth.token); next(); }, HERE_YOUR_ACTUAL_MIDELWARE_HANDLER_FOR_THE_ENDPOINT ); ```
Can I help anyway to make this PR merged? I think this is very important, Currently many projects use webpack or rollup, and having this library not being tree shakable...