
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@pinnacle0/pnpm-single-version
Advanced tools
Enforce Single version of dependencies on pnpm workspace.
Enforce Single version of dependencies on pnpm workspace.
pnpm add -D pnpm-single-version
Add following options to package.json in project root
"pnpmSingleVersion": {
"includes": [
// Place all the single version dependencies here
"@babel/core",
"esbuild",
// glob is also supported
"eslint-plugin-*",
"*-plugin",
]
}
You can pnpm-single-version in Terminal
pnpm pnpm-single-version
or
pnpm psv
Apart from manual checking, checking can also be done when pnpm-lock.yaml is resolved, where pnpm detected dependencies changes running pnpm install , pnpm update and pnpm removed. This is much effective.
By using afterAllResolved hook in .pnpmfile.cjs, installation process can be interrupted when non-single version dependencies is detected.
To setup it up,
First, install checker via
pnpm pnpm-single-version install
this command will generate a checker file inside .psv directory of the root directory of workspace.
Then you should create a .pnpmfile.cjs and add following code
const hook = require("./.psv/hook");
module.exports = {
hooks: {
afterAllResolved: hook,
},
};
Now, when you call pnpm install and pnpm update, checking is going to be involve automatically only when have dependenices changes.
PS: You may need to run psv install every time you update pnpm-single-version
More about .pnpmfile.cjs at https://pnpm.io/pnpmfile
FAQs
Enforce Single version of dependencies on pnpm workspace.
The npm package @pinnacle0/pnpm-single-version receives a total of 3 weekly downloads. As such, @pinnacle0/pnpm-single-version popularity was classified as not popular.
We found that @pinnacle0/pnpm-single-version demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.