ava 4.3.1 → 4.3.2

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.
@@ -391,7 +391,9 @@ class Manager {
391
391
 
392
392
  const resolveSourceFile = mem(file => {
393
393
  const sourceMap = findSourceMap(file);
394
- if (sourceMap === undefined) {
394
+ // Prior to Node.js 18.8.0, the value when a source map could not be found was `undefined`.
395
+ // This changed to `null` in <https://github.com/nodejs/node/pull/43875>. Check both.
396
+ if (sourceMap === undefined || sourceMap === null) {
395
397
  return file;
396
398
  }
397
399
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ava",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "description": "Node.js test runner that lets you develop with confidence.",
5
5
  "license": "MIT",
6
6
  "repository": "avajs/ava",