language-manager
Advanced tools
Comparing version 0.0.9 to 0.0.10
{ | ||
"name": "language-manager", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "The most flexible version of multi-language management. Manages language resources. Makes it easy to switch between different language sources.", | ||
@@ -5,0 +5,0 @@ "author": "azmisahin@outlook.com", |
@@ -57,6 +57,6 @@ /** | ||
var path = require('path') | ||
/// Root application | ||
this.BaseDir = process.cwd() | ||
/// Resource Path | ||
@@ -66,6 +66,6 @@ this.ResourcePath = path.join(this.BaseDir, this.File) | ||
/// Require | ||
var result = require(this.ResourcePath) | ||
this.FileString = require(`${this.ResourcePath}`) | ||
/// Only string result | ||
result = JSON.stringify(result) | ||
var result = JSON.stringify(this.FileString) | ||
@@ -72,0 +72,0 @@ /// result file content |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
100985