Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bower

Package Overview
Dependencies
Maintainers
5
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 1.3.3 to 1.3.4

7

CHANGELOG.md
# Changelog
## 1.3.4 - 2014-06-02
- Resolve a situation in which the install process gets into an infinite loop ([#1169](https://github.com/bower/bower/issues/1169))
- Improved CLI output for conflicts ([#1284](https://github.com/bower/bower/issues/1284))
- Changed `bower version` to mirror the tag format of `npm version` ([#1278](https://github.com/bower/bower/issues/1278))
- Allow short commit SHAs to be used ([#990](https://github.com/bower/bower/issues/990))
## 1.3.3 - 2014-04-24

@@ -4,0 +11,0 @@

2

CONTRIBUTING.md

@@ -36,4 +36,2 @@ # Contributing to Bower

*
The issue tracker is the preferred channel for [bug reports](#bugs),

@@ -40,0 +38,0 @@ [features requests](#features) and [submitting pull

@@ -112,3 +112,4 @@ var mout = require('mout');

function gitCommitAndTag(newVersion, message) {
message = message || 'v' + newVersion;
var tag = 'v' + newVersion;
message = message || tag;
message = message.replace(/%s/g, newVersion);

@@ -120,3 +121,3 @@ return Q.nfcall(execFile, 'git', ['add', 'bower.json'], {env: process.env})

.then(function () {
return Q.nfcall(execFile, 'git', ['tag', newVersion, '-am', message], {env: process.env});
return Q.nfcall(execFile, 'git', ['tag', tag, '-am', message], {env: process.env});
});

@@ -142,2 +143,2 @@ }

module.exports = version;
module.exports = version;

@@ -58,3 +58,3 @@ var glob = require('glob');

}
});
}, true);

@@ -61,0 +61,0 @@ // Add decomposed endpoints as targets

@@ -168,2 +168,14 @@ var util = require('util');

if ((/^[a-f0-9]{4,40}$/).test(target)) {
if (target.length < 12) {
that._logger.warn(
'short-sha',
'Consider using longer commit SHA to avoid conflicts'
);
}
that._resolution = { type: 'commit', commit: target };
return that._resolution;
}
branches = Object.keys(branches);

@@ -170,0 +182,0 @@ tags = Object.keys(tags);

{
"name": "bower",
"version": "1.3.3",
"version": "1.3.4",
"description": "The browser package manager",

@@ -5,0 +5,0 @@ "author": "Twitter",

@@ -181,3 +181,3 @@ # Bower [![Build Status](https://travis-ci.org/bower/bower.svg?branch=master)](https://travis-ci.org/bower/bower)

You may try to set manually set `CI` variable manually before running your Bower commands. On Mac or Linux, `export CI=true` and on Windows `set CI=true`
You may try to set the `CI` variable manually before running your Bower commands. On Mac or Linux, `export CI=true` and on Windows `set CI=true`

@@ -347,3 +347,16 @@ ### Interactive configuration

## Analytics
Bower collects anonymous usage statistics in order to be able to improve bower, and to publically display package and command usage rankings. Data is tracked using Google Analytics and is made available to all bower team members.
If you'd prefer to disable analytics in Bower altogether, then create either a local, or global `.bowerrc` file with `analytics = false`.
```json
{
"analytics": false
}
```
## Support

@@ -350,0 +363,0 @@

@@ -753,2 +753,23 @@ var expect = require('expect.js');

it('should resolve to the specified short commit', function (next) {
var resolver;
GitResolver.refs = function () {
return Q.resolve([
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa refs/heads/master'
]);
};
resolver = create('foo');
resolver._findResolution('bbbbbbb')
.then(function (resolution) {
expect(resolution).to.eql({
type: 'commit',
commit: 'bbbbbbb'
});
next();
})
.done();
});
it('should resolve to the specified tag if it exists', function (next) {

@@ -755,0 +776,0 @@ var resolver;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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