- From: Sam Stickland <notifications@github.com>
- Date: Thu, 13 Mar 2025 09:41:50 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/url/issues/864@github.com>
samstickland created an issue (whatwg/url#864) ### What is the issue with the URL Standard? I am getting a very strange deprecation warning about punycode on Node 22: This is the deprecation trace: ``` (node:57992) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. at node:punycode:3:9 at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:399:7) at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:338:10) at loadBuiltinModule (node:internal/modules/helpers:114:7) at Function._load (node:internal/modules/cjs/loader:1100:17) at TracingChannel.traceSync (node:diagnostics_channel:315:14) at wrapModuleLoad (node:internal/modules/cjs/loader:218:24) at Module.require (node:internal/modules/cjs/loader:1340:12) at require (node:internal/modules/helpers:141:16) at Object.<anonymous> (/Users/sam/development/hubbado/hubbado_core/node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js:2:18) ``` But that is very odd because the line reference in whatwg-url is this, which is referencing the user land version: ```js const punycode = require("punycode"); ``` -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/864 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/issues/864@github.com>
Received on Thursday, 13 March 2025 16:41:54 UTC