fix: new URL("", import.meta.url) should be pure
#12076
Merged
new URL("", import.meta.url) should be pure
#12076