Thanks to visit codestin.com
Credit goes to github.com

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: v8.2.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: v8.2.1
Choose a head ref
  • 11 commits
  • 22 files changed
  • 3 contributors

Commits on Oct 16, 2020

  1. fix v8.2.0 release date in CHANGELOG.md [ci skip]

    Signed-off-by: Christopher Hiller <[email protected]>
    boneskull committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    f23035d View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2020

  1. add node.js v15 to build matrix

    Signed-off-by: Christopher Hiller <[email protected]>
    boneskull committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    0165112 View commit details
    Browse the repository at this point in the history
  2. Change assert module's deprecated methods in testing files (#4435)

    * Change deprecated methods in assert library
    
    * update getDiffs when node version v10
    
    * skip test in no-diff.spec.js when Node.js 10
    
    * revert diffs.spec.js output changes, skip diffs.spec.js when Node.js 10
    
    * skip diffs.spec.js when Node.js 10
    sujin-park authored Oct 30, 2020
    Configuration menu
    Copy the full SHA
    7e490aa View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2020

  1. Configuration menu
    Copy the full SHA
    fac181b View commit details
    Browse the repository at this point in the history
  2. delegate to Node on non-Mocha unhandled rejections (#4489)

    This is not intended as a _fix_ for #4481, since it's possible that Mocha's behavior in v8.2.0 uncovers false positives.  In other cases--depending on the use-case--they are not false positives at all, but rather annoyances that depended on the pre-v15 behavior of Node.js to only issue warnings.
    
    This PR changes the behavior of Mocha so that it will re-emit unhandled rejections to `process` _if_ they did not generate from Mocha.  If the rejection generated from Mocha, then we treat it as an uncaught exception, because Mocha should not be in the business of ignoring its own unhandled rejections.  The logic for detecting an "error originating from Mocha" is not exhaustive.
    
    Once an unhandled rejection is re-emitted to `process`, Node decides what to do with it based on how it is configured to handle unhandled rejections (strict, warn, quiet, etc.).
    
    Added a public method to `errors` module; `isMochaError()`
    
    Ref: #4481
    
    
    Signed-off-by: Christopher Hiller <[email protected]>
    boneskull authored Nov 2, 2020
    Configuration menu
    Copy the full SHA
    c3ced39 View commit details
    Browse the repository at this point in the history
  3. update deps for some vuln which is not applicable to mocha

    Signed-off-by: Christopher Hiller <[email protected]>
    boneskull committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    8318dff View commit details
    Browse the repository at this point in the history
  4. do not run CI on closed PRs

    Signed-off-by: Christopher Hiller <[email protected]>
    boneskull committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    5c004a9 View commit details
    Browse the repository at this point in the history
  5. properly dispose Mocha instance in watch mode; closes #4495

    Signed-off-by: Christopher Hiller <[email protected]>
    boneskull committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    27cae39 View commit details
    Browse the repository at this point in the history
  6. ensure eslint runs properly on PRs

    Signed-off-by: Christopher Hiller <[email protected]>
    boneskull authored Nov 2, 2020
    Configuration menu
    Copy the full SHA
    d2e0e83 View commit details
    Browse the repository at this point in the history
  7. update CHANGELOG for v8.2.1

    Signed-off-by: Christopher Hiller <[email protected]>
    boneskull committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    bddc079 View commit details
    Browse the repository at this point in the history
  8. Release v8.2.1

    boneskull committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    185cada View commit details
    Browse the repository at this point in the history
Loading