-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Comparing changes
Open a pull request
base repository: mochajs/mocha
base: v11.0.1
head repository: mochajs/mocha
compare: v11.0.2
- 5 commits
- 13 files changed
- 6 contributors
Commits on Dec 7, 2024
-
docs: correct outdated
status: accepting prs
link (#5268)Copied the new link from line 82.
Configuration menu - View commit details
-
Copy full SHA for f729cd0 - Browse repository at this point
Copy the full SHA f729cd0View commit details
Commits on Dec 9, 2024
-
docs: replace "New in" with "Since" in version annotations (#5262)
* docs: replace "New in" with "Since" in version annotations * Change version annotations from "New in vX.Y.Z" to "Since vX.Y.Z" * Align with Node.js documentation style convention * Improve clarity for users upgrading from older versions Closes #5166 * Update docs/index.md Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com> * fix typo --------- Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
Configuration menu - View commit details
-
Copy full SHA for 6f10d12 - Browse repository at this point
Copy the full SHA 6f10d12View commit details -
fix: error handling for unexpected numeric arguments passed to cli (#…
…5263) * Fix 5028 // Numerical arguments to cli throw uncaught error This PR throws a custom error which is (hopefully) easier to understand when: i. a numerical argument is passed to mocha cli ii. numerical value is used as a value for one of the mocha flags that is not compatible with numerical values. Signed-off-by: Dinika Saxena <dinika@greyllama.cc> * Use type-check to throw error instead of a broad try/catch Signed-off-by: Dinika Saxena <dinikasaxenas@gmail.com> * Rename numerical to numeric Signed-off-by: Dinika Saxena <dinikasaxenas@gmail.com> * Find flag for mocha cli after parsing yargs * Find flag for faulty numeric args before yargs parser Signed-off-by: Dinika Saxena <dinikasaxenas@gmail.com> * Add js-doc private keyword to fix netlify doc deployment * [Style] // Reduce code duplication * Add an "it" block for each flag for easier debug-ability Signed-off-by: Dinika Saxena <dinikasaxenas@gmail.com> * Remove ? from flag since it cannot be undefined * Add test cases for empty string checks for isNumeric * Do not add extra leading -- in error message for flag * Throw error for numeric positional arg after yargs-parser has parsed args Signed-off-by: Dinika Saxena <dinikasaxenas@gmail.com> * Revert timeout and slow as string flags so that they can accept human readable values Signed-off-by: Dinika Saxena <dinikasaxenas@gmail.com> --------- Signed-off-by: Dinika Saxena <dinika@greyllama.cc> Signed-off-by: Dinika Saxena <dinikasaxenas@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 210d658 - Browse repository at this point
Copy the full SHA 210d658View commit details -
fix: catch exceptions setting Error.stackTraceLimit (#5254)
When node is run with [--frozen-intrinsics], a `TypeError` is thrown when any intrinsic objects or their properties are modified. This occurs when attempting to set `Error.stackTraceLimit`. To avoid exiting due to an uncaught exception, catch the exception, debug log it, and continue. [--frozen-intrinsics]: https://nodejs.org/api/cli.html#--frozen-intrinsics Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
Configuration menu - View commit details
-
Copy full SHA for 259f8f8 - Browse repository at this point
Copy the full SHA 259f8f8View commit details -
chore(main): release 11.0.2 (#5269)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6caa902 - Browse repository at this point
Copy the full SHA 6caa902View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v11.0.1...v11.0.2