turf-buffer
turf-buffer copied to clipboard
Updating jsts dependency for react-native compatibility
Hi,
The current version of jsts that this package uses exports a global (jsts) unexplicitly (i.e., not window.jsts)
This breaks the package in (react native's) strict mode.
I updated the dependency and used the GeoJSONWriter (the GeoJSONParser is gone in the latest version of jsts).
When shrinkwrapping I got weird results (probably because I am using npm@3?) It adds all dependencies (including devDependencies) to the shrinkwrap, and marks jsts as @latest, I guess the idea is that it locks it at a specific version, so I guess we will have to update the npm-shrinkwrap.json manually.
Thanks for turf, I enjoy using it a lot
+1
+1
+1
+1
+1 Would love to see this occur.
(bump) +1