New Set methods

Hi,

is there any chance, that the new Set methods like intersection(), difference(), union() etc… will make it into UXP any time soon?
It would make a lot of things much easier when I think of layer filterring :slight_smile:

UXP team sometimes upgrades V8 engine responsible for it. The last time it was upgraded was on October 2024

Thanks a lot for the info @Jarda!

So, according to Your links it should already be integrated or did I misunderstand something?
I’ve updated PS and the UXP Developer Tools to the latest version.
Can I see the running UXP version somewhere?
I tried to get more info via the ‘About’ window of ‘UXP Developer Tools’ but this only shows the Dev Tool’s version, which currently is ‘2.1.0 (2.1.0.30)’ (Mac) – and via core.getPluginInfo().

Sorry, I obviously have to learn a lot more and hope to not bother You guys with basic questions like these in the future too often anymore :see_no_evil: .

Thanks again, I appreciate Your help!

Nevermind, I found it out.
You can get the version via

const uxp = require("uxp");
const { versions } = uxp;
console.log(versions) // logs "uxp-8.1.0-1-bcbb734"

Didn’t find that right away in the docs.
But for the new Set methods I may need a little bit more patience.