Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapPolyfill dropped from HashMap #4

Open
ath0mas opened this issue Feb 5, 2018 · 1 comment
Open

MapPolyfill dropped from HashMap #4

ath0mas opened this issue Feb 5, 2018 · 1 comment

Comments

@ath0mas
Copy link

ath0mas commented Feb 5, 2018

Even if turf-jsts is ES6, when used in Turf targeting ES5, some syntax breaks its ES5 compatibility
(see Turfjs/turf/issues/1245)

Map
while jsts uses ES6 too, it still imports a polyfill for Map when building HashMap : lines 6-20
turf-jsts recently changed those lines, dropping use of MapPolyfill for a direct call to Map : line 15
change made in 1a9635e between v1.1.0 and v1.1.1 😢

@pbrain19
Copy link

:(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants