PHP 8.2.30
Preview: override.js Size: 432 B
/home/byroehnu/.trash/node_modules11/@dabh/diagnostics/node/override.js

const diagnostics = require('./');

//
// Override the existing `debug` call so it will use `diagnostics` instead
// of the `debug` module.
//
try {
  var key = require.resolve('debug');

  require.cache[key] = {
    exports: diagnostics,
    filename: key,
    loaded: true,
    id: key
  };
} catch (e) { /* We don't really care if it fails */ }

//
// Export the default import as exports again.
//
module.exports = diagnostics;

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
931 B lrw-r--r-- 2026-02-21 00:53:24
Edit Download
223 B lrw-r--r-- 2026-02-21 00:53:32
Edit Download
432 B lrw-r--r-- 2026-02-21 00:53:36
Edit Download
578 B lrw-r--r-- 2026-02-21 00:53:38
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).