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: v10.8.2
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.1.0
Choose a head ref
  • 16 commits
  • 27 files changed
  • 10 contributors

Commits on Oct 30, 2024

  1. feat: allow calling hook methods (#5231)

    * feat(suite): allow calling hook methods
    
    * add tests and docs
    
    * fix
    
    * address comment
    perrin4869 authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    e3da641 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    eac87e1 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. fix!: adapt new engine range for Mocha 11 (#5216)

    * ci(release-please): prereleases
    
    * fix!: adapt new version range
    
    Borrowing the version range of ESLint 9
    
    * test: add engine range validation
    
    ---------
    
    Co-authored-by: Josh Goldberg <[email protected]>
    voxpelli and JoshuaKGoldberg authored Nov 11, 2024
    Configuration menu
    Copy the full SHA
    80da25a View commit details
    Browse the repository at this point in the history
  2. chore(main): release 11.0.0 prerelease (#5241)

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

Commits on Nov 16, 2024

  1. Configuration menu
    Copy the full SHA
    34e0e52 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2024

  1. feat: bumped glob dependency from 8 to 10 (#5250)

    * feat: bumped glob dependency from 8 to 10
    
    * feat: bumped glob dependency from 8 to 10
    
    * test: add --sort to --no-parallel tests
    
    * Switch from --sort in tests to preserving glob@8 sorting
    
    * Update glob sorting comment link
    
    * revert parallel.spec.js changes
    JoshuaKGoldberg authored Nov 23, 2024
    Configuration menu
    Copy the full SHA
    43c3157 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2024

  1. Release v11.0.1

    JoshuaKGoldberg committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    a5bd707 View commit details
    Browse the repository at this point in the history
  2. chore(main): release 11.0.1 (#5257)

    * chore(main): release 11.1.0
    
    * Manually switch to 11.0.1
    
    * Manually switch to 11.0.1
    
    * Manually switch to 11.0.1
    
    ---------
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Josh Goldberg <[email protected]>
    github-actions[bot] and JoshuaKGoldberg authored Dec 2, 2024
    Configuration menu
    Copy the full SHA
    4c558fb View commit details
    Browse the repository at this point in the history

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 ✨ <[email protected]>
    
    * fix typo
    
    ---------
    
    Co-authored-by: Josh Goldberg ✨ <[email protected]>
    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 <[email protected]>
    
    * Use type-check to throw error instead of a broad try/catch
    
    Signed-off-by: Dinika Saxena <[email protected]>
    
    * Rename numerical to numeric
    
    Signed-off-by: Dinika Saxena <[email protected]>
    
    * Find flag for mocha cli after parsing yargs
    
    * Find flag for faulty numeric args before yargs parser
    
    Signed-off-by: Dinika Saxena <[email protected]>
    
    * 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 <[email protected]>
    
    * 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 <[email protected]>
    
    * Revert timeout and slow as string flags so that they can accept human readable values
    
    Signed-off-by: Dinika Saxena <[email protected]>
    
    ---------
    
    Signed-off-by: Dinika Saxena <[email protected]>
    Signed-off-by: Dinika Saxena <[email protected]>
    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 <[email protected]>
    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

Commits on Jan 2, 2025

  1. feat: bump yargs to 17 (#5165)

    * feat: bump yargs to 17
    
    * fix: prefer coerced reporter-option for options
    
    * Aha, fix: process.exit() instead of process.exitCode
    
    * fix: --list-interfaces one-and-done conflict
    JoshuaKGoldberg authored Jan 2, 2025
    Configuration menu
    Copy the full SHA
    8f1c8d8 View commit details
    Browse the repository at this point in the history
  2. 1 Configuration menu
    Copy the full SHA
    3c191c0 View commit details
    Browse the repository at this point in the history
  3. chore(main): release 11.1.0 (#5277)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Jan 2, 2025
    Configuration menu
    Copy the full SHA
    a87fb11 View commit details
    Browse the repository at this point in the history
Loading