yuppi 1.1.1 → 1.1.2
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/README.md
CHANGED
|
@@ -198,9 +198,7 @@ Validate the properties with your Yuppi schema.
|
|
|
198
198
|
> };
|
|
199
199
|
>
|
|
200
200
|
> try {
|
|
201
|
-
>
|
|
202
|
-
>
|
|
203
|
-
> console.log(properties);
|
|
201
|
+
> Yupp.validate(schema, properties);
|
|
204
202
|
> /*
|
|
205
203
|
> {
|
|
206
204
|
> display_name: "Fırat",
|
package/dist/Yuppi.class.js
CHANGED
|
@@ -182,8 +182,8 @@ var YuppiOptionsDefault = {
|
|
|
182
182
|
min: "Field {path} must be greater than or equal to {min}",
|
|
183
183
|
max: "Field {path} must be less than or equal to {max}",
|
|
184
184
|
integer: "Field {path} must be an integer",
|
|
185
|
-
positive: "Field {path} must be a positive
|
|
186
|
-
negative: "Field {path} must be a negative
|
|
185
|
+
positive: "Field {path} must be a positive",
|
|
186
|
+
negative: "Field {path} must be a negative"
|
|
187
187
|
},
|
|
188
188
|
boolean: {
|
|
189
189
|
type: "Field {path} must be a boolean"
|
package/dist/Yuppi.class.mjs
CHANGED
|
@@ -148,8 +148,8 @@ var YuppiOptionsDefault = {
|
|
|
148
148
|
min: "Field {path} must be greater than or equal to {min}",
|
|
149
149
|
max: "Field {path} must be less than or equal to {max}",
|
|
150
150
|
integer: "Field {path} must be an integer",
|
|
151
|
-
positive: "Field {path} must be a positive
|
|
152
|
-
negative: "Field {path} must be a negative
|
|
151
|
+
positive: "Field {path} must be a positive",
|
|
152
|
+
negative: "Field {path} must be a negative"
|
|
153
153
|
},
|
|
154
154
|
boolean: {
|
|
155
155
|
type: "Field {path} must be a boolean"
|
|
@@ -40,8 +40,8 @@ var YuppiOptionsDefault = {
|
|
|
40
40
|
min: "Field {path} must be greater than or equal to {min}",
|
|
41
41
|
max: "Field {path} must be less than or equal to {max}",
|
|
42
42
|
integer: "Field {path} must be an integer",
|
|
43
|
-
positive: "Field {path} must be a positive
|
|
44
|
-
negative: "Field {path} must be a negative
|
|
43
|
+
positive: "Field {path} must be a positive",
|
|
44
|
+
negative: "Field {path} must be a negative"
|
|
45
45
|
},
|
|
46
46
|
boolean: {
|
|
47
47
|
type: "Field {path} must be a boolean"
|
|
@@ -16,8 +16,8 @@ var YuppiOptionsDefault = {
|
|
|
16
16
|
min: "Field {path} must be greater than or equal to {min}",
|
|
17
17
|
max: "Field {path} must be less than or equal to {max}",
|
|
18
18
|
integer: "Field {path} must be an integer",
|
|
19
|
-
positive: "Field {path} must be a positive
|
|
20
|
-
negative: "Field {path} must be a negative
|
|
19
|
+
positive: "Field {path} must be a positive",
|
|
20
|
+
negative: "Field {path} must be a negative"
|
|
21
21
|
},
|
|
22
22
|
boolean: {
|
|
23
23
|
type: "Field {path} must be a boolean"
|
package/dist/main.js
CHANGED
|
@@ -185,8 +185,8 @@ var YuppiOptionsDefault = {
|
|
|
185
185
|
min: "Field {path} must be greater than or equal to {min}",
|
|
186
186
|
max: "Field {path} must be less than or equal to {max}",
|
|
187
187
|
integer: "Field {path} must be an integer",
|
|
188
|
-
positive: "Field {path} must be a positive
|
|
189
|
-
negative: "Field {path} must be a negative
|
|
188
|
+
positive: "Field {path} must be a positive",
|
|
189
|
+
negative: "Field {path} must be a negative"
|
|
190
190
|
},
|
|
191
191
|
boolean: {
|
|
192
192
|
type: "Field {path} must be a boolean"
|
package/dist/main.mjs
CHANGED
|
@@ -154,8 +154,8 @@ var YuppiOptionsDefault = {
|
|
|
154
154
|
min: "Field {path} must be greater than or equal to {min}",
|
|
155
155
|
max: "Field {path} must be less than or equal to {max}",
|
|
156
156
|
integer: "Field {path} must be an integer",
|
|
157
|
-
positive: "Field {path} must be a positive
|
|
158
|
-
negative: "Field {path} must be a negative
|
|
157
|
+
positive: "Field {path} must be a positive",
|
|
158
|
+
negative: "Field {path} must be a negative"
|
|
159
159
|
},
|
|
160
160
|
boolean: {
|
|
161
161
|
type: "Field {path} must be a boolean"
|