☕️ Classic, reliable, trusted test framework for Node.js and the browser
update CHANGELOG.md, contributors, .mailmap
Christopher Hiller9bfbc9e4bad4
diff --git a/.mailmap b/.mailmapindex 93ad1bff..528a2677 100644--- a/.mailmap+++ b/.mailmap@@ -4,6 +4,7 @@ Travis Jeffery <[email protected]> Dr. Travis Jeffery <[email protected]Christopher Hiller <[email protected]> Christopher Hiller <[email protected]>David da Silva Contín <[email protected]> David da Silva <[email protected]>David da Silva Contín <[email protected]> David da Silva <[email protected]>+David da Silva Contín <[email protected]> <[email protected]>Ariel Mashraki <[email protected]> Ariel Mashraki <[email protected]>Ariel Mashraki <[email protected]> Ariel Mashraki <[email protected]>Forbes Lindesay <[email protected]> Forbes Lindesay <[email protected]>diff --git a/CHANGELOG.md b/CHANGELOG.mdindex a644e93a..52b0ee20 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,10 +1,87 @@-Unreleased-==================--* [#2079], [#2231] - Add browser to CI-+# 2.5.0 / 2016-05-23++> This has been awhile coming! We needed to feel confident that the next release wouldn't break browser compatibility (e.g. the last few patch releases).+>+> ### Browser Tests in CI+>+> We now run unit tests against PhantomJS v1.x and an assortment of browsers on [SauceLabs](https://saucelabs.com), including:+> - Internet Explorer v8.0+> - Chrome (latest)+> - Firefox (latest)+> - Safari (latest)+> - Microsoft Edge (latest)+>+> To accomplish this, we now run Mocha's unit tests (and a handful of integration tests) via [Karma](https://npmjs.com/package/karma) and a modified [karma-mocha](https://npmjs.com/package/karma-mocha). Along the way, we had to solve issue [#880] (apologies to @mderijcke and @sukima who had PRs addressing this), as well as replace most usages of [should](https://npmjs.com/package/should) with [expect.js](https://npmjs.com/package/expect.js) for IE8.+>+> Going forward, when sending PRs, your code will *only* run against PhantomJS v1.x (and not hit SauceLabs) [because security](https://docs.travis-ci.com/user/pull-requests/#Security-Restrictions-when-testing-Pull-Requests).+>+> ### Node.js 6.x+> Node.js 6.x "just worked" before, but now it's in the CI matrix, so it's "officially" supported. Mocha *still retains support* for Node.js 0.8.x.+>+> ### "Minor" Release+> You'll see mostly bug fixes below, but also a couple features--as such, it's a "minor" release.+>+> ### TYVM+>+> Thanks to everyone who contributed, and our fabulous [sponsors and backers](https://opencollective.com/mochajs)!++- [#2079] - Add browser checks to CI; update [browserify](https://npmjs.com/package/browserify) to v13.0.0 ([@dasilvacontin], [@ScottFreeCode], [@boneskull] via c04c1d7, 0b1e9b3, 0dde0fa, f8a3d86, 9e8cbaa)+- [#880] - Make Mocha browserifyable ([@boneskull] via 524862b)+- [#2121] - Update [glob](https://npmjs.com/package/glob) to v3.2.11 ([@astorije] via 7920fc4)+- [#2126] - Fix dupe error messages in stack trace filter ([@Turbo87] via 4301caa)+- [#2109] - Fix certain diffs when objects cannot be coerced into primitives ([@joshlory] via 61fbb7f)+- [#1827] - Fix TWBS/`mocha.css` collisions ([@irnc] via 0543798)+- [#1760], [#1936] - Fix `this.skip()` in HTML reporter ([@mislav] via cb4248b)+- [#2115] - Fix exceptions thrown from hooks in HTML reporter ([@danielstjules] via e290bc0)+- [#2089] - Handle Symbol values in `util.stringify()` ([@ryym] via ea61d05)+- [#2097] - Fix diff for objects overriding `Object.prototype.hasOwnProperty` ([@mantoni] via b20fdfe)+- [#2101] - Properly handle non-string "messages" thrown from assertion libraries ([@jkimbo] via 9c41051)+- [#2124] - Update [growl](https://npmjs.com/package/growl) ([@benjamine] via 9ae6a85)+- [#2162], [#2205] - JSDoc fixes ([@OlegTsyba] via 8031f20, [@ScottFreeCode] via f83b1d9)+- [#2132] - Remove Growl-related cruft ([@julienw] via 00d6469)+- [#2172] - Add [OpenCollective](https://opencollective.com) badge, sponsors & backers ([@xdamman], [@boneskull] via caee94f)+- [#1841] - Add new logo, banner assets ([@dasilvacontin] via 00fd0e1)+- [#2214] - Update `README.md` header ([@dasilvacontin] via c0f9be2)+- [#2236] - Better checks for Node.js v0.8 compatibility in CI ([@dasilvacontin] via ba5637d)+- [#2239] - Add Node.js v6.x to CI matrix ([@boneskull] via 3904da4)++[#880]: https://github.com/mochajs/mocha/issues/880+[#1841]: https://github.com/mochajs/mocha/pull/1841+[#2239]: https://github.com/mochajs/mocha/issues/2239+[#2153]: https://github.com/mochajs/mocha/pull/2153+[#2214]: https://github.com/mochajs/mocha/pull/2214+[#2236]: https://github.com/mochajs/mocha/pull/2236[#2079]: https://github.com/mochajs/mocha/issues/2079[#2231]: https://github.com/mochajs/mocha/pull/2231+[#2089]: https://github.com/mochajs/mocha/issues/2089+[#2097]: https://github.com/mochajs/mocha/pull/2097+[#1760]: https://github.com/mochajs/mocha/issues/1760+[#1936]: https://github.com/mochajs/mocha/issues/1936+[#2115]: https://github.com/mochajs/mocha/pull/2115+[#1827]: https://github.com/mochajs/mocha/pull/1827+[#2101]: https://github.com/mochajs/mocha/pull/2101+[#2124]: https://github.com/mochajs/mocha/pull/2124+[#2109]: https://github.com/mochajs/mocha/issues/2109+[#2162]: https://github.com/mochajs/mocha/pull/2162+[#2132]: https://github.com/mochajs/mocha/issues/2132+[#2126]: https://github.com/mochajs/mocha/issues/2126+[#2121]: https://github.com/mochajs/mocha/issues/2121+[#2205]: https://github.com/mochajs/mocha/pull/2205+[#2172]: https://github.com/mochajs/mocha/pull/2172+[@xdamman]: https://github.com/xdamman+[@Turbo87]: https://github.com/Turbo87+[@OlegTsyba]: https://github.com/OlegTsyba+[@ryym]: https://github.com/ryym+[@mantoni]: https://github.com/mantoni+[@mislav]: https://github.com/mislav+[@irnc]: https://github.com/irnc+[@jkimbo]: https://github.com/jkimbo+[@benjamine]: https://github.com/benjamine+[@joshlory]: https://github.com/joshlory+[@julienw]: https://github.com/julienw+[@ScottFreeCode]: https://github.com/ScottFreeCode+[@astorije]: https://github.com/astorije+[@dasilvacontin]: https://github.com/dasilvacontin2.4.5 / 2016-01-28==================diff --git a/package.json b/package.jsonindex 88b1d8e8..222a2895 100644--- a/package.json+++ b/package.json@@ -11,95 +11,115 @@],"author": "TJ Holowaychuk <[email protected]>","contributors": [+ "TJ Holowaychuk <[email protected]>","Travis Jeffery <[email protected]>","Christopher Hiller <[email protected]>",+ "Daniel St. Jules <[email protected]>","Joshua Appelman <[email protected]>",- "Guillermo Rauch <[email protected]>","David da Silva Contín <[email protected]>",- "Daniel St. Jules <[email protected]>",+ "Guillermo Rauch <[email protected]>","Ariel Mashraki <[email protected]>","Attila Domokos <[email protected]>","John Firebaugh <[email protected]>",- "Nathan Rajlich <[email protected]>","Jo Liss <[email protected]>",+ "Nathan Rajlich <[email protected]>",+ "Nathan Houle <[email protected]>","Mike Pennisi <[email protected]>",- "Brendan Nee <[email protected]>","James Carr <[email protected]>",- "Ryunosuke SATO <[email protected]>",+ "Brendan Nee <[email protected]>",+ "Glen Mailer <[email protected]>",+ "Mislav Marohnić <[email protected]>","Aaron Heckmann <[email protected]>",+ "Ryunosuke SATO <[email protected]>","Jonathan Ong <[email protected]>",+ "Joshua Krall <[email protected]>",+ "Maximilian Antoni <[email protected]>",+ "hokaccha <[email protected]>",+ "Domenic Denicola <[email protected]>","Forbes Lindesay <[email protected]>","Raynos <[email protected]>","Xavier Antoviaque <[email protected]>",- "hokaccha <[email protected]>",- "Joshua Krall <[email protected]>",- "Domenic Denicola <[email protected]>",- "Glen Mailer <[email protected]>",+ "Andreas Lind Petersen <[email protected]>",+ "Ben Lindsey <[email protected]>","Mathieu Desvé <[email protected]>",- "Cory Thomas <[email protected]>","Fredrik Enestad <[email protected]>",+ "Rico Sta. Cruz <[email protected]>",+ "Paul Miller <[email protected]>","Ben Bradley <[email protected]>",- "Sindre Sorhus <[email protected]>",- "Jesse Dailey <[email protected]>",- "Ben Lindsey <[email protected]>",- "Maximilian Antoni <[email protected]>",- "Merrick Christensen <[email protected]>",+ "fool2fish <[email protected]>",+ "Cory Thomas <[email protected]>",+ "Sune Simonsen <[email protected]>","Michael Demmer <[email protected]>","Tyson Tate <[email protected]>",+ "eiji.ienaga <[email protected]>","Valentin Agachi <[email protected]>",+ "Sindre Sorhus <[email protected]>",+ "Merrick Christensen <[email protected]>","Wil Moore III <[email protected]>",- "Benjie Gillam <[email protected]>","Nathan Bowser <[email protected]>",- "eiji.ienaga <[email protected]>",- "fool2fish <[email protected]>",- "Paul Miller <[email protected]>",- "Andreas Lind Petersen <[email protected]>",- "Timo Tijhof <[email protected]>",- "Nathan Alderson <[email protected]>",+ "Jesse Dailey <[email protected]>",+ "Benjie Gillam <[email protected]>",+ "Vlad Magdalin <[email protected]>",+ "David Henderson <[email protected]>",+ "Long Ho <[email protected]>",+ "Adam Gruber <[email protected]>",+ "Sean Lang <[email protected]>",+ "Shawn Krisman <telaviv@github>",+ "Simon Gaeremynck <[email protected]>",+ "John Reeves <[email protected]>",+ "Soel <[email protected]>",+ "Buck Doyle <[email protected]>",+ "Max Goodman <[email protected]>",+ "Jonas Westerlund <[email protected]>",+ "Michael Riley <[email protected]>","Ian Storm Taylor <[email protected]>",+ "Timo Tijhof <[email protected]>",+ "Ian W. Remmel <[email protected]>",+ "Tobias Bieniek <[email protected]>","Arian Stolwijk <[email protected]>",- "Rico Sta. Cruz <[email protected]>",- "domenic <[email protected]>",- "Jacob Wejendorp <[email protected]>",+ "Nathan Alderson <[email protected]>",+ "Brian Beck <[email protected]>",+ "Dominique Quatravaux <[email protected]>",+ "Xavier Damman <[email protected]>",+ "Benjamin Eidelman <[email protected]>",+ "Outsider <[email protected]>","fcrisci <[email protected]>",- "Simon Gaeremynck <[email protected]>",- "James Nylen <[email protected]>",- "Shawn Krisman <telaviv@github>",- "Sean Lang <[email protected]>",- "David Henderson <[email protected]>",- "jsdevel <[email protected]>",- "Alexander Early <[email protected]>",+ "FARKAS Máté <[email protected]>","Parker Moore <[email protected]>","Paul Armstrong <[email protected]>",- "monowerker <[email protected]>",- "Konstantin Käfer <[email protected]>",+ "jsdevel <[email protected]>","Justin DuJardin <[email protected]>","Juzer Ali <[email protected]>",- "Dominique Quatravaux <[email protected]>",+ "Jacob Wejendorp <[email protected]>",+ "monowerker <[email protected]>",+ "Alexander Early <[email protected]>","Quang Van <[email protected]>","Quanlong He <[email protected]>",- "Vlad Magdalin <[email protected]>",- "Brian Beck <[email protected]>",- "Jonas Westerlund <[email protected]>",- "Michael Riley <[email protected]>",- "Buck Doyle <[email protected]>",- "FARKAS Máté <[email protected]>",- "Sune Simonsen <[email protected]>",+ "James Nylen <[email protected]>",+ "Konstantin Käfer <[email protected]>",+ "Jordan Sexton <[email protected]>",+ "Josh Lory <[email protected]>",+ "Julien Wajsberg <[email protected]>",+ "Jussi Virtanen <[email protected]>",+ "Jérémie Astori <[email protected]>",+ "Katie Gengler <[email protected]>","Keith Cirkel <[email protected]>","Kent C. Dodds <[email protected]>",+ "Kevin Burke <[email protected]>","Kevin Conway <[email protected]>","Kevin Kirsche <[email protected]>","Kirill Korolyov <[email protected]>","Koen Punt <[email protected]>",+ "Kris Rasmussen <[email protected]>","Kyle Mitchell <[email protected]>","Laszlo Bacsi <[email protected]>","Liam Newman <[email protected]>","Linus Unnebäck <[email protected]>",- "László Bácsi <[email protected]>","Maciej Małecki <[email protected]>","Mal Graty <[email protected]>","Marc Kuo <[email protected]>","Marcello Bastea-Forte <[email protected]>",+ "Mark Banner <[email protected]>","Martin Marko <[email protected]>","Matija Marohnić <[email protected]>","Matt Robenolt <[email protected]>",@@ -115,16 +135,19 @@"Nick Fitzgerald <[email protected]>","Nicolo Taddei <[email protected]>","Noshir Patel <[email protected]>",+ "OlegTsyba <[email protected]>","Panu Horsmalahti <[email protected]>",+ "Pavel Zubkou <[email protected]>","Pete Hawkins <[email protected]>",- "Pete Hawkins <[email protected]>","Phil Sung <[email protected]>",+ "Prayag Verma <[email protected]>","R56 <[email protected]>",- "Raynos <=>","Refael Ackermann <[email protected]>","Richard Dingwall <[email protected]>","Richard Knop <[email protected]>",+ "Rob Raux <[email protected]>","Rob Wu <[email protected]>",+ "Robert Rossmann <[email protected]>","Romain Prieto <[email protected]>","Roman Neuhauser <[email protected]>","Roman Shtylman <[email protected]>",@@ -132,21 +155,30 @@"Russell Munson <[email protected]>","Rustem Mustafin <[email protected]>","Ryan Hubbard <[email protected]>",+ "Ryan Shaw <[email protected]>","Salehen Shovon Rahman <[email protected]>","Sam Mussell <[email protected]>","Sasha Koss <[email protected]>",+ "ScottFreeCode <[email protected]>","Seiya Konno <[email protected]>",+ "Sergey Simonchik <[email protected]>",+ "Sergio Santoro <[email protected]>","Shaine Hatch <[email protected]>","Simon Goumaz <[email protected]>",+ "Sorin Iclanzan <[email protected]>","Standa Opichal <[email protected]>","Stephen Mathieson <[email protected]>","Steve Mason <[email protected]>","Stewart Taylor <[email protected]>",+ "Stone <[email protected]>","Tapiwa Kelvin <[email protected]>","Teddy Zeenny <[email protected]>",+ "Thedark1337 <[email protected]>","Tim Ehat <[email protected]>",+ "Tingan Ho <[email protected]>","Todd Agulnick <[email protected]>","Tom Coquereau <[email protected]>",+ "Tom Hughes <[email protected]>","Vadim Nikitin <[email protected]>","Victor Costan <[email protected]>","Will Langstroth <[email protected]>",@@ -155,30 +187,38 @@"Zsolt Takács <[email protected]>","abrkn <[email protected]>","airportyh <[email protected]>",+ "amsul <[email protected]>","badunk <[email protected]>","claudyus <claudyus@HEX.(none)>",- "dasilvacontin <[email protected]>","fengmk2 <[email protected]>","gaye <[email protected]>",+ "gigadude <[email protected]>","grasGendarme <[email protected]>","klaemo <[email protected]>","lakmeer <[email protected]>","lodr <[email protected]>","mrShturman <[email protected]>",+ "nexdrew <[email protected]>","nishigori <[email protected]>","omardelarosa <[email protected]>","qiuzuhui <[email protected]>",+ "ryym <[email protected]>","samuel goldszmidt <[email protected]>","sebv <[email protected]>","slyg <[email protected]>","startswithaj <[email protected]>",+ "tmont <[email protected]>","traleig1 <[email protected]>","vlad <[email protected]>",+ "wsw <[email protected]>","yuitest <[email protected]>",+ "Aaron Hamid <[email protected]>","zhiyelee <[email protected]>",+ "Aaron Krause <[email protected]>","Adam Crabtree <[email protected]>",- "Adam Gruber <[email protected]>",+ "Adrian Ludwig <[email protected]>",+ "Ajay Kodali <[email protected]>","Andreas Brekken <[email protected]>","Andrew Nesbitt <[email protected]>","Andrey Popp <[email protected]>",@@ -188,7 +228,10 @@"Atsuya Takagi <[email protected]>","Austin Birch <[email protected]>","Ben Noordhuis <[email protected]>",+ "Ben Vinegar <[email protected]>",+ "Benoit Larroque <[email protected]>","Benoît Zugmeyer <[email protected]>",+ "Berker Peksag <[email protected]>","Bjørge Næss <[email protected]>","Brian Lalor <[email protected]>","Brian M. Carlson <[email protected]>",@@ -196,6 +239,7 @@"Bryan Donovan <[email protected]>","C. Scott Ananian <[email protected]>","Casey Foster <[email protected]>",+ "Charles Lowell <[email protected]>","Chris Buckley <[email protected]>","ChrisWren <[email protected]>","Connor Dunn <[email protected]>",@@ -209,17 +253,20 @@"Dmitry Shirokov <[email protected]>","Dominic Barnes <[email protected]>","Douglas Christopher Wilson <[email protected]>",+ "Duncan Beevers <[email protected]>","Fede Ramirez <[email protected]>","Fedor Indutny <[email protected]>","Florian Margaine <[email protected]>","Frederico Silva <[email protected]>","Fredrik Lindin <[email protected]>",- "Gareth Aye <[email protected]>",+ "Gabriel Silk <[email protected]>","Gareth Murphy <[email protected]>","Gavin Mogan <[email protected]>","Giovanni Bassi <[email protected]>","Glen Huang <[email protected]>","Greg Perkins <[email protected]>",+ "Guy Arye <[email protected]>",+ "Gyandeep Singh <[email protected]>","Harish <[email protected]>","Harry Brundage <[email protected]>","Herman Junge <[email protected]>",@@ -230,28 +277,28 @@"Jaakko Salonen <[email protected]>","Jake Craige <[email protected]>","Jake Marsh <[email protected]>",- "Jakub Nešetřil <[email protected]>",+ "Jakub Nešetřil <[email protected]>","James Bowes <[email protected]>",+ "James G. Kim <[email protected]>","James Lal <[email protected]>","Jan Kopriva <[email protected]>","Jason Barry <[email protected]>",+ "Jason Lai <[email protected]>","Javier Aranda <[email protected]>","Jean Ponchon <[email protected]>","Jeff Kunkle <[email protected]>","Jeff Schilling <[email protected]>","Jeremy Martin <[email protected]>","Jimmy Cuadra <[email protected]>",+ "Joao Moreno <[email protected]>",+ "Joey Cozza <[email protected]>","John Doty <[email protected]>","Johnathon Sanders <[email protected]>","Jonas Dohse <[email protected]>","Jonathan Creamer <[email protected]>","Jonathan Delgado <[email protected]>",- "Jonathan Park <[email protected]>",- "Jordan Sexton <[email protected]>",- "Jussi Virtanen <[email protected]>",- "Katie Gengler <[email protected]>",- "Kazuhito Hokamura <[email protected]>",- "Scott Santucci <[email protected]>"+ "Jonathan Kim <[email protected]>",+ "Jonathan Park <[email protected]>"],"license": "MIT","repository": {