fix: replace deprecated url.parse() with new URL()#1803
Merged
titanism merged 1 commit intoforwardemail:masterfrom Apr 29, 2024
Merged
fix: replace deprecated url.parse() with new URL()#1803titanism merged 1 commit intoforwardemail:masterfrom
url.parse() with new URL()#1803titanism merged 1 commit intoforwardemail:masterfrom
Conversation
Collaborator
|
Can you fix merge conflict @alumni ? |
6 tasks
Collaborator
|
released in v9.0.2 |
|
This is possibly a breaking change. Previously, a value like "0.0.0.0" was accepted, while it now errors with "0.0.0.0 is not a valid URL" |
Contributor
Author
|
There's a pr open to fix it ;) |
|
@alumni ah, I was hoping you would review that PR :-D (also, there was an edit in that PR saying it's hard to test) |
alxndrsn
pushed a commit
to alxndrsn/odk-central-backend
that referenced
this pull request
Mar 20, 2025
Related: getodk#1440 This is a precursor to updating supertest to v7.1.0. supertest v7.1.0 updates superagent from v9.0.1 to v9.0.2, which introduces a breaking change courtesy of forwardemail/superagent#1803
This was referenced Mar 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Replaces the other occurrences of
url.parse()withnew URL(). Continuation of PR #1802.