question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IE11 breaks due to untranspiled 3rd party code in Choices.js bundle

See original GitHub issue

Hi there! Thank you for an amazing plugin, I’ve been using it for couple of years now with great success.

This week I’ve tried to update Choices.js to 6.0.0 in one of my projects and I’ve encountered an issue in IE11. Specifically, the output in /node_modules/choices.js/public/assets/scripts/choices.js contain let and const keywords, which are not supported by IE11; I’ve seen some arrow functions as well. I don’t believe these can be polyfilled.

Any idea if this is an error with the library or is it expected? I wouldn’t want to run babel on node_modules tho.

Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

4reactions
jshjohnsoncommented, Feb 19, 2019

Fuse has been upgraded in 6.0.1 which should fix this problem. Thanks for highlighting it 👍

1reaction
jordilopezcommented, Feb 18, 2019

@jshjohnson

Hi! Looks like this has been fixed on fuse.js@v3.4.2

https://github.com/krisk/Fuse/pull/289

Read more comments on GitHub >

github_iconTop Results From Across the Web

IE11 breaks due to untranspiled 3rd party code in Choices.js ...
js to 6.0.0 in one of my projects and I've encountered an issue in IE11. Specifically, the output in /node_modules/choices.js/public/assets/ ...
Read more >
Why does IE11 seem to be truncating my JS file?
The script was actually breaking on a fat arrow but it was hard to see that because of the minification of the code....
Read more >
choices.js - npm
A vanilla JS customisable text input/select box plugin. ... Start using choices.js in your project by running `npm i choices.js`.
Read more >
I Used The Web For A Day On Internet Explorer 8
This article is part of a series in which I attempt to use the web under various constraints, representing a given demographic of...
Read more >
@okta/okta-auth-js | Yarn - Package Manager
Authorize options ; prompt, Determines whether the Okta login will be displayed on failure. Use none to prevent this behavior. Valid values: none...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found