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

github-changes

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-changes - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

17

bin/index.js

@@ -72,5 +72,10 @@ #!/usr/bin/env node

})
.option('verbose', {
abbr: 'v'
, help: 'output details'
, flag: true
})
.option('host', {
help: 'alternate host name to use with github enterprise'
, default: null
, default: 'api.github.com'
})

@@ -81,7 +86,2 @@ .option('path-prefix', {

})
.option('verbose', {
abbr: 'v'
, help: 'output details'
, flag: true
})
.option('issue-body', {

@@ -384,3 +384,4 @@ help: '(DEPRECATED) include the body of the issue (--data MUST equal \'pulls\')'

var author = (commit.commit.message.split(/\#\d+\sfrom\s/)[1]||'').split('/')[0];
var url = "https://"+opts.host+"/"+opts.owner+"/"+opts.repository+"/pull/"+prNumber;
var host = (opts.host === 'api.github.com') ? 'github.com' : opts.host;
var url = "https://"+host+"/"+opts.owner+"/"+opts.repository+"/pull/"+prNumber;
output += "- [#" + prNumber + "](" + url + ") " + message;

@@ -495,2 +496,2 @@

runner();
runner();
## Change Log
### v0.0.11 (2014/05/12 19:00 +00:00)
- [#32](https://null/lalitkapoor/github-changes/pull/32) support for github enterprise (@lalitkapoor, @calmdev)
### 0.0.12 (2014/09/02 05:36 +00:00)
- [#35](https://github.com/lalitkapoor/github-changes/pull/35) Update README.md with Grunt Plugin Info (@streetlight)
- [#36](https://github.com/lalitkapoor/github-changes/pull/36) PR links point to https://null/... (@lalitkapoor)
### v0.0.11 (2014/05/12 19:01 +00:00)
- [#32](https://github.com/lalitkapoor/github-changes/pull/32) support for github enterprise (@lalitkapoor, @calmdev)
### v0.0.10 (2014/03/01 06:02 +00:00)
- [#26](https://null/lalitkapoor/github-changes/pull/26) handle missing author in pull requests (@lalitkapoor)
- [#26](https://github.com/lalitkapoor/github-changes/pull/26) handle missing author in pull requests (@lalitkapoor)
### v0.0.9 (2014/03/01 04:09 +00:00)
- [#22](https://null/lalitkapoor/github-changes/pull/22) show commit message if commit body is empty for --use-commit-body (@lalitkapoor)
- [#23](https://null/lalitkapoor/github-changes/pull/23) though tagged correctly commit ordering may vary (@lalitkapoor)
- [#24](https://null/lalitkapoor/github-changes/pull/24) sorting commits by date doesn't work for --data pulls (@lalitkapoor)
- [#21](https://null/lalitkapoor/github-changes/pull/21) attribution is not always correct for pull requests (@lalitkapoor)
- [#22](https://github.com/lalitkapoor/github-changes/pull/22) show commit message if commit body is empty for --use-commit-body (@lalitkapoor)
- [#23](https://github.com/lalitkapoor/github-changes/pull/23) though tagged correctly commit ordering may vary (@lalitkapoor)
- [#24](https://github.com/lalitkapoor/github-changes/pull/24) sorting commits by date doesn't work for --data pulls (@lalitkapoor)
- [#21](https://github.com/lalitkapoor/github-changes/pull/21) attribution is not always correct for pull requests (@lalitkapoor)
### v0.0.8 (2014/02/25 08:05 +00:00)
- [#18](https://null/lalitkapoor/github-changes/pull/18) Add a Bitdeli Badge to README (@bitdeli-chef)
- [#15](https://null/lalitkapoor/github-changes/pull/15) add option to order versions based on semver instead of the tag date (@lalitkapoor)
- [#18](https://github.com/lalitkapoor/github-changes/pull/18) Add a Bitdeli Badge to README (@bitdeli-chef)
- [#15](https://github.com/lalitkapoor/github-changes/pull/15) add option to order versions based on semver instead of the tag date (@lalitkapoor)
### v0.0.7 (2014/02/25 06:40 +00:00)
- [#17](https://null/lalitkapoor/github-changes/pull/17) use-commit-body only works when only-pulls or only-merges is used (@lalitkapoor)
- [#17](https://github.com/lalitkapoor/github-changes/pull/17) use-commit-body only works when only-pulls or only-merges is used (@lalitkapoor)
### v0.0.6 (2014/02/25 06:21 +00:00)
- [#13](https://null/lalitkapoor/github-changes/pull/13) don't strip down pull request object (@lalitkapoor)
- [#14](https://null/lalitkapoor/github-changes/pull/14) flags to improve what merge items to into the changelog (@lalitkapoor)
- [#16](https://null/lalitkapoor/github-changes/pull/16) when parsing pull request pr links not generated and attribution incorrect (@lalitkapoor)
- [#13](https://github.com/lalitkapoor/github-changes/pull/13) don't strip down pull request object (@lalitkapoor)
- [#14](https://github.com/lalitkapoor/github-changes/pull/14) flags to improve what merge items to into the changelog (@lalitkapoor)
- [#16](https://github.com/lalitkapoor/github-changes/pull/16) when parsing pull request pr links not generated and attribution incorrect (@lalitkapoor)
### v0.0.5 (2014/02/23 10:14 +00:00)
- [#9](https://null/lalitkapoor/github-changes/pull/9) don't double space in the default formatter (@lalitkapoor)
- [#9](https://github.com/lalitkapoor/github-changes/pull/9) don't double space in the default formatter (@lalitkapoor)
### v0.0.4 (2014/02/23 08:43 +00:00)
- [#7](https://null/lalitkapoor/github-changes/pull/7) use commit date not author date when determining which commits belong to which tags (@lalitkapoor)
- [#7](https://github.com/lalitkapoor/github-changes/pull/7) use commit date not author date when determining which commits belong to which tags (@lalitkapoor)
### v0.0.3 (2014/02/23 08:24 +00:00)
- [#2](https://null/lalitkapoor/github-changes/pull/2) Fixed typos. (@Fraser999)
- [#4](https://null/lalitkapoor/github-changes/pull/4) consider generating changelog based on commit messages (@lalitkapoor)
- [#2](https://github.com/lalitkapoor/github-changes/pull/2) Fixed typos. (@Fraser999)
- [#4](https://github.com/lalitkapoor/github-changes/pull/4) consider generating changelog based on commit messages (@lalitkapoor)
### v0.0.2 (2014/02/20 06:23 +00:00)
- [#1](https://null/lalitkapoor/github-changes/pull/1) error thrown when link header doesn't contain last (@lalitkapoor)
- [#1](https://github.com/lalitkapoor/github-changes/pull/1) error thrown when link header doesn't contain last (@lalitkapoor)
{
"name": "github-changes",
"version": "0.0.11",
"version": "0.0.12",
"description": "generate changelog for github repos",

@@ -5,0 +5,0 @@ "main": "./bin/index.js",

@@ -29,2 +29,4 @@ github-changes [![NPM version](https://badge.fury.io/js/github-changes.png)](http://badge.fury.io/js/github-changes)

-v, --verbose output details
--host alternate host name to use with github enterprise
--path-prefix path-prefix for use with github enterprise
--issue-body (DEPRECATED) include the body of the issue (--data MUST equal 'pulls')

@@ -123,1 +125,11 @@ --no-merges do not include merges

...
### Using with Grunt
If you want to generate a changelog within a grunt workflow, [a grunt plugin] (https://github.com/streetlight/grunt-github-changes) that can be utilized. To install:
```
npm install grunt-github-changes --save-dev
```
For further details and specifics on how to use (and to contribute), see [grunt-github-changes](https://github.com/streetlight/grunt-github-changes).
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