1const debug = ( 2 typeof process === 'object' && 3 process.env && 4 process.env.NODE_DEBUG && 5 /\bsemver\b/i.test(process.env.NODE_DEBUG) 6) ? (...args) => console.error('SEMVER', ...args) 7 : () => {} 8 9module.exports = debug 10