@lingual/i18n-check 0.5.3 → 0.5.4

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -88,7 +88,7 @@ const findUnusedReactIntlTranslations = (source, codebaseSrc) => __awaiter(void
88
88
  const findUnusedI18NextTranslations = (source_1, codebaseSrc_1, ...args_1) => __awaiter(void 0, [source_1, codebaseSrc_1, ...args_1], void 0, function* (source, codebaseSrc, componentFunctions = []) {
89
89
  let unusedKeys = {};
90
90
  // find any unused keys in a react-i18next code base
91
- const unusedKeysFiles = (0, glob_1.globSync)(`${codebaseSrc}/**/*.tsx`, {
91
+ const unusedKeysFiles = (0, glob_1.globSync)(`${codebaseSrc}/**/*.{ts,tsx}`, {
92
92
  ignore: ["node_modules/**"],
93
93
  });
94
94
  let extractedResult = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingual/i18n-check",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "i18n translation messages check",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -23,7 +23,7 @@
23
23
  "chalk": "^4.1.2",
24
24
  "commander": "^12.1.0",
25
25
  "glob": "^11.0.1",
26
- "i18next-parser": "^9.1.0",
26
+ "i18next-parser": "^9.3.0",
27
27
  "js-yaml": "^4.1.0"
28
28
  },
29
29
  "devDependencies": {
@@ -33,7 +33,7 @@
33
33
  "@types/vinyl": "^2.0.12",
34
34
  "braces": "^3.0.3",
35
35
  "jest": "^29.7.0",
36
- "ts-jest": "^29.2.5",
36
+ "ts-jest": "^29.2.6",
37
37
  "typescript": "^5.7.3"
38
38
  },
39
39
  "repository": {