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

react-photostory

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-photostory - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

5

components/Swipe.js

@@ -192,3 +192,6 @@ import React, { Component, PropTypes } from 'react'

ref: (ref) => (self[`imageRef${index}`] = ref),
attributes: {'data-index': index},
attributes: {
...child.props.attributes,
'data-index': index
},
lazyLoad: renderFirst ? index !== initialIndex : true

@@ -195,0 +198,0 @@ }))

6

dist/Swipe.js

@@ -7,2 +7,4 @@ 'use strict';

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

@@ -276,3 +278,5 @@

},
attributes: { 'data-index': index },
attributes: _extends({}, child.props.attributes, {
'data-index': index
}),
lazyLoad: renderFirst ? index !== initialIndex : true

@@ -279,0 +283,0 @@ });

@@ -88,3 +88,3 @@ {

},
"version": "0.5.1"
"version": "0.5.2"
}
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