Skip to content

Commit d3b4e1f

Browse files
committed
refactor lib/ underscore files into directories
1 parent 92f8663 commit d3b4e1f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+7975
-7843
lines changed

benchmark/http/check_invalid_header_char.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const common = require('../common.js');
4-
const _checkInvalidHeaderChar = require('_http_common')._checkInvalidHeaderChar;
4+
const { _checkInvalidHeaderChar } = require('internal/http/common');
55

66
const bench = common.createBenchmark(main, {
77
key: [

benchmark/http/check_is_http_token.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const common = require('../common.js');
4-
const _checkIsHttpToken = require('_http_common')._checkIsHttpToken;
4+
const _checkIsHttpToken = require('internal/http/common')._checkIsHttpToken;
55

66
const bench = common.createBenchmark(main, {
77
key: [

doc/api/deprecations.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,29 @@ Type: Runtime
737737
internal mechanics of the `REPLServer` itself, and is therefore not
738738
necessary in user space.
739739
740+
<a id="DEP00XX"></a>
741+
### DEP00XX: `_http_*`, `_stream_*`, `_tls_*`
742+
743+
Type: Runtime
744+
745+
| Old | New |
746+
|-----------------------|------------------------|
747+
| `_http_agent` | `http.Agent` |
748+
| `_http_client` | `http.ClientRequest` |
749+
| `_http_common` | `http` (partial) |
750+
| `_http_incoming` | `http.IncomingMessage` |
751+
| `_http_outgoing` | `http.OutgoingMessage` |
752+
| `_http_server` | `http.Server` |
753+
| `_stream_duplex` | `stream.Duplex` |
754+
| `_stream_passthrough` | `stream.PassThrough` |
755+
| `_stream_readable` | `stream.Readable` |
756+
| `_stream_transform` | `stream.Transform` |
757+
| `_stream_wrap` | *N/A* |
758+
| `_stream_writable` | `stream.Writable` |
759+
| `_tls_common` | `tls` (partial) |
760+
| `_tls_legacy` | `tls` |
761+
| `_tls_wrap` | *N/A* |
762+
740763
741764
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
742765
[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array

0 commit comments

Comments
 (0)