Skip to content

Commit 84a2339

Browse files
mscdexjasnell
authored andcommitted
linkedlist: remove public module
PR-URL: #12113 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent e1161a3 commit 84a2339

File tree

4 files changed

+2
-33
lines changed

4 files changed

+2
-33
lines changed

.eslintrc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ rules:
6262
no-mixed-requires: 2
6363
no-new-require: 2
6464
no-path-concat: 2
65-
no-restricted-modules: [2, sys, _linklist]
65+
no-restricted-modules: [2, sys]
6666
no-restricted-properties:
6767
- 2
6868
- object: assert

lib/_linklist.js

-27
This file was deleted.

node.gyp

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
'lib/_http_outgoing.js',
4545
'lib/_http_server.js',
4646
'lib/https.js',
47-
'lib/_linklist.js',
4847
'lib/module.js',
4948
'lib/net.js',
5049
'lib/os.js',

test/parallel/test-timers-linked-list.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525

2626
require('../common');
2727
const assert = require('assert');
28-
const L = require('_linklist'); // eslint-disable-line no-restricted-modules
29-
const internalL = require('internal/linkedlist');
30-
31-
assert.strictEqual(L, internalL);
28+
const L = require('internal/linkedlist');
3229

3330
const list = { name: 'list' };
3431
const A = { name: 'A' };

0 commit comments

Comments
 (0)