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

pdf_editor_aleon35_react_plugin

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdf_editor_aleon35_react_plugin - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

5

dist/index.js

@@ -15,2 +15,4 @@ "use strict";

var done = (0, _react.useRef)(false);
var iframeLoadedSuccessfully = (0, _react.useRef)(false); // Add this ref to keep track of iframe's load state
var createIframe = function createIframe() {

@@ -35,2 +37,3 @@ var iframe = document.createElement('iframe');

iframe.onload = function () {
iframeLoadedSuccessfully.current = true;
// @ts-ignore

@@ -46,3 +49,3 @@ iframe.contentWindow.postMessage({

var handleVisibilityChange = function handleVisibilityChange() {
if (!document.hidden) {
if (!document.hidden && !iframeLoadedSuccessfully.current) {
var iframe = document.getElementById('webviewer-1');

@@ -49,0 +52,0 @@ if (iframe) {

2

package.json
{
"name": "pdf_editor_aleon35_react_plugin",
"version": "1.0.6",
"version": "1.0.7",
"description": "",

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

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