react-responsive-masonry
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -6,5 +6,7 @@ "use strict"; | ||
var _react = _interopRequireWildcard(require("react")); | ||
var _propTypes = _interopRequireDefault(require("prop-types")); | ||
var _react = _interopRequireWildcard(require("react")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -15,4 +17,2 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
var DEFAULT_COLUMNS_COUNT = 1; | ||
@@ -35,3 +35,3 @@ var useIsomorphicLayoutEffect = typeof window !== "undefined" ? _react.useLayoutEffect : _react.useEffect; | ||
var _useState2 = (0, _react.useState)(window.innerWidth), | ||
var _useState2 = (0, _react.useState)(window ? window.innerWidth : 0), | ||
width = _useState2[0], | ||
@@ -38,0 +38,0 @@ setWidth = _useState2[1]; |
{ | ||
"name": "react-responsive-masonry", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Cédric Delpoux", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
0
2
15595
6
181
1