Closed benpptung closed 9 years ago
While doing unit test to upgrade browserify module, I keep to get global leak error, which is introduced due to the following line. I am sorry I see no reason why the replacements variable should be defined in global object. Should it be fixed??
replacements
https://github.com/defunctzombie/node-browser-resolve/blob/master/index.js#L37
seems like a bug/oversight
While doing unit test to upgrade browserify module, I keep to get global leak error, which is introduced due to the following line. I am sorry I see no reason why the
replacements
variable should be defined in global object. Should it be fixed??https://github.com/defunctzombie/node-browser-resolve/blob/master/index.js#L37