ava 6.1.0 → 6.1.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.
Files changed (2) hide show
  1. package/lib/watcher.js +2 -1
  2. package/package.json +11 -11
package/lib/watcher.js CHANGED
@@ -106,7 +106,8 @@ async function * plan({api, filter, globs, projectDir, providers, stdin, abortSi
106
106
  case 'uncaught-exception':
107
107
  case 'unhandled-rejection':
108
108
  case 'worker-failed': {
109
- failureCounts.set(evt.testFile, 1 + (failureCounts.get(evt.testFile) ?? 0));
109
+ const path = nodePath.relative(projectDir, evt.testFile);
110
+ failureCounts.set(path, 1 + (failureCounts.get(path) ?? 0));
110
111
  break;
111
112
  }
112
113
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ava",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "description": "Node.js test runner that lets you develop with confidence.",
5
5
  "license": "MIT",
6
6
  "repository": "avajs/ava",
@@ -83,9 +83,9 @@
83
83
  "typescript"
84
84
  ],
85
85
  "dependencies": {
86
- "@vercel/nft": "^0.24.4",
87
- "acorn": "^8.11.2",
88
- "acorn-walk": "^8.3.0",
86
+ "@vercel/nft": "^0.26.2",
87
+ "acorn": "^8.11.3",
88
+ "acorn-walk": "^8.3.2",
89
89
  "ansi-styles": "^6.2.1",
90
90
  "arrgv": "^1.0.2",
91
91
  "arrify": "^3.0.0",
@@ -111,11 +111,11 @@
111
111
  "matcher": "^5.0.0",
112
112
  "memoize": "^10.0.0",
113
113
  "ms": "^2.1.3",
114
- "p-map": "^6.0.0",
114
+ "p-map": "^7.0.1",
115
115
  "package-config": "^5.0.0",
116
116
  "picomatch": "^3.0.1",
117
117
  "plur": "^5.1.0",
118
- "pretty-ms": "^8.0.0",
118
+ "pretty-ms": "^9.0.0",
119
119
  "resolve-cwd": "^3.0.0",
120
120
  "stack-utils": "^2.0.6",
121
121
  "strip-ansi": "^7.1.0",
@@ -128,16 +128,16 @@
128
128
  "@ava/test": "github:avajs/test",
129
129
  "@ava/typescript": "^4.1.0",
130
130
  "@sindresorhus/tsconfig": "^5.0.0",
131
- "@types/node": "^20.10.3",
131
+ "@types/node": "^20.11.10",
132
132
  "ansi-escapes": "^6.2.0",
133
- "c8": "^8.0.1",
133
+ "c8": "^9.1.0",
134
134
  "execa": "^8.0.1",
135
135
  "expect": "^29.7.0",
136
136
  "sinon": "^17.0.1",
137
- "tap": "^18.6.1",
137
+ "tap": "^18.7.0",
138
138
  "tempy": "^3.1.0",
139
- "tsd": "^0.29.0",
140
- "typescript": "~5.3.2",
139
+ "tsd": "^0.30.4",
140
+ "typescript": "~5.3.3",
141
141
  "xo": "^0.56.0",
142
142
  "zen-observable": "^0.10.0"
143
143
  },