Updating NPM dependencies
This commit is contained in:
2
node_modules/jwa/index.js
generated
vendored
2
node_modules/jwa/index.js
generated
vendored
@@ -239,7 +239,7 @@ module.exports = function jwa(algorithm) {
|
||||
es: createECDSAVerifer,
|
||||
none: createNoneVerifier,
|
||||
}
|
||||
var match = algorithm.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/i);
|
||||
var match = algorithm.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);
|
||||
if (!match)
|
||||
throw typeError(MSG_INVALID_ALGORITHM, algorithm);
|
||||
var algo = (match[1] || match[3]).toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user