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

react-modal-video

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-modal-video - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

lib/index.js

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

this.setState({ isOpen: false });
if (this.props.onClose === 'function') {
if (typeof this.props.onClose === 'function') {
this.props.onClose();

@@ -57,0 +57,0 @@ }

{
"name": "react-modal-video",
"version": "1.0.3",
"version": "1.0.4",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "description": "Modal Video Viewer",

@@ -22,3 +22,3 @@ import React from 'react'

this.setState({isOpen: false})
if (this.props.onClose === 'function') {
if (typeof this.props.onClose === 'function') {
this.props.onClose();

@@ -25,0 +25,0 @@ }

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