validation-br 2.0.0-next-11 → 2.0.0-next-12
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.
- package/package.json +23 -4
- package/readme.md +10 -2
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, renavam, processos judiciais, protocolo federal, código de rastreamento dos correios",
|
|
4
|
-
"version": "2.0.0-next-
|
|
4
|
+
"version": "2.0.0-next-12",
|
|
5
5
|
"author": "Cláudio Medeiros <klawdyo@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -29,9 +29,28 @@
|
|
|
29
29
|
},
|
|
30
30
|
"typesVersions": {
|
|
31
31
|
"*": {
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
]
|
|
32
|
+
"base": ["dist/cjs/base.d.ts"],
|
|
33
|
+
"boleto": ["dist/cjs/boleto.d.ts"],
|
|
34
|
+
"caepf": ["dist/cjs/caepf.d.ts"],
|
|
35
|
+
"carplate": ["dist/cjs/carplate.d.ts"],
|
|
36
|
+
"cbi_sinter": ["dist/cjs/cbi_sinter.d.ts"],
|
|
37
|
+
"cep": ["dist/cjs/cep.d.ts"],
|
|
38
|
+
"certidao": ["dist/cjs/certidao.d.ts"],
|
|
39
|
+
"cnh": ["dist/cjs/cnh.d.ts"],
|
|
40
|
+
"cnpj": ["dist/cjs/cnpj.d.ts"],
|
|
41
|
+
"cpf": ["dist/cjs/cpf.d.ts"],
|
|
42
|
+
"email": ["dist/cjs/email.d.ts"],
|
|
43
|
+
"judicial-process": ["dist/cjs/judicial-process.d.ts"],
|
|
44
|
+
"nup17": ["dist/cjs/nup17.d.ts"],
|
|
45
|
+
"phone": ["dist/cjs/phone.d.ts"],
|
|
46
|
+
"pis-pasep": ["dist/cjs/pis-pasep.d.ts"],
|
|
47
|
+
"pix-copy-paste": ["dist/cjs/pix-copy-paste.d.ts"],
|
|
48
|
+
"pix-key": ["dist/cjs/pix-key.d.ts"],
|
|
49
|
+
"postal-track-code": ["dist/cjs/postal-track-code.d.ts"],
|
|
50
|
+
"renavam": ["dist/cjs/renavam.d.ts"],
|
|
51
|
+
"tituloEleitor": ["dist/cjs/tituloEleitor.d.ts"],
|
|
52
|
+
"uf": ["dist/cjs/uf.d.ts"],
|
|
53
|
+
"uuid": ["dist/cjs/uuid.d.ts"]
|
|
35
54
|
}
|
|
36
55
|
},
|
|
37
56
|
"scripts": {
|
package/readme.md
CHANGED
|
@@ -817,14 +817,22 @@ UUID.fake() // -> UUID { value: '...' }
|
|
|
817
817
|
|
|
818
818
|
Todos os testes passando com cobertura próxima de 100%.
|
|
819
819
|
|
|
820
|
-
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
<img width="800" alt="image" src="https://github.com/user-attachments/assets/0a458c8c-1c16-4e01-a98f-efa174dfec79" />
|
|
823
|
+
|
|
824
|
+
<img width="800" alt="image" src="https://github.com/user-attachments/assets/5e20f498-167e-4fb2-bb8b-1eb58afeb16c" />
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
821
828
|
|
|
822
829
|
|
|
823
830
|
# Github Actions
|
|
824
831
|
|
|
825
832
|
Github actions executados nas versões 18, 20, 22 e 24 do Node, buildando e validando os pacotes CommonJS e ESM em cada versão.
|
|
826
833
|
|
|
827
|
-
|
|
834
|
+
|
|
835
|
+
<img width="800" alt="image" src="https://github.com/user-attachments/assets/b4f89db9-33f2-435d-b563-ff694039c074" />
|
|
828
836
|
|
|
829
837
|
# Changelog
|
|
830
838
|
|