Skip to content

Fix Node.js deprecated warning#9742

Open
pmario wants to merge 1 commit intoTiddlyWiki:masterfrom
pmario:node-listen-deprecated-warning-9628
Open

Fix Node.js deprecated warning#9742
pmario wants to merge 1 commit intoTiddlyWiki:masterfrom
pmario:node-listen-deprecated-warning-9628

Conversation

@pmario
Copy link
Copy Markdown
Member

@pmario pmario commented Mar 16, 2026

Fix Node.js deprecation warning DEP0169 in server module

Replace deprecated url.parse() with the WHATWG URL API in core-server/server/server.js.

Changes

  • url.parse(request.url)new URL(request.url, "http://localhost")
  • querystring.parse(urlInfo.query)Object.fromEntries(urlInfo.searchParams)
  • Removed unused url and querystring module requires

Fixes #9628

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 16, 2026

Deploy Preview for tiddlywiki-previews ready!

Name Link
🔨 Latest commit e367440
🔍 Latest deploy log https://app.netlify.com/projects/tiddlywiki-previews/deploys/69b7eec8b43b740008f99e75
😎 Deploy Preview https://deploy-preview-9742--tiddlywiki-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link
Copy Markdown

Confirmed: pmario has already signed the Contributor License Agreement (see contributing.md)

@github-actions
Copy link
Copy Markdown

⚠️ Change Note Status

This PR appears to contain code changes but doesn't include a change note.

Please add a change note by creating a .tid file in editions/tw5.com/tiddlers/releasenotes/<version>/

📚 Documentation: Release Notes and Changes

💡 Note: If this is a documentation-only change, you can ignore this message.

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.

TiddlyWiki5 on Node.js warning message

1 participant