@stltio/stealth
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "@stltio/stealth", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index", |
const device = () => { | ||
return new Promise((resolve) => { | ||
try { | ||
const jsHeapSizeLimit = | ||
window.performance && window.performance.memory | ||
? window.performance.memory.jsHeapSizeLimit | ||
: 0 | ||
resolve({ | ||
device: { | ||
jsHeapSizeLimit, | ||
hardwareConcurrency: navigator.hardwareConcurrency, | ||
@@ -13,0 +7,0 @@ memory: navigator.deviceMemory, |
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
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
93969
4257