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 Loading
base: v10.4.0
Choose a base ref
...
head repository: mochajs/mocha Loading
compare: v10.5.1
Choose a head ref
  • 14 commits
  • 39 files changed
  • 9 contributors

Commits on Mar 27, 2024

  1. feat: use <progress> and <svg> for browser progress indicator instead…

    … of <canvas> (#5015)
    
    * Fallback for progress when canvas isn't available
    
    * Fix bugs preventing progress text from being updated
    
    * Use a different class for progress text fallback
    
    * Refactor: replace progress canvas with text
    
    * refactor: add progress bar
    
    * Refactor: Remove unused progress code
    
    * Match progress design
    hide progress bar and use SVG to recreate the ring bar
    
    * Refactor: use css variables for ring size and color values
    removed more canvas related code
    removed an em
    
    * Mirror styles changes to progress ring
    renamed ring-whole to ring-flatlight and have ring highlight and flatlight be the inverse of each other
    fix spelling error with decimalPlaces
    use getComputedStyle for get the radius of the ring defined in CSS
    use :is() CSS to simplify CSS code
    Change stroke thickness math to better match previous look
    
    * Trying to match progress canvas look on progress ring
    
    ---------
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    yourWaifu and JoshuaKGoldberg committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    e263c7a View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. chore: fix some typos in comments (#5135)

    Signed-off-by: StevenMia <flite@foxmail.com>
    StevenMia committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    99601da View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

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

Commits on Jun 4, 2024

  1. feat: add MOCHA_OPTIONS env variable (#4835)

    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    icholy and JoshuaKGoldberg committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    5b7af5e View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. chore: remove husky for now (#5127)

    Fixes #5124
    voxpelli committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    6dda9a4 View commit details
    Browse the repository at this point in the history
  2. chore: allow blank issues (#5157)

    I personally think we should allow for blank issues even though we might prioritize them lower.
    
    I can take it upon myself to triage all the blank issues if that's the sticking point.
    voxpelli committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    2f3fedc View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. chore: switch two-column list styles to be opt-in (#5110)

    * style: closes #3702
    
    - Adds the two-column class with the expected style for two-column unordered lists, making sure to keep the two-column style at Features and Table of Contents
    - Removes column style from ul element scope
    
    * refactor: add two-column class to the toc
    
    Use the class two-column instead of applying the style by using its id.
    
    * refactor: move styles that are overwritten within other classes
    
    Move margin-top and padding inside two-column as they are overwritten
    within single-column.
    marjys committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    e030115 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2024

  1. fix: include stack in browser uncaught error reporting (#5107)

    * Include stack in browser uncaught error reporting
    
    * Attempt at testing (failing due to uncaught exception)
    
    * Revert "Attempt at testing (failing due to uncaught exception)"
    
    This reverts commit 30c7ffb.
    
    * implemented test in throw.spec.js & got it passing
    
    * Apply suggestions from code review
    
    * Update test/unit/throw.spec.js
    
    Co-authored-by: Pelle Wessman <pelle@kodfabrik.se>
    
    * test: fix up throw.spec.js
    
    ---------
    
    Co-authored-by: Peter Rust <peter@cornerstonenw.com>
    Co-authored-by: Pelle Wessman <pelle@kodfabrik.se>
    3 people committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    67a8124 View commit details
    Browse the repository at this point in the history
  2. chore: rename 'master' to 'main' in docs and tooling (#5130)

    * chore: rename 'master' to 'main' in docs and tooling
    
    * Use new foundation CoC link
    JoshuaKGoldberg committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    b6aa7e8 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Configuration menu
    Copy the full SHA
    12c88a7 View commit details
    Browse the repository at this point in the history
  2. Release v10.5.0

    JoshuaKGoldberg committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    b9ce511 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. fix: Add error handling for nonexistent file case with --file option (#…

    …5086)
    
    * feat: handle nonexistent files passed to --file
    
    - added error handling when using the --file flag to do it the way
      --require does
    - added a test to assert that we throw the same type of error
    
    * refactor: remove path.resolve()
    
    - require.resolve() by Node.js follows a Node.js module resolution algo
      which includes checking if the resolved path actually exists on the
      file system.
    
    * add comment to new code in collect-files.js
    
    * fix: add back absolute path resolving
    
    * refactor: log warning and remove call stack
    
    * revert changes to bin/mocha.js
    
    * improve test case
    
    * throw error and have handler work with it
    
    * change collectFiles to return object
    
    * clean up
    
    * exit mocha immediately on missing file
    
    * new log message
    
    * add tests
    
    * code quality improvements
    
    * add comments
    
    * docs: update to new link name
    
    * pass mocha instance to helper function
    
    ---------
    
    Co-authored-by: Pelle Wessman <pelle@kodfabrik.se>
    khoaHyh and voxpelli committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    dbe229d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    545b66d View commit details
    Browse the repository at this point in the history
  3. Release v10.5.1

    JoshuaKGoldberg committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    103c56b View commit details
    Browse the repository at this point in the history
Loading