// const URL = require('node:url')
//
// const url = 'https://github.com:8080/aaa?x=1#s=2'
//
// const urlObj = new URL.URL(url)
// console.log('new URL.URL(url) -> ', urlObj)
//
// // eslint-disable-next-line node/no-deprecated-api
// const urlObj2 = URL.parse(url)
// console.log('\nURL.parse(url) -> ', urlObj2)
//
// console.log('\n`urlObj.pathname + urlObj.search === urlObj2.path` =', urlObj.pathname + urlObj.search === urlObj2.path)
