Skip to content

Commit

Permalink
chore: update cpf_and_cnpj-generator to version 1.3.2 in documentatio…
Browse files Browse the repository at this point in the history
…n and package.json
  • Loading branch information
gabriel-logan committed Feb 17, 2025
1 parent ea51f73 commit 07386cb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions packages/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,37 @@ https://gabriel-logan.github.io/Gerador-CPF-e-CNPJ-valido
jsdelivr:

```bash
https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.1/dist/index.min.js
https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.2/dist/index.min.js
```

```html
<script src="https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.1/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.2/dist/index.min.js"></script>
```

unpkg:

```bash
https://unpkg.com/cpf_and_cnpj-generator@1.3.1/dist/index.js
https://unpkg.com/cpf_and_cnpj-generator@1.3.2/dist/index.js
```

```html
<script src="https://unpkg.com/cpf_and_cnpj-generator@1.3.1/dist/index.js"></script>
<script src="https://unpkg.com/cpf_and_cnpj-generator@1.3.2/dist/index.js"></script>
```

### ESM

jsdelivr:

```bash
https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.1/+esm
https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.2/+esm
```

```html
<script type="module">
import {
generateCpf,
generateCnpj,
} from "https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.1/+esm";
} from "https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.2/+esm";
</script>
```

Expand Down Expand Up @@ -111,4 +111,4 @@ If you want to help me, you can buy me a coffee (:
</a>
</p>

Lembre-se de que o código de importação ou require depende do ambiente JavaScript em que você está executando o pacote (por exemplo, Node.js com suporte a módulos ES ou sem suporte). Portanto, escolha a opção de importação ou require adequada ao seu ambiente.
Lembre-se de que a forma de importar ou requerer um pacote depende do ambiente JavaScript em que você está rodando (por exemplo, Node.js com ou sem suporte a módulos ES). Escolha o método que melhor se adapta ao seu ambiente.
14 changes: 7 additions & 7 deletions packages/typescript/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,37 @@ https://gabriel-logan.github.io/Gerador-CPF-e-CNPJ-valido
jsdelivr:

```bash
https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.1/dist/index.min.js
https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.2/dist/index.min.js
```

```html
<script src="https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.1/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.2/dist/index.min.js"></script>
```

unpkg:

```bash
https://unpkg.com/cpf_and_cnpj-generator@1.3.1/dist/index.js
https://unpkg.com/cpf_and_cnpj-generator@1.3.2/dist/index.js
```

```html
<script src="https://unpkg.com/cpf_and_cnpj-generator@1.3.1/dist/index.js"></script>
<script src="https://unpkg.com/cpf_and_cnpj-generator@1.3.2/dist/index.js"></script>
```

### ESM

jsdelivr:

```bash
https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.1/+esm
https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.2/+esm
```

```html
<script type="module">
import {
generateCpf,
generateCnpj,
} from "https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.1/+esm";
} from "https://cdn.jsdelivr.net/npm/cpf_and_cnpj-generator@1.3.2/+esm";
</script>
```

Expand Down Expand Up @@ -103,4 +103,4 @@ console.log("CPF generated:", generateCnpj());
console.log("CNPJ generated:", generateCpf());
```

Keep in mind that the code to import or require depends on the JavaScript environment you're running the package in (for example, Node.js with or without ES module support). Therefore, choose the import or require option that suits your environment.
Keep in mind that the way you import or require a package depends on your JavaScript environment (e.g., Node.js with or without ES module support). Choose the method that best fits your setup.
2 changes: 1 addition & 1 deletion packages/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cpf_and_cnpj-generator",
"version": "1.3.1",
"version": "1.3.2",
"description": "Este repositório contém um código JavaScript que gera um CPF (Cadastro de Pessoas Físicas) e CNPJ (Cadastro Nacional da Pessoa Jurídica) brasileiro válido. CPF é um número de identificação exclusivo atribuído a indivíduos no Brasil. O código garante que os números de CPF e CNPJ gerados sigam as regras e algoritmos de validação necessários.",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down

0 comments on commit 07386cb

Please sign in to comment.