Use userland url module to resolve url.parse deprecation warning#9211
Use userland url module to resolve url.parse deprecation warning#9211mhassan1 wants to merge 1 commit intoyarnpkg:masterfrom
url module to resolve url.parse deprecation warning#9211Conversation
|
I made a note in the issue #9210 that there was a bug in Node.js which caused the deprecation warning DEP0169 to be displayed when it should not have been displayed. The issue has already been resolved in Node.js 25.8.1 and I'd expect it to get backported to Node.js 24 as well. PS: PRs are no longer being accepted for Yarn v1 as it has been frozen for quite a long time now. (I'm not a maintainer, I'm just repeating the message.) |
|
@MikeMcC399 I don't think that bugfix fully resolves the issue; see #9210 (comment). I understand that Yarn v1 is frozen, but hopefully it can be unfrozen to resolve this deprecation warning. |
I suggest that you assume Yarn v1 will never be unfrozen. That would mean either upgrading to a supported Yarn version or migrating to a different package manager. |
This PR adds the
urlpackage from NPM as a drop-in replacement for the built-inurlmodule, which emits deprecation warnings.Resolves #9210 and #9097.