Level / level-js

An abstract-leveldown compliant store on top of IndexedDB.
MIT License
544 stars 44 forks source link

fix: add buffer #191

Closed hugomrdias closed 4 years ago

hugomrdias commented 4 years ago

This PR adds the buffer dependency, so we don't need to rely on bundlers outdated magic injections, webpack 5 will actually stop injecting node globals and electron renderer also has issues with undefined node globals depending on how the users compiles and runs the code.

vweevers commented 4 years ago

@hugomrdias /cc @achingbrain IIRC ipfs is on level-js@4, so this will need a backport?

hugomrdias commented 4 years ago

im upgrading to 5 we should not have problems with the serialisation changes.

vweevers commented 4 years ago

5.0.2