Blame view

node_modules/loud-rejection/api.js 358 Bytes
aaac7fed   liuqimichale   add
1
2
3
4
5
6
7
8
9
10
11
  'use strict';
  var util = require('util');
  var currentlyUnhandled = require('currently-unhandled');
  
  // WARNING: This undocumented API is subject to change.
  
  module.exports = util.deprecate(function (process) {
  	return {
  		currentlyUnhandled: currentlyUnhandled(process)
  	};
  }, 'loudRejection/api is deprecated. Use the currently-unhandled module instead.');