Seems three.js hasn't been updated from upstream for a long time... Maybe 3-5 years?
No idea what version we're apparently using - adding a foreign-resources.yaml would be appreciated too; T330430: Proliferate usage of foreign-resources.yaml in WMF deployed and MW bundled skins and extensions
Would help fix one minor case of T254646: Reconsidering how we name things (a mention of whitelist in a comment that doesn't seem to be upstream anymore)