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.
- package/.eslintrc.json +24 -24
- package/LICENSE +661 -661
- package/README.md +52 -52
- package/examples/gerar-boleto-BancoDoBrasil.js +71 -71
- package/examples/gerar-boleto-bradesco.js +58 -58
- package/examples/gerar-boleto-cecred.js +59 -59
- package/index.d.ts +372 -372
- package/lib/boleto/bancos/banco-do-brasil.js +125 -125
- package/lib/boleto/bancos/bradesco.js +115 -115
- package/lib/boleto/bancos/caixa.js +140 -140
- package/lib/boleto/bancos/cecred.js +117 -117
- package/lib/boleto/bancos/itau.js +124 -124
- package/lib/boleto/bancos/santander.js +118 -118
- package/lib/boleto/bancos/sicoob.js +118 -118
- package/lib/boleto/bancos/sicredi.js +143 -143
- package/lib/boleto/codigo-de-barras-builder.js +38 -38
- package/lib/boleto/gerador-de-boleto.js +1241 -1239
- package/lib/boleto/gerador-de-digito-padrao.js +42 -42
- package/lib/boleto/gerador-de-linha-digitavel.js +26 -26
- package/lib/boleto/valida-codigo-barras.js +12 -12
- package/lib/index.js +14 -14
- package/lib/metodosPublicos/boletoMetodos.js +50 -50
- package/lib/pdf-gerador.js +25 -25
- package/lib/stringify/boletoStringify.js +48 -48
- package/lib/utils/array-utils.js +13 -13
- package/lib/utils/date-utils.js +8 -8
- package/lib/utils/functions/bancosUtils.js +104 -104
- package/lib/utils/functions/boletoUtils.js +895 -895
- package/lib/utils/functions/formatacoesUtils.js +287 -287
- package/lib/utils/functions/validacoesUtils.js +233 -233
- package/lib/utils/math-utils.js +53 -53
- package/lib/utils/object-utils.js +8 -8
- package/lib/utils/stream-utils.js +6 -6
- package/lib/utils/string-utils.js +60 -60
- package/package.json +61 -61
- package/pnpm-workspace.yaml +3 -0
- package/tests/bancos-test.js +116 -116
- package/tests/boleto/bancos/bradesco-test.js +145 -145
- package/tests/boleto/bancos/caixa-test.js +428 -428
- package/tests/boleto/bancos/itau-test.js +342 -342
- package/tests/boleto/bancos/sicoob-test.js +341 -341
- package/tests/boleto/gerador-de-digito-padrao-test.js +22 -22
- package/tests/boleto-test.js +349 -349
- package/tests/brasil-test.js +66 -66
- package/tests/formatacoes-test.js +349 -349
- 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
|
}
|