tradle / rn-nodeify

hack to allow react-native projects to use node core modules, and npm modules that use them
MIT License
616 stars 112 forks source link

please update npm #33

Closed dpxcc closed 6 years ago

dpxcc commented 7 years ago

The buffer package in npm is outdated. buffer@3.3.0 does not have Buffer.alloc function.

After using the latest version of buffer, I'm able to use webtorrent now.

mvayngrib commented 7 years ago

@dpxcc agreed, and in my project, i use buffer@4.x. However, I'm a bit reluctant to update just one package, as it might not be compatible with the other shims. Are you up to adapting the combination from here https://github.com/webpack/node-libs-browser/blob/master/package.json and making a PR?

mvayngrib commented 6 years ago

closing as the buffer dependency has been updated