You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
197 B

4 years ago
  1. 'use strict'
  2. const Errors = process.version.charCodeAt(1) < 55 && process.version.charCodeAt(2) === 46
  3. ? require('./lib/old') // Node.js < 7
  4. : require('./lib/modern')
  5. module.exports = Errors