- Allow
options.host
to 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
requiresCode
whereauth.username
was being checked twice andauth.password
wasn't being checked at all.
- Chang test log output to be more verbose.
- Allow options object to be passed to prompt creation.
- Fix
getOptions
tests to call the static method. - Add
function
to type checking in tests. - Rename
0
and1
identifiers tofalsey number
andtruthy number
for test logs. - Skip empty tests instead of them succeeding by doing nothing.
- Hide password on input.
- Fix package name internally.
- Move options checking to
getOptions
function, statically accessible also. - Remove some unnecessary tests.
- Fix package name in docs.
- The first full working state.