function requireDependencyWebWorker(name) {
  if (DEPENDENCIES_ALIAS[name]) {
    return DEPENDENCIES_ALIAS[name]
  }
  let url
  try {
    url = new URL(name)
  } catch (e) {
    url = new URL(`${NPM_CDN}${name}`)
  }
  const sUrl = url.toString()
  if (cacheDependenciesTree.has(sUrl)) {
    return cacheDependenciesTree.get(sUrl)
  }
  const v = requireFromUrlWebWorker(sUrl.toString())
  if (v) {
    cacheDependenciesTree.set(sUrl, v)
  }
  return v
}
Reauire a dependency in Web Worker Context

@param {string} name