Comparing version 2.1.0 to 2.1.1-a1
@@ -82,2 +82,4 @@ /* install package from spmjs.org */ | ||
} | ||
} else { | ||
pkg = pkg + '@stable'; | ||
} | ||
@@ -84,0 +86,0 @@ if (_.contains(Object.keys(_cache), pkg)) { |
@@ -82,6 +82,12 @@ /* | ||
exports.findNodePath = function(nodepath) { | ||
nodepath = path.normalize(nodepath); | ||
if (process.env.NODE_PATH) { | ||
if (process.platform === 'win32' && path.normalize(process.env.NODE_PATH) === nodepath) { | ||
return; | ||
} | ||
var paths = process.env.NODE_PATH.split(':'); | ||
var ret = paths.filter(function(p) { | ||
return p.replace(/\/$/, '') === nodepath; | ||
return path.normalize(p) === nodepath; | ||
}); | ||
@@ -88,0 +94,0 @@ |
{ | ||
"name": "spm", | ||
"version": "2.1.0", | ||
"version": "2.1.1a1", | ||
"preferGlobal": "true", | ||
@@ -5,0 +5,0 @@ "description": "Static Package Manager", |
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1889
79125
35
2
24
4