react-gateway
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -21,3 +21,3 @@ 'use strict'; | ||
var Gateway = (function (_React$Component) { | ||
var Gateway = function (_React$Component) { | ||
_inherits(Gateway, _React$Component); | ||
@@ -48,3 +48,2 @@ | ||
Gateway.prototype.renderIntoGatewayNode = function renderIntoGatewayNode(props) { | ||
delete props.ref; | ||
this.gatewayRegistry.addChild(this.props.into, props.children); | ||
@@ -58,3 +57,3 @@ }; | ||
return Gateway; | ||
})(_react2.default.Component); | ||
}(_react2.default.Component); | ||
@@ -61,0 +60,0 @@ Gateway.contextTypes = { |
@@ -25,3 +25,3 @@ 'use strict'; | ||
var GatewayDest = (function (_React$Component) { | ||
var GatewayDest = function (_React$Component) { | ||
_inherits(GatewayDest, _React$Component); | ||
@@ -62,3 +62,3 @@ | ||
return GatewayDest; | ||
})(_react2.default.Component); | ||
}(_react2.default.Component); | ||
@@ -65,0 +65,0 @@ GatewayDest.contextTypes = { |
@@ -21,3 +21,3 @@ 'use strict'; | ||
var GatewayProvider = (function (_React$Component) { | ||
var GatewayProvider = function (_React$Component) { | ||
_inherits(GatewayProvider, _React$Component); | ||
@@ -45,3 +45,3 @@ | ||
return GatewayProvider; | ||
})(_react2.default.Component); | ||
}(_react2.default.Component); | ||
@@ -48,0 +48,0 @@ GatewayProvider.childContextTypes = { |
@@ -7,3 +7,3 @@ 'use strict'; | ||
var GatewayRegistry = (function () { | ||
var GatewayRegistry = function () { | ||
function GatewayRegistry() { | ||
@@ -53,4 +53,4 @@ _classCallCheck(this, GatewayRegistry); | ||
return GatewayRegistry; | ||
})(); | ||
}(); | ||
exports.default = GatewayRegistry; |
{ | ||
"name": "react-gateway", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Render React DOM into a new context", | ||
@@ -25,3 +25,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"react": "^0.14.2", | ||
"react": "^0.14.2 || ^15.0.0-0", | ||
"react-prop-types": "^0.3.0" | ||
@@ -55,5 +55,5 @@ }, | ||
"mocha": "^2.3.3", | ||
"react-addons-test-utils": "^0.14.2", | ||
"react-dom": "^0.14.2" | ||
"react-addons-test-utils": "^15.0.0-0", | ||
"react-dom": "^15.0.0-0" | ||
} | ||
} |
@@ -70,3 +70,3 @@ # React Gateway | ||
<div> | ||
<div className="item">Item 3</div> | ||
<div className="item">Item 2</div> | ||
</div> | ||
@@ -73,0 +73,0 @@ </div> |
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
18247
179
+ Addedcreate-react-class@15.7.0(transitive)
+ Addedencoding@0.1.13(transitive)
+ Addedfbjs@0.8.18(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedisomorphic-fetch@2.2.1(transitive)
+ Addednode-fetch@1.7.3(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact@15.7.0(transitive)
+ Addedreact-is@16.13.1(transitive)
+ Addedsetimmediate@1.0.5(transitive)
+ Addedwhatwg-fetch@3.6.20(transitive)
- Removedacorn@5.7.4(transitive)
- Removedamdefine@1.0.1(transitive)
- Removedast-types@0.9.6(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbase62@1.2.8(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedcommander@2.20.3(transitive)
- Removedcommoner@0.10.8(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removeddefined@1.0.1(transitive)
- Removeddetective@4.7.1(transitive)
- Removedenvify@3.4.1(transitive)
- Removedesprima@3.1.3(transitive)
- Removedesprima-fb@15001.1.0-dev-harmony-fb(transitive)
- Removedfbjs@0.6.1(transitive)
- Removedglob@5.0.15(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedjstransform@11.0.3(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedobject-assign@2.1.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedprivate@0.1.8(transitive)
- Removedq@1.5.1(transitive)
- Removedreact@0.14.10(transitive)
- Removedrecast@0.11.23(transitive)
- Removedsource-map@0.4.40.5.7(transitive)
- Removedthrough@2.3.8(transitive)
- Removedwhatwg-fetch@0.9.0(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedreact@^0.14.2 || ^15.0.0-0