star_mod_renderer
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "star_mod_renderer", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "star mod project render auxiliary ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -18,4 +18,14 @@ import { RenderBase } from './render.base'; | ||
}); | ||
const env = getEnvMapByName("milkyWay", process.env.VUE_APP_NAME); | ||
let processEnv = 'abroad'; | ||
try { | ||
if (process && process.env && process.env.VUE_APP_NAME) { | ||
processEnv = process.env.VUE_APP_NAME; | ||
} else if (import.meta && import.meta.env && import.meta.env.VITE_APP_NAME) { | ||
processEnv = import.meta.env.VITE_APP_NAME | ||
} | ||
} catch (e) { | ||
console.error(e); | ||
processEnv = 'abroad'; | ||
} | ||
const env = getEnvMapByName("milkyWay", processEnv); | ||
this.setSceneEnvironment(env.data); | ||
@@ -22,0 +32,0 @@ } |
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
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
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
49064
1326
4