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
1152
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 0.0.0-4281 to 0.0.0-4282

lib/index.d.ts.map

1

lib/index.d.ts

@@ -13,1 +13,2 @@ /**

}): Promise<Record<string, string>>;
//# sourceMappingURL=index.d.ts.map

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": "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"
}
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