8000 Comparing v11.1.0...v11.2.0 · mochajs/mocha · GitHub
[go: up one dir, main page]

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.
8000

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.1.0
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.2.0
Choose a head ref
  • 8 commits
  • 178 files changed
  • 5 contributors

Commits on Jan 2, 2025

  1. chore: pin node-lts tests to 22.11.0 (#5279)

    * chore: pin node-lts tests to 22.11.0
    
    * Also update other 22s
    JoshuaKGoldberg authored Jan 2, 2025
    Configuration menu
    Copy the full SHA
    664e1f4 View commit details
    Browse the repository at this point in the history
  2. refactor: replace fs-extra with newer fs built-ins (#5284)

    * Replace fs-extra with newer fs built-ins
    
    This updates the codebase to remove two uses of fs-extra by newer fs
    built-in functions. The code changes are based on the implementation of
    fs-extra@10.1.0, which is the version of fs-extra recorded in the
    project's lockfile.
    
    In particular, for `watch.spec.js`, the changes are based on:
    https://github.com/jprichardson/node-fs-extra/blob/0220eac966d7d6b9a595d69b1242ab8a397fba7f/lib/remove/index.js#L15
    
    and, also for `helper.js`, the changes are based on:
    https://github.com/jprichardson/node-fs-extra/blob/0220eac966d7d6b9a595d69b1242ab8a397fba7f/lib/mkdirs/make-dir.js#L23
    
    * Drop 14 and 16 in mocha.yml
    
    ---------
    
    Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
    ericcornelissen and JoshuaKGoldberg authored Jan 2, 2025
    Configuration menu
    Copy the full SHA
    75dcf8c View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2025

  1. docs: improve third-party reporter docs (#5285)

    * Improve hosted docs for `runnable`
    
    * Document usages of `Runner.constants`
    
    * Update lib/runnable.js
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    
    * Update lib/runnable.js
    
    ---------
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    mark-wiemer and JoshuaKGoldberg authored Jan 6, 2025
    Configuration menu
    Copy the full SHA
    c5a0ef5 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2025

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

Commits on Mar 17, 2025

  1. chore: enabled eslint-plugin-n (#5280)

    * chore: enabled eslint-plugin-n
    
    * Actually included rules, without the override
    
    * Revert unrelated formatting changes
    
    * fix test/node-unit/cli/options.spec.js tests
    
    * Use @rollup/plugin-alias for building node: prefixes
    JoshuaKGoldberg authored Mar 17, 2025
    Configuration menu
    Copy the full SHA
    945d6e3 View commit details
    Browse the repository at this point in the history
  2. docs: add new website using Astro Starlight (#5246)

    * docs: add new website using Astro Starlight
    
    * chore: add docs command to package.json
    
    * Add supporters.js dependencies
    
    * add root-level install to npm run docs
    
    * remove question mark
    
    * docs-next/netlify.toml
    
    * console.log(process.env)
    
    * Don't have /next base in Netlify
    
    * More proper astro.config.mjs
    
    * linting
    
    * Smaller title
    
    * Dark mode fixups
    
    * Slightly darker sl-color-white
    
    * Mentioned this being WIP
    
    * Missing _
    
    * Tweaked notice
    
    * Tweaked notice colors
    
    * Tweaked notice text
    
    * fix /api and /example/tests.html links
    
    * fix: responsive homepage title
    
    *
    D415
     fix: sized responsive homepage title
    
    * Added <Head> override for mocha-thumbnail.svg
    
    * Added starting buttons
    
    * fix: starting buttons config link
    
    * fix: starting buttons 'ing'
    
    * Footer mobile responsiveness, and root netlify.toml revert
    
    * Simpler, more accurate test file
    
    * chore: rm docs-next/pnpm-lock.yaml
    
    * chore: docs-next should not have pnpm at all
    
    * docs: generate, not prebuild
    
    * Apply suggestions from code review
    
    Co-authored-by: Mark Wiemer <7833360+mark-wiemer@users.noreply.github.com>
    
    * First round of feedback updates
    
    * Missed a sidebar heading title
    
    * Update docs-next/src/content/docs/index.mdx
    
    Co-authored-by: Mark Wiemer <7833360+mark-wiemer@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Mark Wiemer <7833360+mark-wiemer@users.noreply.github.com>
    JoshuaKGoldberg and mark-wiemer authored Mar 17, 2025
    Configuration menu
    Copy the full SHA
    b1f1cb7 View commit details
    Browse the repository at this point in the history
  3. feat: enable reporters to show relative paths of tests (#5292)

    * DRAFT // Get test file path relative to config
    
    Signed-off-by: Dinika Saxena <dinika@greyllama.cc>
    
    * Use cwd for finding relative path of test fil
    
    * Use relative path options in json and json-stream reporters
    
    * Add integration test for relative paths in xunit reporter
    
    Signed-off-by: Dinika Saxena <dinika@greyllama.cc>
    
    * Make test more complete by checking for non existence
    
    * Keep showing absolute paths in json reporters
    
    * Add doc for showRelativePath xunit reporter option
    
    Signed-off-by: Dinika Saxena <dinika@greyllama.cc>
    
    * Move relative path calculation to the only reporter (xunit) that needs it
    
    * Fix typo in xunit doc for showRelativePaths option
    
    Signed-off-by: Dinika Saxena <dinika@greyllama.cc>
    
    * Clarify why testing for absence of relative paths need quotes
    
    * Copied new docs .md contents to docs-next .mdx
    
    ---------
    
    Signed-off-by: Dinika Saxena <dinika@greyllama.cc>
    Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
    Dinika and JoshuaKGoldberg authored Mar 17, 2025
    Configuration menu
    Copy the full SHA
    81ea666 View commit details
    Browse the repository at this point in the history
  4. chore(main): release 11.2.0 (#5283)

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