Buffer() is Deprecated
On version: 0.5.0, node version 12.13.0.
Warning that shows up:
DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Replicated from calling wkx.Geometry.parseGeoJSON(data).toWkb().toString('base64')
No stack trace, but this usually because the code is using new Buffer(), simply swapping it over to Buffer.from() is more than enough
PR: https://github.com/cschwarz/wkx/pull/42
Buffer also isn't polyfilled by webpack anymore, and the build seems broken in browser.
@cschwarz is this repo abandoned?
@braco same issue, you need to import you own polyfill
https://github.com/feross/buffer