New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-documents

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-documents - npm Package Compare versions

Comparing version
1.2.0
to
1.2.1
+0
-1
index.js

@@ -1659,3 +1659,2 @@ import { jsx, jsxs } from 'react/jsx-runtime';

if (iframe.src && iframe.src !== `${window.location.protocol}//${window.location.host}/` && iframe.src !== details.url) {
console.log('switching');
// url of the iframe is changed, set is switching to true to

@@ -1662,0 +1661,0 @@ // remove the iframe and add it later with the new url;

+1
-1
{
"name": "react-documents",
"version": "1.2.0",
"version": "1.2.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "React document viewer.",