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

react-grid-layout

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-grid-layout - npm Package Compare versions

Comparing version 0.13.4 to 0.13.5

10

build/components/WidthProvider.js

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

*/
exports.default = function (ComposedComponent) {
var WidthProvider = function WidthProvider(ComposedComponent) {
var _class, _temp2;

@@ -44,6 +44,6 @@

width: 1280
}, _this.mounted = false, _this.onWindowResize = function (_event, cb) {
}, _this.mounted = false, _this.onWindowResize = function (_event) {
if (!_this.mounted) return;
var node = _reactDom2.default.findDOMNode(_this);
_this.setState({ width: node.offsetWidth }, cb);
_this.setState({ width: node.offsetWidth });
}, _temp), _possibleConstructorReturn(_this, _ret);

@@ -83,2 +83,4 @@ }

}, _temp2;
};
};
exports.default = WidthProvider;
# Changelog
0.13.5 (Sep 9, 2016)
-----
#### Fixes:
- Fixed a few Flow typing errors in `WidthProvider`.
0.13.4 (Sep 9, 2016)

@@ -4,0 +11,0 @@ -----

2

package.json
{
"name": "react-grid-layout",
"version": "0.13.4",
"version": "0.13.5",
"description": "A draggable and resizable grid layout with responsive breakpoints, for React.",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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