@crowdin/app-project-module 0.63.0 → 0.63.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.postRequestCredentialsMasker = exports.getRequestCredentialsMasker = void 0;
16
- const lodash_1 = __importDefault(require("lodash"));
16
+ const lodash_get_1 = __importDefault(require("lodash.get"));
17
17
  const index_1 = require("./index");
18
18
  const index_2 = require("../index");
19
19
  const crowdin_client_1 = require("../middlewares/crowdin-client");
@@ -29,7 +29,7 @@ function getMaskableFieldsKeys(moduleConfig) {
29
29
  return [];
30
30
  }
31
31
  return Object.keys(moduleConfig.formUiSchema).filter((fieldKey) => {
32
- return lodash_1.default.get(moduleConfig, `formUiSchema[${fieldKey}]['ui:widget']`) === 'password';
32
+ return (0, lodash_get_1.default)(moduleConfig, `formUiSchema[${fieldKey}]['ui:widget']`) === 'password';
33
33
  });
34
34
  }
35
35
  function postRequestCredentialsMasker(moduleConfig, credentialsExtractor) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdin/app-project-module",
3
- "version": "0.63.0",
3
+ "version": "0.63.2",
4
4
  "description": "Module that generates for you all common endpoints for serving standalone Crowdin App",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
@@ -27,6 +27,7 @@
27
27
  "crypto-js": "^4.2.0",
28
28
  "express": "4.19.2",
29
29
  "express-handlebars": "^5.3.5",
30
+ "lodash.get": "^4.4.2",
30
31
  "lodash.uniqby": "^4.7.0",
31
32
  "mysql2": "^3.10.2",
32
33
  "node-cron": "^3.0.3",
@@ -58,6 +59,7 @@
58
59
  "@types/express-handlebars": "^5.3.1",
59
60
  "@types/jest": "^29.5.12",
60
61
  "@types/lodash.uniqby": "^4.7.9",
62
+ "@types/lodash.get": "^4.4.9",
61
63
  "@types/node": "^16.18.101",
62
64
  "@types/node-cron": "^3.0.11",
63
65
  "@types/pg": "^8.11.6",