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

7 lines
157 B
JavaScript

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