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

@mr-hope/vuepress-shared

Package Overview
Dependencies
Maintainers
1
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mr-hope/vuepress-shared - npm Package Compare versions

Comparing version 1.20.1 to 1.20.4

8

lib/cjs/assign.js

@@ -15,3 +15,3 @@ "use strict";

!Array.isArray(assignObject[property]))
exports.deepAssign(originObject[property], assignObject[property]);
(0, exports.deepAssign)(originObject[property], assignObject[property]);
else if (typeof assignObject[property] === "object")

@@ -27,3 +27,3 @@ if (Array.isArray(assignObject[property]))

});
return exports.deepAssign(originObject, ...assignObjects);
return (0, exports.deepAssign)(originObject, ...assignObjects);
};

@@ -52,7 +52,7 @@ exports.deepAssign = deepAssign;

!Array.isArray(originObject[property]))
exports.deepAssignReverse(originObject[property], assignObject[property]);
(0, exports.deepAssignReverse)(originObject[property], assignObject[property]);
});
return exports.deepAssignReverse(...assignObjects, assignObject);
return (0, exports.deepAssignReverse)(...assignObjects, assignObject);
};
exports.deepAssignReverse = deepAssignReverse;
//# sourceMappingURL=assign.js.map

@@ -26,9 +26,9 @@ "use strict";

const siteLocales = context.siteConfig.locales;
if ((siteLocales === null || siteLocales === void 0 ? void 0 : siteLocales["/"]) && exports.checkLang((_a = siteLocales["/"]) === null || _a === void 0 ? void 0 : _a.lang))
if ((siteLocales === null || siteLocales === void 0 ? void 0 : siteLocales["/"]) && (0, exports.checkLang)((_a = siteLocales["/"]) === null || _a === void 0 ? void 0 : _a.lang))
return siteLocales["/"].lang;
// infer from themeLocale
const themeLocales = context.themeConfig.locales;
if ((themeLocales === null || themeLocales === void 0 ? void 0 : themeLocales["/"]) && exports.checkLang((_b = themeLocales["/"]) === null || _b === void 0 ? void 0 : _b.lang))
if ((themeLocales === null || themeLocales === void 0 ? void 0 : themeLocales["/"]) && (0, exports.checkLang)((_b = themeLocales["/"]) === null || _b === void 0 ? void 0 : _b.lang))
return themeLocales["/"].lang;
exports.showLangError("root");
(0, exports.showLangError)("root");
return "en-US";

@@ -38,3 +38,3 @@ };

/** Get the infer language path from root directory language */
const getRootLangPath = (context) => config_1.lang2PathConfig[exports.getRootLang(context)];
const getRootLangPath = (context) => config_1.lang2PathConfig[(0, exports.getRootLang)(context)];
exports.getRootLangPath = getRootLangPath;

@@ -61,3 +61,3 @@ /** Get path from language */

return config_1.localesConfig[lang];
exports.showLangError(lang);
(0, exports.showLangError)(lang);
return config_1.localesConfig["en-US"];

@@ -64,0 +64,0 @@ };

{
"name": "@mr-hope/vuepress-shared",
"version": "1.20.1",
"version": "1.20.4",
"description": "Shared for vuepress-theme-hope",

@@ -36,3 +36,3 @@ "keywords": [

},
"gitHead": "0b909c98576bd7404013fd74d207dfab26b114bf"
"gitHead": "5b93d0b8dbeb0255943d335966032d7b48dafad3"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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