@definitelytyped/eslint-plugin 0.1.22 → 0.1.24

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @definitelytyped/eslint-plugin
2
2
 
3
+ ## 0.1.24
4
+
5
+ ### Patch Changes
6
+
7
+ - e495a93: Mark 5.9 as shipped, 6.0 as supported, 5.1 as unsupported
8
+
9
+ ## 0.1.23
10
+
11
+ ### Patch Changes
12
+
13
+ - f98e138: More aggressively drop Programs to prevent OOMs
14
+
3
15
  ## 0.1.22
4
16
 
5
17
  ### Patch Changes
@@ -183,7 +183,7 @@ function getProgram(dirPath, configFile, ts, versionName, lintProgram) {
183
183
  }
184
184
  const heapStats = node_v8_1.default.getHeapStatistics();
185
185
  const heapUsage = heapStats.used_heap_size / heapStats.heap_size_limit;
186
- if (heapUsage > 0.9) {
186
+ if (heapUsage > 0.7) {
187
187
  versionToProgram.clear();
188
188
  }
189
189
  return newProgram;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@definitelytyped/eslint-plugin",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "description": "ESLint rules for DefinitelyTyped",
5
5
  "main": "./dist/index.js",
6
6
  "publishConfig": {
@@ -36,8 +36,7 @@
36
36
  "@types/semver": "^7.5.8",
37
37
  "glob": "^10.4.5",
38
38
  "jest-file-snapshot": "^0.7.0",
39
- "strip-ansi": "^6.0.1",
40
- "typescript": "^5.7.2",
39
+ "typescript": "^5.9.2",
41
40
  "typescript-5.4": "npm:typescript@~5.4.0-0",
42
41
  "typescript-5.5": "npm:typescript@~5.5.0-0"
43
42
  },