Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@docusaurus/theme-translations

Package Overview
Dependencies
Maintainers
6
Versions
1153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@docusaurus/theme-translations - npm Package Compare versions

Comparing version 2.0.0-beta.13 to 2.0.0-beta.14

lib/index.d.ts

5

lib/index.js

@@ -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": "2.0.0-beta.13",
"version": "2.0.0-beta.14",
"description": "Docusaurus theme translations.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"locales"
],
"publishConfig": {

@@ -29,3 +26,4 @@ "access": "public"

"devDependencies": {
"chalk": "^4.1.2",
"@docusaurus/core": "2.0.0-beta.14",
"@docusaurus/logger": "2.0.0-beta.14",
"lodash": "^4.17.20"

@@ -36,3 +34,3 @@ },

},
"gitHead": "b6ca12aedf10a10c2375f4f8b7e7380cfd7c7202"
"gitHead": "c4824a8937d8f1aa0806667749cbc74058e2b294"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc