@cocreate/validation 2.0.0 → 2.0.1
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/CHANGELOG.md +7 -0
- package/package.json +5 -5
- package/src/index.js +7 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [2.0.1](https://github.com/CoCreateJS/validation/compare/v2.0.0...v2.0.1) (2026-11-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* upgrade CoCreate dependencies to v2 ([2020618](https://github.com/CoCreateJS/validation/commit/20206180116f084df807121a3507121c46981cc2))
|
|
7
|
+
|
|
1
8
|
# [2.0.0](https://github.com/CoCreateJS/validation/compare/v1.17.2...v2.0.0) (2026-11-02)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/validation",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "A simple validation component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"validation",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
},
|
|
37
37
|
"main": "./src/index.js",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@cocreate/actions": "^
|
|
40
|
-
"@cocreate/element-prototype": "^
|
|
41
|
-
"@cocreate/render": "^
|
|
39
|
+
"@cocreate/actions": "^2.0.0",
|
|
40
|
+
"@cocreate/element-prototype": "^2.0.0",
|
|
41
|
+
"@cocreate/render": "^2.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@cocreate/webpack": "^
|
|
44
|
+
"@cocreate/webpack": "^2.0.0"
|
|
45
45
|
},
|
|
46
46
|
"allowScripts": {
|
|
47
47
|
"@cocreate/actions@1.21.4": true,
|
package/src/index.js
CHANGED
|
@@ -124,56 +124,49 @@ export default { validations };
|
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
126
126
|
* @name aria-errormessage
|
|
127
|
-
* @kind
|
|
128
|
-
* @attribute
|
|
127
|
+
* @kind attribute
|
|
129
128
|
* @environment client
|
|
130
129
|
*/
|
|
131
130
|
|
|
132
131
|
/**
|
|
133
132
|
*
|
|
134
133
|
* @name aria-invalid
|
|
135
|
-
* @kind
|
|
136
|
-
* @attribute
|
|
134
|
+
* @kind attribute
|
|
137
135
|
* @environment client
|
|
138
136
|
*/
|
|
139
137
|
|
|
140
138
|
/**
|
|
141
139
|
*
|
|
142
140
|
* @name match
|
|
143
|
-
* @kind
|
|
144
|
-
* @attribute
|
|
141
|
+
* @kind attribute
|
|
145
142
|
* @environment client
|
|
146
143
|
*/
|
|
147
144
|
|
|
148
145
|
/**
|
|
149
146
|
*
|
|
150
147
|
* @name match-query
|
|
151
|
-
* @kind
|
|
152
|
-
* @attribute
|
|
148
|
+
* @kind attribute
|
|
153
149
|
* @environment client
|
|
154
150
|
*/
|
|
155
151
|
|
|
156
152
|
/**
|
|
157
153
|
*
|
|
158
154
|
* @name required
|
|
159
|
-
* @kind
|
|
160
|
-
* @attribute
|
|
155
|
+
* @kind attribute
|
|
161
156
|
* @environment client
|
|
162
157
|
*/
|
|
163
158
|
|
|
164
159
|
/**
|
|
165
160
|
*
|
|
166
161
|
* @name valid
|
|
167
|
-
* @kind
|
|
168
|
-
* @attribute
|
|
162
|
+
* @kind attribute
|
|
169
163
|
* @environment client
|
|
170
164
|
*/
|
|
171
165
|
|
|
172
166
|
/**
|
|
173
167
|
*
|
|
174
168
|
* @name validation
|
|
175
|
-
* @kind
|
|
176
|
-
* @attribute
|
|
169
|
+
* @kind attribute
|
|
177
170
|
* @environment client
|
|
178
171
|
*/
|
|
179
172
|
|