escover 4.1.0 → 4.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/ChangeLog CHANGED
@@ -1,3 +1,10 @@
1
+ 2024.06.07, v4.2.0
2
+
3
+ feature:
4
+ - a14d18d escover: @putout/test v10.0.0
5
+ - 1b1e4e9 escover: eslint v9.4.0
6
+ - 21f9710 escover: picomatch v4.0.2
7
+
1
8
  2024.01.29, v4.1.0
2
9
 
3
10
  feature:
@@ -1,19 +1,11 @@
1
- import {
2
- writeFileSync,
3
- readFileSync,
4
- } from 'node:fs';
1
+ import {writeFileSync, readFileSync} from 'node:fs';
5
2
  import {join} from 'node:path';
6
-
7
3
  import tryCatch from 'try-catch';
8
-
9
4
  import {getFileEntries} from '../c4.js';
10
5
  import {transform} from '../transform.js';
11
6
  import {merge} from '../merge.js';
12
7
  import {findCacheDir} from './find-cache-dir.js';
13
- import {
14
- generateLcov,
15
- parseLcov,
16
- } from './lcov.js';
8
+ import {generateLcov, parseLcov} from './lcov.js';
17
9
 
18
10
  const LCOV = 'lcov.info';
19
11
 
package/lib/escover.js CHANGED
@@ -2,10 +2,7 @@ import process from 'node:process';
2
2
  import montag from 'montag';
3
3
  import {instrument} from './instrument/index.js';
4
4
  import {createFileEntry} from './c4.js';
5
- import {
6
- readConfig,
7
- isExclude,
8
- } from './config.js';
5
+ import {readConfig, isExclude} from './config.js';
9
6
  import {writeCoverage} from './coverage-file/coverage-file.js';
10
7
 
11
8
  global.__createC4 = createFileEntry;
package/lib/fresh.js CHANGED
@@ -1,7 +1,4 @@
1
- import {
2
- fileURLToPath,
3
- pathToFileURL,
4
- } from 'node:url';
1
+ import {fileURLToPath, pathToFileURL} from 'node:url';
5
2
  import assert from 'node:assert';
6
3
  import {register} from 'node:module';
7
4
  import {MessageChannel} from 'node:worker_threads';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "escover",
3
- "version": "4.1.0",
3
+ "version": "4.2.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",
@@ -48,7 +48,7 @@
48
48
  "mock-import": "^4.0.0",
49
49
  "montag": "^1.2.1",
50
50
  "once": "^1.4.0",
51
- "picomatch": "^2.3.1",
51
+ "picomatch": "^4.0.2",
52
52
  "putout": "^35.0.1",
53
53
  "strip-ansi": "^7.0.1",
54
54
  "table": "^6.8.0",
@@ -56,15 +56,15 @@
56
56
  "yargs-parser": "^21.0.0"
57
57
  },
58
58
  "engines": {
59
- "node": ">=18"
59
+ "node": ">=18.19"
60
60
  },
61
61
  "license": "MIT",
62
62
  "devDependencies": {
63
- "@putout/test": "^8.4.0",
63
+ "@putout/eslint-flat": "^2.0.0",
64
+ "@putout/test": "^10.0.0",
64
65
  "c8": "^9.1.0",
65
66
  "escover": "file:.",
66
- "eslint": "^8.3.0",
67
- "eslint-plugin-n": "^16.0.0",
67
+ "eslint": "^9.4.0",
68
68
  "eslint-plugin-putout": "^22.3.1",
69
69
  "madrun": "^10.0.0",
70
70
  "supertape": "^10.0.0"