stencila-js
Advanced tools
Comparing version 0.3.1 to 0.3.2
{ | ||
"name": "stencila-js", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Stencila components for Javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
// So we can run tests in Node.js, when not in the browser, use a XMLHttpRequest emulator | ||
let XHR | ||
if (typeof window === 'undefined') { | ||
var XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest | ||
XHR = require('xmlhttprequest').XMLHttpRequest | ||
} else { | ||
XHR = XMLHttpRequest | ||
} | ||
@@ -31,3 +34,3 @@ | ||
} else { | ||
let request = new XMLHttpRequest() | ||
let request = new XHR() | ||
request.open('GET', `https://wzrd.in/bundle/${id}/`, false) | ||
@@ -34,0 +37,0 @@ request.send(null) |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
AI-detected potential security risk
Supply chain riskAI has determined that this package may contain potential security issues or vulnerabilities.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
High entropy strings
Supply chain riskContains high entropy strings. This could be a sign of encrypted data, leaked secrets or obfuscated code.
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
1159175
32986
3
3