@excofy/utils 1.0.13 → 1.0.14

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/dist/index.cjs CHANGED
@@ -649,7 +649,7 @@ function createValidator() {
649
649
  // src/helpers/generateCode.ts
650
650
  var generateCode = (length = 6, alphanumeric = true) => {
651
651
  const digits = "0123456789";
652
- const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
652
+ const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
653
653
  const charset = alphanumeric ? digits + letters : digits;
654
654
  let result = "";
655
655
  for (let i = 0; i < length; i++) {
package/dist/index.js CHANGED
@@ -613,7 +613,7 @@ function createValidator() {
613
613
  // src/helpers/generateCode.ts
614
614
  var generateCode = (length = 6, alphanumeric = true) => {
615
615
  const digits = "0123456789";
616
- const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
616
+ const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
617
617
  const charset = alphanumeric ? digits + letters : digits;
618
618
  let result = "";
619
619
  for (let i = 0; i < length; i++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@excofy/utils",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Biblioteca de utilitários para o Excofy",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -13,7 +13,7 @@
13
13
  */
14
14
  export const generateCode = (length = 6, alphanumeric = true): string => {
15
15
  const digits = '0123456789';
16
- const letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
16
+ const letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
17
17
  const charset = alphanumeric ? digits + letters : digits;
18
18
 
19
19
  let result = '';