Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: replace deprecatedurl.parse withnew URL#1927

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Steve-Mcl wants to merge5 commits intomqttjs:main
base:main
Choose a base branch
Loading
fromSteve-Mcl:1569-ws-whatwg-url

Conversation

@Steve-Mcl
Copy link

closes#1569

Alters internal processing of connection URL. Removesurl.parse and usesnew URL

This is done in a backwards compatible manor however I would recommend updating all types and function signatures to use the theURL object instead of astring (or as well as) but that may be more suited to a major bump.

NOTE: there are some TODOs in the code that need to be understood (and removed).

@Steve-MclSteve-Mcl changed the titleReplaceurl.parse withnew URL()fix: IPV6 parsingAug 15, 2024
@Steve-Mcl
Copy link
Author

@robertsLando is there something I need to do to permit tests to run?

@robertsLando
Copy link
Member

@Steve-Mcl sorry I was on vacation till yesterday. I have to approve your PR in order to allow test to run, done now. I will also do a quick review

@robertsLandorobertsLando changed the titlefix: IPV6 parsingfix: replace deprecatedurl.parse withnew URLAug 28, 2024
@robertsLando
Copy link
Member

robertsLando commentedAug 28, 2024
edited
Loading

I know there have been another try to do this in the past:#1147 then reverted#1217

Problem is that it has been reverted as it caused many compatibility issues. We need to track all possible issues related to this change as I'm pretty sure I will get lot of reports if/when I merge this

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

When connectingws://[::1]:8883, an error is thrown - Uncaught TypeError TypeError [ERR_INVALID_URL]: Invalid URL

2 participants

@Steve-Mcl@robertsLando

[8]ページ先頭

©2009-2025 Movatter.jp