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

react-image-lightbox

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-image-lightbox - npm Package Compare versions

Comparing version 4.4.1 to 4.5.0

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="4.5.0"></a>
# [4.5.0](https://github.com/fritz-c/react-image-lightbox/compare/v4.4.1...v4.5.0) (2018-01-21)
### Features
* Custom error message prop for when images fail to load ([419998d](https://github.com/fritz-c/react-image-lightbox/commit/419998d)), closes [#82](https://github.com/fritz-c/react-image-lightbox/issues/82)
<a name="4.4.1"></a>

@@ -7,0 +17,0 @@ ## [4.4.1](https://github.com/fritz-c/react-image-lightbox/compare/v4.4.0...v4.4.1) (2018-01-14)

2

package.json
{
"name": "react-image-lightbox",
"version": "4.4.1",
"version": "4.5.0",
"description": "A lightbox component for React.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -91,2 +91,3 @@ # React Image Lightbox

onImageLoadError | func | empty function | | Called when an image fails to load.<div>`(imageSrc: string, srcType: string, errorEvent: object): void`</div>
imageLoadErrorMessage | node | `"This image failed to load"` || What is rendered in place of an image if it fails to load. Centered in the lightbox viewport.
onAfterOpen | func | empty function | | Called after the modal has rendered.

@@ -93,0 +94,0 @@ discourageDownloads | bool | `false` | | When `true`, enables download discouragement (preventing [right-click -> Save Image As...])

Sorry, the diff of this file is too big to display

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