Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 3x 3x |
const cloneObject = require('./clone-object');
const comparePasswords = require('./compare-passwords');
const concatIDAndHash = require('./concat-id-and-hash');
const deconstructId = require('./deconstruct-id');
const ensureFieldHasChanged = require('./ensure-field-has-changed');
const ensureObjPropsValid = require('./ensure-obj-props-valid');
const ensureValuesAreStrings = require('./ensure-values-are-strings');
const getLongToken = require('./get-long-token');
const getShortToken = require('./get-short-token');
const getUserData = require('./get-user-data');
const hashPassword = require('./hash-password');
const isNullsy = require('./is-nullsy');
const notifier = require('./notifier');
const randomBytes = require('./random-bytes');
const randomDigits = require('./random-digits');
const sanitizeUserForClient = require('./sanitize-user-for-client');
const sanitizeUserForNotifier = require('./sanitize-user-for-notifier');
module.exports = {
cloneObject,
comparePasswords,
concatIDAndHash,
deconstructId,
ensureFieldHasChanged,
ensureObjPropsValid,
ensureValuesAreStrings,
getLongToken,
getShortToken,
getUserData,
hashPassword,
isNullsy,
notifier,
randomBytes: (...args) => randomBytes(...args), // for testing, make safe from hacking
randomDigits: (...args) => randomDigits(...args), // for testing, make safe from hacking
sanitizeUserForClient,
sanitizeUserForNotifier
};
|