saifqasa123

Results 3 comments of saifqasa123

I have tried 5.1.1 and 5.1.2 versions and I got the same result. Here is the code snippet ` const isPasswordValid = () => { if(!isValidClass3(password, MIN_PASSWORD_LENGTH, MAX_PASSWORD_LENGTH, false)) {...

Here is another code snippet that illustrates the recursive issue. `const isPasswordValid = (password) => { const pwordValidator = new passwordValidator(); pwordValidator .is().min(8) .has().not().spaces() .has().digits(10); return pwordValidator.validate(password); }; console.time('10 digits');...

The same issue occurs when the symbols method has a big value. `const pwordValidator = new passwordValidator(); pwordValidator .has().not().spaces() .has().symbols(40);`