Socket
Socket
Sign inDemoInstall

react-images-viewer

Package Overview
Dependencies
22
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.5 to 1.6.6

2

package.json
{
"name": "react-images-viewer",
"version": "1.6.5",
"version": "1.6.6",
"description": "Create an react-images-viewer component.",

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

@@ -13,5 +13,5 @@ import React, { Component } from 'react'

componentDidMount() {
const p = document.createElement('div')
document.body.appendChild(p)
this.portalElement = p
const div = document.createElement('div')
document.body.appendChild(div)
this.portalElement = div
this.componentDidUpdate()

@@ -52,3 +52,3 @@ }

Portal.propTypes = {
children: PropsTypes.element,
children: PropsTypes.arrayOf(PropsTypes.any),
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc