@luma.gl/webgpu
Advanced tools
Comparing version 9.0.0-beta.8 to 9.0.0-beta.9
@@ -1185,6 +1185,8 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
function isElectron(mockUserAgent) { | ||
if (typeof window !== "undefined" && typeof window.process === "object" && window.process.type === "renderer") { | ||
if (typeof window !== "undefined" && typeof window.process === "object" && // @ts-expect-error | ||
window.process.type === "renderer") { | ||
return true; | ||
} | ||
if (typeof process !== "undefined" && typeof process.versions === "object" && Boolean(process.versions["electron"])) { | ||
if (typeof process !== "undefined" && typeof process.versions === "object" && // eslint-disable-next-line | ||
Boolean(process.versions["electron"])) { | ||
return true; | ||
@@ -1202,3 +1204,6 @@ } | ||
function isBrowser() { | ||
const isNode = typeof process === "object" && String(process) === "[object process]" && !process.browser; | ||
const isNode = ( | ||
// @ts-expect-error | ||
typeof process === "object" && String(process) === "[object process]" && !process.browser | ||
); | ||
return !isNode || isElectron(); | ||
@@ -1205,0 +1210,0 @@ } |
{ | ||
"name": "@luma.gl/webgpu", | ||
"version": "9.0.0-beta.8", | ||
"version": "9.0.0-beta.9", | ||
"description": "WebGPU adapter for the luma.gl core API", | ||
@@ -46,3 +46,3 @@ "type": "module", | ||
}, | ||
"gitHead": "b4ba7f35a5d0b5a09625c955d952cbbab9c1ad28" | ||
"gitHead": "6a91ba24a0f78ef190c51e52c31271ea1a5a7a1f" | ||
} |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
455224
8091
0
96