Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b70dc67

Browse filesBrowse files
committed
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>
1 parent 2930867 commit b70dc67
Copy full SHA for b70dc67

File tree

Expand file treeCollapse file tree

3 files changed

+1
-10
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+1
-10
lines changed
Open diff view settings
Collapse file

‎lib/freelist.js‎

Copy file name to clipboardExpand all lines: lib/freelist.js
-6Lines changed: 0 additions & 6 deletions
This file was deleted.
Collapse file

‎node.gyp‎

Copy file name to clipboardExpand all lines: node.gyp
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
'lib/dns.js',
3030
'lib/domain.js',
3131
'lib/events.js',
32-
'lib/freelist.js',
3332
'lib/fs.js',
3433
'lib/http.js',
3534
'lib/_http_agent.js',
Collapse file

‎test/parallel/test-freelist.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-freelist.js
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44

55
require('../common');
66
const assert = require('assert');
7-
const freelist = require('freelist');
8-
const internalFreelist = require('internal/freelist');
7+
const freelist = require('internal/freelist');
98

109
assert.equal(typeof freelist, 'object');
1110
assert.equal(typeof freelist.FreeList, 'function');
12-
assert.strictEqual(freelist, internalFreelist);
1311

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.