Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@yarnpkg/plugin-npm
Advanced tools
@yarnpkg/plugin-npm
This plugin adds support for downloading packages from the npm registry.
This plugin is included by default in Yarn.
2.2.0
yarn set version 2.2.0
publishConfig.executableFiles
field in their manifests to indicate which files should keep the executable flag once packed in the archive. This is important as for portability reasons Yarn strips the executable flag from all files during packing (otherwise yarn pack
would yield different outputs when run on Posix vs Windows). Files listed in the bin
field are assumed executable by default, so you don't need to explicitly list them in executableFiles
.yarn pack
will properly include main/module/bin files, even when not explicitly referenced through the files
field.git+file:
protocol.workspace
field will now be processed correctly.workspace:
protocol to start with ./
yarn add
and yarn up
cd
and exit
without arguments|&
pipelineyarn add
and yarn up
will now respect the preferInteractive
configuration option.yarn config set
now supports the -H,--home
flag, which causes it to update the home configuration instead of the project configuration.immutablePaths
setting allow you to specify paths that must not change when running Yarn with the --immutable
flag set. You can use it to detect unforeseen changes to your install artifacts, be it .pnp.js
or node_modules
files.$RANDOM
variable as well as simple calculations using +
, -
, *
, /
and ()
inside $(())
{echo foo}
) to execute a command in the context of the current shell (without creating a subshell like in the case of (echo foo)
).pnpIgnorePatterns
fs
module from within a Webpack browser bundle).FAQs
Unknown package
The npm package @yarnpkg/plugin-npm receives a total of 12,463 weekly downloads. As such, @yarnpkg/plugin-npm popularity was classified as popular.
We found that @yarnpkg/plugin-npm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.