validation-br 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +8 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "validation-br",
3
3
  "description": "Brazilian personal documents validation - cpf, cnpj, titulo, pis/pasep, cnh",
4
- "version": "0.8.0",
4
+ "version": "0.8.1",
5
5
  "scripts": {
6
6
  "test": "yarn build && cls && node tests | tap-spec",
7
7
  "build": "babel src --source-maps -d dist",
package/readme.md CHANGED
@@ -33,7 +33,7 @@ import { isCPF, isCNPJ } from ('validation-br');
33
33
  - [isCNPJ](#isCNPJ) - Validação do CNPJ
34
34
  - [isTitulo](#isTitulo) - Validação do Título de Eleitor
35
35
  - [isCNH](#isCNH) - Validação do CNH
36
- - [isPostaCode](#isPostaCode) - Validação de Objetos Registrados dos Correios
36
+ - [isPostalCode](#isPostalCode) - Validação de Objetos Registrados dos Correios
37
37
  - [isPIS](#isPIS) - Validação de PIS, PASEP, NIS e NIT
38
38
 
39
39
  ### isCPF
@@ -120,7 +120,7 @@ isCNH('46190476839')
120
120
  //-> false
121
121
  ```
122
122
 
123
- ### isPostaCode
123
+ ### isPostalCode
124
124
 
125
125
  Valida um código de rastreamento de objetos postais no formato XX000000000YY, onde:
126
126
 
@@ -166,12 +166,17 @@ isPIS('500.12973.80-1')
166
166
  //-> false
167
167
  ```
168
168
 
169
+ ## Tests
170
+ ![image](https://user-images.githubusercontent.com/100168/133695302-17744b22-2bf0-41e8-8907-58ea4770be3c.png)
171
+
172
+
173
+
169
174
  ## Changelog
170
175
 
171
176
  - **16/09/2021**:
172
177
  - 0.5.0 - Adicionadas as funções isCPF, isCNPJ e isTitulo
173
178
  - 0.7.0 - Adicionadas as funções isPostalCode e isCNH
174
- - 0.8.0 - Adicionadas as funções isPIS
179
+ - 0.8.0 - Adicionada a função isPIS
175
180
 
176
181
  ## Referências
177
182