New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@monkvision/common

Package Overview
Dependencies
Maintainers
0
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@monkvision/common - npm Package Compare versions

Comparing version 4.4.2 to 4.4.3

3

lib/hooks/useObjectTranslation.js

@@ -12,5 +12,6 @@ "use strict";

var i18n = (0, react_i18next_1.useTranslation)(ns, options).i18n;
var language = (options === null || options === void 0 ? void 0 : options.lng) ? options.lng : i18n.language;
var tObj = (0, react_1.useCallback)(function (obj) {
var _a;
return (_a = obj[(0, i18n_1.getLanguage)(i18n.language)]) !== null && _a !== void 0 ? _a : 'translation-not-found';
return (_a = obj[(0, i18n_1.getLanguage)(language)]) !== null && _a !== void 0 ? _a : 'translation-not-found';
}, [i18n.language]);

@@ -17,0 +18,0 @@ return { tObj: tObj };

{
"name": "@monkvision/common",
"version": "4.4.2",
"version": "4.4.3",
"license": "BSD-3-Clause-Clear",

@@ -31,6 +31,6 @@ "packageManager": "yarn@3.2.4",

"dependencies": {
"@monkvision/analytics": "4.4.2",
"@monkvision/monitoring": "4.4.2",
"@monkvision/sights": "4.4.2",
"@monkvision/types": "4.4.2",
"@monkvision/analytics": "4.4.3",
"@monkvision/monitoring": "4.4.3",
"@monkvision/sights": "4.4.3",
"@monkvision/types": "4.4.3",
"i18next": "^23.4.5",

@@ -51,9 +51,9 @@ "jsonwebtoken": "^9.0.2",

"devDependencies": {
"@monkvision/eslint-config-base": "4.4.2",
"@monkvision/eslint-config-typescript": "4.4.2",
"@monkvision/eslint-config-typescript-react": "4.4.2",
"@monkvision/jest-config": "4.4.2",
"@monkvision/prettier-config": "4.4.2",
"@monkvision/test-utils": "4.4.2",
"@monkvision/typescript-config": "4.4.2",
"@monkvision/eslint-config-base": "4.4.3",
"@monkvision/eslint-config-typescript": "4.4.3",
"@monkvision/eslint-config-typescript-react": "4.4.3",
"@monkvision/jest-config": "4.4.3",
"@monkvision/prettier-config": "4.4.3",
"@monkvision/test-utils": "4.4.3",
"@monkvision/typescript-config": "4.4.3",
"@testing-library/react": "^12.1.5",

@@ -101,3 +101,3 @@ "@testing-library/react-hooks": "^8.0.1",

"homepage": "https://github.com/monkvision/monkjs",
"gitHead": "5258aa19cfb4c5b6d84ee38feb6af0a0e3fb73b6"
"gitHead": "2a145a56ba6ddcede0c5c6b9da6dd0f540e69573"
}
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