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

install-peers-cli

Package Overview
Dependencies
Maintainers
3
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.1.2 to 2.0.0

yarn.lock

8

install.js

@@ -8,3 +8,3 @@ #!/usr/bin/env node

, rootPath = path.resolve(__dirname, '..', '..')
, rootPath = process.cwd()

@@ -14,8 +14,2 @@ , envLabel = 'install_peers_skip'

// in npm@3+ preinstall happens in `node_modules/.staging` folder
// so if we ended up in `node_modules/` jump one level up
if (path.basename(rootPath) === 'node_modules') {
rootPath = path.resolve(rootPath, '..');
}
installPeerDeps();

@@ -22,0 +16,0 @@

{
"name": "install-peers-cli",
"version": "1.1.2",
"version": "2.0.0",
"description": "CLI to install project's peerDependencies, without side effects.",
"main": "index.js",
"repository": "git@github.com:alexindigo/install-peers-cli.git",
"repository": "alexindigo/install-peers-cli",
"author": "Alex Indigo <iam@alexindigo.com>",

@@ -12,2 +12,5 @@ "license": "MIT",

},
"scripts": {
"release": "scripts/release.sh"
},
"keywords": [

@@ -14,0 +17,0 @@ "peerdependencies",

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