-
-
Notifications
You must be signed in to change notification settings - Fork 926
Update dependency mocha to v7 #596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
|
This would require us to drop node 6 support |
ce9de71 to
0215ca6
Compare
0215ca6 to
d5a9e1b
Compare
d5a9e1b to
e499aa7
Compare
e499aa7 to
1cbf9d3
Compare
4478066 to
7c2ad14
Compare
08f0399 to
b84778b
Compare
7c2ad14 to
be2e4a0
Compare
sambacha
pushed a commit
to sambacha/node-oauth2-server
that referenced
this pull request
Sep 27, 2020
* Compute the correct redirect_uri in case of resource over denies access According to https://tools.ietf.org/html/rfc6749#section-4.1.2.1 once the redirect_uri & client_id is correct authorization server should inform the clinet, that user denied access. The change is to move validation of resource owner approval after the redirect_uri & client identifier validation so the correct redirect url is computed * Remove commented code * Note we're now also seeking reviewers * Update readme with link to v5-dev branch * Add renovate.json * Add link to examples repo. Closes oauthjs#571 * Update dependency bluebird to v3.7.2 * Update dependency jshint to v2.11.0 * Update dependency mocha to v3.5.3 * Update dependency sinon to v2.4.1 * Update dependency statuses to v1.5.0 * Update dependency basic-auth to v2 * Update node versions * Bump lodash from 4.17.4 to 4.17.15 Bumps [lodash](https://github.com/lodash/lodash) from 4.17.4 to 4.17.15. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.4...4.17.15) Signed-off-by: dependabot[bot] <[email protected]> * Update dependency type-is to v1.6.18 * Update dependency should to v13 * add codecoverage and upgrade packages * Update dependency jshint to v2.11.1 * Drop support for node 4/6/8 and add tests for 14 * Update dependency sinon to v9 * Update dependency mocha to v7 * Release 3.0.2 🎉 * Release 3.0.2 🎉 * Revert "Drop support for node 4/6/8 and add tests for 14" This reverts commit b84778b. * Revert "Merge pull request oauthjs#596 from oauthjs/renovate/mocha-7.x" This reverts commit cb2bb88, reversing changes made to 6997303. * Revert "Merge pull request oauthjs#602 from oauthjs/renovate/sinon-9.x" This reverts commit 6997303, reversing changes made to b84778b. * Bump mocha and sinon to lastest versions supporting node v4 * Add testing for node v14 * Update readme with project status update * remove renovate in favour of dependabot * Add FUNDING.yml (oauthjs#630) * Updated .gitignore * Changed 'hasOwnProperty' call in Request * Changed 'hasOwnProperty' call in Response * set numArgs for promisify of generateAuthorizationCode * readme: Update Slack badge and link * fix: issue correct expiry dates for tokens oauthjs#444 related to a NodeJS (nodejs/node#7074) and furthermore V8 bug (https://bugs.chromium.org/p/v8/issues/detail?id=3637); replaced seconds calculation with milliseconds. * Merge pull request oauthjs#451 from razvanz/fix/validate-scope-on-authorize fix: validate requested scope on authorize request * Merge pull request oauthjs#491 from mattgrande/master docs: Ensure accessTokenExpiresAt is required * Merge pull request oauthjs#471 from smartrecruiters/fix-migration-documentaiton docs: Correct tokens time scale for 2.x to 3.x migration guide * Updated changelog * Tag 3.1.0-rc1 * 3.1.0 bump * Bump lodash from 4.17.15 to 4.17.19 Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.19) Signed-off-by: dependabot-preview[bot] <[email protected]> * v3.1.1 (oauthjs#636) * Bump jshint from 2.11.1 to 2.12.0 (oauthjs#640) Bumps [jshint](https://github.com/jshint/jshint) from 2.11.1 to 2.12.0. - [Release notes](https://github.com/jshint/jshint/releases) - [Changelog](https://github.com/jshint/jshint/blob/master/CHANGELOG.md) - [Commits](jshint/jshint@2.11.1...2.12.0) Signed-off-by: dependabot-preview[bot] <[email protected]> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> * Set WWW-Authenticate header for invalid requests This adds the WWW-Authenticate header for InvalidRequestError, InvalidTokenError, and InsufficientScopeError, as specified in RFC 6750, Section 3 Fixes oauthjs#553 * cherry pick * rm lock * fix: lint erros * fix grant types * custom types init * Update .travis.yml * git merge artifact Co-authored-by: Igor Czechowski <[email protected]> Co-authored-by: Szymon Kiebzak <[email protected]> Co-authored-by: Thom Seddon <[email protected]> Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aras Abbasi <[email protected]> Co-authored-by: mjsalinger <[email protected]> Co-authored-by: Pritilender <[email protected]> Co-authored-by: nkzawa <[email protected]> Co-authored-by: Max Truxa <[email protected]> Co-authored-by: Razvan <[email protected]> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Jonas Hermsmeier <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.5.3->7.2.0Release Notes
mochajs/mocha
v7.2.0Compare Source
🎉 Enhancements
🐛 Fixes
--forbid-onlydoes not recognizeit.onlywhenbeforecrashes (@arvidOtt)📖 Documentation
🔩 Other
v7.1.2Compare Source
🔩 Other
📖 Documentation
v7.1.1Compare Source
🔒 Security Fixes
🐛 Fixes
runnerlistening tostartandendevents (@juergba)📖 Documentation
v7.1.0Compare Source
🎉 Enhancements
#4038: Add Node.js native ESM support (@giltayar)
Mocha supports writing your test files as ES modules:
--experimental-modulesoptionNote: Node.JS native ECMAScript Modules implementation has status: Stability: 1 - Experimental
🐛 Fixes
allowUncaughtoption (@juergba)📖 Documentation
package.json(@outsideris)🔩 Other
v7.0.1Compare Source
🐛 Fixes
reporterOptions(@holm)📖 Documentation
🔩 Other
v7.0.0Compare Source
💥 Breaking Changes
--debug/--debug-brkand deprecatedebugargument (@juergba)--list-interfacesreplaces--interfaces--list-reportersreplaces--reportersthis.skip()(@juergba):ittest, relatedafterEachhooks are now executedbeforeEachhook, subsequent innerbeforeEachhooks are now skipped and relatedafterEachhooks are executedthis.skip()withinafterhooksgetOptions()andlib/cli/options.js(@juergba)pendingtest: don't swallow, but retrospectively fail the test for correct exit code (@juergba)Mochaconstructor's option names with command-line options (@juergba)🎉 Enhancements
--watchmode with chokidar (@geigerzaehler):--watch-filesand--watch-ignore--watch-extensions📠 Deprecations
These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
mocha.opts(@juergba)🐛 Fixes
--inspect-brk/--inspect(@juergba)Mochaconstructor: improve browser setup (@juergba)--allow-uncaughtwiththis.skip()(@juergba)🔍 Coverage
📖 Documentation
done()(@jgehrcke):coffee:with emoji ☕️ (@pzrq)shtobashfor code block in docs/index.md (@HyunSangHan)🔩 Other
package.json(@Munter)v6.2.3Compare Source
🔒 Security Fixes
v6.2.2Compare Source
🐛 Fixes
EVENT_RUN_ENDevents upon uncaught exception (@juergba)htmlreporter (browser) (@pec9399)📖 Documentation
v6.2.1Compare Source
🐛 Fixes
📖 Documentation
v6.2.0Compare Source
🎉 Enhancements
🐛 Fixes
--file(@gabegorelick)globalorglobals(@pascalpp)_mochabinary (@juergba)--timeout/--slowstring values and duplicate arguments (@boneskull, @juergba)📖 Documentation
🔍 Coverage
--watchoptions (@geigerzaehler)🔩 Other
--watchmode behavior (@geigerzaehler)runWatchinto separate module (@geigerzaehler)mocha.min.jsfile to stacktrace filter (@brian-lagerman)--excludeto--ignoreand create alias (@boneskull)mocha.css(@DanielRuf)v6.1.4Compare Source
🔒 Security Fixes
v6.1.3Compare Source
🐛 Fixes
yargs-related global scope pollution (@inukshuk)pnpm(@boneskull)v6.1.2Compare Source
🐛 Fixes
v6.1.1Compare Source
🐛 Fixes
v6.1.0Compare Source
🔒 Security Fixes
🎉 Enhancements
optionsparameter (@plroebuck).jsoncextension (@sstephant)📠 Deprecations
These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
this.skip()for "after all" hooks (@juergba)🐛 Fixes
this.skip()in "before each" hooks (@juergba)--allow-uncaughtfor uncaught exceptions thrown inside hooks (@givanse)and some regressions:
Suitecloning by copyingrootproperty (@fatso83)📖 Documentation
🔩 Other
v6.0.2Compare Source
🐛 Fixes
Two more regressions fixed:
mocha.opts(@boneskull)--requiredoes not break on module names that look like certainnodeflags (@boneskull)v6.0.1Compare Source
The obligatory round of post-major-release bugfixes.
🐛 Fixes
These issues were regressions.
test.jswhen run without arguments (@plroebuck)--ui(@boneskull)--watch(@boneskull)undefinedvalue from adescribecallback is no longer considered deprecated (@boneskull)📖 Documentation
@mocha/docdash@2(@tendonstrength)v6.0.0Compare Source
🎉 Enhancements
requirecache (@plroebuck)🐛 Fixes
Suite#_onlyTestsandSuite#_onlySuites(@vkarpov15)lookupFilesandfiles(@plroebuck)--delay(and other boolean options) not working in all cases (@boneskull)--reporter-option/--reporter-optionsdid not support comma-separated key/value pairs (@boneskull)📖 Documentation
🔩 Other
v5.2.0Compare Source
🎉 Enhancements
mocha.opts(@plroebuck)🐛 Fixes
beforehooks when using--bail(@outsideris)📖 Documentation
🔩 Other
Buffer.from()(@harrysarson)v5.1.1Compare Source
🐛 Fixes
--watch(@boneskull)v5.1.0Compare Source
🎉 Enhancements
--excludeoption (@metalex9)🐛 Fixes
📖 Documentation
🔩 Other
v5.0.5Compare Source
Welcome @outsideris to the team!
🐛 Fixes
--bailfailing to bail within hooks (@outsideris)describe.skip()) (@outsideris)📖 Documentation
CHANGELOG.md(@tagoro9, @honzajavorek)🔩 Other
v5.0.4Compare Source
🐛 Fixes
v5.0.3Compare Source
This patch features a fix to address a potential "low severity" ReDoS vulnerability in the diff package (a dependency of Mocha).
🔒 Security Fixes
diffto v3.5.0 (@anishkny)🔩 Other
generateDiff()inBasereporter (@harrysarson)v5.0.2Compare Source
This release fixes a class of tests which report as false positives. Certain tests will now break, though they would have previously been reported as passing. Details below. Sorry for the inconvenience!
🐛 Fixes
#3226: Do not swallow errors that are thrown asynchronously from passing tests (@boneskull). Example:
```js
it('should actually fail, sorry!', function (done) {
// passing assertion
assert(true === true);
// test complete & is marked as passing
done();
// ...but something evil lurks within
setTimeout(() => {
throw new Error('chaos!');
}, 100);
});
```
Previously to this version, Mocha would have silently swallowed the
chaos!exception, and you wouldn't know. Well, now you know. Mocha cannot recover from this gracefully, so it will exit with a nonzero code.Maintainers of external reporters: If a test of this class is encountered, the
Runnerinstance will emit theendevent twice; you may need to change your reporter to userunner.once('end')intead ofrunner.on('end').#3093: Fix stack trace reformatting problem (@outsideris)
🔩 Other
browser-stdoutto v1.3.1 (@honzajavorek)v5.0.1Compare Source
...your garden-variety patch release.
Special thanks to Wallaby.js for their continued support! ❤️
🐛 Fixes
--delaynow works with.only()(@silviom)📖 Documentation
--globdocs (@outsideris)🔩 Other
v5.0.0Compare Source
Mocha starts off 2018 right by again dropping support for unmaintained rubbish.
Welcome @vkarpov15 to the team!
💥 Breaking Changes
Practically speaking, only code which consumes (through bundling or otherwise) the userland buffer module should be affected. However, Mocha will no longer test against these browsers, nor apply fixes for them.
🎉 Enhancements
--filecommand line argument (documentation) (@hswolff)🐛 Fixes
😎 Developer Experience
📖 Documentation
--no-timeoutsdocs (@dfberry)done()callback docs (@maraisr)README.mdorganization (@xxczaki)🔩 Other
v4.1.0Compare Source
4.1.0 / 2017-12-28
This is mainly a "housekeeping" release.
Welcome @Bamieh and @xxczaki to the team!
🐛: Fixes
progressreporter now accepts reporter options (@canoztokmak)xitinbddinterface now properly returns itsTestobject (@Bamieh)--helpwill now help you even if you have amocha.opts(@Zarel)🎉 Enhancements
--no-diffflag will completely disable diff output (@CapacitorSet)📖 Documentation
docs/(@boneskull)🔩 Other
v4.0.1Compare Source
4.0.1 / 2017-10-05
🐛 Fixes
v4.0.0Compare Source
4.0.0 / 2017-10-02
You might want to read this before filing a new bug! 😝
💥 Breaking Changes
For more info, please read this article.
Compatibility
Default Behavior
nodefrom exiting will do so when run in Mocha. Supply the--exitflag to revert to pre-v4.0.0 behavior (@ScottFreeCode, @boneskull)Reporter Output
stdout:prefix from browser reporter logs (@skeggse)--forbid-pendingor--forbid-onlyis specified (@ScottFreeCode)👎 Deprecations
--compilerscommand-line option is now soft-deprecated and will emit a warning onSTDERR. Read this for more info and workarounds (@ScottFreeCode, @boneskull)🎉 Enhancements
📖 Documentation
README.mdandCONTRIBUTING.md(@skeggse)🔩 Other
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.