escover 1.7.0 → 1.7.1

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,9 @@
1
+ 2022.01.17, v1.7.1
2
+
3
+ fix:
4
+ - escover: config: rm once
5
+
6
+
1
7
  2022.01.17, v1.7.0
2
8
 
3
9
  feature:
package/lib/config.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import {readFileSync} from 'fs';
2
- import once from 'once';
3
2
  import picomatch from 'picomatch';
4
3
  import {findUpSync} from 'find-up';
5
4
 
@@ -17,7 +16,7 @@ const defaults = {
17
16
  exclude: [],
18
17
  };
19
18
 
20
- export const readConfig = once(() => {
19
+ export const readConfig = () => {
21
20
  const name = findUpSync('.nycrc.json');
22
21
 
23
22
  if (!name)
@@ -28,4 +27,4 @@ export const readConfig = once(() => {
28
27
  ...defaults,
29
28
  ...parse(data),
30
29
  };
31
- });
30
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "escover",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
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",