Skip to content

Conversation

@cschetan77
Copy link
Contributor

@cschetan77 cschetan77 commented Jan 12, 2026

Description

The Node's url.pasre API has been marked deprecated and is recommended to use WHATWG URL API instead.

Internal breaking changes

  • port: When port is not provided in url, URL populates the port as '' , whereas url.parse populates it as null. Both are treated as not set for http/https.
  • path/pathname: In URL, full path with query/search string is constructed via URL.pathname+URL.search, whereas in url.parse the path property does the same job.
  • Error: url.parse silently consumes any error, URL strictly validates the url and throws a TypeError: Invalid URL which needs to be properly handled.

References

Testing

  • Typescript compilation should not throw any deprecation warning on url.parse
  • Providing malformed jwksUri should now throw ArgumentError: Invalid JWKS URI: The provided URI is not a valid URL. error.

@cschetan77 cschetan77 requested a review from a team as a code owner January 12, 2026 09:16
nandan-bhat
nandan-bhat previously approved these changes Jan 13, 2026
@cschetan77 cschetan77 linked an issue Jan 13, 2026 that may be closed by this pull request
4 tasks
cschetan77 and others added 8 commits January 15, 2026 14:54
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.22.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.22.0/History.md)
- [Commits](expressjs/express@4.18.2...4.22.0)

---
updated-dependencies:
- dependency-name: express
  dependency-version: 4.22.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [jws](https://github.com/brianloveswords/node-jws) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/brianloveswords/node-jws/releases)
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md)
- [Commits](auth0/node-jws@v3.2.2...v3.2.3)

---
updated-dependencies:
- dependency-name: jws
  dependency-version: 3.2.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [qs](https://github.com/ljharb/qs) to 6.14.1 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `qs` from 6.11.0 to 6.14.1
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.11.0...v6.14.1)

Updates `express` from 4.18.2 to 4.22.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/v4.22.1/History.md)
- [Commits](expressjs/express@4.18.2...v4.22.1)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
- dependency-name: express
  dependency-version: 4.22.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@cschetan77 cschetan77 merged commit 539521a into master Jan 15, 2026
12 checks passed
@cschetan77 cschetan77 deleted the fix/SDK-7488 branch January 15, 2026 11:15
@cschetan77 cschetan77 mentioned this pull request Jan 15, 2026
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.

jwks-rsa uses url.parse() which has been deprecated in Node 24

3 participants