Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

install-peers-cli

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

install-peers-cli - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

12

install.js

@@ -24,6 +24,16 @@ #!/usr/bin/env node

function installPeerDeps() {
var argv;
// only run on `install`
if (process.env['npm_config_argv']) {
argv = JSON.parse(process.env['npm_config_argv']);
if (argv && argv['cooked'][0] !== 'install') {
console.log('Only run install-peer-deps after `install` command. Skipping.');
return;
}
}
// check for the "kill switch"
if (process.env[envLabel]) {
console.log('Skipping installing peerDependencies.');
console.log('Only run install-peer-deps once. Skipping.');
return;

@@ -30,0 +40,0 @@ }

2

package.json
{
"name": "install-peers-cli",
"version": "1.0.1",
"version": "1.1.0",
"description": "CLI to install project's peerDependencies, without side effects.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc