mesqueeb/case-anything

Doesn't support older JS runtimes due to `String.matchAll`

pilotmoon opened this issue · 1 comments

I tried to update the version of case-anything I'm using in PopClip to 2.x but ran into a small problem. It crashes when I run it on High Sierra (and possibly other older macOS) because the JavaScriptCore runtime on those systems is too old to support String.matchAll(), which is used in the utils module.

If it were possible to use String.match() instead I think it would work. It's not a showstopper because I can easily carry on using 1.x which actually works really well anyway.

I'm closing this issue because it has become moot; I'm now using core-js to add polyfills to support older macOS versions.