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

react-modal-image

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-modal-image - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

LICENSE

2

es/Image.js

@@ -42,3 +42,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

return React.createElement(
React.Fragment,
"div",
null,

@@ -45,0 +45,0 @@ this.state.loading && React.createElement(SpinnerIcon, null),

@@ -48,3 +48,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

return React.createElement(
React.Fragment,
"div",
null,

@@ -51,0 +51,0 @@ React.createElement("img", {

@@ -144,3 +144,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

return React.createElement(
React.Fragment,
"div",
null,

@@ -147,0 +147,0 @@ React.createElement(StyleInjector, {

@@ -51,3 +51,3 @@ "use strict";

return _react2.default.createElement(
_react2.default.Fragment,
"div",
null,

@@ -54,0 +54,0 @@ this.state.loading && _react2.default.createElement(_icons.SpinnerIcon, null),

@@ -64,3 +64,3 @@ "use strict";

return _react2.default.createElement(
_react2.default.Fragment,
"div",
null,

@@ -67,0 +67,0 @@ _react2.default.createElement("img", {

@@ -160,3 +160,3 @@ "use strict";

return _react2.default.createElement(
_react2.default.Fragment,
"div",
null,

@@ -163,0 +163,0 @@ _react2.default.createElement(_styles2.default, {

{
"name": "react-modal-image",
"version": "2.3.1",
"version": "2.3.2",
"description": "Lightweight Lightbox React Component",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -47,3 +47,3 @@ # react-modal-image

## Lightbox-only API
## Lightbox-only API for advanced usage

@@ -50,0 +50,0 @@ You can also choose to import only the Lightbox.

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