New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-responsive-masonry

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-responsive-masonry - npm Package Compare versions

Comparing version 1.3.3 to 1.4.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 1.4.0 - 2017-11-14
* Add: img alt for a11y accessibility
* Update: react v16 as a peer dependency
# 1.3.3 - 2017-09-28

@@ -2,0 +7,0 @@

6

lib/Masonry.js

@@ -44,4 +44,4 @@ "use strict";

var Masonry = function (_Component) {
_inherits(Masonry, _Component);
var Masonry = function (_React$Component) {
_inherits(Masonry, _React$Component);

@@ -113,3 +113,3 @@ function Masonry() {

return Masonry;
}(_react.Component);
}(_react2.default.Component);

@@ -116,0 +116,0 @@ Masonry.propTypes = {

@@ -27,4 +27,4 @@ "use strict";

var MasonryResponsive = function (_Component) {
_inherits(MasonryResponsive, _Component);
var MasonryResponsive = function (_React$Component) {
_inherits(MasonryResponsive, _React$Component);

@@ -112,3 +112,3 @@ function MasonryResponsive(props) {

return MasonryResponsive;
}(_react.Component);
}(_react2.default.Component);

@@ -115,0 +115,0 @@ MasonryResponsive.propTypes = {

{
"name": "react-responsive-masonry",
"version": "1.3.3",
"version": "1.4.0",
"description": "React responsive masonry component built with css flexbox",

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

},
"keywords": [
"react",
"masonry",
"css",
"flexbox",
"responsive"
],
"keywords": ["react", "masonry", "css", "flexbox", "responsive"],
"author": "Cédric Delpoux <xuopled@gmail.com>",

@@ -24,5 +18,3 @@ "license": "MIT",

"main": "lib/index.js",
"files": [
"lib"
],
"files": ["lib"],
"devDependencies": {

@@ -40,7 +32,8 @@ "babel-cli": "^6.24.0",

"prop-types": "^15.5.8",
"react": "^15.5.0"
"react": "^16.0.0"
},
"peerDependencies": {
"prop-types": "^15.5.0",
"react": "^15.5.0"
"react": "^16.0.0",
"react-dom": "^16.0.0"
},

@@ -47,0 +40,0 @@ "scripts": {

@@ -43,3 +43,3 @@ # react-responsive-masonry ![npm](https://img.shields.io/npm/v/react-responsive-masonry.svg) ![license](https://img.shields.io/npm/l/react-responsive-masonry.svg) ![github-issues](https://img.shields.io/github/issues/xuopled/react-responsive-masonry.svg)

{images.map((image, i) =>
<img key={i} src={image} style={{width: "100%", display: "block"}} />
<img key={i} src={image} style={{width: "100%", display: "block"}} alt="" />
)}

@@ -46,0 +46,0 @@ </Masonry>

Sorry, the diff of this file is not supported yet

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