- Allow
options.hostto connect to any GitHub server. This allows the use of GitHub Enterprise.
- Fix testing for 2FA since SMS fix when user has no 2FA.
- Only allow prompt types of input and password.
- Move prompt options code into separate function to allow testing.
- Add JSCS checker and reformat code to match rules.
- Add code coverage checker that hooks to coveralls.io from Travis CI, and a corresponding badge to the README.
- Update release history in README with film names for major/minor versions and quotes from the film for patch versions.
- Add licence file. Type already stated in the README but a file provides more info, and follows repository conventions.
- Ensure SMS 2FA code is triggered from
userRequires2FA().
- Don't throw error at the end: the callback should handle it. This ensures we are keeping with the Node callback style.
- Fix auth checking for
requiresCodewhereauth.usernamewas being checked twice andauth.passwordwasn't being checked at all.
- Chang test log output to be more verbose.
- Allow options object to be passed to prompt creation.
- Fix
getOptionstests to call the static method. - Add
functionto type checking in tests. - Rename
0and1identifiers tofalsey numberandtruthy numberfor test logs. - Skip empty tests instead of them succeeding by doing nothing.
- Hide password on input.
- Fix package name internally.
- Move options checking to
getOptionsfunction, statically accessible also. - Remove some unnecessary tests.
- Fix package name in docs.
- The first full working state.