Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add formatToHidden function #61

Merged
merged 2 commits into from
Jun 10, 2023

Conversation

dchueri
Copy link
Contributor

@dchueri dchueri commented Jun 8, 2023

Adiciona função para esconder a quantidade de dígitos definida e também permite a escolha do caractere que irá substituir os dígitos. Foram adicionados também os testes para as validações.

@dchueri
Copy link
Contributor Author

dchueri commented Jun 8, 2023

#50

@VitorLuizC VitorLuizC merged commit 0ce529a into VitorLuizC:master Jun 10, 2023
@VitorLuizC
Copy link
Owner

@dchueri renomeei a função para formatToHiddenDigits já que estamos ocultando apenas os dígitos (0-9) e tornei o range mais dinâmico para dar suporte a números negativos e tuplas.

Acabei de publicar na versão 0.13.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants