@live-change/framework 0.9.75 → 0.9.77
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/lib/utils/validators.js +2 -2
- package/package.json +4 -4
package/lib/utils/validators.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mergeDeep } from "../utils.js"
|
|
2
2
|
|
|
3
|
-
function nonEmpty(value) {
|
|
3
|
+
export function nonEmpty(value) {
|
|
4
4
|
if(!value) return 'empty'
|
|
5
5
|
if(typeof value == 'string') {
|
|
6
6
|
if(!value.trim()) return 'empty'
|
|
@@ -14,7 +14,7 @@ function nonEmpty(value) {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
function getField(context, fieldName) {
|
|
17
|
+
export function getField(context, fieldName) {
|
|
18
18
|
const propPath = context.propName ? context.propName.split('.') : []
|
|
19
19
|
propPath.pop()
|
|
20
20
|
let path
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/framework",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.77",
|
|
4
4
|
"description": "Live Change Framework - ultimate solution for real time mobile/web apps",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/live-change/live-change-stack",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@live-change/dao": "^0.9.
|
|
26
|
-
"@live-change/uid": "^0.9.
|
|
25
|
+
"@live-change/dao": "^0.9.77",
|
|
26
|
+
"@live-change/uid": "^0.9.77",
|
|
27
27
|
"typedoc": "0.28.3",
|
|
28
28
|
"typedoc-plugin-markdown": "^4.6.3",
|
|
29
29
|
"typedoc-plugin-rename-defaults": "^0.7.3"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "5998bcbd97bda91829bcf57b23e938d95d431144"
|
|
32
32
|
}
|