all-contributors-cli
Advanced tools
Comparing version 5.7.0 to 5.8.0
@@ -6,3 +6,3 @@ 'use strict'; | ||
var avatarTemplate = _.template('<img src="<%= contributor.avatar_url %>" width="<%= options.imageSize %>px;"/>'); | ||
var avatarTemplate = _.template('<img src="<%= contributor.avatar_url %>" width="<%= options.imageSize %>px;" alt="<%= name %>"/>'); | ||
var avatarBlockTemplate = _.template('[<%= avatar %><br /><sub><b><%= name %></b></sub>](<%= contributor.profile %>)'); | ||
@@ -15,5 +15,8 @@ var avatarBlockTemplateNoProfile = _.template('<%= avatar %><br /><sub><b><%= name %></b></sub>'); | ||
function defaultTemplate(templateData) { | ||
var avatar = avatarTemplate(templateData); | ||
var name = escapeName(templateData.contributor.name); | ||
var avatar = avatarTemplate(_.assign(templateData, { | ||
name | ||
})); | ||
var avatarBlockTemplateData = _.assign({ | ||
name: escapeName(templateData.contributor.name), | ||
name, | ||
avatar | ||
@@ -20,0 +23,0 @@ }, templateData); |
{ | ||
"name": "all-contributors-cli", | ||
"version": "5.7.0", | ||
"version": "5.8.0", | ||
"description": "Tool to easily add recognition for new contributors", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -14,3 +14,3 @@ <h1 align="center"> | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-26-orange.svg?style=flat-square)](#contributors) | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-27-orange.svg?style=flat-square)](#contributors) | ||
[![PRs Welcome][prs-badge]][prs] [![Code of Conduct][coc-badge]][coc] | ||
@@ -233,3 +233,4 @@ [![Watch on GitHub][github-watch-badge]][github-watch] | ||
| [<img src="https://avatars2.githubusercontent.com/u/17708702?v=4" width="100px;"/><br /><sub><b>Md Zubair Ahmed</b></sub>](https://in.linkedin.com/in/mzubairahmed)<br />[π](https://github.com/all-contributors/all-contributors-cli/commits?author=M-ZubairAhmed "Documentation") [π](https://github.com/all-contributors/all-contributors-cli/issues?q=author%3AM-ZubairAhmed "Bug reports") [π»](https://github.com/all-contributors/all-contributors-cli/commits?author=M-ZubairAhmed "Code") [β οΈ](https://github.com/all-contributors/all-contributors-cli/commits?author=M-ZubairAhmed "Tests") | [<img src="https://avatars3.githubusercontent.com/u/6177621?v=4" width="100px;"/><br /><sub><b>Divjot Singh</b></sub>](http://bogas04.github.io)<br />[π](https://github.com/all-contributors/all-contributors-cli/commits?author=bogas04 "Documentation") | [<img src="https://avatars0.githubusercontent.com/u/15315098?v=4" width="100px;"/><br /><sub><b>JoΓ£o Marques</b></sub>](https://github.com/tigermarques)<br />[π»](https://github.com/all-contributors/all-contributors-cli/commits?author=tigermarques "Code") [π](https://github.com/all-contributors/all-contributors-cli/commits?author=tigermarques "Documentation") [π€](#ideas-tigermarques "Ideas, Planning, & Feedback") | [<img src="https://avatars3.githubusercontent.com/u/1192452?v=4" width="100px;"/><br /><sub><b>Andrew Lisowski</b></sub>](http://hipstersmoothie.com)<br />[π»](https://github.com/all-contributors/all-contributors-cli/commits?author=hipstersmoothie "Code") [π](https://github.com/all-contributors/all-contributors-cli/commits?author=hipstersmoothie "Documentation") [β οΈ](https://github.com/all-contributors/all-contributors-cli/commits?author=hipstersmoothie "Tests") | [<img src="https://avatars3.githubusercontent.com/u/1736154?v=4" width="100px;"/><br /><sub><b>Xianming Zhong</b></sub>](https://github.com/chinesedfan)<br />[π](https://github.com/all-contributors/all-contributors-cli/commits?author=chinesedfan "Documentation") | [<img src="https://avatars2.githubusercontent.com/u/8073251?v=4" width="100px;"/><br /><sub><b>C.Y.Xu</b></sub>](https://github.com/xuchaoying)<br />[π»](https://github.com/all-contributors/all-contributors-cli/commits?author=xuchaoying "Code") | | ||
| [<img src="https://avatars3.githubusercontent.com/u/3680914?v=4" width="100px;"/><br /><sub><b>Dura</b></sub>](https://github.com/chris-dura)<br />[π](https://github.com/all-contributors/all-contributors-cli/commits?author=chris-dura "Documentation") | [<img src="https://avatars2.githubusercontent.com/u/3534236?v=4" width="100px;"/><br /><sub><b>Jake Bolam</b></sub>](https://jakebolam.com)<br />[π](#infra-jakebolam "Infrastructure (Hosting, Build-Tools, etc)") [π»](https://github.com/all-contributors/all-contributors-cli/commits?author=jakebolam "Code") [π](https://github.com/all-contributors/all-contributors-cli/commits?author=jakebolam "Documentation") [β οΈ](https://github.com/all-contributors/all-contributors-cli/commits?author=jakebolam "Tests") | | ||
| [<img src="https://avatars3.githubusercontent.com/u/3680914?v=4" width="100px;"/><br /><sub><b>Dura</b></sub>](https://github.com/chris-dura)<br />[π](https://github.com/all-contributors/all-contributors-cli/commits?author=chris-dura "Documentation") | [<img src="https://avatars2.githubusercontent.com/u/3534236?v=4" width="100px;"/><br /><sub><b>Jake Bolam</b></sub>](https://jakebolam.com)<br />[π](#infra-jakebolam "Infrastructure (Hosting, Build-Tools, etc)") [π»](https://github.com/all-contributors/all-contributors-cli/commits?author=jakebolam "Code") [π](https://github.com/all-contributors/all-contributors-cli/commits?author=jakebolam "Documentation") [β οΈ](https://github.com/all-contributors/all-contributors-cli/commits?author=jakebolam "Tests") | [<img src="https://avatars0.githubusercontent.com/u/8260834?v=4" width="100px;"/><br /><sub><b>Maximilian Berkmann</b></sub>](http://maxcubing.wordpress.com)<br />[π»](https://github.com/all-contributors/all-contributors-cli/commits?author=Berkmann18 "Code") [β οΈ](https://github.com/all-contributors/all-contributors-cli/commits?author=Berkmann18 "Tests") [π](https://github.com/all-contributors/all-contributors-cli/commits?author=Berkmann18 "Documentation") | | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
@@ -236,0 +237,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
59431
1048
271