turf-buffer icon indicating copy to clipboard operation
turf-buffer copied to clipboard

Updating jsts dependency for react-native compatibility

Open vespakoen opened this issue 9 years ago • 6 comments

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

vespakoen avatar Apr 08 '16 18:04 vespakoen

+1

vkarpov15 avatar May 13 '16 23:05 vkarpov15

+1

emgeee avatar May 13 '16 23:05 emgeee

+1

diegonetto avatar May 13 '16 23:05 diegonetto

+1

alexhidalgo avatar May 13 '16 23:05 alexhidalgo

+1 Would love to see this occur.

jaketangosierra avatar Jun 03 '16 22:06 jaketangosierra

(bump) +1

ghengeveld avatar Sep 19 '16 12:09 ghengeveld