boletos-ademitech 1.0.4 → 1.0.6

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 (46) hide show
  1. package/.eslintrc.json +24 -24
  2. package/LICENSE +661 -661
  3. package/README.md +52 -52
  4. package/examples/gerar-boleto-BancoDoBrasil.js +71 -71
  5. package/examples/gerar-boleto-bradesco.js +58 -58
  6. package/examples/gerar-boleto-cecred.js +59 -59
  7. package/index.d.ts +372 -372
  8. package/lib/boleto/bancos/banco-do-brasil.js +125 -125
  9. package/lib/boleto/bancos/bradesco.js +115 -115
  10. package/lib/boleto/bancos/caixa.js +140 -140
  11. package/lib/boleto/bancos/cecred.js +117 -117
  12. package/lib/boleto/bancos/itau.js +124 -124
  13. package/lib/boleto/bancos/santander.js +118 -118
  14. package/lib/boleto/bancos/sicoob.js +118 -118
  15. package/lib/boleto/bancos/sicredi.js +143 -143
  16. package/lib/boleto/codigo-de-barras-builder.js +38 -38
  17. package/lib/boleto/gerador-de-boleto.js +1241 -1239
  18. package/lib/boleto/gerador-de-digito-padrao.js +42 -42
  19. package/lib/boleto/gerador-de-linha-digitavel.js +26 -26
  20. package/lib/boleto/valida-codigo-barras.js +12 -12
  21. package/lib/index.js +14 -14
  22. package/lib/metodosPublicos/boletoMetodos.js +50 -50
  23. package/lib/pdf-gerador.js +25 -25
  24. package/lib/stringify/boletoStringify.js +48 -48
  25. package/lib/utils/array-utils.js +13 -13
  26. package/lib/utils/date-utils.js +8 -8
  27. package/lib/utils/functions/bancosUtils.js +104 -104
  28. package/lib/utils/functions/boletoUtils.js +895 -895
  29. package/lib/utils/functions/formatacoesUtils.js +287 -287
  30. package/lib/utils/functions/validacoesUtils.js +233 -233
  31. package/lib/utils/math-utils.js +53 -53
  32. package/lib/utils/object-utils.js +8 -8
  33. package/lib/utils/stream-utils.js +6 -6
  34. package/lib/utils/string-utils.js +60 -60
  35. package/package.json +61 -61
  36. package/pnpm-workspace.yaml +3 -0
  37. package/tests/bancos-test.js +116 -116
  38. package/tests/boleto/bancos/bradesco-test.js +145 -145
  39. package/tests/boleto/bancos/caixa-test.js +428 -428
  40. package/tests/boleto/bancos/itau-test.js +342 -342
  41. package/tests/boleto/bancos/sicoob-test.js +341 -341
  42. package/tests/boleto/gerador-de-digito-padrao-test.js +22 -22
  43. package/tests/boleto-test.js +349 -349
  44. package/tests/brasil-test.js +66 -66
  45. package/tests/formatacoes-test.js +349 -349
  46. package/tests/validacoes-test.js +309 -309
package/.eslintrc.json CHANGED
@@ -1,25 +1,25 @@
1
- {
2
- "env": {
3
- "es6": true,
4
- "node": true
5
- },
6
- "extends": "eslint:recommended",
7
- "parserOptions": {
8
- "ecmaVersion": 2020,
9
- "sourceType": "module"
10
- },
11
- "rules": {
12
- "linebreak-style": [
13
- "error",
14
- "unix"
15
- ],
16
- "quotes": [
17
- "error",
18
- "single"
19
- ],
20
- "semi": [
21
- "error",
22
- "always"
23
- ]
24
- }
1
+ {
2
+ "env": {
3
+ "es6": true,
4
+ "node": true
5
+ },
6
+ "extends": "eslint:recommended",
7
+ "parserOptions": {
8
+ "ecmaVersion": 2020,
9
+ "sourceType": "module"
10
+ },
11
+ "rules": {
12
+ "linebreak-style": [
13
+ "error",
14
+ "unix"
15
+ ],
16
+ "quotes": [
17
+ "error",
18
+ "single"
19
+ ],
20
+ "semi": [
21
+ "error",
22
+ "always"
23
+ ]
24
+ }
25
25
  }