Socket
Socket
Sign inDemoInstall

react-responsive

Package Overview
Dependencies
23
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

4

package.json
{
"name": "react-responsive",
"description": "Media queries in react for responsive design",
"version": "1.1.1",
"version": "1.1.2",
"homepage": "http://github.com/wearefractal/react-responsive",

@@ -31,3 +31,3 @@ "repository": {

"peerDependencies": {
"react": "^0.12.0 || ^0.13.0 || ^0.14.0"
"react": "^0.12.0 || ^0.13.0 || ^0.14.0 || ^15.0.0"
},

@@ -34,0 +34,0 @@ "devDependencies": {

@@ -98,3 +98,3 @@ 'use strict';

var props = omit(this.props, excludedPropKeys);
if (this.props.component || this.props.children.length > 1) {
if (this.props.component || React.Children.count(this.props.children) > 1) {
return React.createElement(

@@ -101,0 +101,0 @@ this.props.component || 'div',

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc