@luma.gl/webgpu
Advanced tools
Comparing version 9.0.0-beta.10 to 9.0.0
@@ -1185,8 +1185,6 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
function isElectron(mockUserAgent) { | ||
if (typeof window !== "undefined" && typeof window.process === "object" && // @ts-expect-error | ||
window.process.type === "renderer") { | ||
if (typeof window !== "undefined" && typeof window.process === "object" && window.process.type === "renderer") { | ||
return true; | ||
} | ||
if (typeof process !== "undefined" && typeof process.versions === "object" && // eslint-disable-next-line | ||
Boolean(process.versions["electron"])) { | ||
if (typeof process !== "undefined" && typeof process.versions === "object" && Boolean(process.versions["electron"])) { | ||
return true; | ||
@@ -1204,6 +1202,3 @@ } | ||
function isBrowser() { | ||
const isNode = ( | ||
// @ts-expect-error | ||
typeof process === "object" && String(process) === "[object process]" && !process.browser | ||
); | ||
const isNode = typeof process === "object" && String(process) === "[object process]" && !process.browser; | ||
return !isNode || isElectron(); | ||
@@ -1210,0 +1205,0 @@ } |
{ | ||
"name": "@luma.gl/webgpu", | ||
"version": "9.0.0-beta.10", | ||
"version": "9.0.0", | ||
"description": "WebGPU adapter for the luma.gl core API", | ||
@@ -46,3 +46,3 @@ "type": "module", | ||
}, | ||
"gitHead": "1b36500a878e1b365425826750320dde7d6929bb" | ||
"gitHead": "a87ee4e72dbfcb9e4786aa823b9ac516f0031723" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
430773
95
7986