Code coverage report for lib/smalloc.js

Statements: 100% (8 / 8)      Branches: 100% (0 / 0)      Functions: 100% (0 / 0)      Lines: 100% (8 / 8)      Ignored: none     

All files » lib/ » smalloc.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30    946 946   946     946       946       946       946       946          
(function () { 'use strict';
 
const smalloc = require('internal/smalloc');
const deprecate = require('util').deprecate;
 
exports.alloc =
    deprecate(smalloc.alloc, 'smalloc.alloc: Deprecated, use typed arrays');
 
exports.copyOnto =
    deprecate(smalloc.copyOnto,
              'smalloc.copyOnto: Deprecated, use typed arrays');
 
exports.dispose =
    deprecate(smalloc.dispose,
              'smalloc.dispose: Deprecated, use typed arrays');
 
exports.hasExternalData =
    deprecate(smalloc.hasExternalData,
              'smalloc.hasExternalData: Deprecated, use typed arrays');
 
Object.defineProperty(exports, 'kMaxLength', {
  enumerable: true, value: smalloc.kMaxLength, writable: false
});
 
Object.defineProperty(exports, 'Types', {
  enumerable: true, value: Object.freeze(smalloc.Types), writable: false
});
 
}());