Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Manage author list in AUTHORS instead of package.json (#4058)

JeongHoon Byun (aka Outsider)dbba276826f1
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 00000000..e343853b
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,490 @@
+# Authors ordered by first contribution.
+
+TJ Holowaychuk <[email protected]>
+James Carr <[email protected]>
+Fredrik Lindin <[email protected]>
+Konstantin Käfer <[email protected]>
+David Henderson <[email protected]>
+Harry Brundage <[email protected]>
+Quang Van <[email protected]>
+hokaccha <[email protected]>
+Guillermo Rauch <[email protected]>
+FARKAS Máté <[email protected]>
+Ben Lindsey <[email protected]>
+Steve Mason <[email protected]>
+Ryunosuke SATO <[email protected]>
+Nathan Rajlich <[email protected]>
+Yuest Wang <[email protected]>
+Maciej Małecki <[email protected]>
+Joshua Krall <[email protected]>
+Fedor Indutny <[email protected]>
+Will Langstroth <[email protected]>
+Attila Domokos <[email protected]>
+Jussi Virtanen <[email protected]>
+Phil Sung <[email protected]>
+Paul Miller <[email protected]>
+Bjørge Næss <[email protected]>
+Jeff Kunkle <[email protected]>
+Fabio M. Costa <[email protected]>
+Michael Riley <[email protected]>
+Ian Young <[email protected]>
+Jakub Nešetřil <[email protected]>
+Tyson Tate <[email protected]>
+Arian Stolwijk <[email protected]>
+Brendan Nee <[email protected]>
+Xavier Antoviaque <[email protected]>
+Domenic Denicola <[email protected]>
+Brian Beck <[email protected]>
+Dave McKenna <[email protected]>
+Richard Dingwall <[email protected]>
+Cory Thomas <[email protected]>
+Ian Storm Taylor <[email protected]>
+Andreas Brekken <[email protected]>
+Nathan Bowser <[email protected]>
+László Bácsi <[email protected]>
+Atsuya Takagi <[email protected]>
+Gavin Mogan <[email protected]>
+Seiya Konno <[email protected]>
+Jan Lehnardt <[email protected]>
+Matt Robenolt <[email protected]>
+Jonas Westerlund <[email protected]>
+Koen Punt <[email protected]>
+Jason Barry <[email protected]>
+Austin Birch <[email protected]>
+Adam Crabtree <[email protected]>
+Casey Foster <[email protected]>
+Jonathan Creamer <[email protected]>
+Brian Moore <[email protected]>
+traleig1 <[email protected]>
+John Firebaugh <[email protected]>
+airportyh <[email protected]>
+Aaron Heckmann <[email protected]>
+Russ Bradberry <[email protected]>
+Corey Butler <[email protected]>
+Paul Armstrong <[email protected]>
+Herman Junge <[email protected]>
+Michael Schoonmaker <[email protected]>
+Wil Moore III <[email protected]>
+Pete Hawkins <[email protected]>
+Matt Smith <[email protected]>
+Katie Gengler <[email protected]>
+Bryan Donovan <[email protected]>
+Nathan Alderson <[email protected]>
+Shawn Krisman <telaviv@github>
+Merrick Christensen <[email protected]>
+Timo Tijhof <[email protected]>
+Simon Gaeremynck <[email protected]>
+Jaakko Salonen <[email protected]>
+Jonathan Rajavuori <[email protected]>
+Forbes Lindesay <[email protected]>
+Standa Opichal <[email protected]>
+Matthew Shanley <[email protected]>
+James Lal <[email protected]>
+Greg Perkins <[email protected]>
+Gareth Murphy <[email protected]>
+Juzer Ali <[email protected]>
+Sasha Koss <[email protected]>
+Justin DuJardin <[email protected]>
+Frederico Silva <[email protected]>
+Jesse Dailey <[email protected]>
+Yanis Wang <[email protected]>
+Javier Aranda <[email protected]>
+Florian Margaine <[email protected]>
+fool2fish <[email protected]>
+James Bowes <[email protected]>
+Valentin Agachi <[email protected]>
+Mathieu Desvé <[email protected]>
+Glen Huang <[email protected]>
+Simon Goumaz <[email protected]>
+Alexander Early <[email protected]>
+Jimmy Cuadra <[email protected]>
+Russell Munson <[email protected]>
+Liam Newman <[email protected]>
+Dmitry Shirokov <[email protected]>
+Fredrik Enestad <[email protected]>
+Kirill Korolyov <[email protected]>
+grasGendarme <[email protected]>
+Mike Pennisi <[email protected]>
+Victor Costan <[email protected]>
+Tim Ehat <[email protected]>
+Jeremy Martin <[email protected]>
+Mal Graty <[email protected]>
+Marc Kuo <[email protected]>
+Sindre Sorhus <[email protected]>
+Salehen Shovon Rahman <[email protected]>
+eiji.ienaga <[email protected]>
+Oscar Godson <[email protected]>
+Daniel Stockman <[email protected]>
+Stephen Mathieson <[email protected]>
+Travis Jeffery <[email protected]>
+Andreas Lind Petersen <[email protected]>
+Romain Prieto <[email protected]>
+JP Bochi <[email protected]>
+Teddy Zeenny <[email protected]>
+Roman Neuhauser <[email protected]>
+XhmikosR <[email protected]>
+Brian Lalor <[email protected]>
+Refael Ackermann <[email protected]>
+ChrisWren <[email protected]>
+Andrew Nesbitt <[email protected]>
+Andrey Popp <[email protected]>
+Brian M. Carlson <[email protected]>
+Michael Olson <[email protected]>
+Arnaud Brousseau <[email protected]>
+Peter Rust <[email protected]>
+Vadim Nikitin <[email protected]>
+Roman Shtylman <[email protected]>
+Tapiwa Kelvin <[email protected]>
+Rustem Mustafin <[email protected]>
+Glen Mailer <[email protected]>
+Nathan Black <[email protected]>
+andy matthews <[email protected]>
+Benjie Gillam <[email protected]>
+Noshir Patel <[email protected]>
+Ben Noordhuis <[email protected]>
+Jacob Wejendorp <[email protected]>
+claudyus <claudyus@HEX.(none)>
+Denis Bardadym <[email protected]>
+Connor Dunn <[email protected]>
+Jonathan Ong <[email protected]>
+Michal Charemza <[email protected]>
+startswithaj <[email protected]>
+Gareth Aye <[email protected]>
+Nick Fitzgerald <[email protected]>
+Jan Kopriva <[email protected]>
+Christoffer Hallas <[email protected]>
+Jonathan Park <[email protected]>
+Devin Weaver <[email protected]>
+John Doty <[email protected]>
+Shaine Hatch <[email protected]>
+Ben Bradley <[email protected]>
+qiuzuhui <[email protected]>
+Jean Ponchon <[email protected]>
+Linus Unnebäck <[email protected]>
+Mattias Tidlund <[email protected]>
+Matija Marohnić <[email protected]>
+Michael Jackson <[email protected]>
+Joel Kemp <[email protected]>
+Zsolt Takács <[email protected]>
+Joshua Appelman <[email protected]>
+Christopher Hiller <[email protected]>
+Michael Demmer <[email protected]>
+Giovanni Bassi <[email protected]>
+Panu Horsmalahti <[email protected]>
+nishigori <[email protected]>
+Nicolo Taddei <[email protected]>
+Diogo Monteiro <[email protected]>
+mrShturman <[email protected]>
+samuel goldszmidt <[email protected]>
+Kent C. Dodds <[email protected]>
+Kevin Conway <[email protected]>
+Dominique Quatravaux <[email protected]>
+zhiyelee <[email protected]>
+Quanlong He <[email protected]>
+omardelarosa <[email protected]>
+Ariel Mashraki <[email protected]>
+Sean Lang <[email protected]>
+David da Silva Contín <[email protected]>
+C. Scott Ananian <[email protected]>
+Douglas Christopher Wilson <[email protected]>
+Richard Knop <[email protected]>
+Buck Doyle <[email protected]>
+Jonas Dohse <[email protected]>
+monowerker <[email protected]>
+Marcello Bastea-Forte <[email protected]>
+Benoît Zugmeyer <[email protected]>
+Vlad Magdalin <[email protected]>
+Moshe Kolodny <[email protected]>
+Tom Coquereau <[email protected]>
+Timothy Gu <[email protected]>
+Ian Zamojc <[email protected]>
+Martin Marko <[email protected]>
+Chris Buckley <[email protected]>
+Jake Craige <[email protected]>
+Fede Ramirez <[email protected]>
+Parker Moore <[email protected]>
+Todd Agulnick <[email protected]>
+Daniel St. Jules <[email protected]>
+Rico Sta. Cruz <[email protected]>
+Anis Safine <[email protected]>
+Adam Gruber <[email protected]>
+Sam Mussell <[email protected]>
+Stewart Taylor <[email protected]>
+Jordan Sexton <[email protected]>
+Keith Cirkel <[email protected]>
+Andrii Shumada <[email protected]>
+Dominic Barnes <[email protected]>
+Maximilian Antoni <[email protected]>
+Sune Simonsen <[email protected]>
+Kyle Mitchell <[email protected]>
+James Nylen <[email protected]>
+Jonathan Delgado <[email protected]>
+Jake Marsh <[email protected]>
+Tomer Eskenazi <[email protected]>
+Jeff Schilling <[email protected]>
+Ryan Hubbard <[email protected]>
+Kevin Kirsche <[email protected]>
+Gabriel Silk <[email protected]>
+Johnathon Sanders <[email protected]>
+Max Goodman <[email protected]>
+Nathan Houle <[email protected]>
+Ben Vinegar <[email protected]>
+Duncan Beevers <[email protected]>
+Tingan Ho <[email protected]>
+Guy Arye <[email protected]>
+Nik Nyby <[email protected]>
+Artem Govorov <[email protected]>
+Ajay Kodali <[email protected]>
+Ryan Tablada <[email protected]>
+Pavel Zubkou <[email protected]>
+gigadude <[email protected]>
+Outsider <[email protected]>
+Jason Lai <[email protected]>
+Aaron Krause <[email protected]>
+Kevin Burke <[email protected]>
+Berker Peksag <[email protected]>
+Hugo Giraudel <[email protected]>
+Rich Trott <[email protected]>
+Matt Giles <[email protected]>
+Joey Cozza <[email protected]>
+Kris Rasmussen <[email protected]>
+James G. Kim <[email protected]>
+Sorin Iclanzan <[email protected]>
+Rob Raux <[email protected]>
+Sergey Simonchik <[email protected]>
+Ian W. Remmel <[email protected]>
+John Reeves <[email protected]>
+Fagner Brack <[email protected]>
+Mark Banner <[email protected]>
+Michiel de Jong <[email protected]>
+Benoit Larroque <[email protected]>
+Charles Lowell <[email protected]>
+Joao Moreno <[email protected]>
+Robert Rossmann <[email protected]>
+Aaron Hamid <[email protected]>
+Tom Hughes <[email protected]>
+Mislav Marohnić <[email protected]>
+Prayag Verma <[email protected]>
+Frank Leon Rose <[email protected]>
+Ryan Shaw <[email protected]>
+Thedark1337 <[email protected]>
+Gyandeep Singh <[email protected]>
+Josh Lory <[email protected]>
+Jonathan Kim <[email protected]>
+Al Scott <[email protected]>
+Tobias Bieniek <[email protected]>
+Benjamin Eidelman <[email protected]>
+Julien Wajsberg <[email protected]>
+Alexander Shepelin <[email protected]>
+OlegTsyba <[email protected]>
+Xavier Damman <[email protected]>
+Mick Brooks <[email protected]>
+Erik Eng <[email protected]>
+Kelong Wang <[email protected]>
+Jérémie Astori <[email protected]>
+ScottFreeCode <[email protected]>
+Sergio Santoro <[email protected]>
+Adrian Ludwig <[email protected]>
+Anders Olsen Sandvik <[email protected]>
+Thomas Grainger <[email protected]>
+jimenglish81 <[email protected]>
+Avi Vahl <[email protected]>
+Jason Leyba <[email protected]>
+silentcloud <[email protected]>
+Dmitriy Simushev <[email protected]>
+Ross Warren <[email protected]>
+Benson Trent <[email protected]>
+rmacklin <[email protected]>
+Rob Loach <[email protected]>
+Shinnosuke Watanabe <[email protected]>
+Callum Macrae <[email protected]>
+ELLIOTTCABLE <[email protected]>
+Peter Müller <[email protected]>
+not-an-aardvark <[email protected]>
+Slobodan Mišković <[email protected]>
+Philip M. White <[email protected]>
+Christian <[email protected]>
+Dmitry Sorin <[email protected]>
+Vivek Ganesan <[email protected]>
+Josh Eversmann <[email protected]>
+inxorable <[email protected]>
+Ben Harris <[email protected]>
+Aaron Petcoff <[email protected]>
+Matt Bierner <[email protected]>
+Ville Saukkonen <[email protected]>
+Ben Hutchison <[email protected]>
+Volker Buzek <[email protected]>
+Scott Kao <[email protected]>
+Sulabh Bista <[email protected]>
+rotemdan <[email protected]>
+Fumiaki MATSUSHIMA <[email protected]>
+Markus Tacker <[email protected]>
+Christoph Neuroth <[email protected]>
+Enric Pallerols <[email protected]>
+Craig Taub <[email protected]>
+Yoshiya Hinosawa <[email protected]>
+Sebastian Van Sande <[email protected]>
+Chris Lamb <[email protected]>
+Igwe Kalu <[email protected]>
+Kevin Wang <[email protected]>
+Laurence Rowe <[email protected]>
+Jakob Krigovsky <[email protected]>
+Kunal Nagpal <[email protected]>
+Jupp Müller <[email protected]>
+Poprádi Árpád <[email protected]>
+Charlie Rudolph <[email protected]>
+Angelica Valenta <[email protected]>
+Jan Krems <[email protected]>
+Josh Soref <[email protected]>
+solodynamo <[email protected]>
+Eli Skeggs <[email protected]>
+Nikolaos Georgiou <[email protected]>
+David Neubauer <[email protected]>
+Darryl Pogue <[email protected]>
+38elements <[email protected]>
+Guangcong Luo <[email protected]>
+David M. Lee <[email protected]>
+Pat Finnigan <[email protected]>
+Eugene Tiutiunnyk <[email protected]>
+Aaron Brady <[email protected]>
+Charles Merriam <[email protected]>
+Kevin Partington <[email protected]>
+Lane Kelly <[email protected]>
+Jon Surrell <[email protected]>
+Ahmad Bamieh <[email protected]>
+Capacitor Set <[email protected]>
+Can Oztokmak <[email protected]>
+Thomas Broadley <[email protected]>
+Dina Berry <[email protected]>
+Marais Rossouw <[email protected]>
+Andrew Krawchyk <[email protected]>
+Ted Yavuzkurt <[email protected]>
+Daniel Ruf <[email protected]>
+Harry Wolff <[email protected]>
+Valeri Karpov <[email protected]>
+Silvio Massari <[email protected]>
+Joseph Lin <[email protected]>
+Honza Javorek <[email protected]>
+Harry Sarson <[email protected]>
+Anish Karandikar <[email protected]>
+Emanuele <[email protected]>
+Thomas Vantuycom <[email protected]>
+Alex Bainter <[email protected]>
+Jerry Muzsik <[email protected]>
+Nicolas Girault <[email protected]>
+Paul Roebuck <[email protected]>
+Tim Harshman <[email protected]>
+Charles Samborski <[email protected]>
+Tobias Mollstam <[email protected]>
+Ben Glassman <[email protected]>
+Mark Owsiak <[email protected]>
+Marc Udoff <[email protected]>
+gizemkeser <[email protected]>
+Fin Chen <[email protected]>
+Brittany Moore <[email protected]>
+Fábio Santos <[email protected]>
+Jayasankar <[email protected]>
+Svetlana <[email protected]>
+Martijn Cuppens <[email protected]>
+Anna Henningsen <[email protected]>
+Andreas Lind <[email protected]>
+Chen Yangjian <[email protected]>
+Corey Farrell <[email protected]>
+Wanseob Lim <[email protected]>
+Brian Tomlin <[email protected]>
+Adam Ginzberg <[email protected]>
+XhmikosR <[email protected]>
+Gastón I. Silva <[email protected]>
+Andrew Bradley <[email protected]>
+Andrew Bradley <[email protected]>
+DavidLi119 <[email protected]>
+James D. Rogers <[email protected]>
+Carl-Erik Kopseng <[email protected]>
+Sylvester Keil <[email protected]>
+Bjorn Stromberg <[email protected]>
+Stephen Hess <[email protected]>
+toyjhlee <[email protected]>
+Piotr Kuczynski <[email protected]>
+Thomas Scholtes <[email protected]>
+Brian Lagerman <[email protected]>
+Gabe Gorelick <[email protected]>
+Daniel Ruf <[email protected]>
+Mario Díaz Ceñera <[email protected]>
+Oliver Salzburg <[email protected]>
+Sona Lee <[email protected]>
+Park Seong-beom <[email protected]>
+EunChan Park <[email protected]>
+Lindsay-Needs-Sleep <[email protected]>
+Soobin Bak <[email protected]>
+Peter Schmidt <[email protected]>
+SheetJSDev <[email protected]>
+HyunSangHan <[email protected]>
+Jan-Philip Gehrcke <[email protected]>
+Robert Kieffer <[email protected]>
+Saerom Bang <[email protected]>
+Kyle Fuller <[email protected]>
+Rens Groothuijsen <[email protected]>
+Hugo Kim <[email protected]>
+KyoungWan <[email protected]>
+Christian Holm <[email protected]>
+
+# Generated by scripts/update-authors.js
diff --git a/MAINTAINERS.md b/MAINTAINERS.md
index 31d5e40c..f155418e 100644
--- a/MAINTAINERS.md
+++ b/MAINTAINERS.md
@@ -39,13 +39,13 @@
## Introduction
-Hi stranger! We've written this document for:
+Hi stranger! We've written this document for:
1. Active maintainers of Mocha
1. Prospective maintainers of Mocha
1. Anyone curious about how Mocha's maintainers maintain Mocha
-The purpose of this document is to *describe our processes*. We want to avoid conflicts and confusion around "unwritten rules". In our opinion, the most straightforward way to address this is to *write them down*. This *also* happens to be the most straightforward way to change them!
+The purpose of this document is to _describe our processes_. We want to avoid conflicts and confusion around "unwritten rules". In our opinion, the most straightforward way to address this is to _write them down_. This _also_ happens to be the most straightforward way to change them!
To assist in eliminating ambiguity, we will define some terms.
@@ -55,7 +55,7 @@ Anyone involved with Mocha will fall into one of these buckets: **user**, **cont
### User
-A "user" for the purpose of this document is any *individual developer* who consumes Mocha to write and/or execute tests. A user interacts with contributors. A user interacts with the software, web site, documentation, etc., which these contributors provide.
+A "user" for the purpose of this document is any _individual developer_ who consumes Mocha to write and/or execute tests. A user interacts with contributors. A user interacts with the software, web site, documentation, etc., which these contributors provide.
As a user, you're expected to follow the [code of conduct](https://github.com/mochajs/mocha/blob/master/.github/CODE_OF_CONDUCT.md) when interacting in Mocha's "official" social spaces. This includes:
@@ -70,7 +70,7 @@ This is the most important thing:
**You don't have to write code to be a contributor!**
-A "contributor" is any individual who has *given back* in some way to the project and its community. Contributions include (but are not limited to):
+A "contributor" is any individual who has _given back_ in some way to the project and its community. Contributions include (but are not limited to):
1. Reporting bugs which follow the reporting guidelines
1. Suggesting and debating enhancements that have wide applicability
@@ -84,11 +84,11 @@ A "contributor" is any individual who has *given back* in some way to the projec
1. Recruiting more contributors! Don't spam.
1. Researching the user base, getting feedback, etc. Don't spam.
-A contributor is *usually* a user as well, but this isn't a hard-and-fast rule. A contributor is also expected to adhere to the [code of conduct](https://github.com/mochajs/mocha/blob/master/.github/CODE_OF_CONDUCT.md) as a user would.
+A contributor is _usually_ a user as well, but this isn't a hard-and-fast rule. A contributor is also expected to adhere to the [code of conduct](https://github.com/mochajs/mocha/blob/master/.github/CODE_OF_CONDUCT.md) as a user would.
-As you can see, it's wide open! Think of it another way: if you are *adding value to Mocha*, then you are a contributor.
+As you can see, it's wide open! Think of it another way: if you are _adding value to Mocha_, then you are a contributor.
-> Due to the nature of GitHub, it's a challenge to recognize those who've made contributions *elsewhere* on the web, or even contributions of the "non-code" variety. If you know of any great contributions which have gone unnoticed, please bring them to the maintainers' attention!
+> Due to the nature of GitHub, it's a challenge to recognize those who've made contributions _elsewhere_ on the web, or even contributions of the "non-code" variety. If you know of any great contributions which have gone unnoticed, please bring them to the maintainers' attention!
#### A Note About Donations
@@ -98,11 +98,11 @@ We love our backers and sponsors! 💕
### Maintainer
-A maintainer has certain "rights" (or "permissions") to the Mocha project and other projects under the `mochajs` organization. There's no way to dance around this: with these rights come increased responsibilities.
+A maintainer has certain "rights" (or "permissions") to the Mocha project and other projects under the `mochajs` organization. There's no way to dance around this: with these rights come increased responsibilities.
-However, **there is no expectation of a standard of technical ability** to be a maintainer of Mocha. This doesn't imply a lack of technical oversight--every pull request will eventually be reviewed.
+However, **there is no expectation of a standard of technical ability** to be a maintainer of Mocha. This doesn't imply a lack of technical oversight--every pull request will eventually be reviewed.
-**If you think you aren't experienced enough to maintain a project like Mocha, you are incorrect.** The only requirements are the above responsibilities and a desire to help the project. It bears repeating:
+**If you think you aren't experienced enough to maintain a project like Mocha, you are incorrect.** The only requirements are the above responsibilities and a desire to help the project. It bears repeating:
**You don't have to write code to be a maintainer!**
@@ -110,30 +110,30 @@ However, **there is no expectation of a standard of technical ability** to be a
#### The Responsibilities of a Maintainer
-As a maintainer, you are expected to *not just* "follow" the code of conduct, but embody its values. Your public behavior, whether in the physical or virtual world, reflects upon the project and other maintainers.
+As a maintainer, you are expected to _not just_ "follow" the code of conduct, but embody its values. Your public behavior, whether in the physical or virtual world, reflects upon the project and other maintainers.
-> If you don't understand the code of conduct, or why it exists, it is *your responsibility* to educate yourself.
+> If you don't understand the code of conduct, or why it exists, it is _your responsibility_ to educate yourself.
> This does not imply the CoC is immutable.
-Furthermore, a maintainer is a contributor who **contributes regularly**, or expresses a *desire to do so.* That could be every day--but it might be once a week, or even once a month. Your boss doesn't work here; contribute as often as you wish. We are all people with Real Lives, and for many of us, contributing to OSS is just a hobby!
+Furthermore, a maintainer is a contributor who **contributes regularly**, or expresses a _desire to do so._ That could be every day--but it might be once a week, or even once a month. Your boss doesn't work here; contribute as often as you wish. We are all people with Real Lives, and for many of us, contributing to OSS is just a hobby!
-Finally, a maintainer must help define what makes Mocha "Mocha". At minimum, a maintainer must *understand* the current definition (if a maintainer is not interested in decision-making). Some of these questions include:
+Finally, a maintainer must help define what makes Mocha "Mocha". At minimum, a maintainer must _understand_ the current definition (if a maintainer is not interested in decision-making). Some of these questions include:
- What's the scope of Mocha?
- Where should we focus efforts?
- What's urgent, what can wait?
- What can we break? What's off-limits?
-- What user feedback is valuable? What isn't?
+- What user feedback is valuable? What isn't?
-As maintainers, *we work together* to learn about the nature of these questions. If we try hard enough, we even come to some answers!
+As maintainers, _we work together_ to learn about the nature of these questions. If we try hard enough, we even come to some answers!
-A maintainer *must* also have 2FA enabled on their GitHub account.
+A maintainer _must_ also have 2FA enabled on their GitHub account.
> If you think that you aren't familiar with mocha's internals enough to contribute, please watch [This walkthrough video!](https://youtu.be/zLayCLcIno0)
#### The Rights of a Maintainer
-You may choose to do zero or more of these *at their discretion*:
+You may choose to do zero or more of these _at their discretion_:
- Merge pull requests
- Modify issues (closing, adding labels, assigning them other maintainers, etc.)
@@ -144,7 +144,7 @@ You may choose to do zero or more of these *at their discretion*:
- Add new maintainers to the team
- Tag releases and publish Mocha to npm
-> While maintainers have the ability to commit directly to the `master` branch, *this is to be avoided* if any other maintainer could reasonably take issue with the change, or the change affects Mocha's API or output. For example, a spelling correction in `CHANGELOG.md` may not require a pull request. A change to a reporter's output most certainly would! Maintainers are trusted to use their best judgement; if unsure, err on the side of caution.
+> While maintainers have the ability to commit directly to the `master` branch, _this is to be avoided_ if any other maintainer could reasonably take issue with the change, or the change affects Mocha's API or output. For example, a spelling correction in `CHANGELOG.md` may not require a pull request. A change to a reporter's output most certainly would! Maintainers are trusted to use their best judgement; if unsure, err on the side of caution.
#### About "Owners"
@@ -155,20 +155,20 @@ Some maintainers will have full admin rights to the [mochajs org](https://github
## Mocha's Decision-Making Process
-Mocha follows a [consensus-seeking decision-making](https://en.wikipedia.org/wiki/Consensus-seeking_decision-making) process. In other words, all maintainers attempt to come to agreement. If that fails, we decide by a simple vote.
+Mocha follows a [consensus-seeking decision-making](https://en.wikipedia.org/wiki/Consensus-seeking_decision-making) process. In other words, all maintainers attempt to come to agreement. If that fails, we decide by a simple vote.
-Active maintainers will make an effort to solicit feedback from others before making important or potentially controversial decisions. Given the varying geographical distribution and availability of the maintenance team, we resolve to do the best we can to solicit feedback.
+Active maintainers will make an effort to solicit feedback from others before making important or potentially controversial decisions. Given the varying geographical distribution and availability of the maintenance team, we resolve to do the best we can to solicit feedback.
-In other words, to have your opinion heard, participate regularly. The rest of the team won't wait on feedback that isn't necessarily forthcoming!
+In other words, to have your opinion heard, participate regularly. The rest of the team won't wait on feedback that isn't necessarily forthcoming!
## Communication
-Maintainers will mainly gather in [the mochajs/contributors channel](https://gitter.im/mochajs/contributors). This is a *public* channel, and *anyone* can join.
+Maintainers will mainly gather in [the mochajs/contributors channel](https://gitter.im/mochajs/contributors). This is a _public_ channel, and _anyone_ can join.
Videoconference (or audio) calls may happen on a regular or irregular basis, as schedules allow. This is mainly because we have Real Lives and time zones suck.
## Working with Issues & Pull Requests
-All new issues will need to be triaged, and pull requests must be examined. Maintainers must understand [Semantic Versioning](http://semver.org) ("SemVer"), as Mocha follows it strictly.
+All new issues will need to be triaged, and pull requests must be examined. Maintainers must understand [Semantic Versioning](http://semver.org) ("SemVer"), as Mocha follows it strictly.
> If you see an issue or PR that could use some labels, please add them!
@@ -180,24 +180,24 @@ The TL;DR of Semantic Versioning is:
- MINOR version when you add functionality in a backwards-compatible manner, and
- PATCH version when you make backwards-compatible bug fixes.
-Pull requests *must* have one of these three (3) labels:
+Pull requests _must_ have one of these three (3) labels:
- `semver-patch` for backwards-compatible bug fixes, documentation, or anything which does not affect a "production" (`npm install mocha`) installation of Mocha
- `semver-minor` for backwards-compatible new features or usability/interface enhancements
- `semver-major` for backwards-incompatible ("breaking") changes to the API
-A PR which introduces a breaking change is considered to be `semver-major`, *regardless* of whether it's a bug fix, feature, or whatever.
+A PR which introduces a breaking change is considered to be `semver-major`, _regardless_ of whether it's a bug fix, feature, or whatever.
For the purposes of the above definitions, Mocha has some unique considerations, and includes the following in its definition of "API":
-1. Mocha's *documented*, programmatic interface which *is not explicitly tagged with `@private`*
+1. Mocha's _documented_, programmatic interface which _is not explicitly tagged with `@private`_
1. Mocha's machine-readable reporter output
1. Mocha's default settings
1. Mocha's command-line options
1. The environments which Mocha supports; this includes:
- 1. Browser versions
- 1. Node.js versions
- 1. Compatibility with popular module loaders (e.g., AMD)
+ 1. Browser versions
+ 1. Node.js versions
+ 1. Compatibility with popular module loaders (e.g., AMD)
**Err on the side of the user; breaking changes to private APIs will be `semver-major`, if and only if they are known to be consumed by actively developed project(s).**
@@ -213,18 +213,18 @@ Examples of a breaking changes might be:
### Questions
-Support questions should be answered if possible, but the user should be directed to the chat room, StackOverflow, or Google Groups for further help, *if* it is indeed a Mocha-related issue.
+Support questions should be answered if possible, but the user should be directed to the chat room, StackOverflow, or Google Groups for further help, _if_ it is indeed a Mocha-related issue.
-If it's *not* a Mocha problem (people tend not to believe this), you may want to show a counter-example. It's often helpful to direct the issue author to the responsible project, if you can determine what that is.
+If it's _not_ a Mocha problem (people tend not to believe this), you may want to show a counter-example. It's often helpful to direct the issue author to the responsible project, if you can determine what that is.
-- `faq`: Issues which are *repeatedly* asked support questions or misunderstandings. This may also apply to questions which receive a lot of 👍's
+- `faq`: Issues which are _repeatedly_ asked support questions or misunderstandings. This may also apply to questions which receive a lot of 👍's
- `question`: Add this label if it's just a support question
### Bugs
- `confirmed-bug`: A confirmed bug
- `unconfirmed-bug`: A maintainer has not yet or cannot reproduce; typically `needs-feedback` follows (see "Feedback & Follow-ups" below)
-- `invalid`: Not a bug. Close the issue.
+- `invalid`: Not a bug. Close the issue.
- `wontfix`: A bug, but for Reasons, it won't get fixed.
### Features
@@ -243,22 +243,22 @@ If it's *not* a Mocha problem (people tend not to believe this), you may want to
### Feedback & Follow-ups
-Issues or PRs which require action or feedback from a *specific* maintainer, should have that item *assigned* to them.
+Issues or PRs which require action or feedback from a _specific_ maintainer, should have that item _assigned_ to them.
-- `needs-feedback`: Issues which *need feedback from the original author*. Will automatically become `stale` (see "Meta" section below)
-- `needs-review`: For *pull requests only*; PRs which need a maintainer to inspect and/or merge them
+- `needs-feedback`: Issues which _need feedback from the original author_. Will automatically become `stale` (see "Meta" section below)
+- `needs-review`: For _pull requests only_; PRs which need a maintainer to inspect and/or merge them
### Meta
-- `stale`: The "stalebot" marks things as stale and will close issues if they need feedback but haven't received any. Comment on an issue to prevent this from happening.
-- `help wanted`: If it's an issue that is not a high priority for the maintenance team, use this label to solicit contributions. Note lack of `-` in this label's name.
+- `stale`: The "stalebot" marks things as stale and will close issues if they need feedback but haven't received any. Comment on an issue to prevent this from happening.
+- `help wanted`: If it's an issue that is not a high priority for the maintenance team, use this label to solicit contributions. Note lack of `-` in this label's name.
- `good-first-issue`: Typically combined with `help wanted`; an issue that new contributors to Mocha may find straightforward.
### Closing Issues
Write "closes #<ISSUE>" or "resolves #<ISSUE>" in a commit or PR to have the original issue closed automatically once the PR is merged.
-For any issue which is a duplicate, write "duplicate of #<ISSUE>" in a new comment, and close the issue. [Read more about marking issues as duplicates](https://help.github.com/articles/about-duplicate-issues-and-pull-requests/).
+For any issue which is a duplicate, write "duplicate of #<ISSUE>" in a new comment, and close the issue. [Read more about marking issues as duplicates](https://help.github.com/articles/about-duplicate-issues-and-pull-requests/).
If the issue is a support question, and you believe it has been answered, close the issue.
@@ -266,13 +266,13 @@ If the issue is not Mocha-related, and/or a bug cannot be confirmed, label it `i
## Commenting on Issues and Reviewing Pull Requests
-**All maintainers should be courteous and kind.** Thank the external contributor for the pull request, even if it is not merged. If the pull request has been opened (and subsequently closed) without discussion in a corresponding issue, let them know that by creating an issue first, they could have saved wasted effort. *Clearly and objectively* explain the reasoning for rejecting any PR.
+**All maintainers should be courteous and kind.** Thank the external contributor for the pull request, even if it is not merged. If the pull request has been opened (and subsequently closed) without discussion in a corresponding issue, let them know that by creating an issue first, they could have saved wasted effort. _Clearly and objectively_ explain the reasoning for rejecting any PR.
-If you need more information in an issue, nicely ask the user to provide it. Remind them to use the issue/PR templates if they have not. If the user never gets around to it, the "stalebot" will close it eventually anyhow.
+If you need more information in an issue, nicely ask the user to provide it. Remind them to use the issue/PR templates if they have not. If the user never gets around to it, the "stalebot" will close it eventually anyhow.
### Reviewing Code
-Use GitHub's code review features. Requesting a review from another maintainer *may or may not* actually result in a review; don't wait on it. If the PR cannot move forward without input from a certain maintainer, *assign them to the PR*.
+Use GitHub's code review features. Requesting a review from another maintainer _may or may not_ actually result in a review; don't wait on it. If the PR cannot move forward without input from a certain maintainer, _assign them to the PR_.
### The Part About Jerks
@@ -280,18 +280,18 @@ There will be jerks.
#### Rude or Entitled People
-These are users who feel the Mocha project and its maintainers *owe them* time or support. This is incorrect.
+These are users who feel the Mocha project and its maintainers _owe them_ time or support. This is incorrect.
-However, this behavior is often indicative of someone who is "new" to open source. Many just don't know better. It is not your *responsibility* to educate them (again, you owe them nothing).
+However, this behavior is often indicative of someone who is "new" to open source. Many just don't know better. It is not your _responsibility_ to educate them (again, you owe them nothing).
Here are some suggestions:
1. If u mad, wait 20 minutes before writing a comment.
-1. "Kill them with kindness". Explain how they are presenting themselves; maybe link to a good article or two about it.
-1. Don't make it about "users vs. maintainers". Treat them like a potential future maintainer.
-1. Avoid adding to the drama. You could try to reach out privately; email may be in their GitHub profile. You will likely never hear from that individual again (problem solved)
+1. "Kill them with kindness". Explain how they are presenting themselves; maybe link to a good article or two about it.
+1. Don't make it about "users vs. maintainers". Treat them like a potential future maintainer.
+1. Avoid adding to the drama. You could try to reach out privately; email may be in their GitHub profile. You will likely never hear from that individual again (problem solved)
1. If an issue is getting out of control, lock it.
-1. If someone is *repeatedly* rude and does not correct their mistakes, you may ban them from participating in the `mochajs` org. If you do not have permission to do so, contact one which does (an "owner").
+1. If someone is _repeatedly_ rude and does not correct their mistakes, you may ban them from participating in the `mochajs` org. If you do not have permission to do so, contact one which does (an "owner").
#### Code of Conduct Violations
@@ -304,29 +304,29 @@ Here are some suggestions:
## Branches
-`master` is the only maintained branch in `mochajs/mocha` or any of the other repos. **`master` is the only branch to which force-pushing is disallowed.**
+`master` is the only maintained branch in `mochajs/mocha` or any of the other repos. **`master` is the only branch to which force-pushing is disallowed.**
Maintainers may push new branches to a repo, as long as they remove them when finished (merging a PR will prompt to do so).
-Please *please* ***please*** delete old or unused branches.
+Please _please_ **_please_** delete old or unused branches.
## Merging PRs
-GitHub has several options for how to merge a PR. Here's what we do:
+GitHub has several options for how to merge a PR. Here's what we do:
-1. *If a PR has multiple commits*, "Squash".
-1. *If a PR has a single commit*, "Rebase".
+1. _If a PR has multiple commits_, "Squash".
+1. _If a PR has a single commit_, "Rebase".
1. Don't "Merge".
**Upon acceptance of a PR, you must assign it a milestone.**
### Using Milestones
-If you know that the PR is breaking, assign it to a new or existing milestone correlating with the next major release. For example, if Mocha's current version is v6.5.2, then this milestone would be named `v7.0.0`.
+If you know that the PR is breaking, assign it to a new or existing milestone correlating with the next major release. For example, if Mocha's current version is v6.5.2, then this milestone would be named `v7.0.0`.
-Likewise, if the PR is `semver-minor`, create or use a new milestone correlating to the next *minor* release, e.g., `v6.6.0`.
+Likewise, if the PR is `semver-minor`, create or use a new milestone correlating to the next _minor_ release, e.g., `v6.6.0`.
-If it's unclear what the next milestone will be, use or create a milestone named `next`. This milestone will be renamed to the new version at release time.
+If it's unclear what the next milestone will be, use or create a milestone named `next`. This milestone will be renamed to the new version at release time.
By using milestones, we can cherry-pick non-breaking changes into minor or patch releases, and keep `master` as the latest version.
@@ -334,43 +334,43 @@ By using milestones, we can cherry-pick non-breaking changes into minor or patch
## Mocha's Release Process
-*It's easier to release often.*
+_It's easier to release often._
1. Decide whether this is a `patch`, `minor`, or `major` release.
1. Checkout `master` in your working copy & pull.
-1. Modify `CHANGELOG.md`; follow the existing conventions in that file. Use the "pull request" number, unless there isn't one. *You do not need to add Markdown links; this is done automatically.*
- 1. You can omit stuff from `CHANGELOG.md` that was done by a maintainer, but would have no interest to consumers of Mocha.
- 1. If the changes aren't of interest to consumers but *were not* made by a maintainer, reference them anyway. It's cool to give attribution!
-1. Use `npm version` (use `npm@6+`) to bump the version; see `npm version --help` for more info. (Hint--use `-m`: e.g., `npm version patch -m 'Release v%s'`)
- 1. This command will update the list of contributors (from the Git history) in `package.json`, and add GitHub links to `CHANGELOG.md`.
- 1. These changes are then added to the Git "stage" and will be added to the commit.
+1. Modify `CHANGELOG.md`; follow the existing conventions in that file. Use the "pull request" number, unless there isn't one. _You do not need to add Markdown links; this is done automatically._
+ 1. You can omit stuff from `CHANGELOG.md` that was done by a maintainer, but would have no interest to consumers of Mocha.
+ 1. If the changes aren't of interest to consumers but _were not_ made by a maintainer, reference them anyway. It's cool to give attribution!
+1. Use `npm version` (use `npm@6+`) to bump the version; see `npm version --help` for more info. (Hint--use `-m`: e.g., `npm version patch -m 'Release v%s'`)
+ 1. This command will update the list of authors (from the Git history) in `AUTHORS`, and add GitHub links to `CHANGELOG.md`.
+ 1. These changes are then added to the Git "stage" and will be added to the commit.
1. Push `master` to `origin` with your new tag; e.g. `git push origin master --tags`
-1. Copy & paste the `CHANGELOG.md` lines to a new GitHub "release". Save release as draft.
+1. Copy & paste the `CHANGELOG.md` lines to a new GitHub "release". Save release as draft.
1. Meanwhile, you can check [the build](https://travis-ci.org/mochajs/mocha) on Travis-CI and [AppVeyor](https://ci.appveyor.com/project/boneskull/mocha).
1. Once the build is green, and you're satisfied with the release notes, open your draft release on GitHub, then click "publish."
-1. Back in your working copy, run `npm publish`. *If you're doing a prerelease, ensure that you use `--tag=next`.*
-1. Announce the update on Twitter or just tell your dog or something. New releases will be automatically tweeted by [@b0neskull](https://twitter.com/b0neskull) via a feed subscription to Mocha's "releases" page on GitHub.
+1. Back in your working copy, run `npm publish`. _If you're doing a prerelease, ensure that you use `--tag=next`._
+1. Announce the update on Twitter or just tell your dog or something. New releases will be automatically tweeted by [@b0neskull](https://twitter.com/b0neskull) via a feed subscription to Mocha's "releases" page on GitHub.
In addition to above, you'll need to ensure the docs at [https://mochajs.org](https://mochajs.org) are updated:
-1. *If you're doing a prerelease*, fast-forward the `next` branch to `master`, and push it. This updates [https://next.mochajs.org](https://next.mochajs.org). That's all.
-1. *If this is NOT a prerelease*, fast-forward the `mochajs.org` branch to `master` and push it. This updates [https://mochajs.org](https://mochajs.org).
-1. *If this is a "final" release* (the first release of a major *after* one or more prereleases) then remove the `next` tag from npm via `npm dist-tag rm next`.
+1. _If you're doing a prerelease_, fast-forward the `next` branch to `master`, and push it. This updates [https://next.mochajs.org](https://next.mochajs.org). That's all.
+1. _If this is NOT a prerelease_, fast-forward the `mochajs.org` branch to `master` and push it. This updates [https://mochajs.org](https://mochajs.org).
+1. _If this is a "final" release_ (the first release of a major _after_ one or more prereleases) then remove the `next` tag from npm via `npm dist-tag rm next`.
-*Note: there are too many steps above.*
+_Note: there are too many steps above._
## About The JS Foundation
-The [JS Foundation](https://js.foundation) retains copyright of all projects underneath the [mochajs org](https://github.com/mochajs). The Foundation does not influence technical decisions nor the project roadmap. It is, however, charged with ensuring the continued vitality and sustainability of projects under its banner.
+The [JS Foundation](https://js.foundation) retains copyright of all projects underneath the [mochajs org](https://github.com/mochajs). The Foundation does not influence technical decisions nor the project roadmap. It is, however, charged with ensuring the continued vitality and sustainability of projects under its banner.
As a maintainer, you have access to the resources the JS Foundation provides.
## About OpenCollective
-Mocha collects donations [via OpenCollective](https://opencollective.com/mochajs). As a maintainer, you may help decide how the funds are used. These decisions are made via a consensus-seeking process, much like any other decision.
+Mocha collects donations [via OpenCollective](https://opencollective.com/mochajs). As a maintainer, you may help decide how the funds are used. These decisions are made via a consensus-seeking process, much like any other decision.
Expense transparency is built in to OpenCollective.
-* * *
+---
-Questions? Ask in the [contributors' chat room](https://gitter.im/mochajs/contributors)!
+Questions? Ask in the [contributors' chat room](https://gitter.im/mochajs/contributors)!
diff --git a/package-lock.json b/package-lock.json
index 0c7d9888..01eed437 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -279,51 +279,6 @@
}
}
},
- "@mocha/contributors": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/@mocha/contributors/-/contributors-1.0.4.tgz",
- "integrity": "sha512-bdOaBixwP7948K7xlqSXnelbsLDAnCX1h4qSRYfbRADMg+UtNJE+ggpzTdBVpdLNxJLkgnRM5KJ9MXiLoMib3Q==",
- "dev": true,
- "requires": {
- "log-symbols": "^2.2.0",
- "parse-author": "^2.0.0",
- "pkg-up": "^2.0.0",
- "write-pkg": "^3.2.0",
- "yargs": "^12.0.5"
- },
- "dependencies": {
- "yargs": {
- "version": "12.0.5",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz",
- "integrity": "sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==",
- "dev": true,
- "requires": {
- "cliui": "^4.0.0",
- "decamelize": "^1.2.0",
- "find-up": "^3.0.0",
- "get-caller-file": "^1.0.1",
- "os-locale": "^3.0.0",
- "require-directory": "^2.1.1",
- "require-main-filename": "^1.0.1",
- "set-blocking": "^2.0.0",
- "string-width": "^2.0.0",
- "which-module": "^2.0.0",
- "y18n": "^3.2.1 || ^4.0.0",
- "yargs-parser": "^11.1.1"
- }
- },
- "yargs-parser": {
- "version": "11.1.1",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz",
- "integrity": "sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==",
- "dev": true,
- "requires": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
- }
- }
- }
- },
"@mocha/docdash": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/@mocha/docdash/-/docdash-2.1.2.tgz",
@@ -1292,12 +1247,6 @@
"integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
"dev": true
},
- "author-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/author-regex/-/author-regex-1.0.0.tgz",
- "integrity": "sha1-0IiFvmubv5Q5/gh8dihyRfCoFFA=",
- "dev": true
- },
"autolinker": {
"version": "0.28.1",
"resolved": "https://registry.npmjs.org/autolinker/-/autolinker-0.28.1.tgz",
@@ -3149,28 +3098,6 @@
"tiny-emitter": "^2.0.0"
}
},
- "cliui": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz",
- "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==",
- "dev": true,
- "requires": {
- "string-width": "^2.1.1",
- "strip-ansi": "^4.0.0",
- "wrap-ansi": "^2.0.0"
- },
- "dependencies": {
- "strip-ansi": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
- "dev": true,
- "requires": {
- "ansi-regex": "^3.0.0"
- }
- }
- }
- },
"clone": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
@@ -4355,12 +4282,6 @@
"integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=",
"dev": true
},
- "detect-indent": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz",
- "integrity": "sha1-OHHMCmoALow+Wzz38zYmRnXwa50=",
- "dev": true
- },
"detect-libc": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",
@@ -8485,12 +8406,6 @@
}
}
},
- "invert-kv": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz",
- "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==",
- "dev": true
- },
"ip-regex": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz",
@@ -9680,15 +9595,6 @@
"integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=",
"dev": true
},
- "lcid": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz",
- "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==",
- "dev": true,
- "requires": {
- "invert-kv": "^2.0.0"
- }
- },
"lcov-parse": {
"version": "0.0.10",
"resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.10.tgz",
@@ -10514,15 +10420,6 @@
"integrity": "sha1-9M+EV7km7u4qg7FzUBQUvHbrlZc=",
"dev": true
},
- "map-age-cleaner": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz",
- "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==",
- "dev": true,
- "requires": {
- "p-defer": "^1.0.0"
- }
- },
"map-cache": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",
@@ -10917,17 +10814,6 @@
"integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=",
"dev": true
},
- "mem": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/mem/-/mem-4.1.0.tgz",
- "integrity": "sha512-I5u6Q1x7wxO0kdOpYBB28xueHADYps5uty/zg936CiG8NTe5sJL8EjrCuLneuDW3PlMdZBGDIn8BirEVdovZvg==",
- "dev": true,
- "requires": {
- "map-age-cleaner": "^0.1.1",
- "mimic-fn": "^1.0.0",
- "p-is-promise": "^2.0.0"
- }
- },
"memoizeasync": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/memoizeasync/-/memoizeasync-1.1.0.tgz",
@@ -12402,17 +12288,6 @@
"integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
"dev": true
},
- "os-locale": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",
- "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==",
- "dev": true,
- "requires": {
- "execa": "^1.0.0",
- "lcid": "^2.0.0",
- "mem": "^4.0.0"
- }
- },
"os-shim": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/os-shim/-/os-shim-0.1.3.tgz",
@@ -12450,12 +12325,6 @@
"integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw==",
"dev": true
},
- "p-defer": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz",
- "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=",
- "dev": true
- },
"p-event": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/p-event/-/p-event-1.3.0.tgz",
@@ -12471,12 +12340,6 @@
"integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=",
"dev": true
},
- "p-is-promise": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.0.0.tgz",
- "integrity": "sha512-pzQPhYMCAgLAKPWD2jC3Se9fEfrD9npNos0y150EeqZll7akhEgGhTW/slB6lHku8AvYGiJ+YJ5hfHKePPgFWg==",
- "dev": true
- },
"p-limit": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
@@ -12607,15 +12470,6 @@
"safe-buffer": "^5.1.1"
}
},
- "parse-author": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/parse-author/-/parse-author-2.0.0.tgz",
- "integrity": "sha1-00YL8d3Q367tQtp1QkLmX7aEqB8=",
- "dev": true,
- "requires": {
- "author-regex": "^1.0.0"
- }
- },
"parse-entities": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-1.2.1.tgz",
@@ -13002,60 +12856,6 @@
}
}
},
- "pkg-up": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-2.0.0.tgz",
- "integrity": "sha1-yBmscoBZpGHKscOImivjxJoATX8=",
- "dev": true,
- "requires": {
- "find-up": "^2.1.0"
- },
- "dependencies": {
- "find-up": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
- "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
- "dev": true,
- "requires": {
- "locate-path": "^2.0.0"
- }
- },
- "locate-path": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz",
- "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=",
- "dev": true,
- "requires": {
- "p-locate": "^2.0.0",
- "path-exists": "^3.0.0"
- }
- },
- "p-limit": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
- "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
- "dev": true,
- "requires": {
- "p-try": "^1.0.0"
- }
- },
- "p-locate": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
- "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
- "dev": true,
- "requires": {
- "p-limit": "^1.1.0"
- }
- },
- "p-try": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
- "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",
- "dev": true
- }
- }
- },
"please-upgrade-node": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz",
@@ -18172,38 +17972,6 @@
"integrity": "sha1-wlLXx8WxtAKJdjDjRTx7/mkNnKE=",
"dev": true
},
- "write-json-file": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-2.3.0.tgz",
- "integrity": "sha1-K2TIozAE1UuGmMdtWFp3zrYdoy8=",
- "dev": true,
- "requires": {
- "detect-indent": "^5.0.0",
- "graceful-fs": "^4.1.2",
- "make-dir": "^1.0.0",
- "pify": "^3.0.0",
- "sort-keys": "^2.0.0",
- "write-file-atomic": "^2.0.0"
- },
- "dependencies": {
- "pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
- "dev": true
- }
- }
- },
- "write-pkg": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/write-pkg/-/write-pkg-3.2.0.tgz",
- "integrity": "sha512-tX2ifZ0YqEFOF1wjRW2Pk93NLsj02+n1UP5RvO6rCs0K6R2g1padvf006cY74PQJKMGS2r42NK7FD0dG6Y6paw==",
- "dev": true,
- "requires": {
- "sort-keys": "^2.0.0",
- "write-json-file": "^2.2.0"
- }
- },
"ws": {
"version": "6.1.4",
"resolved": "https://registry.npmjs.org/ws/-/ws-6.1.4.tgz",
diff --git a/package-scripts.js b/package-scripts.js
index 0e414e15..3f9b2d0b 100644
--- a/package-scripts.js
+++ b/package-scripts.js
@@ -307,9 +307,9 @@ module.exports = {
description: 'Build API docs'
}
},
- updateContributors: {
- script: 'contributors',
- description: 'Update list of contributors in package.json'
+ updateAuthors: {
+ script: 'node scripts/update-authors.js',
+ description: 'Update list of AUTHORS'
},
linkifyChangelog: {
script: 'node scripts/linkify-changelog.js',
@@ -317,7 +317,7 @@ module.exports = {
},
version: {
script:
- 'nps updateContributors && nps linkifyChangelog && git add -A ./package.json ./CHANGELOG.md',
+ 'nps updateAuthors && nps linkifyChangelog && git add -A ./AUTHORS ./CHANGELOG.md',
description: 'Tasks to perform when `npm version` is run'
}
}
diff --git a/package.json b/package.json
index 7dbe7a45..045314b8 100644
--- a/package.json
+++ b/package.json
@@ -14,501 +14,6 @@
"url": "https://opencollective.com/mochajs"
},
"author": "TJ Holowaychuk <[email protected]>",
- "contributors": [
- "38elements <[email protected]>",
- "Aaron Brady <[email protected]>",
- "Aaron Hamid <[email protected]>",
- "Aaron Heckmann <[email protected]>",
- "Aaron Krause <[email protected]>",
- "Aaron Petcoff <[email protected]>",
- "abrkn <[email protected]>",
- "Adam Crabtree <[email protected]>",
- "Adam Ginzberg <[email protected]>",
- "Adam Gruber <[email protected]>",
- "Adrian Ludwig <[email protected]>",
- "Ahmad Bamieh <[email protected]>",
- "airportyh <[email protected]>",
- "Ajay Kodali <[email protected]>",
- "Al Scott <[email protected]>",
- "Alex Bainter <[email protected]>",
- "Alexander Early <[email protected]>",
- "Alexander Shepelin <[email protected]>",
- "Alhadis <[email protected]>",
- "amsul <[email protected]>",
- "Anders Olsen Sandvik <[email protected]>",
- "Andreas Brekken <[email protected]>",
- "Andreas Lind <[email protected]>",
- "Andreas Lind Petersen <[email protected]>",
- "Andrew Bradley <[email protected]>",
- "Andrew Bradley <[email protected]>",
- "Andrew Krawchyk <[email protected]>",
- "Andrew Nesbitt <[email protected]>",
- "Andrey Popp <[email protected]>",
- "Andrii Shumada <[email protected]>",
- "andy matthews <[email protected]>",
- "Angelica Valenta <[email protected]>",
- "Anis Safine <[email protected]>",
- "Anish Karandikar <[email protected]>",
- "Anna Henningsen <[email protected]>",
- "Anthony <[email protected]>",
- "Anton <[email protected]>",
- "anton <[email protected]>",
- "APerson <[email protected]>",
- "Arian Stolwijk <[email protected]>",
- "Ariel Mashraki <[email protected]>",
- "Arnaud Brousseau <[email protected]>",
- "Artem Govorov <[email protected]>",
- "Atsuya Takagi <[email protected]>",
- "Attila Domokos <[email protected]>",
- "Austin Birch <[email protected]>",
- "Avi Vahl <[email protected]>",
- "badunk <[email protected]>",
- "Bamieh <[email protected]>",
- "Ben Bradley <[email protected]>",
- "Ben Glassman <[email protected]>",
- "Ben Harris <[email protected]>",
- "Ben Hutchison <[email protected]>",
- "Ben Lindsey <[email protected]>",
- "Ben Noordhuis <[email protected]>",
- "Ben Vinegar <[email protected]>",
- "Benjamin Eidelman <[email protected]>",
- "Benjie Gillam <[email protected]>",
- "Benoit Larroque <[email protected]>",
- "Benoît Zugmeyer <[email protected]>",
- "Benson Trent <[email protected]>",
- "Berker Peksag <[email protected]>",
- "berni <[email protected]>",
- "Bjørge Næss <[email protected]>",
- "Bjorn Stromberg <[email protected]>",
- "Brendan Nee <[email protected]>",
- "Brian Beck <[email protected]>",
- "Brian Lagerman <[email protected]>",
- "Brian Lalor <[email protected]>",
- "Brian M. Carlson <[email protected]>",
- "Brian Moore <[email protected]>",
- "Brian Tomlin <[email protected]>",
- "Brittany Moore <[email protected]>",
- "Bryan Donovan <[email protected]>",
- "Buck Doyle <[email protected]>",
- "C. Scott Ananian <[email protected]>",
- "Callum Macrae <[email protected]>",
- "Can Oztokmak <[email protected]>",
- "Capacitor Set <[email protected]>",
- "Carl-Erik Kopseng <[email protected]>",
- "Casey Foster <[email protected]>",
- "Charles Lowell <[email protected]>",
- "Charles Merriam <[email protected]>",
- "Charles Samborski <[email protected]>",
- "Charlie Rudolph <[email protected]>",
- "Chen Yangjian <[email protected]>",
- "Chris <[email protected]>",
- "Chris Buckley <[email protected]>",
- "Chris Lamb <[email protected]>",
- "Christian <[email protected]>",
- "Christian Holm <[email protected]>",
- "Christoffer Hallas <[email protected]>",
- "Christoph Neuroth <[email protected]>",
- "Christopher Hiller <[email protected]>",
- "ChrisWren <[email protected]>",
- "claudyus <claudyus@HEX.(none)>",
- "Connor Dunn <[email protected]>",
- "Corey Butler <[email protected]>",
- "Corey Farrell <[email protected]>",
- "Cory Thomas <[email protected]>",
- "Craig Taub <[email protected]>",
- "Cube <[email protected]>",
- "Daniel Ruf <[email protected]>",
- "Daniel Ruf <[email protected]>",
- "Daniel St. Jules <[email protected]>",
- "Daniel Stockman <[email protected]>",
- "Darryl Pogue <[email protected]>",
- "Dave McKenna <[email protected]>",
- "David da Silva Contín <[email protected]>",
- "David Henderson <[email protected]>",
- "David M. Lee <[email protected]>",
- "David Neubauer <[email protected]>",
- "DavidLi119 <[email protected]>",
- "DavNej <[email protected]>",
- "Denis Bardadym <[email protected]>",
- "Devin Weaver <[email protected]>",
- "dfberry <[email protected]>",
- "Di Wu <[email protected]>",
- "Dina Berry <[email protected]>",
- "Diogo Monteiro <[email protected]>",
- "Dmitrii Sorin <[email protected]>",
- "Dmitriy Simushev <[email protected]>",
- "Dmitry Shirokov <[email protected]>",
- "Dmitry Sorin <[email protected]>",
- "Domenic Denicola <[email protected]>",
- "Dominic Barnes <[email protected]>",
- "Dominique Quatravaux <[email protected]>",
- "Douglas Christopher Wilson <[email protected]>",
- "Duncan Beevers <[email protected]>",
- "eiji.ienaga <[email protected]>",
- "elergy <[email protected]>",
- "Eli Skeggs <[email protected]>",
- "ELLIOTTCABLE <[email protected]>",
- "Emanuele <[email protected]>",
- "Enric Pallerols <[email protected]>",
- "Erik Eng <[email protected]>",
- "Eugene Tiutiunnyk <[email protected]>",
- "EunChan Park <[email protected]>",
- "Fabio M. Costa <[email protected]>",
- "Fábio Santos <[email protected]>",
- "Fagner Brack <[email protected]>",
- "fargies <[email protected]>",
- "FARKAS Máté <[email protected]>",
- "fcrisci <[email protected]>",
- "Fede Ramirez <[email protected]>",
- "Fedor Indutny <[email protected]>",
- "fengmk2 <[email protected]>",
- "Fin Chen <[email protected]>",
- "Florian Margaine <[email protected]>",
- "fool2fish <[email protected]>",
- "Forbes Lindesay <[email protected]>",
- "Frank Leon Rose <[email protected]>",
- "Frederico Silva <[email protected]>",
- "Fredrik Enestad <[email protected]>",
- "Fredrik Lindin <[email protected]>",
- "Fumiaki MATSUSHIMA <[email protected]>",
- "Gabe Gorelick <[email protected]>",
- "Gabriel Silk <[email protected]>",
- "Gareth Aye <[email protected]>",
- "Gareth Murphy <[email protected]>",
- "Gastón I. Silva <[email protected]>",
- "Gavin Mogan <[email protected]>",
- "gaye <[email protected]>",
- "gigadude <[email protected]>",
- "Giovanni Bassi <[email protected]>",
- "gizemkeser <[email protected]>",
- "Glen Huang <[email protected]>",
- "Glen Mailer <[email protected]>",
- "grasGendarme <[email protected]>",
- "Greg Perkins <[email protected]>",
- "Guangcong Luo <[email protected]>",
- "Guillermo Rauch <[email protected]>",
- "Guy Arye <[email protected]>",
- "Gyandeep Singh <[email protected]>",
- "Harish <[email protected]>",
- "Harry Brundage <[email protected]>",
- "Harry Sarson <[email protected]>",
- "Harry Wolff <[email protected]>",
- "Herman Junge <[email protected]>",
- "hokaccha <[email protected]>",
- "Honza Javorek <[email protected]>",
- "Hugo Giraudel <[email protected]>",
- "Hugo Kim <[email protected]>",
- "HYUNSANG HAN <[email protected]>",
- "HyunSangHan <[email protected]>",
- "Ian Storm Taylor <[email protected]>",
- "Ian W. Remmel <[email protected]>",
- "Ian Young <[email protected]>",
- "Ian Zamojc <[email protected]>",
- "Igwe Kalu <[email protected]>",
- "ImgBot <[email protected]>",
- "inxorable <[email protected]>",
- "Ivan <[email protected]>",
- "Jaakko Salonen <[email protected]>",
- "Jacob Wejendorp <[email protected]>",
- "Jake Craige <[email protected]>",
- "Jake Marsh <[email protected]>",
- "Jakob Krigovsky <[email protected]>",
- "Jakub Nešetřil <[email protected]>",
- "James Bowes <[email protected]>",
- "James Carr <[email protected]>",
- "James D. Rogers <[email protected]>",
- "James G. Kim <[email protected]>",
- "James Lal <[email protected]>",
- "James Nylen <[email protected]>",
- "Jan Kopriva <[email protected]>",
- "Jan Krems <[email protected]>",
- "Jan Lehnardt <[email protected]>",
- "Jan-Philip Gehrcke <[email protected]>",
- "Jason Barry <[email protected]>",
- "Jason Lai <[email protected]>",
- "Jason Leyba <[email protected]>",
- "Javier Aranda <[email protected]>",
- "Jayasankar <[email protected]>",
- "Jean Ponchon <[email protected]>",
- "Jeff Kunkle <[email protected]>",
- "Jeff Schilling <[email protected]>",
- "JeongHoon Byun (aka Outsider) <[email protected]>",
- "Jérémie Astori <[email protected]>",
- "Jeremy Martin <[email protected]>",
- "Jerry Muzsik <[email protected]>",
- "Jesse Dailey <[email protected]>",
- "jimenglish81 <[email protected]>",
- "Jimmy Cuadra <[email protected]>",
- "Jo Liss <[email protected]>",
- "Joao Moreno <[email protected]>",
- "Joel Kemp <[email protected]>",
- "Joey Cozza <[email protected]>",
- "John Doty <[email protected]>",
- "John Firebaugh <[email protected]>",
- "John Reeves <[email protected]>",
- "Johnathon Sanders <[email protected]>",
- "Jon Surrell <[email protected]>",
- "Jonas Dohse <[email protected]>",
- "Jonas Westerlund <[email protected]>",
- "Jonathan Creamer <[email protected]>",
- "Jonathan Delgado <[email protected]>",
- "Jonathan Kim <[email protected]>",
- "Jonathan Ong <[email protected]>",
- "Jonathan Park <[email protected]>",
- "Jonathan Rajavuori <[email protected]>",
- "Jordan Sexton <[email protected]>",
- "Joseph Lin <[email protected]>",
- "Josh Eversmann <[email protected]>",
- "Josh Lory <[email protected]>",
- "Josh Soref <[email protected]>",
- "Joshua Appelman <[email protected]>",
- "Joshua Krall <[email protected]>",
- "JP Bochi <[email protected]>",
- "jsdevel <[email protected]>",
- "Juerg B <[email protected]>",
- "juergba <[email protected]>",
- "Julien Wajsberg <[email protected]>",
- "Jupp Müller <[email protected]>",
- "Jussi Virtanen <[email protected]>",
- "Justin DuJardin <[email protected]>",
- "Juzer Ali <[email protected]>",
- "Katie Gengler <[email protected]>",
- "kavun <[email protected]>",
- "Kazuhito Hokamura <[email protected]>",
- "Keith Cirkel <[email protected]>",
- "Kelong Wang <[email protected]>",
- "Kent C. Dodds <[email protected]>",
- "Kevin Burke <[email protected]>",
- "Kevin Conway <[email protected]>",
- "Kevin Kirsche <[email protected]>",
- "Kevin Partington <[email protected]>",
- "Kevin Wang <[email protected]>",
- "Kirill Korolyov <[email protected]>",
- "klaemo <[email protected]>",
- "Koen Punt <[email protected]>",
- "Konstantin Käfer <[email protected]>",
- "Kris Rasmussen <[email protected]>",
- "Kunal Nagpal <[email protected]>",
- "Kyle Fuller <[email protected]>",
- "Kyle Mitchell <[email protected]>",
- "KyoungWan <[email protected]>",
- "lakmeer <[email protected]>",
- "Lane Kelly <[email protected]>",
- "László Bácsi <[email protected]>",
- "Laurence Rowe <[email protected]>",
- "Liam Newman <[email protected]>",
- "Lindsay-Needs-Sleep <[email protected]>",
- "Linus Unnebäck <[email protected]>",
- "lodr <[email protected]>",
- "Long Ho <[email protected]>",
- "Maciej Małecki <[email protected]>",
- "Mal Graty <[email protected]>",
- "Marais Rossouw <[email protected]>",
- "Marc Kuo <[email protected]>",
- "Marc Udoff <[email protected]>",
- "Marcello Bastea-Forte <[email protected]>",
- "Mario Díaz Ceñera <[email protected]>",
- "Mark Banner <[email protected]>",
- "Mark Owsiak <[email protected]>",
- "Markus Tacker <[email protected]>",
- "Martijn Cuppens <[email protected]>",
- "Martin Marko <[email protected]>",
- "Mathieu Desvé <[email protected]>",
- "Matija Marohnić <[email protected]>",
- "Matt Bierner <[email protected]>",
- "Matt Giles <[email protected]>",
- "Matt Robenolt <[email protected]>",
- "Matt Smith <[email protected]>",
- "Matthew Shanley <[email protected]>",
- "Mattias Tidlund <[email protected]>",
- "Max Goodman <[email protected]>",
- "Maximilian Antoni <[email protected]>",
- "Merrick Christensen <[email protected]>",
- "Michael Demmer <[email protected]>",
- "Michael Jackson <[email protected]>",
- "Michael Olson <[email protected]>",
- "Michael Riley <[email protected]>",
- "Michael Schoonmaker <[email protected]>",
- "Michal Charemza <[email protected]>",
- "Michiel de Jong <[email protected]>",
- "Mick Brooks <[email protected]>",
- "Mike Pennisi <[email protected]>",
- "Mislav Marohnić <[email protected]>",
- "monowerker <[email protected]>",
- "Moshe Kolodny <[email protected]>",
- "mrShturman <[email protected]>",
- "Nathan Alderson <[email protected]>",
- "Nathan Black <[email protected]>",
- "Nathan Bowser <[email protected]>",
- "Nathan Houle <[email protected]>",
- "Nathan Rajlich <[email protected]>",
- "nexdrew <[email protected]>",
- "Nick Fitzgerald <[email protected]>",
- "Nicolas Girault <[email protected]>",
- "Nicolo Taddei <[email protected]>",
- "Nik Nyby <[email protected]>",
- "Nikolaos Georgiou <[email protected]>",
- "nishigori <[email protected]>",
- "Noshir Patel <[email protected]>",
- "not-an-aardvark <[email protected]>",
- "OlegTsyba <[email protected]>",
- "Oliver Salzburg <[email protected]>",
- "olsonpm <[email protected]>",
- "omardelarosa <[email protected]>",
- "Oscar Godson <[email protected]>",
- "Outsider <[email protected]>",
- "oveddan <[email protected]>",
- "P. Roebuck <[email protected]>",
- "Panu Horsmalahti <[email protected]>",
- "Park Seong-beom <[email protected]>",
- "Parker Moore <[email protected]>",
- "Pascal <[email protected]>",
- "Pat Finnigan <[email protected]>",
- "Paul Armstrong <[email protected]>",
- "Paul Miller <[email protected]>",
- "Paul Roebuck <[email protected]>",
- "Pavel Zubkou <[email protected]>",
- "Pete Hawkins <[email protected]>",
- "Peter Müller <[email protected]>",
- "Peter Rust <[email protected]>",
- "Peter Schmidt <[email protected]>",
- "Phil Sung <[email protected]>",
- "Philip M. White <[email protected]>",
- "Piotr Kuczynski <[email protected]>",
- "PoppinL <[email protected]>",
- "Poprádi Árpád <[email protected]>",
- "Prayag Verma <[email protected]>",
- "qiuzuhui <[email protected]>",
- "Quang Van <[email protected]>",
- "Quanlong He <[email protected]>",
- "Raynos <[email protected]>",
- "Refael Ackermann <[email protected]>",
- "Rens Groothuijsen <[email protected]>",
- "Rich Trott <[email protected]>",
- "Richard Dingwall <[email protected]>",
- "Richard Knop <[email protected]>",
- "Rico Sta. Cruz <[email protected]>",
- "rmacklin <[email protected]>",
- "Rob Loach <[email protected]>",
- "Rob Raux <[email protected]>",
- "Rob Wu <[email protected]>",
- "Robert Kieffer <[email protected]>",
- "Robert Rossmann <[email protected]>",
- "Romain Prieto <[email protected]>",
- "Roman Neuhauser <[email protected]>",
- "Roman Shtylman <[email protected]>",
- "Ross Warren <[email protected]>",
- "rotemdan <[email protected]>",
- "Russ Bradberry <[email protected]>",
- "Russell Munson <[email protected]>",
- "Rustem Mustafin <[email protected]>",
- "Ryan Hubbard <[email protected]>",
- "Ryan Shaw <[email protected]>",
- "Ryan Tablada <[email protected]>",
- "Ryunosuke SATO <[email protected]>",
- "ryym <[email protected]>",
- "Saerom Bang <[email protected]>",
- "Salehen Shovon Rahman <[email protected]>",
- "Sam Mussell <[email protected]>",
- "samuel goldszmidt <[email protected]>",
- "sarehag <[email protected]>",
- "Sasha Koss <[email protected]>",
- "Scott Kao <[email protected]>",
- "Scott Santucci <[email protected]>",
- "ScottFreeCode <[email protected]>",
- "Sean Lang <[email protected]>",
- "Sebastian Van Sande <[email protected]>",
- "sebv <[email protected]>",
- "Seiya Konno <[email protected]>",
- "Sergey Simonchik <[email protected]>",
- "Sergio Santoro <[email protected]>",
- "Shaine Hatch <[email protected]>",
- "Shawn Krisman <telaviv@github>",
- "SheetJSDev <[email protected]>",
- "Shinnosuke Watanabe <[email protected]>",
- "silentcloud <[email protected]>",
- "Silvio Massari <[email protected]>",
- "Simon Gaeremynck <[email protected]>",
- "Simon Goumaz <[email protected]>",
- "simov <[email protected]>",
- "Sindre Sorhus <[email protected]>",
- "Slobodan Mišković <[email protected]>",
- "slyg <[email protected]>",
- "Soel <[email protected]>",
- "solodynamo <[email protected]>",
- "Sona Lee <[email protected]>",
- "Soobin Bak <[email protected]>",
- "Sorin Iclanzan <[email protected]>",
- "Standa Opichal <[email protected]>",
- "startswithaj <[email protected]>",
- "Stephen Hess <[email protected]>",
- "Stephen Mathieson <[email protected]>",
- "Steve Mason <[email protected]>",
- "Stewart Taylor <[email protected]>",
- "Stone <[email protected]>",
- "Sulabh Bista <[email protected]>",
- "Sune Simonsen <[email protected]>",
- "Svetlana <[email protected]>",
- "Sylvain <[email protected]>",
- "Sylvester Keil <[email protected]>",
- "Szauka <[email protected]>",
- "Tapiwa Kelvin <[email protected]>",
- "Ted Yavuzkurt <[email protected]>",
- "Teddy Zeenny <[email protected]>",
- "Thedark1337 <[email protected]>",
- "Thomas Broadley <[email protected]>",
- "Thomas Grainger <[email protected]>",
- "Thomas Scholtes <[email protected]>",
- "Thomas Vantuycom <[email protected]>",
- "Tim Ehat <[email protected]>",
- "Tim Harshman <[email protected]>",
- "Timo Tijhof <[email protected]>",
- "Timothy Gu <[email protected]>",
- "Tingan Ho <[email protected]>",
- "tmont <[email protected]>",
- "Tobias Bieniek <[email protected]>",
- "Tobias Mollstam <[email protected]>",
- "Todd Agulnick <[email protected]>",
- "Tom Coquereau <[email protected]>",
- "Tom Hughes <[email protected]>",
- "Tomer Eskenazi <[email protected]>",
- "toyjhlee <[email protected]>",
- "traleig1 <[email protected]>",
- "Travis Jeffery <[email protected]>",
- "tripu <[email protected]>",
- "Tyson Tate <[email protected]>",
- "Vadim Nikitin <[email protected]>",
- "Valentin Agachi <[email protected]>",
- "Valeri Karpov <[email protected]>",
- "Victor <[email protected]>",
- "Victor Costan <[email protected]>",
- "Ville Saukkonen <[email protected]>",
- "Vivek Ganesan <[email protected]>",
- "vlad <[email protected]>",
- "Vlad Magdalin <[email protected]>",
- "Volker Buzek <[email protected]>",
- "Wanseob Lim <[email protected]>",
- "Wil Moore III <[email protected]>",
- "Will Langstroth <[email protected]>",
- "Xavier Antoviaque <[email protected]>",
- "Xavier Damman <[email protected]>",
- "XhmikosR <[email protected]>",
- "XhmikosR <[email protected]>",
- "Yanis Wang <[email protected]>",
- "yehiyam <[email protected]>",
- "Yoshiya Hinosawa <[email protected]>",
- "Yuest Wang <[email protected]>",
- "yuitest <[email protected]>",
- "zhiyelee <[email protected]>",
- "Zirak <[email protected]>",
- "Zsolt Takács <[email protected]>",
- "现充 <[email protected]>"
- ],
"license": "MIT",
"repository": {
"type": "git",
@@ -565,7 +70,6 @@
},
"devDependencies": {
"@11ty/eleventy": "^0.8.3",
- "@mocha/contributors": "^1.0.4",
"@mocha/docdash": "^2.1.2",
"acorn": "^7.0.0",
"assetgraph-builder": "^6.10.1",
@@ -655,13 +159,6 @@
"endOfLine": "auto"
},
"gitter": "https://gitter.im/mochajs/mocha",
- "@mocha/contributors": {
- "exclude": [
- "greenkeeperio-bot <[email protected]>",
- "greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>",
- "TJ Holowaychuk <[email protected]>"
- ]
- },
"husky": {
"hooks": {
"pre-commit": "lint-staged"
diff --git a/scripts/update-authors.js b/scripts/update-authors.js
new file mode 100755
index 00000000..4ec0e031
--- /dev/null
+++ b/scripts/update-authors.js
@@ -0,0 +1,62 @@
+#!/usr/bin/env node
+// original comes from https://github.com/nodejs/node/blob/master/tools/update-authors.js
+
+// Usage: tools/update-author.js [--dry]
+// Passing --dry will redirect output to stdout rather than write to 'AUTHORS'.
+'use strict';
+const {spawn} = require('child_process');
+const fs = require('fs');
+const readline = require('readline');
+
+const log = spawn(
+ 'git',
+ // Inspect author name/email and body.
+ ['log', '--reverse', '--format=Author: %aN <%aE>\n%b'],
+ {
+ stdio: ['inherit', 'pipe', 'inherit']
+ }
+);
+const rl = readline.createInterface({input: log.stdout});
+
+let output;
+if (process.argv.includes('--dry')) {
+ output = process.stdout;
+} else {
+ output = fs.createWriteStream('AUTHORS');
+}
+
+output.write('# Authors ordered by first contribution.\n\n');
+
+const seen = new Set();
+
+const excludeEmails = [
+ '<greenkeeper[bot]@users.noreply.github.com>'
+];
+
+// Support regular git author metadata, as well as `Author:` and
+// `Co-authored-by:` in the message body. Both have been used in the past
+// to indicate multiple authors per commit, with the latter standardized
+// by GitHub now.
+const authorRe = new RegExp(
+ '(^Author:|^Co-authored-by:)\\s+(?<author>[^<]+)\\s+(?<email><[^>]+>)',
+ 'i'
+);
+
+rl.on('line', line => {
+ const match = line.match(authorRe);
+ if (!match) return;
+
+ let {author, email} = match.groups;
+
+ if (seen.has(email) || excludeEmails.includes(email)) {
+ return;
+ }
+
+ seen.add(email);
+ output.write(`${author} ${email}\n`);
+});
+
+rl.on('close', () => {
+ output.end('\n# Generated by scripts/update-authors.js\n');
+});