diff --git a/.github/release-please/manifest.json b/.github/release-please/manifest.json index f93a931188..8109666ec1 100644 --- a/.github/release-please/manifest.json +++ b/.github/release-please/manifest.json @@ -1 +1 @@ -{".":"10.7.3"} +{".":"10.8.0"} diff --git a/.knip.jsonc b/.knip.jsonc index a9f3b98c46..3b19b3e651 100644 --- a/.knip.jsonc +++ b/.knip.jsonc @@ -25,7 +25,8 @@ "karma-mocha-reporter", "karma-mocha", "karma-sauce-launcher", - "non-existent-package" + "non-existent-package", + "prettier" ], "mocha": { "entry": ["test/**/*.{js,ts,mjs,cjs}"] diff --git a/CHANGELOG.md b/CHANGELOG.md index ee8b6be8dd..4565cd3df1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## [10.8.0](https://github.com/mochajs/mocha/compare/v10.7.3...v10.8.0) (2024-10-29) + + +### ๐ŸŒŸ Features + +* highlight browser failures ([#5222](https://github.com/mochajs/mocha/issues/5222)) ([8ff4845](https://github.com/mochajs/mocha/commit/8ff48453a8b12d9cacf56b0c0c544c8256af64c7)) + + +### ๐Ÿฉน Fixes + +* remove `:is()` from `mocha.css` to support older browsers ([#5225](https://github.com/mochajs/mocha/issues/5225)) ([#5227](https://github.com/mochajs/mocha/issues/5227)) ([0a24b58](https://github.com/mochajs/mocha/commit/0a24b58477ea8ad146afc798930800b02c08790a)) + + +### ๐Ÿ“š Documentation + +* add `SECURITY.md` pointing to Tidelift ([#5210](https://github.com/mochajs/mocha/issues/5210)) ([bd7e63a](https://github.com/mochajs/mocha/commit/bd7e63a1f6d98535ce1ed1ecdb57b3e4db8a33c5)) +* adopt Collective Funds Guidelines 0.1 ([#5199](https://github.com/mochajs/mocha/issues/5199)) ([2b03d86](https://github.com/mochajs/mocha/commit/2b03d865eec63d627ff229e07d777f25061260d4)) +* update README, LICENSE and fix outdated ([#5197](https://github.com/mochajs/mocha/issues/5197)) ([1203e0e](https://github.com/mochajs/mocha/commit/1203e0ed739bbbf12166078738357fdb29a8c000)) + + +### ๐Ÿงน Chores + +* fix npm scripts on windows ([#5219](https://github.com/mochajs/mocha/issues/5219)) ([1173da0](https://github.com/mochajs/mocha/commit/1173da0bf614e8d2a826687802ee8cbe8671ccf1)) +* remove trailing whitespace in SECURITY.md ([7563e59](https://github.com/mochajs/mocha/commit/7563e59ae3c78ada305d26eadb86998ab54342da)) + ## [10.7.3](https://github.com/mochajs/mocha/compare/v10.7.2...v10.7.3) (2024-08-09) diff --git a/FUNDING.md b/FUNDING.md new file mode 100644 index 0000000000..470224090a --- /dev/null +++ b/FUNDING.md @@ -0,0 +1,16 @@ +# Fund Usage Guidelines + +This project follows [Collective Funds Guidelines 0.1](https://github.com/collective-funds/guidelines) with the below customizations. + +## Rates + +* TSC Members: $50.00 USD/hour +* Project Contributors: $50.00 USD/hour + +## Additional notes + +The project funds are collected in the [Mocha collective](https://opencollective.com/mochajs) on [Open Collective](https://opencollective.com/) which is hosted by the [Open Source Collective](https://oscollective.org/). + +In additions to the [Collective Funds Guidelines](https://github.com/collective-funds/guidelines) this project abides by the [Open Source Collective](https://oscollective.org/)'s [Terms of Fiscal Sponsorship](https://docs.oscollective.org/getting-started/terms-of-fiscal-sponsorship). + +When/if the two are in conflict, the Terms of Fiscal Sponsorship is the one that will be followed. diff --git a/LICENSE b/LICENSE index 5c62253205..b114d5f113 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ (The MIT License) -Copyright (c) 2011-2022 OpenJS Foundation and contributors, https://openjsf.org +Copyright (c) 2011-2024 OpenJS Foundation and contributors, https://openjsf.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/README.md b/README.md index 59a7d4db74..c82fc76bd9 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,26 @@

- Mocha test framework logo + Mocha test framework logo

โ˜•๏ธ Simple, flexible, fun JavaScript test framework for Node.js & The Browser โ˜•๏ธ

-

-GitHub Actions Build Status -Coverage Status -Chat - Discord -OpenCollective Sponsors -OpenCollective Backers -

+
-

NPM Version Node Version -

+[![GitHub Actions Build Status](https://github.com/mochajs/mocha/actions/workflows/mocha.yml/badge.svg)](https://github.com/mochajs/mocha/actions/workflows/mocha.yml) +Coverage Status + +
-


Mocha Browser Support h/t SauceLabs

+
+ +Chat - Discord +OpenCollective Sponsors +OpenCollective Backers +[![Collective Funds Guidelines v0.1](https://img.shields.io/badge/collective_funds_guidelines-v0.1-D8E8D4?style=flat&labelColor=3A6457)](https://github.com/collective-funds/guidelines) + +
## Links @@ -68,6 +71,4 @@ Finally, come [chat with the maintainers on Discord](https://discord.gg/KeDn2uXh ## License -Copyright 2011-2022 OpenJS Foundation and contributors. Licensed [MIT](https://github.com/mochajs/mocha/blob/main/LICENSE). - -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmochajs%2Fmocha.svg?type=large)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmochajs%2Fmocha?ref=badge_large) +Copyright 2011-2024 OpenJS Foundation and contributors. Licensed [MIT](https://github.com/mochajs/mocha/blob/main/LICENSE). diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000000..f9dc270129 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,7 @@ +# Security Policy + +## Security contact information + +To report a security vulnerability, please use the +[Tidelift security contact](https://tidelift.com/security). +Tidelift will coordinate the fix and disclosure. diff --git a/docs/README.md b/docs/README.md index 85687cea84..09f5e5857b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -4,13 +4,9 @@ _So you wanna build the site?_ [mochajs.org](https://mochajs.org) is built using [Eleventy](https://www.11ty.io/), a simple static site generator. -## Prerequisites - -- Node.js v10.12.0 or greater - ## Development -1. Run `npm install` from working copy root to get Node.js deps. +1. Run `npm install` / `npm ci` from working copy root to get Node.js deps. 1. To serve the site and rebuild as changes are made, execute `npm run docs-watch`. 1. To rebuild the site _once_, execute `npm run docs`. @@ -19,11 +15,3 @@ _So you wanna build the site?_ - The content lives in `docs/index.md`; everything else is markup, scripts, assets, etc. - This file (`docs/README.md`) should _not_ be included in the build. - `docs/_site_` is where the deployed site lives. This directories are _not_ under version control. - -## License - -:copyright: 2016-2018 [JS Foundation](https://js.foundation) and contributors. - -Content licensed [CC-BY-4.0](https://raw.githubusercontent.com/mochajs/mocha/main/docs/LICENSE-CC-BY-4.0). - -Code licensed [MIT](https://raw.githubusercontent.com/mochajs/mocha/main/LICENSE-MIT). diff --git a/docs/index.md b/docs/index.md index d63d3d0cfe..b6990c4bf8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2120,7 +2120,7 @@ A typical setup might look something like the following, where we call `mocha.se
- +