Socket
Socket
Sign inDemoInstall

conventional-changelog

Package Overview
Dependencies
Maintainers
2
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

7

CHANGELOG.md

@@ -0,1 +1,8 @@

<a name"0.0.17"></a>
### 0.0.17 (2015-04-03)
#### Bump deps
<a name"0.0.16"></a>

@@ -2,0 +9,0 @@ ### 0.0.16 (2015-03-19)

3

index.js

@@ -0,5 +1,6 @@

'use strict';
var fs = require('fs');
var git = require('./lib/git');
var writeLog = require('./lib/writeLog');
var extend = require('lodash.assign');
var extend = require('lodash').assign;

@@ -6,0 +7,0 @@ function generate(options, done) {

@@ -1,5 +0,6 @@

var extend = require('lodash.assign');
'use strict';
var extend = require('lodash').assign;
var cp = require('child_process');
var es = require('event-stream');
var template = require('lodash.template');
var template = require('lodash').template;

@@ -6,0 +7,0 @@ var COMMIT_PATTERN = /^(\w*)(\(([\w\$\.\-\* ]*)\))?\: (.*)$/;

@@ -0,1 +1,2 @@

'use strict';
var es = require('event-stream');

@@ -2,0 +3,0 @@ var Writer = require('./Writer');

@@ -0,8 +1,9 @@

'use strict';
var dateFormat = require('dateformat');
var extend = require('lodash.assign');
var extend = require('lodash').assign;
var fs = require('fs');
var normalizeData = require('normalize-package-data');
var parseGithubUrl = require('github-url-from-git');
var partial = require('lodash.partial');
var template = require('lodash.template');
var partial = require('lodash').partial;
var template = require('lodash').template;
var url = require('url');

@@ -12,5 +13,5 @@

* NOTE:
* We use lodash.template a lot in the not-the-most-efficient manner, for the sake
* We use lodash.template a lot in the not-the-most-efficient manner, for the sake
* of clarity.
* The difference between compiling a template once and in a function is neglible
* The difference between compiling a template once and in a function is negligible
* for our library.

@@ -53,4 +54,4 @@ */

return templateFn({
repository: repository,
issue: issue
repository: repository,
issue: issue
});

@@ -63,3 +64,3 @@ };

return templateFn({
repository: repository,
repository: repository,
commit: commit.substring(0,8) // no need to show super long hash in log

@@ -90,3 +91,3 @@ });

return url.indexOf('github') > -1 ?
parseGithubUrl(url) :
parseGithubUrl(url) :
parseNonGithubUrl(url);

@@ -93,0 +94,0 @@ }

{
"name": "conventional-changelog",
"version": "0.0.16",
"description": "Generate a markdown changelog from git commit metadata",
"version": "0.0.17",
"description": "Generate a changelog from git metadata, using the AngularJS commit conventions",
"main": "index.js",
"scripts": {
"coverage": "istanbul cover _mocha -- -R spec && rm -rf ./coverage",
"lint": "jshint lib test index.js --exclude node_modules",
"test": "npm run-script lint && mocha test/*.js index.js lib/*.js --no-colors"
"test": "npm run-script lint && mocha --no-colors"
},

@@ -36,16 +37,14 @@ "files": [

"dateformat": "^1.0.11",
"event-stream": "^3.1.7",
"event-stream": "^3.3.0",
"github-url-from-git": "^1.4.0",
"lodash.assign": "^2.4.1",
"lodash.partial": "^3.0.0",
"lodash.template": "^3.3.0",
"lodash": "^3.6.0",
"normalize-package-data": "^1.0.3"
},
"devDependencies": {
"chai": "^2.0.0",
"jshint": "^2.6.0",
"mocha": "*",
"shelljs": "^0.3.0",
"sinon": "^1.12.2"
"chai": "^2.2.0",
"coveralls": "^2.11.2",
"istanbul": "^0.3.13",
"jshint": "^2.6.3",
"mocha": "*"
}
}

@@ -1,4 +0,8 @@

conventional-changelog
----------------------
# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coverall-image]][coverall-url]
> Generate a changelog from git metadata, using the AngularJS commit conventions
## Install
```sh

@@ -8,4 +12,2 @@ $ npm install conventional-changelog

Generate a changelog from git metadata, using the AngularJS commit conventions.
- [Synopsis of Conventions in CONVENTIONS.md](https://github.com/ajoslin/conventional-changelog/blob/master/CONVENTIONS.md)

@@ -16,2 +18,3 @@ - [Full Convention Spec on Google Docs](https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/)

## Example output

@@ -22,2 +25,3 @@

## Roadmap

@@ -30,2 +34,3 @@

## Documentation

@@ -82,4 +87,15 @@

## License
BSD
[npm-image]: https://badge.fury.io/js/conventional-changelog.svg
[npm-url]: https://npmjs.org/package/conventional-changelog
[travis-image]: https://travis-ci.org/ajoslin/conventional-changelog.svg?branch=master
[travis-url]: https://travis-ci.org/ajoslin/conventional-changelog
[daviddm-image]: https://david-dm.org/ajoslin/conventional-changelog.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/ajoslin/conventional-changelog
[coverall-image]: https://coveralls.io/repos/ajoslin/conventional-changelog/badge.svg
[coverall-url]: https://coveralls.io/r/ajoslin/conventional-changelog

@@ -1,2 +0,4 @@

var changelog = require('../index');
'use strict';
var changelog = require('../');
var expect = require('chai').expect;

@@ -3,0 +5,0 @@ describe('changelog', function() {

@@ -0,1 +1,3 @@

'use strict';
var expect = require('chai').expect;
var git = require('../lib/git');

@@ -2,0 +4,0 @@

@@ -0,1 +1,3 @@

'use strict';
var expect = require('chai').expect;
var writeLog = require('../lib/writeLog');

@@ -2,0 +4,0 @@

@@ -0,1 +1,3 @@

'use strict';
var expect = require('chai').expect;
var dateFormat = require('dateformat');

@@ -24,3 +26,3 @@ var es = require('event-stream');

return new Writer(stream, {
repository: 'github.com/user/repo',
repository: 'github.com/user/repo'
});

@@ -27,0 +29,0 @@ } else if (mode === 'package.json') {

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