Skip to content

Commit

Permalink
chore: update version to 2.5.1 in README and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed Feb 5, 2025
1 parent be007ba commit d0fed3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ Feel free to find bugs and report them to me. Your feedback is highly appreciate
jsDelivr:

```bash
https://cdn.jsdelivr.net/npm/[email protected].0/+esm
https://cdn.jsdelivr.net/npm/[email protected].1/+esm
```

```html
<script type="module">
import multiform-validator from "https://cdn.jsdelivr.net/npm/[email protected].0/+esm"
import multiform-validator from "https://cdn.jsdelivr.net/npm/[email protected].1/+esm"
</script>
```

Expand All @@ -34,19 +34,19 @@ https://cdn.jsdelivr.net/npm/[email protected]/+esm
unpkg:

```bash
https://unpkg.com/[email protected].0/dist/cjs/index.cjs
https://unpkg.com/[email protected].1/dist/cjs/index.cjs
```

```html
<script src="https://unpkg.com/[email protected].0/dist/cjs/index.cjs"></script>
<script src="https://unpkg.com/[email protected].1/dist/cjs/index.cjs"></script>
```

### Example of use with CDN

using cjs:

```html
<script src="https://unpkg.com/[email protected].0/dist/cjs/index.cjs"></script>
<script src="https://unpkg.com/[email protected].1/dist/cjs/index.cjs"></script>
<script>
const emailResult = isEmail("123456");
const cpfResult = cpfIsValid("123456");
Expand All @@ -61,7 +61,7 @@ using esm:

```html
<script type="module">
import multiformValidator from "https://cdn.jsdelivr.net/npm/[email protected].0/+esm";
import multiformValidator from "https://cdn.jsdelivr.net/npm/[email protected].1/+esm";
const emailResult = multiformValidator.isEmail("123456");
const cpfResult = multiformValidator.cpfIsValid("123456");
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "multiform-validator",
"version": "2.5.0",
"version": "2.5.1",
"description": "Javascript library made to validate, several form fields, such as: email, images, phone, password, cpf etc.",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
Expand Down

0 comments on commit d0fed3e

Please sign in to comment.