This fix is to cover the PR feedback given by @StephenAWalsh on my previous PR (#291).
It was as simple as running the JS through babel's babel-loader rather than having it use whatever it does by default (I honestly never delved into it)
It should be ES5 compatible now, I ran it through es-check:
$ es-check es5 ./dist/fuse.js
ES-Check: there were no ES version matching errors! �
(and manually confirmed the arrow functions are gone)
I also updated the Jest dependencies in ebfdc6d since they were showing as having updates available and might as well stay updated I'd say.
This fix is to cover the PR feedback given by @StephenAWalsh on my previous PR (#291).
It was as simple as running the JS through babel's babel-loader rather than having it use whatever it does by default (I honestly never delved into it)
It should be ES5 compatible now, I ran it through es-check:
(and manually confirmed the arrow functions are gone)
I also updated the Jest dependencies in ebfdc6d since they were showing as having updates available and might as well stay updated I'd say.