Comparing version 1.0.7 to 1.0.8
{ | ||
"name": "tpm", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Static Package Manager", | ||
@@ -5,0 +5,0 @@ "author": "Longhao Luo <lhluo@tudou.com>", |
@@ -106,3 +106,3 @@ | ||
function url2path(url) { | ||
var path = null; | ||
var path = ''; | ||
if (url.charAt(0) == '.') { | ||
@@ -136,2 +136,3 @@ path = Path.resolve(dirPath + '/' + url); | ||
var path = url2path(url); | ||
path = path.substr(0, 1).toLowerCase() + path.substr(1); | ||
if (data[path]) { | ||
@@ -138,0 +139,0 @@ var version = data[path]; |
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
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
1462534
38147