@mobylogix/b5-result-text-mobile
Advanced tools
Comparing version 0.2.0 to 0.2.1
module.exports = lang => { | ||
try { | ||
const template = require(`./data/${lang}`) | ||
const template = lang === 'da' ? require(`./data/da`) : require(`./data/${lang}`) | ||
return template | ||
@@ -9,2 +9,2 @@ } catch (error) { | ||
} | ||
} | ||
} |
{ | ||
"name": "@mobylogix/b5-result-text-mobile", | ||
"description": "Text for big five results score", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "publishConfig": { |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
336997
5197
3