escover 6.3.1 → 6.4.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/ChangeLog +11 -0
- package/lib/cli/cli.js +1 -1
- package/lib/instrument/plugin-mark/index.js +7 -0
- package/package.json +2 -2
package/ChangeLog
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
2026.05.16, v6.4.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 0a8db2e escover: plugin-mark: UnaryExpression
|
|
5
|
+
- 1107970 @escover/converter-istanbul: simplify
|
|
6
|
+
|
|
7
|
+
2026.05.15, v6.3.2
|
|
8
|
+
|
|
9
|
+
fix:
|
|
10
|
+
- 823bd51 escover: cli: default formatter: responsive
|
|
11
|
+
|
|
1
12
|
2026.05.15, v6.3.1
|
|
2
13
|
|
|
3
14
|
fix:
|
package/lib/cli/cli.js
CHANGED
|
@@ -108,6 +108,13 @@ export const fix = (path, {options}) => {
|
|
|
108
108
|
path.node,
|
|
109
109
|
]);
|
|
110
110
|
|
|
111
|
+
if (path.isExpressionStatement()) {
|
|
112
|
+
const expressionPath = path.get('expression');
|
|
113
|
+
replaceWith(expressionPath, sequenceExpression([lineNode, expressionPath.node]));
|
|
114
|
+
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
|
|
111
118
|
if (path.isExpression()) {
|
|
112
119
|
const {node} = path;
|
|
113
120
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "escover",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
5
5
|
"description": "Coverage for EcmaScript Modules",
|
|
6
6
|
"main": "packages/escover/lib/escover.js",
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@putout/eslint-flat": "^4.0.0",
|
|
60
60
|
"@putout/test": "^15.1.1",
|
|
61
|
-
"c8": "^11.0.0",
|
|
62
61
|
"escover": "file:.",
|
|
63
62
|
"eslint": "^10.0.0",
|
|
64
63
|
"eslint-plugin-putout": "^31.0.0",
|
|
65
64
|
"madrun": "^13.0.0",
|
|
65
|
+
"superc8": "^12.7.0",
|
|
66
66
|
"supertape": "^13.1.1"
|
|
67
67
|
}
|
|
68
68
|
}
|