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

@pinwheel/react-modal

Package Overview
Dependencies
Maintainers
17
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pinwheel/react-modal - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

6

dist/index.js

@@ -61,3 +61,2 @@ var React = require('react');

});
if (tag && tag.parentNode) tag.parentNode.removeChild(tag);
var newTag = addScriptTag(function () {

@@ -67,4 +66,7 @@ return setLoaded(true);

setTag(newTag);
}, [_srcUrl, setLoaded, tag]);
}, [_srcUrl, setLoaded]);
React.useEffect(function () {
if (tag && tag.parentNode) tag.parentNode.removeChild(tag);
}, [_srcUrl]);
React.useEffect(function () {
if (!loaded) return;

@@ -71,0 +73,0 @@

@@ -61,3 +61,2 @@ import { useState, useEffect, createElement } from 'react';

});
if (tag && tag.parentNode) tag.parentNode.removeChild(tag);
var newTag = addScriptTag(function () {

@@ -67,4 +66,7 @@ return setLoaded(true);

setTag(newTag);
}, [_srcUrl, setLoaded, tag]);
}, [_srcUrl, setLoaded]);
useEffect(function () {
if (tag && tag.parentNode) tag.parentNode.removeChild(tag);
}, [_srcUrl]);
useEffect(function () {
if (!loaded) return;

@@ -71,0 +73,0 @@

{
"name": "@pinwheel/react-modal",
"version": "1.0.5",
"version": "1.0.6",
"description": "React package for Pinwheel modal",

@@ -5,0 +5,0 @@ "author": "roscioli",

Sorry, the diff of this file is not supported yet

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