time-date-tools
Advanced tools
Comparing version 0.0.21 to 0.0.22
@@ -36,3 +36,3 @@ var __create = Object.create; | ||
async #loadLanguageFiles() { | ||
const files = import_fs.default.readdirSync("./res/languages/").filter((e) => e.endsWith(".json")); | ||
const files = import_fs.default.readdirSync(__dirname + "../../../../res/languages").filter((e) => e.endsWith(".json")); | ||
for (const file of files) { | ||
@@ -39,0 +39,0 @@ if (!this.lang[file.replace(/.json/, "")]) |
@@ -31,3 +31,3 @@ var __defProp = Object.defineProperty; | ||
this.precision = options?.precision != false | 0; | ||
this.long = options?.long == true | 0; | ||
this.long = options?.long != false | 0; | ||
} | ||
@@ -34,0 +34,0 @@ async parse(time) { |
{ | ||
"name": "time-date-tools", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
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
41234
18