react-documents
Advanced tools
+0
-1
@@ -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.", |
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
65726
-0.05%1493
-0.07%5
25%