JakeChampion/polyfill-library

No URLPattern polyfill

barry3406 opened this issue · 4 comments

I want to use URLPattern API in my project, but polyfill-library don't have this feature.
URLPattern supported by Chorme 95. Can you support URLPattern?
I can also submit pr if possible。

Here's a popular polyfill, but it uses the u RegExp flag, which may not be polyfillable. There is another polyfill that doesn't use the u flag.

Here's a popular polyfill, but it uses the u RegExp flag, which may not be polyfillable. There is another polyfill that doesn't use the u flag.

The second one by Staltz looks steller! Let's bring that in ☺️

Nevermind, it looks like that polyfill still depends on the u flag (link), so we won't be able to use it in old browsers.

Let's see if that lands, if it does not, we can fork and bring the fork into polyfill-library perhaps -- staltz/urlpattern-polyfill-no-unicode#1