Socket
Socket
Sign inDemoInstall

@hapi/lab

Package Overview
Dependencies
182
Maintainers
6
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 25.0.1 to 25.1.0

4

lib/linter/index.js

@@ -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({

2

lib/reporters/console.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc