Skip to content

Commit f434538

Browse files
committed
bump: 2.2.2
update unpkg cdn link
1 parent 928d054 commit f434538

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Feel free to find bugs and report them to me. Your feedback is highly appreciate
1717

1818
jsDelivr:
1919

20+
CJS:
21+
2022
```bash
2123
https://cdn.jsdelivr.net/npm/[email protected]/dist/cjs/index.min.js
2224
```
@@ -27,12 +29,14 @@ https://cdn.jsdelivr.net/npm/[email protected]/dist/cjs/index.min.js
2729

2830
unpkg:
2931

32+
CJS:
33+
3034
```bash
31-
https://unpkg.com/[email protected].0/dist/cjs/index.js
35+
https://unpkg.com/[email protected].1/dist/cjs/index.cjs
3236
```
3337

3438
```html
35-
<script src="https://unpkg.com/[email protected].0/dist/cjs/index.js"></script>
39+
<script src="https://unpkg.com/[email protected].1/dist/cjs/index.cjs"></script>
3640
```
3741

3842
### Example of use with CDN

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"name": "multiform-validator",
3-
"version": "2.2.1",
3+
"version": "2.2.2",
44
"description": "Javascript library made to validate, several form fields, such as: email, images, phone, password, cpf etc.",
55
"main": "./dist/cjs/index.cjs",
66
"module": "./dist/esm/index.mjs",
77
"types": "./types/index.d.ts",
8+
"unpkg": "./dist/cjs/index.cjs",
89
"exports": {
910
".": {
1011
"import": "./dist/esm/index.mjs",
1112
"require": "./dist/cjs/index.cjs",
1213
"types": "./types/index.d.ts"
1314
}
1415
},
15-
"unpkg": "./dist/cjs/index.js",
1616
"scripts": {
1717
"test": "jest --coverage",
1818
"test:file": "jest tests/src/isDecimal.test --watch",

0 commit comments

Comments
 (0)