Skip to content
Permalink
Browse files

lib,test: remove publicly exposed freelist

The freelist module was deprecated in io.js and moved to an
internal module. This commit removes public access to freelist,
while leaving the internal module, which is still in use.

Fixes: #569
PR-URL: #3738
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
  • Loading branch information...
cjihrig committed Nov 9, 2015
1 parent 2930867 commit b70dc6782862f27f6cecacdc797654ec77142c7b
Showing with 1 addition and 10 deletions.
  1. +0 −6 lib/freelist.js
  2. +0 −1 node.gyp
  3. +1 −3 test/parallel/test-freelist.js

This file was deleted.

@@ -29,7 +29,6 @@
'lib/dns.js',
'lib/domain.js',
'lib/events.js',
'lib/freelist.js',
'lib/fs.js',
'lib/http.js',
'lib/_http_agent.js',
@@ -4,12 +4,10 @@

require('../common');
const assert = require('assert');
const freelist = require('freelist');
const internalFreelist = require('internal/freelist');
const freelist = require('internal/freelist');

assert.equal(typeof freelist, 'object');
assert.equal(typeof freelist.FreeList, 'function');
assert.strictEqual(freelist, internalFreelist);

const flist1 = new freelist.FreeList('flist1', 3, String);

0 comments on commit b70dc67

Please sign in to comment.
You can’t perform that action at this time.