:; (node ./preinstall.js > /dev/null 2>&1 || true)
The provided script is a preinstall script designed to handle a particular issue with global binary installations using npm. If Node's Corepack tool has created a Yarn shim (a symbolic link), the script will remove the symlink for Yarn if it's linking to Corepack, to allow npm install -g yarn
to work without crashing due to npm's refusal to overwrite non-npm owned binaries. The script doesn't contain any operations that are indicative of a code designed to steal sensitive information, gain root access, run or download remote code, or otherwise harm the system.
yarn
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|