yeoman-environment
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -10,2 +10,3 @@ 'use strict'; | ||
const win32 = process.platform === 'win32'; | ||
const nvm = process.env.NVM_HOME; | ||
@@ -112,3 +113,5 @@ /** | ||
// Default paths for each system | ||
if (win32) { | ||
if (nvm) { | ||
paths.push(path.join(process.env.NVM_HOME, process.version, 'node_modules')); | ||
} else if (win32) { | ||
paths.push(path.join(process.env.APPDATA, 'npm/node_modules')); | ||
@@ -115,0 +118,0 @@ } else { |
{ | ||
"name": "yeoman-environment", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Handles the lifecyle and bootstrapping of generators in a specific environment", | ||
@@ -5,0 +5,0 @@ "homepage": "http://yeoman.io", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
33975
965
12