The 'color' npm package has been compromised: https://fasterthanli.me/articles/color-npm-package-compromised
try {
args = JSON.parse(JSON.stringify(argsIn));
} catch (e) {
args = [...argsIn];
}
Ah see? I'm not the only one who didn't know about structuredClone
Here's the NPM supply chain attack payload deobfuscated & cleaned up by hand as best I could: https://github.com/fasterthanlime/0x112
...I'm not sure it would ever work in its current form, tbh