Skip to content

Remove url parse in favor of new URL #1694

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

Merged
merged 3 commits into from
Mar 14, 2022

Conversation

OskarDamkjaer
Copy link
Contributor

@OskarDamkjaer OskarDamkjaer commented Mar 3, 2022

Url parse had some security&performance issues we'd like to be rid of. The library itself recommend we switch to just using the built in URL. However we discovered that only safari could handle non-standard protocols (such as bolt://). So we moved to using a polyfil library instead (so that we avoid the security issues and can just remove the dependency, when and if chrome&firefox add proper support for other protocols).

I had to add a workaround in the tests setup to get the tests to pass, I think the new dependency requires node 16, or it seems that way from this issue at least. We should look into upgrading our minimum node version and remove the workaround.

@eijawerner eijawerner merged commit 739d771 into neo4j:master Mar 14, 2022
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.

2 participants