Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No URLPattern polyfill #1279

Open
barry3406 opened this issue Mar 1, 2023 · 4 comments
Open

No URLPattern polyfill #1279

barry3406 opened this issue Mar 1, 2023 · 4 comments
Labels
library Relates to an Origami library

Comments

@barry3406
Copy link

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。

@github-actions github-actions bot added the library Relates to an Origami library label Mar 1, 2023
@origamiserviceuser origamiserviceuser added this to Backlog in Origami ✨ Mar 1, 2023
@mhassan1
Copy link
Collaborator

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.

@JakeChampion
Copy link
Owner

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 ☺️

@mhassan1
Copy link
Collaborator

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.

@JakeChampion
Copy link
Owner

JakeChampion commented May 11, 2023

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

@robertboulton robertboulton removed this from Backlog in Origami ✨ Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
library Relates to an Origami library
Projects
None yet
Development

No branches or pull requests

3 participants