@docusaurus/theme-translations
Advanced tools
Comparing version 0.0.0-4281 to 0.0.0-4282
@@ -13,1 +13,2 @@ /** | ||
}): Promise<Record<string, string>>; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -14,5 +14,3 @@ "use strict"; | ||
function getDefaultLocalesDirPath() { | ||
const parentDirPath = path_1.default.join(__dirname, '..'); | ||
const pkg = JSON.parse(fs_extra_1.default.readFileSync(path_1.default.join(parentDirPath, 'package.json'), 'utf8')); | ||
return path_1.default.join(parentDirPath, pkg.files[0]); | ||
return path_1.default.join(__dirname, '../locales'); | ||
} | ||
@@ -54,1 +52,2 @@ // Return an ordered list of locales we should try | ||
exports.readDefaultCodeTranslationMessages = readDefaultCodeTranslationMessages; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@docusaurus/theme-translations", | ||
"version": "0.0.0-4281", | ||
"version": "0.0.0-4282", | ||
"description": "Docusaurus theme translations.", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"files": [ | ||
"locales", | ||
"lib" | ||
], | ||
"publishConfig": { | ||
@@ -36,3 +32,3 @@ "access": "public" | ||
}, | ||
"gitHead": "a0020d6db26fec01f5205ba5920bd6a90e4c6c1a" | ||
"gitHead": "68b81527266ab2384915b60f4f58640d76f759cb" | ||
} |
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
100
1812
121307