You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is fine, but with the package using UMD and ES5-compatible syntax and no mention of an ES6 dependency, it took me by surprise when testing it in older browsers as part of QUnit (ref qunitjs/qunit#1440).
I'd recommend shipping a 5-line shim for the basic string map use case (or to document the dependency with a recommendation to use es6-shim or something like that?).
The following is what I ended up using in QUnit for fuzzysort:
The commits 82e8403 and b36ea4d added use of ES6 Map.
This is fine, but with the package using UMD and ES5-compatible syntax and no mention of an ES6 dependency, it took me by surprise when testing it in older browsers as part of QUnit (ref qunitjs/qunit#1440).
I'd recommend shipping a 5-line shim for the basic string map use case (or to document the dependency with a recommendation to use es6-shim or something like that?).
The following is what I ended up using in QUnit for fuzzysort:
The text was updated successfully, but these errors were encountered: