/var/www/greso.tech/server/nsm/node_modules/jose/dist/node/cjs/lib
NameSizeModeActions
aesgcmkw.js9350644editdlrm
buffer_utils.js21350644editdlrm
cek.js7700644editdlrm
check_iv_length.js3820644editdlrm
check_key_type.js22270644editdlrm
check_p2s.js3330644editdlrm
crypto_key.js54800644editdlrm
decrypt_key_management.js53590644editdlrm
encrypt_key_management.js37460644editdlrm
epoch.js1400644editdlrm
invalid_key_input.js10980644editdlrm
is_disjoint.js6740644editdlrm
is_object.js6000644editdlrm
iv.js7750644editdlrm
jwt_claims_set.js45850644editdlrm
secs.js12890644editdlrm
validate_algorithms.js4680644editdlrm
validate_crit.js16730644editdlrm
Edit: /var/www/greso.tech/server/nsm/node_modules/jose/dist/node/cjs/lib/validate_algorithms.js (468B)
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const validateAlgorithms = (option, algorithms) => { if (algorithms !== undefined && (!Array.isArray(algorithms) || algorithms.some((s) => typeof s !== 'string'))) { throw new TypeError(`"${option}" option must be an array of strings`); } if (!algorithms) { return undefined; } return new Set(algorithms); }; exports.default = validateAlgorithms;