Comparing version 0.4.9 to 0.4.10
@@ -10,2 +10,3 @@ /** | ||
var contextTypes = require('../lib/contextTypes'); | ||
var hoistNonReactStatics = require('hoist-non-react-statics'); | ||
@@ -71,3 +72,5 @@ /** | ||
hoistNonReactStatics(StoreConnector, Component); | ||
return StoreConnector; | ||
}; |
@@ -10,2 +10,3 @@ var React = require('react'); | ||
var contextTypes = require('../lib/contextTypes'); | ||
var hoistNonReactStatics = require('hoist-non-react-statics'); | ||
@@ -49,3 +50,5 @@ /** | ||
hoistNonReactStatics(ContextProvider, Component); | ||
return ContextProvider; | ||
}; |
# Change Log | ||
## 0.4.10 | ||
### Bug Fixes | ||
* [#174] `MockActionContext.executeAction` now returns the result of the action properly - @ross-pfahler | ||
* [#175] Better protection for plugin's `plugContext` method returning undefined - @cesarandreu | ||
* [#176] Non-react specific statics on components will now be hoisted to the higher-order component wrappers | ||
## 0.4.9 | ||
### Features | ||
* [#165] Export `fluxible/utils/MockActionContext` and `fluxible/utils/MockComponentContext` classes | ||
to make it easier to extend the classes for testing custom plugin functionality. | ||
### Bug Fixes | ||
* [#164] Fixed the `connectToStores` functionality in minified environments as long as users specify a `storeName` static property. | ||
## 0.4.8 | ||
@@ -4,0 +23,0 @@ |
@@ -57,3 +57,3 @@ /** | ||
if (plugin.plugContext) { | ||
var contextPlugin = plugin.plugContext(options, context, self); | ||
var contextPlugin = plugin.plugContext(options, context, self) || {}; | ||
contextPlugin.name = contextPlugin.name || plugin.name; | ||
@@ -60,0 +60,0 @@ context.plug(contextPlugin); |
{ | ||
"name": "fluxible", | ||
"version": "0.4.9", | ||
"version": "0.4.10", | ||
"description": "A pluggable container for isomorphic flux applications", | ||
@@ -19,2 +19,3 @@ "main": "index.js", | ||
"es6-promise": "^2.0.1", | ||
"hoist-non-react-statics": "^1.0.0", | ||
"is-promise": "^2.0.0", | ||
@@ -21,0 +22,0 @@ "object-assign": "^2.0.0", |
@@ -30,5 +30,5 @@ /** | ||
}); | ||
action(this, payload, callback); | ||
return action(this, payload, callback); | ||
}; | ||
module.exports = MockActionContext; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
92690
40
1035
0
8
+ Addedhoist-non-react-statics@1.2.0(transitive)