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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x |
import cloneObject from './clone-object';
import comparePasswords from './compare-passwords';
import concatIDAndHash from './concat-id-and-hash';
import deconstructId from './deconstruct-id';
import ensureFieldHasChanged from './ensure-field-has-changed';
import ensureObjPropsValid from './ensure-obj-props-valid';
import ensureValuesAreStrings from './ensure-values-are-strings';
import getLongToken from './get-long-token';
import getShortToken from './get-short-token';
import getUserData from './get-user-data';
import hashPassword from './hash-password';
import isNullsy from './is-nullsy';
import notifier from './notifier';
import randomBytes from './random-bytes';
import randomDigits from './random-digits';
import sanitizeUserForClient from './sanitize-user-for-client';
import sanitizeUserForNotifier from './sanitize-user-for-notifier';
const helpers = {
cloneObject,
comparePasswords,
concatIDAndHash,
deconstructId,
ensureFieldHasChanged,
ensureObjPropsValid,
ensureValuesAreStrings,
getLongToken,
getShortToken,
getUserData,
hashPassword,
isNullsy,
notifier,
randomBytes, // for testing, make safe from hacking
randomDigits, // for testing, make safe from hacking
sanitizeUserForClient,
sanitizeUserForNotifier
};
export {
cloneObject,
comparePasswords,
concatIDAndHash,
deconstructId,
ensureFieldHasChanged,
ensureObjPropsValid,
ensureValuesAreStrings,
getLongToken,
getShortToken,
getUserData,
hashPassword,
isNullsy,
notifier,
randomBytes, // for testing, make safe from hacking
randomDigits, // for testing, make safe from hacking
sanitizeUserForClient,
sanitizeUserForNotifier
};
export default helpers;
// commonjs
Eif (typeof module !== 'undefined') {
module.exports = Object.assign(helpers, module.exports);
}
|