New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0.0 to 4.1.0

16

package.json
{
"name": "react-image-lightbox",
"version": "4.0.0",
"version": "4.1.0",
"description": "A lightbox component for React.js",
"scripts": {
"build": "npm run lint && npm run build:demo && npm run build:umd",
"build": "npm run clean && cross-env NODE_ENV=production webpack --config webpack.config.umd.babel.js --bail",
"build:demo": "npm run clean:demo && cross-env NODE_ENV=production webpack --config webpack.config.demo.babel.js --bail",
"build:umd": "npm run clean:umd && cross-env NODE_ENV=production webpack --config webpack.config.umd.babel.js --bail",
"clean": "npm run clean:demo && npm run clean:umd",
"clean": "rimraf dist/umd",
"clean:demo": "rimraf build",
"clean:umd": "rimraf dist/umd",
"start": "cross-env NODE_ENV=development webpack-dev-server --hot --inline --config webpack.config.dev.babel.js",
"test": "webpack",
"lint": "eslint src",
"deploy": "npm run build && gh-pages -d build",
"prepublish": "npm run lint && npm run build:umd"
"deploy": "npm run build:demo && gh-pages -d build",
"prepublishOnly": "npm run lint && npm run build"
},

@@ -63,3 +61,2 @@ "main": "dist/umd/react-image-lightbox.js",

"postcss-loader": "^1.1.0",
"prop-types": "^15.5.8",
"react": "^15.2.0",

@@ -71,3 +68,4 @@ "react-dom": "^15.2.0",

"webpack": "^1.13.1",
"webpack-dev-server": "^1.14.1"
"webpack-dev-server": "^1.14.1",
"webpack-node-externals": "^1.6.0"
},

@@ -74,0 +72,0 @@ "keywords": [

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

onImageLoadError | func | empty function | | Called when an image fails to load.<div>`(imageSrc: string, srcType: string, errorEvent: object): void`</div>
onAfterOpen | func | empty function | | Called after the modal has rendered.
discourageDownloads | bool | `false` | | Enable download discouragement (prevents [right-click -> Save Image As...])

@@ -92,0 +93,0 @@ animationDisabled | bool | `false` | | Disable all animation

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

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