diff options
Diffstat (limited to 'node_modules/loud-rejection/api.js')
-rw-r--r-- | node_modules/loud-rejection/api.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/node_modules/loud-rejection/api.js b/node_modules/loud-rejection/api.js new file mode 100644 index 000000000..f6cd6a113 --- /dev/null +++ b/node_modules/loud-rejection/api.js @@ -0,0 +1,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.'); |