Socket
Socket
Sign inDemoInstall

bower

Package Overview
Dependencies
Maintainers
2
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bower - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

6

CHANGELOG.md
# 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 @@

7

lib/commands/update.js

@@ -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 @@ })

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc