mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
6d95f4ff92
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.');
|