calvinmetcalf / shapefile-js

Convert a Shapefile to GeoJSON. Not many caveats.
http://calvinmetcalf.github.io/shapefile-js/
MIT License
742 stars 231 forks source link

Library ceased to work in client-side applications #210

Closed Christoph142 closed 3 months ago

Christoph142 commented 5 months ago

Hi there, We have been using version 4 in angular in the browser. Updating to version 5 results in an error about "nodebuffer" not being available. Anything that can be done about this?

calvinmetcalf commented 3 months ago

new version 5.1.0 is going to remove all instances of nodebuffer, hang tight

Christoph142 commented 3 months ago

Thanks for the update. Really appreciated! ✌️

calvinmetcalf commented 3 months ago

ok it's actually version 6.0.1 and it's out now

Christoph142 commented 3 months ago

Updated from 4.0.2 to 6.0.1 now. Seems to work flawlessly (had to change the import from dist package to root). Thanks @calvinmetcalf ! 🍻