0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-25 08:19:38 +01:00
nodejs/lib/freelist.js
Sakthipriyan Vairamani fef87fee1d lib,test: add freelist deprecation and test
As per the dicussion in https://github.com/nodejs/io.js/issues/569,
this patch issues a deprecation warning when freelist module is
required. A test file for freelist is also added.

PR-URL: https://github.com/nodejs/io.js/pull/2176
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
2015-07-17 19:48:31 -07:00

7 lines
166 B
JavaScript

'use strict';
const util = require('internal/util');
module.exports = require('internal/freelist');
util.printDeprecationMessage('freelist module is deprecated.');