host-global-element-access.ts:6:13 - error SC2020: 'URLPattern' is a Node global that native code does not provide

  5 | const scope = globalThis as unknown as Record<string, any>;
  6 | const url = scope["URLPattern"]("https://example.com");
    |             ^~~~~~~~~~~~~~~~~~~
  7 | console.log(url);

  hint: the class exists at run time in Node 24, and native code cannot construct it or provide its members; run the module in a Node island (--node-islands=auto) or avoid the use