goblin-laboratory 4.2.8 → 4.2.10
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "goblin-laboratory",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.10",
|
|
4
4
|
"description": "Laboratory",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"redux-thunk": "^2.3.0",
|
|
40
40
|
"xcraft-core-shredder": "^5.3.0",
|
|
41
41
|
"xcraft-dev-prettier": "^2.0.0",
|
|
42
|
-
"xcraft-dev-rules": "^4.
|
|
42
|
+
"xcraft-dev-rules": "^4.3.0",
|
|
43
43
|
"xcraft-traverse": "^0.7.0"
|
|
44
44
|
},
|
|
45
45
|
"prettier": "xcraft-dev-prettier"
|
|
@@ -150,6 +150,10 @@ export default function withC(Component, dispatchProps = {}, {modelProp} = {}) {
|
|
|
150
150
|
this.addContextToPath = this.addContextToPath.bind(this);
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
+
getChildContext() {
|
|
154
|
+
return {};
|
|
155
|
+
}
|
|
156
|
+
|
|
153
157
|
addContextToPath(path) {
|
|
154
158
|
if (path === null || path === undefined) {
|
|
155
159
|
return null;
|
|
@@ -268,6 +272,8 @@ export default function withC(Component, dispatchProps = {}, {modelProp} = {}) {
|
|
|
268
272
|
}
|
|
269
273
|
}
|
|
270
274
|
|
|
275
|
+
WithC.propTypes = {};
|
|
276
|
+
|
|
271
277
|
return (props) => (
|
|
272
278
|
<ModelContext.Consumer>
|
|
273
279
|
{(model) => <WithC model={model} {...props} />}
|