Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
npm-install-peers
Advanced tools
CLI command to install npm peerDependencies. This can be useful when developing modules.
Consider the following dependencies:
{
"dependencies": {
"react-router": "4.2.0"
},
"devDependencies": {},
"peerDependencies": {
"moment": "2.21.0"
},
}
If you run this npm-install-peers
command, moment
will be installed because it's a direct peer dependency of your project. You'll still get a warning that react-router
is missing a react
peer dependency. You'll still need to install react
yourself, this command only installs direct peer dependencies.
You probably don't need this package! It's generally a better idea to have your peerDependencies
contents as devDependencies
too.
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
You're free to use this package (it's MIT-licensed), but if it makes it to your production environment you are required to send us a postcard from your hometown, mentioning which of our package(s) you are using.
Our address is: Spatie, Kruikstraat 22, 2018 Antwerp, Belgium.
The best postcards will get published on the open source page on our website.
npm install -g npm-install-peers
npm-install-peers
This will read out your package.json
file and install all of its peerDependencies. There are no other options.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email freek@spatie.be instead of using the issue tracker.
Spatie is a webdesign agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.
The MIT License (MIT). Please see License File for more information.
FAQs
CLI command to install npm peerDependencies
We found that npm-install-peers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.