install-peers-cli
Advanced tools
Comparing version 1.1.2 to 2.0.0
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
8696
8
162
1