@domql/state
Advanced tools
Comparing version 2.5.179 to 2.5.181
@@ -23,2 +23,7 @@ 'use strict' | ||
applyReplace, | ||
setByPath, | ||
setPathCollection, | ||
removeByPath, | ||
removePathCollection, | ||
getByPath, | ||
keys, | ||
@@ -134,2 +139,9 @@ values | ||
parent: element.parent.state || state, | ||
setByPath: setByPath.bind(state), | ||
setPathCollection: setPathCollection.bind(state), | ||
removeByPath: removeByPath.bind(state), | ||
removePathCollection: removePathCollection.bind(state), | ||
getByPath: getByPath.bind(state), | ||
keys: keys.bind(state), | ||
@@ -136,0 +148,0 @@ values: values.bind(state), |
@@ -125,2 +125,7 @@ "use strict"; | ||
parent: element.parent.state || state, | ||
setByPath: import_methods.setByPath.bind(state), | ||
setPathCollection: import_methods.setPathCollection.bind(state), | ||
removeByPath: import_methods.removeByPath.bind(state), | ||
removePathCollection: import_methods.removePathCollection.bind(state), | ||
getByPath: import_methods.getByPath.bind(state), | ||
keys: import_methods.keys.bind(state), | ||
@@ -127,0 +132,0 @@ values: import_methods.values.bind(state), |
@@ -51,3 +51,8 @@ "use strict"; | ||
"__children", | ||
"root" | ||
"root", | ||
"setByPath", | ||
"setPathCollection", | ||
"removeByPath", | ||
"removePathCollection", | ||
"getByPath" | ||
]; |
@@ -116,3 +116,3 @@ "use strict"; | ||
return false; | ||
return state.update && state.parse && state.clean && state.create && state.parent && state.destroy && state.rootUpdate && state.parentUpdate && state.keys && state.values && state.toggle && state.replace && state.quietUpdate && state.quietReplace && state.add && state.apply && state.applyReplace && state.applyFunction && state.__element && state.__children; | ||
return state.update && state.parse && state.clean && state.create && state.parent && state.destroy && state.rootUpdate && state.parentUpdate && state.keys && state.values && state.toggle && state.replace && state.quietUpdate && state.quietReplace && state.add && state.apply && state.applyReplace && state.setByPath && state.setPathCollection && state.removeByPath && state.removePathCollection && state.getByPath && state.applyFunction && state.__element && state.__children; | ||
}; | ||
@@ -119,0 +119,0 @@ const createNestedObjectByKeyPath = (path, value) => { |
@@ -6,3 +6,4 @@ 'use strict' | ||
'replace', 'quietReplace', 'quietUpdate', 'applyReplace', 'applyFunction', 'keys', 'values', 'ref', | ||
'rootUpdate', 'parentUpdate', 'parent', '__element', '__depends', '__ref', '__children', 'root' | ||
'rootUpdate', 'parentUpdate', 'parent', '__element', '__depends', '__ref', '__children', 'root', | ||
'setByPath', 'setPathCollection', 'removeByPath', 'removePathCollection', 'getByPath' | ||
] |
@@ -108,2 +108,7 @@ 'use strict' | ||
state.applyReplace && | ||
state.setByPath && | ||
state.setPathCollection && | ||
state.removeByPath && | ||
state.removePathCollection && | ||
state.getByPath && | ||
state.applyFunction && | ||
@@ -110,0 +115,0 @@ state.__element && |
{ | ||
"name": "@domql/state", | ||
"version": "2.5.179", | ||
"version": "2.5.181", | ||
"license": "MIT", | ||
@@ -34,3 +34,3 @@ "type": "module", | ||
}, | ||
"gitHead": "6dd81dc7848b03bd9bf564dbc82cd95af713ae21" | ||
"gitHead": "4e5c3841725d9b2ffaeacc0e32bbff5c913b80b4" | ||
} |
48230
1288