according to the documentation this feature is available since Node.js v10.0.0
Chrome 32, but it does not seem to be available on n8n because when I try to reference the class I got an error message: URL is not defined
I am using n8n v1.32.2 at the moment.
any Idea how to work around this issue?
n8n version: 1.32.2
Database (default: SQLite): default
n8n EXECUTIONS_PROCESS setting (default: own, main): main
Running n8n via (Docker, npm, n8n cloud, desktop app): docker
I was able to make it work, I had to manually import the module in order to make it work, I thought the import was done automatically (the documentation should be more clear about it.
in order to use this module:
const url = require('node:url');
let x = new url.URL("https://localhost/abc")