update node_modules

This commit is contained in:
araemer 2026-02-22 07:25:43 +01:00
parent 4889aac148
commit 195fbc52ad
431 changed files with 52587 additions and 0 deletions

18
node_modules/@dabh/diagnostics/adapters/index.js generated vendored Normal file
View file

@ -0,0 +1,18 @@
var enabled = require('enabled');
/**
* Creates a new Adapter.
*
* @param {Function} fn Function that returns the value.
* @returns {Function} The adapter logic.
* @public
*/
module.exports = function create(fn) {
return function adapter(namespace) {
try {
return enabled(namespace, fn());
} catch (e) { /* Any failure means that we found nothing */ }
return false;
};
}