Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-gateway

Package Overview
Dependencies
Maintainers
8
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-gateway - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

5

lib/Gateway.js

@@ -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 = {

4

lib/GatewayDest.js

@@ -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>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc