8000 Comparing v11.0.1...v11.0.2 · mochajs/mocha · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mochajs/mocha
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v11.0.1
Choose a base ref
...
head repository: mochajs/mocha
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v11.0.2
Choose a head ref
  • 5 commits
  • 13 files changed
  • 6 contributors

Commits on Dec 7, 2024

  1. docs: correct outdated status: accepting prs link (#5268)

    Copied the new link from line 82.
    ericcornelissen authored Dec 7, 2024
    Configuration menu
    Copy the full SHA
    f729cd0 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2024

  1. 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>
    TG199 and JoshuaKGoldberg authored Dec 9, 2024
    Configuration menu
    Copy the full SHA
    6f10d12 View commit details
    Browse the repository at this point in the history
  2. 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>
    Dinika authored Dec 9, 2024
    Configuration menu
    Copy the full SHA
    210d658 View commit details
    Browse the repository at this point in the history
  3. 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>
    kevinoid authored Dec 9, 2024
    Configuration menu
    Copy the full SHA
    259f8f8 View commit details
    Browse the repository at this point in the history
  4. chore(main): release 11.0.2 (#5269)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Dec 9, 2024
    Configuration menu
    Copy the full SHA
    6caa902 View commit details
    Browse the repository at this point in the history
Loading
0