@intl-party/eslint-plugin 1.1.0 → 1.2.0

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.
package/dist/index.d.ts CHANGED
@@ -8,7 +8,6 @@ interface NoMissingKeysOptions {
8
8
  translationFiles?: string[];
9
9
  defaultLocale?: string;
10
10
  configPath?: string;
11
- cacheTimeout?: number;
12
11
  }
13
12
 
14
13
  interface NoHardcodedStringsOptions {
package/dist/index.js CHANGED
@@ -488,11 +488,6 @@ var noMissingKeys = import_utils2.ESLintUtils.RuleCreator(
488
488
  configPath: {
489
489
  type: "string",
490
490
  description: "Path to intl-party configuration file"
491
- },
492
- cacheTimeout: {
493
- type: "number",
494
- default: 3e5,
495
- description: "Cache timeout in milliseconds (default: 5 minutes)"
496
491
  }
497
492
  },
498
493
  additionalProperties: false
@@ -508,16 +503,13 @@ var noMissingKeys = import_utils2.ESLintUtils.RuleCreator(
508
503
  const {
509
504
  translationFiles = [],
510
505
  defaultLocale = "en",
511
- configPath,
512
- cacheTimeout = 3e5
506
+ configPath
513
507
  } = options || {};
514
508
  const translationUtils = new TranslationUtils({
515
509
  translationFiles,
516
510
  defaultLocale,
517
- configPath,
518
- cacheTimeout
511
+ configPath
519
512
  });
520
- const fileTranslationCache = /* @__PURE__ */ new Map();
521
513
  function isValidTranslationKey(key) {
522
514
  return translationUtils.isValidTranslationKey(key);
523
515
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intl-party/eslint-plugin",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "ESLint plugin for IntlParty - detect hardcoded strings and enforce i18n best practices",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@typescript-eslint/utils": "^6.15.0",
26
- "fs-extra": "^11.2.0"
26
+ "fs-extra": "^11.3.4"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/eslint": "^8.56.0",
@@ -33,9 +33,9 @@
33
33
  "@typescript-eslint/rule-tester": "^6.15.0",
34
34
  "eslint": "^8.55.0",
35
35
  "jsdom": "^23.0.1",
36
- "tsup": "^8.0.1",
36
+ "tsup": "^8.5.1",
37
37
  "typescript": "^5.3.0",
38
- "vitest": "^1.0.0"
38
+ "vitest": "^3.2.4"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "eslint": ">=8.0.0"