mirror of
https://github.com/nodejs/node.git
synced 2024-11-25 08:19:38 +01:00
fef87fee1d
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>
7 lines
166 B
JavaScript
7 lines
166 B
JavaScript
'use strict';
|
|
|
|
const util = require('internal/util');
|
|
|
|
module.exports = require('internal/freelist');
|
|
util.printDeprecationMessage('freelist module is deprecated.');
|