mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
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>
7 lines
157 B
JavaScript
7 lines
157 B
JavaScript
'use strict';
|
|
|
|
const util = require('internal/util');
|
|
|
|
module.exports = require('internal/smalloc');
|
|
util.printDeprecationMessage('smalloc is deprecated.');
|