escover 3.2.3 → 3.3.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 +13 -0
- package/bin/escover.js +1 -0
- package/lib/cli/cli.js +5 -5
- package/lib/escover.js +2 -1
- package/package.json +2 -2
package/ChangeLog
CHANGED
package/bin/escover.js
CHANGED
package/lib/cli/cli.js
CHANGED
|
@@ -5,11 +5,11 @@ import {version} from './version.js';
|
|
|
5
5
|
import reportLines from '../formatters/lines.js';
|
|
6
6
|
import reportFiles from '../formatters/files.js';
|
|
7
7
|
|
|
8
|
-
const {
|
|
9
|
-
ESCOVER_FORMAT,
|
|
10
|
-
NODE_OPTIONS = '',
|
|
11
|
-
} = process.env;
|
|
8
|
+
const {ESCOVER_FORMAT} = process.env;
|
|
12
9
|
|
|
10
|
+
export const ESCOVER_NODE_OPTIONS = '--no-warnings --loader zenload';
|
|
11
|
+
|
|
12
|
+
// ${NODE_OPTIONS}'`;
|
|
13
13
|
export const cli = ({argv, exit, readCoverage}) => {
|
|
14
14
|
const args = yargsParser(argv.slice(2), {
|
|
15
15
|
string: [
|
|
@@ -58,7 +58,7 @@ function execute(cmd, exit) {
|
|
|
58
58
|
env: {
|
|
59
59
|
ZENLOAD: 'escover,mock-import',
|
|
60
60
|
...process.env,
|
|
61
|
-
NODE_OPTIONS:
|
|
61
|
+
NODE_OPTIONS: ESCOVER_NODE_OPTIONS,
|
|
62
62
|
},
|
|
63
63
|
});
|
|
64
64
|
|
package/lib/escover.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "escover",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
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",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"c8": "^7.8.0",
|
|
65
65
|
"escover": "^3.2.0",
|
|
66
66
|
"eslint": "^8.3.0",
|
|
67
|
-
"eslint-plugin-n": "^
|
|
67
|
+
"eslint-plugin-n": "^16.0.0",
|
|
68
68
|
"eslint-plugin-putout": "^17.5.1",
|
|
69
69
|
"madrun": "^9.0.0",
|
|
70
70
|
"supertape": "^8.0.1"
|