escover 2.1.1 → 2.1.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.
package/ChangeLog CHANGED
@@ -1,3 +1,10 @@
1
+ 2022.05.09, v2.1.2
2
+
3
+ feature:
4
+ - package: putout v26.0.0
5
+ - package: eslint-plugin-putout v15.1.1
6
+
7
+
1
8
  2022.03.29, v2.1.1
2
9
 
3
10
  feature:
package/lib/config.js CHANGED
@@ -6,6 +6,7 @@ const {parse} = JSON;
6
6
 
7
7
  const addStars = (patterns) => {
8
8
  const result = [];
9
+
9
10
  for (const pattern of patterns) {
10
11
  result.push(...[
11
12
  `**/${pattern}/**`,
@@ -76,6 +76,7 @@ function parseUncoveredLines(lines) {
76
76
 
77
77
  function parseCoverageFile(coverageFile) {
78
78
  const files = [];
79
+
79
80
  for (const {name, lines} of coverageFile) {
80
81
  const filename = name.replace(CWD + '/', '');
81
82
  const uncoveredLines = parseUncoveredLines(lines);
@@ -50,6 +50,7 @@ export default (coverageFile) => {
50
50
  for (const line of uncoveredLines) {
51
51
  out(`️- ${chalk.red(line)} at file://${name}:${line}`);
52
52
  }
53
+
53
54
  out('');
54
55
  }
55
56
  }
package/lib/merge.js CHANGED
@@ -15,6 +15,7 @@ export const merge = (files) => {
15
15
  }
16
16
 
17
17
  const list = [];
18
+
18
19
  for (const [name, lines] of entries(deduplicator)) {
19
20
  list.push({
20
21
  name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "escover",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "Coverage for EcmaScript Modules",
6
6
  "main": "lib/escover.js",
@@ -43,16 +43,16 @@
43
43
  "chalk": "^5.0.0",
44
44
  "find-cache-dir": "^3.3.2",
45
45
  "find-up": "^6.2.0",
46
+ "mock-import": "^3.0.1",
46
47
  "montag": "^1.2.1",
47
48
  "once": "^1.4.0",
48
49
  "picomatch": "^2.3.1",
49
- "putout": "^25.0.0",
50
+ "putout": "^26.0.0",
50
51
  "strip-ansi": "^7.0.1",
51
52
  "table": "^6.8.0",
52
53
  "try-catch": "^3.0.0",
53
54
  "yargs-parser": "^21.0.0",
54
- "zenload": "^2.0.0",
55
- "mock-import": "^3.0.1"
55
+ "zenload": "^2.0.0"
56
56
  },
57
57
  "engines": {
58
58
  "node": ">=16"
@@ -64,7 +64,7 @@
64
64
  "escover": "^2.0.1",
65
65
  "eslint": "^8.3.0",
66
66
  "eslint-plugin-node": "^11.1.0",
67
- "eslint-plugin-putout": "^14.4.0",
67
+ "eslint-plugin-putout": "^15.1.1",
68
68
  "madrun": "^9.0.0",
69
69
  "supertape": "^7.0.0"
70
70
  }