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

react-gateway

Package Overview
Dependencies
Maintainers
9
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.6.0 to 2.7.0

10

lib/Gateway.js

@@ -9,2 +9,6 @@ 'use strict';

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _GatewayRegistry = require('./GatewayRegistry');

@@ -60,8 +64,8 @@

Gateway.contextTypes = {
gatewayRegistry: _react2.default.PropTypes.instanceOf(_GatewayRegistry2.default).isRequired
gatewayRegistry: _propTypes2.default.instanceOf(_GatewayRegistry2.default).isRequired
};
Gateway.propTypes = {
into: _react2.default.PropTypes.string.isRequired,
children: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.element, _react2.default.PropTypes.string])
into: _propTypes2.default.string.isRequired,
children: _propTypes2.default.oneOfType([_propTypes2.default.element, _propTypes2.default.string])
};
exports.default = Gateway;

@@ -9,2 +9,6 @@ 'use strict';

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _GatewayRegistry = require('./GatewayRegistry');

@@ -64,9 +68,9 @@

GatewayDest.contextTypes = {
gatewayRegistry: _react2.default.PropTypes.instanceOf(_GatewayRegistry2.default).isRequired
gatewayRegistry: _propTypes2.default.instanceOf(_GatewayRegistry2.default).isRequired
};
GatewayDest.propTypes = {
name: _react2.default.PropTypes.string.isRequired,
tagName: (0, _reactPropTypes.deprecated)(_react2.default.PropTypes.string, 'Use "component" instead.'),
component: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.func])
name: _propTypes2.default.string.isRequired,
tagName: (0, _reactPropTypes.deprecated)(_propTypes2.default.string, 'Use "component" instead.'),
component: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.func])
};
exports.default = GatewayDest;

@@ -9,2 +9,6 @@ 'use strict';

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
var _GatewayRegistry = require('./GatewayRegistry');

@@ -48,7 +52,7 @@

GatewayProvider.childContextTypes = {
gatewayRegistry: _react2.default.PropTypes.instanceOf(_GatewayRegistry2.default).isRequired
gatewayRegistry: _propTypes2.default.instanceOf(_GatewayRegistry2.default).isRequired
};
GatewayProvider.propTypes = {
children: _react2.default.PropTypes.element
children: _propTypes2.default.element
};
exports.default = GatewayProvider;
{
"name": "react-gateway",
"version": "2.6.0",
"version": "2.7.0",
"description": "Render React DOM into a new context",

@@ -25,2 +25,3 @@ "main": "lib/index.js",

"dependencies": {
"prop-types": "^15.5.0",
"react": "^0.14.2 || ^15.0.0-0",

@@ -27,0 +28,0 @@ "react-prop-types": "^0.4.0"

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