Comparing version 0.8.2 to 0.8.3
# Changelog | ||
## 0.8.3 - 2013-02-27 | ||
- Fix error when using the `update` command ([#282](https://github.com/twitter/bower/issues/282)) | ||
## 0.8.2 - 2013-02-26 | ||
- Fix some errors in windows related, had to downgrade `rimraf` ([#274](https://github.com/twitter/bower/issues/274)) | ||
- Fix some errors in windows while removing directories, had to downgrade `rimraf` ([#274](https://github.com/twitter/bower/issues/274)) | ||
- Prevent duplicate package names in error summaries ([#277](https://github.com/twitter/bower/issues/277)) | ||
@@ -7,0 +11,0 @@ |
@@ -68,8 +68,9 @@ // ========================================== | ||
pkg.once('loadJSON', function () { | ||
var endpoint = pkg.readEndpoint(); | ||
if (!endpoint) return next(); | ||
var endpointInfo = pkg.readEndpoint(); | ||
if (!endpointInfo) return next(); | ||
// Add tag only if the endpoint is a repository | ||
var endpoint = endpointInfo.endpoint; | ||
var json = pkg.json; | ||
if (!json.commit && (!json.repository || json.repository === 'git' || json.repository === 'local-repo')) { | ||
if (!json.commit && (endpointInfo.type === 'git' || endpointInfo.type === 'local-repo')) { | ||
endpoint += '#' + ((!names || names.indexOf(pkg.name) > -1) ? '~' : '') + pkg.version; | ||
@@ -76,0 +77,0 @@ } |
{ | ||
"name": "bower", | ||
"description": "The browser package manager.", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"author": "Twitter", | ||
@@ -6,0 +6,0 @@ "licenses": [ |
@@ -120,3 +120,4 @@ /*jshint plusplus: false */ | ||
}); | ||
clean(next); | ||
next(); | ||
}); | ||
@@ -154,3 +155,4 @@ }) | ||
}); | ||
clean(next); | ||
next(); | ||
}); | ||
@@ -157,0 +159,0 @@ }) |
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
368273
4996