node/lib/smalloc.js
Vladimir Kurchatkin 6d95f4ff92 smalloc: deprecate whole module
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>
2015-06-04 11:00:19 +03:00

6 lines
157 B
JavaScript

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