-
-
Notifications
You must be signed in to change notification settings - Fork 51
refactor: Remove util.inherits #70 #109
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you follow my comments below the tests will all pass
Also please run one time "npm run lint:fix" so that all linting errors go away. |
@dsschiramm |
I made a mistake, I'm fixing it, I'll resubmit the pull request later. |
You could have kept it open or made it a draft. Then everytime you would push into your repo/branch it would automatically show up here. |
Got it, thanks I didn't know, I'll open it and make the corrections. |
@Uzlopak could you review one more time ? |
Hey @dsschiramm thanks a lot for your contribution. Can you please edit your PR and fill out the template sections (summary, linked issues etc.) so we as reviewers can easily step in see what's going on. |
@dsschiramm we are back in the new year, your PR is not forgotten ;-) |
I will first create the |
# Conflicts: # lib/grant-types/refresh-token-grant-type.js # package-lock.json
@Uzlopak as far as I can see all changes were addressed and this can be merged, once you approve |
@Uzlopak friendly ping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pong ;)
LGTM
Merge dev into master
Bumps [sinon](https://github.com/sinonjs/sinon) from 13.0.1 to 15.1.0. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](sinonjs/sinon@v13.0.1...v15.1.0) --- updated-dependencies: - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [chai](https://github.com/chaijs/chai) from 4.3.4 to 4.3.7. - [Release notes](https://github.com/chaijs/chai/releases) - [Changelog](https://github.com/chaijs/chai/blob/4.x.x/History.md) - [Commits](chaijs/chai@v4.3.4...v4.3.7) --- updated-dependencies: - dependency-name: chai dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…yarn/sinon-15.1.0 build(deps-dev): bump sinon from 13.0.1 to 15.1.0
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.2 to 10.2.0. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](mochajs/mocha@v9.2.2...v10.2.0) --- updated-dependencies: - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…yarn/mocha-10.2.0 build(deps-dev): bump mocha from 9.2.2 to 10.2.0
…yarn/chai-4.3.7 build(deps-dev): bump chai from 4.3.4 to 4.3.7
Bumps [eslint](https://github.com/eslint/eslint) from 8.4.1 to 8.41.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.4.1...v8.41.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…yarn/eslint-8.41.0 build(deps-dev): bump eslint from 8.4.1 to 8.41.0
The base branch was changed.
Bumps [eslint](https://github.com/eslint/eslint) from 8.41.0 to 8.42.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.41.0...v8.42.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…yarn/eslint-8.42.0 build(deps-dev): bump eslint from 8.41.0 to 8.42.0
@dsschiramm it's finally merged 🎉 thanks a lot for your contribution and patience! |
Summary
Remove util.inherits
Use ES6 Class syntax with extends instead of utils.inherits
Linked issue(s)
#70
Involved parts of the project
Added tests?
Yes, added test to validate OAuthError constructor and properties in test/unit/errors/oauth-error_test.js
OAuth2 standard
Reproduction
Checkout this branch and run the tests.