Skip to content
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

ES6 linting and Promises #5

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

brettz9
Copy link
Member

@brettz9 brettz9 commented Feb 15, 2021

READ THIS FIRST!

Is this a security patch?

No.

Checklist

  • I have read the CONTRIBUTING guidelines.
  • I have updated the UNRELEASED section of the CHANGELOG.
  • [N/A] I have added myself to the contributors section of package.json if I wish to be listed
  • I have added test cases which verify the correct operation of this feature or patch.
  • I have added documentation pertaining to this feature or patch.
  • The automated test suite ($ npm test) executes successfully.
  • The automated code linting ($ npm run-script lint) executes successfully.

The changes added to UNRELEASED are the following major changes:

  • Update engines to >= 10.0.0
  • Enhancement: Implement Promise-based API

This should be blocked by passport-next/passport#21 (and I still intend to try this out in the wild).

In addition to the changes added to UNRELEASED, there are these dev changes (which I believe are new beyond what a recent addition on master already covered); the addition of a test is the one non-maintenance/upkeep type item:

  • Linting: As per latest ash-nazg
  • Linting: Check hidden files
  • Travis: Bump Node versions to 10, 12, 14
  • Testing: Add chai-friendly to auto-allow chai "unused" expressions
  • Testing: Add nyc
  • Testing: Add test to complete coverage (badly formed username)
  • Maintenance: Add .editorconfig
  • Docs: Add jsdoc; avoid including command prompt as harder to copy-paste;
    update references in code to passport-next
  • npm: simplify script call
  • npm: Use nyc in test and move non-coverage script to "mocha"
  • npm: Move vulnerable node-static server to http-server
  • npm: Update devDeps (including swapping eslint-config-ash-nazg peerDep. and drop need for typescript)

- Linting: Switch from jshint to eslint
- Optimization: Add `use strict` directives
- Docs: Add jsdoc; avoid including command prompt as harder to copy-paste; update references in code to passport-next
- Maintenance: Add `.editorconfig`
- npm: Add recommended fields; fix `licenses`->`license`; update http->https;
    simplify script call
- npm: Update chai, mocha
- Linting: As per latest ash-nazg
- Travis: Bump Node versions to 10, 12, 14
- Testing: Add `chai-friendly` to auto-allow chai "unused" expressions
- npm: Bump engines to 10
- npm: Update devDeps.
- npm: Use nyc in `test` and move non-coverage script to "mocha"
- npm: Update devDeps (including swapping eslint-config-ash-nazg peerDep. and drop need for typescript)
…plugin-markdown` and `eslint-plugin-jsdoc`

- npm: Update devDeps.
@brettz9 brettz9 added the enhancement New feature or request label Feb 15, 2021
@brettz9 brettz9 changed the title ES6 linting ES6 linting and Promises Feb 15, 2021
@coveralls
Copy link

coveralls commented Feb 15, 2021

Pull Request Test Coverage Report for Build 30

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.4%) to 100.0%

Totals Coverage Status
Change from base Build 27: 1.4%
Covered Lines: 12
Relevant Lines: 12

💛 - Coveralls

@coveralls
Copy link

Pull Request Test Coverage Report for Build 28

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.4%) to 100.0%

Totals Coverage Status
Change from base Build 27: 1.4%
Covered Lines: 12
Relevant Lines: 12

💛 - Coveralls

brettz9 added 2 commits July 1, 2021 09:14
- npm: Update devDeps.
- Testing Check Node 16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants