Newer
Older
vue-indexer / node_modules / semver / internal / debug.js
@eugene-sukhodolskiy eugene-sukhodolskiy on 24 Sep 226 bytes v1.0
const debug = (
  typeof process === 'object' &&
  process.env &&
  process.env.NODE_DEBUG &&
  /\bsemver\b/i.test(process.env.NODE_DEBUG)
) ? (...args) => console.error('SEMVER', ...args)
  : () => {}

module.exports = debug