Skip to content

Commit

Permalink
bump: 2.2.2
Browse files Browse the repository at this point in the history
update unpkg cdn link
  • Loading branch information
gabriel-logan committed Jul 26, 2024
1 parent 928d054 commit f434538
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Feel free to find bugs and report them to me. Your feedback is highly appreciate

jsDelivr:

CJS:

```bash
https://cdn.jsdelivr.net/npm/multiform-validator@2.2.0/dist/cjs/index.min.js
```
Expand All @@ -27,12 +29,14 @@ https://cdn.jsdelivr.net/npm/multiform-validator@2.2.0/dist/cjs/index.min.js

unpkg:

CJS:

```bash
https://unpkg.com/multiform-validator@2.2.0/dist/cjs/index.js
https://unpkg.com/multiform-validator@2.2.1/dist/cjs/index.cjs
```

```html
<script src="https://unpkg.com/multiform-validator@2.2.0/dist/cjs/index.js"></script>
<script src="https://unpkg.com/multiform-validator@2.2.1/dist/cjs/index.cjs"></script>
```

### Example of use with CDN
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "multiform-validator",
"version": "2.2.1",
"version": "2.2.2",
"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",
"types": "./types/index.d.ts",
"unpkg": "./dist/cjs/index.cjs",
"exports": {
".": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.cjs",
"types": "./types/index.d.ts"
}
},
"unpkg": "./dist/cjs/index.js",
"scripts": {
"test": "jest --coverage",
"test:file": "jest tests/src/isDecimal.test --watch",
Expand Down

0 comments on commit f434538

Please sign in to comment.