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

Replaced startsWith with indexOf to Avoid Additional Polyfill Dependencies #1404

Merged
merged 1 commit into from Nov 10, 2023

Conversation

elasim
Copy link
Contributor

@elasim elasim commented Nov 10, 2023

PR will resolve #1403

Since startsWith has a similar level of support as fetch, we have replaced it with indexOf to ensure that the module does not require additional polyfills.

@JakeChampion JakeChampion merged commit a686358 into JakeChampion:main Nov 10, 2023
2 checks passed
hishamhalil added a commit to hishamhalil/fetch that referenced this pull request Nov 25, 2023
@bergmark
Copy link

Could we get a release for this please?

(Deleted my first comment, I thought it had been reverted in this repository...)

@elasim
Copy link
Contributor Author

elasim commented Dec 13, 2023

Looks like I didn't realize that using conventional commit triggers automatic release.

@JakeChampion
How should I go about deploying this?
Is it better for us to wait for other contributions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

suggestion to use str.indexOf(searchString) === 0 for better compatibility
3 participants