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.2.1 to 0.2.2

2

components/Slide.js

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

if (width) style.width = width
if (this.state.image) style.backgroundImage = `url(${this.state.image})`
if (this.state.image) style.backgroundImage = `url('${this.state.image}')`

@@ -48,0 +48,0 @@ const mainClass = classNames('rs-img', {

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

if (width) style.width = width;
if (this.state.image) style.backgroundImage = 'url(' + this.state.image + ')';
if (this.state.image) style.backgroundImage = 'url(\'' + this.state.image + '\')';

@@ -94,0 +94,0 @@ var mainClass = (0, _classnames2.default)('rs-img', {

@@ -23,2 +23,3 @@ {

"build": "rm -rf dist && babel components --out-dir dist && cp components/swipe.css dist/swipe.css",
"build:watch": "babel --watch components --out-dir dist",
"docs": "build-storybook -o docs"

@@ -83,3 +84,3 @@ },

},
"version": "0.2.1"
"version": "0.2.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