It makes no sense to allow people use constants from `smalloc`, since it will be removed completely eventually. PR-URL: https://github.com/nodejs/io.js/pull/1822 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
6 lines
157 B
JavaScript
6 lines
157 B
JavaScript
'use strict';
|
|
|
|
const util = require('internal/util');
|
|
|
|
module.exports = require('internal/smalloc');
|
|
util.printDeprecationMessage('smalloc is deprecated.');
|