@hapi/lab
Advanced tools
Comparing version 25.0.1 to 25.1.0
@@ -34,2 +34,6 @@ 'use strict'; | ||
if (!configuration.extensions) { | ||
configuration.extensions = ['.js', '.cjs', '.mjs']; | ||
} | ||
let results; | ||
@@ -36,0 +40,0 @@ try { |
@@ -121,2 +121,7 @@ 'use strict'; | ||
if (!WorkerThreads.isMainThread) { | ||
// Accessing FormData does a lazy require of undici inside Node.js 18+, which in turn exposes | ||
// the `Symbol(undici.globalDispatcher.1)`. In earlier Node.js versions this is a no-op. | ||
typeof FormData; | ||
// When this module is used as a worker, it posts back global property names and symbols | ||
@@ -123,0 +128,0 @@ WorkerThreads.parentPort.postMessage({ |
@@ -268,3 +268,3 @@ 'use strict'; | ||
if (notebook.leaks.length) { | ||
output += red('The following leaks were detected:' + notebook.leaks.join(', ')) + '\n'; | ||
output += red('The following leaks were detected: ' + notebook.leaks.join(', ')) + '\n'; | ||
} | ||
@@ -271,0 +271,0 @@ else { |
{ | ||
"name": "@hapi/lab", | ||
"description": "Test utility", | ||
"version": "25.0.1", | ||
"version": "25.1.0", | ||
"repository": "git://github.com/hapijs/lab", | ||
@@ -51,3 +51,3 @@ "main": "lib/index.js", | ||
"@hapi/somever": "^4.0.0", | ||
"@types/node": "^17.0.23", | ||
"@types/node": "^18.11.17", | ||
"cpr": "3.x.x", | ||
@@ -54,0 +54,0 @@ "lab-event-reporter": "1.x.x", |
163129
3736