@types/node 20.12.13 → 20.12.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
node/http.d.ts CHANGED
@@ -26,8 +26,8 @@
26
26
  *
27
27
  * See `message.headers` for details on how duplicate headers are handled.
28
28
  *
29
- * The raw headers as they were received are retained in the `rawHeaders` property, which is an array of `[key, value, key2, value2, ...]`. For
30
- * example, the previous message header object might have a `rawHeaders` list like the following:
29
+ * The raw headers as they were received are retained in the `rawHeaders`property, which is an array of `[key, value, key2, value2, ...]`. For
30
+ * example, the previous message header object might have a `rawHeaders`list like the following:
31
31
  *
32
32
  * ```js
33
33
  * [ 'ConTent-Length', '123456',
@@ -37,7 +37,7 @@
37
37
  * 'Host', 'example.com',
38
38
  * 'accepT', '*' ]
39
39
  * ```
40
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/http.js)
40
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/http.js)
41
41
  */
42
42
  declare module "http" {
43
43
  import * as stream from "node:stream";
@@ -282,8 +282,9 @@ declare module "http" {
282
282
  */
283
283
  insecureHTTPParser?: boolean | undefined;
284
284
  /**
285
- * Optionally overrides the value of `--max-http-header-size` for requests received by
286
- * this server, i.e. the maximum length of request headers in bytes.
285
+ * Optionally overrides the value of
286
+ * `--max-http-header-size` for requests received by this server, i.e.
287
+ * the maximum length of request headers in bytes.
287
288
  * @default 16384
288
289
  * @since v13.3.0
289
290
  */
@@ -387,7 +388,7 @@ declare module "http" {
387
388
  * The number of milliseconds of inactivity a server needs to wait for additional
388
389
  * incoming data, after it has finished writing the last response, before a socket
389
390
  * will be destroyed. If the server receives new data before the keep-alive
390
- * timeout has fired, it will reset the regular inactivity timeout, i.e., `server.timeout`.
391
+ * timeout has fired, it will reset the regular inactivity timeout, i.e.,`server.timeout`.
391
392
  *
392
393
  * A value of `0` will disable the keep-alive timeout behavior on incoming
393
394
  * connections.
@@ -574,7 +575,7 @@ declare module "http" {
574
575
  readonly socket: Socket | null;
575
576
  constructor();
576
577
  /**
577
- * Once a socket is associated with the message and is connected, `socket.setTimeout()` will be called with `msecs` as the first parameter.
578
+ * Once a socket is associated with the message and is connected,`socket.setTimeout()` will be called with `msecs` as the first parameter.
578
579
  * @since v0.9.12
579
580
  * @param callback Optional function to be called when a timeout occurs. Same as binding to the `timeout` event.
580
581
  */
@@ -690,7 +691,7 @@ declare module "http" {
690
691
  * packet.
691
692
  *
692
693
  * It is usually desired (it saves a TCP round-trip), but not when the first
693
- * data is not sent until possibly much later. `outgoingMessage.flushHeaders()` bypasses the optimization and kickstarts the message.
694
+ * data is not sent until possibly much later. `outgoingMessage.flushHeaders()`bypasses the optimization and kickstarts the message.
694
695
  * @since v1.6.0
695
696
  */
696
697
  flushHeaders(): void;
@@ -731,7 +732,7 @@ declare module "http" {
731
732
  */
732
733
  statusMessage: string;
733
734
  /**
734
- * If set to `true`, Node.js will check whether the `Content-Length` header value and the size of the body, in bytes, are equal.
735
+ * If set to `true`, Node.js will check whether the `Content-Length`header value and the size of the body, in bytes, are equal.
735
736
  * Mismatching the `Content-Length` header value will result
736
737
  * in an `Error` being thrown, identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`.
737
738
  * @since v18.10.0, v16.18.0
@@ -742,7 +743,7 @@ declare module "http" {
742
743
  detachSocket(socket: Socket): void;
743
744
  /**
744
745
  * Sends an HTTP/1.1 100 Continue message to the client, indicating that
745
- * the request body should be sent. See the `'checkContinue'` event on `Server`.
746
+ * the request body should be sent. See the `'checkContinue'` event on`Server`.
746
747
  * @since v0.3.0
747
748
  */
748
749
  writeContinue(callback?: () => void): void;
@@ -862,10 +863,10 @@ declare module "http" {
862
863
  /**
863
864
  * This object is created internally and returned from {@link request}. It
864
865
  * represents an _in-progress_ request whose header has already been queued. The
865
- * header is still mutable using the `setHeader(name, value)`, `getHeader(name)`, `removeHeader(name)` API. The actual header will
866
+ * header is still mutable using the `setHeader(name, value)`,`getHeader(name)`, `removeHeader(name)` API. The actual header will
866
867
  * be sent along with the first data chunk or when calling `request.end()`.
867
868
  *
868
- * To get the response, add a listener for `'response'` to the request object. `'response'` will be emitted from the request object when the response
869
+ * To get the response, add a listener for `'response'` to the request object.`'response'` will be emitted from the request object when the response
869
870
  * headers have been received. The `'response'` event is executed with one
870
871
  * argument which is an instance of {@link IncomingMessage}.
871
872
  *
@@ -881,10 +882,10 @@ declare module "http" {
881
882
  * the data is read it will consume memory that can eventually lead to a
882
883
  * 'process out of memory' error.
883
884
  *
884
- * For backward compatibility, `res` will only emit `'error'` if there is an `'error'` listener registered.
885
+ * For backward compatibility, `res` will only emit `'error'` if there is an`'error'` listener registered.
885
886
  *
886
887
  * Set `Content-Length` header to limit the response body size.
887
- * If `response.strictContentLength` is set to `true`, mismatching the `Content-Length` header value will result in an `Error` being thrown,
888
+ * If `response.strictContentLength` is set to `true`, mismatching the`Content-Length` header value will result in an `Error` being thrown,
888
889
  * identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`.
889
890
  *
890
891
  * `Content-Length` value should be in bytes, not characters. Use `Buffer.byteLength()` to determine the length of the body in bytes.
@@ -895,7 +896,7 @@ declare module "http" {
895
896
  * The `request.aborted` property will be `true` if the request has
896
897
  * been aborted.
897
898
  * @since v0.11.14
898
- * @deprecated Since v17.0.0, v16.12.0 - Check `destroyed` instead.
899
+ * @deprecated Since v17.0.0,v16.12.0 - Check `destroyed` instead.
899
900
  */
900
901
  aborted: boolean;
901
902
  /**
@@ -1127,7 +1128,7 @@ declare module "http" {
1127
1128
  * access response
1128
1129
  * status, headers, and data.
1129
1130
  *
1130
- * Different from its `socket` value which is a subclass of `stream.Duplex`, the `IncomingMessage` itself extends `stream.Readable` and is created separately to
1131
+ * Different from its `socket` value which is a subclass of `stream.Duplex`, the`IncomingMessage` itself extends `stream.Readable` and is created separately to
1131
1132
  * parse and emit the incoming HTTP headers and payload, as the underlying socket
1132
1133
  * may be reused multiple times in case of keep-alive.
1133
1134
  * @since v0.1.17
@@ -1146,7 +1147,7 @@ declare module "http" {
1146
1147
  * client response, the HTTP version of the connected-to server.
1147
1148
  * Probably either `'1.1'` or `'1.0'`.
1148
1149
  *
1149
- * Also `message.httpVersionMajor` is the first integer and `message.httpVersionMinor` is the second.
1150
+ * Also `message.httpVersionMajor` is the first integer and`message.httpVersionMinor` is the second.
1150
1151
  * @since v0.1.1
1151
1152
  */
1152
1153
  httpVersion: string;
@@ -1211,8 +1212,8 @@ declare module "http" {
1211
1212
  * Duplicates in raw headers are handled in the following ways, depending on the
1212
1213
  * header name:
1213
1214
  *
1214
- * * Duplicates of `age`, `authorization`, `content-length`, `content-type`, `etag`, `expires`, `from`, `host`, `if-modified-since`, `if-unmodified-since`, `last-modified`, `location`,
1215
- * `max-forwards`, `proxy-authorization`, `referer`, `retry-after`, `server`, or `user-agent` are discarded.
1215
+ * * Duplicates of `age`, `authorization`, `content-length`, `content-type`,`etag`, `expires`, `from`, `host`, `if-modified-since`, `if-unmodified-since`,`last-modified`, `location`,
1216
+ * `max-forwards`, `proxy-authorization`, `referer`,`retry-after`, `server`, or `user-agent` are discarded.
1216
1217
  * To allow duplicate values of the headers listed above to be joined,
1217
1218
  * use the option `joinDuplicateHeaders` in {@link request} and {@link createServer}. See RFC 9110 Section 5.3 for more
1218
1219
  * information.
@@ -1306,32 +1307,29 @@ declare module "http" {
1306
1307
  * To parse the URL into its parts:
1307
1308
  *
1308
1309
  * ```js
1309
- * new URL(`http://${process.env.HOST ?? 'localhost'}${request.url}`);
1310
+ * new URL(request.url, `http://${request.headers.host}`);
1310
1311
  * ```
1311
1312
  *
1312
- * When `request.url` is `'/status?name=ryan'` and `process.env.HOST` is undefined:
1313
+ * When `request.url` is `'/status?name=ryan'` and `request.headers.host` is`'localhost:3000'`:
1313
1314
  *
1314
1315
  * ```console
1315
1316
  * $ node
1316
- * > new URL(`http://${process.env.HOST ?? 'localhost'}${request.url}`);
1317
+ * > new URL(request.url, `http://${request.headers.host}`)
1317
1318
  * URL {
1318
- * href: 'http://localhost/status?name=ryan',
1319
- * origin: 'http://localhost',
1319
+ * href: 'http://localhost:3000/status?name=ryan',
1320
+ * origin: 'http://localhost:3000',
1320
1321
  * protocol: 'http:',
1321
1322
  * username: '',
1322
1323
  * password: '',
1323
- * host: 'localhost',
1324
+ * host: 'localhost:3000',
1324
1325
  * hostname: 'localhost',
1325
- * port: '',
1326
+ * port: '3000',
1326
1327
  * pathname: '/status',
1327
1328
  * search: '?name=ryan',
1328
1329
  * searchParams: URLSearchParams { 'name' => 'ryan' },
1329
1330
  * hash: ''
1330
1331
  * }
1331
1332
  * ```
1332
- *
1333
- * Ensure that you set `process.env.HOST` to the server's host name, or consider replacing this part entirely. If using `req.headers.host`, ensure proper
1334
- * validation is used, as clients may specify a custom `Host` header.
1335
1333
  * @since v0.1.90
1336
1334
  */
1337
1335
  url?: string | undefined;
@@ -1350,7 +1348,7 @@ declare module "http" {
1350
1348
  */
1351
1349
  statusMessage?: string | undefined;
1352
1350
  /**
1353
- * Calls `destroy()` on the socket that received the `IncomingMessage`. If `error` is provided, an `'error'` event is emitted on the socket and `error` is passed
1351
+ * Calls `destroy()` on the socket that received the `IncomingMessage`. If `error`is provided, an `'error'` event is emitted on the socket and `error` is passed
1354
1352
  * as an argument to any listeners on the event.
1355
1353
  * @since v0.3.0
1356
1354
  */
@@ -1394,7 +1392,7 @@ declare module "http" {
1394
1392
  * for a given host and port, reusing a single socket connection for each
1395
1393
  * until the queue is empty, at which time the socket is either destroyed
1396
1394
  * or put into a pool where it is kept to be used again for requests to the
1397
- * same host and port. Whether it is destroyed or pooled depends on the `keepAlive` `option`.
1395
+ * same host and port. Whether it is destroyed or pooled depends on the`keepAlive` `option`.
1398
1396
  *
1399
1397
  * Pooled connections have TCP Keep-Alive enabled for them, but servers may
1400
1398
  * still close idle connections, in which case they will be removed from the
@@ -1425,7 +1423,7 @@ declare module "http" {
1425
1423
  * });
1426
1424
  * ```
1427
1425
  *
1428
- * An agent may also be used for an individual request. By providing `{agent: false}` as an option to the `http.get()` or `http.request()`functions, a one-time use `Agent` with default options
1426
+ * An agent may also be used for an individual request. By providing`{agent: false}` as an option to the `http.get()` or `http.request()`functions, a one-time use `Agent` with default options
1429
1427
  * will be used
1430
1428
  * for the client connection.
1431
1429
  *
@@ -1441,17 +1439,6 @@ declare module "http" {
1441
1439
  * // Do stuff with response
1442
1440
  * });
1443
1441
  * ```
1444
- *
1445
- * `options` in [`socket.connect()`](https://nodejs.org/docs/latest-v20.x/api/net.html#socketconnectoptions-connectlistener) are also supported.
1446
- *
1447
- * To configure any of them, a custom {@link Agent} instance must be created.
1448
- *
1449
- * ```js
1450
- * const http = require('node:http');
1451
- * const keepAliveAgent = new http.Agent({ keepAlive: true });
1452
- * options.agent = keepAliveAgent;
1453
- * http.request(options, onResponseCallback)
1454
- * ```
1455
1442
  * @since v0.3.4
1456
1443
  */
1457
1444
  class Agent extends EventEmitter {
@@ -1574,7 +1561,7 @@ declare module "http" {
1574
1561
  * `url` can be a string or a `URL` object. If `url` is a
1575
1562
  * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object.
1576
1563
  *
1577
- * If both `url` and `options` are specified, the objects are merged, with the `options` properties taking precedence.
1564
+ * If both `url` and `options` are specified, the objects are merged, with the`options` properties taking precedence.
1578
1565
  *
1579
1566
  * The optional `callback` parameter will be added as a one-time listener for
1580
1567
  * the `'response'` event.
@@ -1674,7 +1661,7 @@ declare module "http" {
1674
1661
  * the following events will be emitted in the following order:
1675
1662
  *
1676
1663
  * * `'socket'`
1677
- * * `'error'` with an error with message `'Error: socket hang up'` and code `'ECONNRESET'`
1664
+ * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'`
1678
1665
  * * `'close'`
1679
1666
  *
1680
1667
  * In the case of a premature connection close after the response is received,
@@ -1685,15 +1672,15 @@ declare module "http" {
1685
1672
  * * `'data'` any number of times, on the `res` object
1686
1673
  * * (connection closed here)
1687
1674
  * * `'aborted'` on the `res` object
1675
+ * * `'error'` on the `res` object with an error with message`'Error: aborted'` and code `'ECONNRESET'`
1688
1676
  * * `'close'`
1689
- * * `'error'` on the `res` object with an error with message `'Error: aborted'` and code `'ECONNRESET'`
1690
1677
  * * `'close'` on the `res` object
1691
1678
  *
1692
1679
  * If `req.destroy()` is called before a socket is assigned, the following
1693
1680
  * events will be emitted in the following order:
1694
1681
  *
1695
1682
  * * (`req.destroy()` called here)
1696
- * * `'error'` with an error with message `'Error: socket hang up'` and code `'ECONNRESET'`, or the error with which `req.destroy()` was called
1683
+ * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'`, or the error with which `req.destroy()` was called
1697
1684
  * * `'close'`
1698
1685
  *
1699
1686
  * If `req.destroy()` is called before the connection succeeds, the following
@@ -1701,7 +1688,7 @@ declare module "http" {
1701
1688
  *
1702
1689
  * * `'socket'`
1703
1690
  * * (`req.destroy()` called here)
1704
- * * `'error'` with an error with message `'Error: socket hang up'` and code `'ECONNRESET'`, or the error with which `req.destroy()` was called
1691
+ * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'`, or the error with which `req.destroy()` was called
1705
1692
  * * `'close'`
1706
1693
  *
1707
1694
  * If `req.destroy()` is called after the response is received, the following
@@ -1712,8 +1699,8 @@ declare module "http" {
1712
1699
  * * `'data'` any number of times, on the `res` object
1713
1700
  * * (`req.destroy()` called here)
1714
1701
  * * `'aborted'` on the `res` object
1702
+ * * `'error'` on the `res` object with an error with message `'Error: aborted'`and code `'ECONNRESET'`, or the error with which `req.destroy()` was called
1715
1703
  * * `'close'`
1716
- * * `'error'` on the `res` object with an error with message `'Error: aborted'` and code `'ECONNRESET'`, or the error with which `req.destroy()` was called
1717
1704
  * * `'close'` on the `res` object
1718
1705
  *
1719
1706
  * If `req.abort()` is called before a socket is assigned, the following
@@ -1729,7 +1716,7 @@ declare module "http" {
1729
1716
  * * `'socket'`
1730
1717
  * * (`req.abort()` called here)
1731
1718
  * * `'abort'`
1732
- * * `'error'` with an error with message `'Error: socket hang up'` and code `'ECONNRESET'`
1719
+ * * `'error'` with an error with message `'Error: socket hang up'` and code`'ECONNRESET'`
1733
1720
  * * `'close'`
1734
1721
  *
1735
1722
  * If `req.abort()` is called after the response is received, the following
@@ -1741,16 +1728,16 @@ declare module "http" {
1741
1728
  * * (`req.abort()` called here)
1742
1729
  * * `'abort'`
1743
1730
  * * `'aborted'` on the `res` object
1744
- * * `'error'` on the `res` object with an error with message `'Error: aborted'` and code `'ECONNRESET'`.
1731
+ * * `'error'` on the `res` object with an error with message`'Error: aborted'` and code `'ECONNRESET'`.
1745
1732
  * * `'close'`
1746
1733
  * * `'close'` on the `res` object
1747
1734
  *
1748
1735
  * Setting the `timeout` option or using the `setTimeout()` function will
1749
1736
  * not abort the request or do anything besides add a `'timeout'` event.
1750
1737
  *
1751
- * Passing an `AbortSignal` and then calling `abort()` on the corresponding `AbortController` will behave the same way as calling `.destroy()` on the
1738
+ * Passing an `AbortSignal` and then calling `abort()` on the corresponding`AbortController` will behave the same way as calling `.destroy()` on the
1752
1739
  * request. Specifically, the `'error'` event will be emitted with an error with
1753
- * the message `'AbortError: The operation was aborted'`, the code `'ABORT_ERR'` and the `cause`, if one was provided.
1740
+ * the message `'AbortError: The operation was aborted'`, the code `'ABORT_ERR'`and the `cause`, if one was provided.
1754
1741
  * @since v0.3.6
1755
1742
  */
1756
1743
  function request(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest;
@@ -1761,7 +1748,7 @@ declare module "http" {
1761
1748
  ): ClientRequest;
1762
1749
  /**
1763
1750
  * Since most requests are GET requests without bodies, Node.js provides this
1764
- * convenience method. The only difference between this method and {@link request} is that it sets the method to GET by default and calls `req.end()` automatically. The callback must take care to
1751
+ * convenience method. The only difference between this method and {@link request} is that it sets the method to GET by default and calls `req.end()`automatically. The callback must take care to
1765
1752
  * consume the response
1766
1753
  * data for reasons stated in {@link ClientRequest} section.
1767
1754
  *
@@ -1822,7 +1809,7 @@ declare module "http" {
1822
1809
  function get(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest;
1823
1810
  function get(url: string | URL, options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest;
1824
1811
  /**
1825
- * Performs the low-level validations on the provided `name` that are done when `res.setHeader(name, value)` is called.
1812
+ * Performs the low-level validations on the provided `name` that are done when`res.setHeader(name, value)` is called.
1826
1813
  *
1827
1814
  * Passing illegal value as `name` will result in a `TypeError` being thrown,
1828
1815
  * identified by `code: 'ERR_INVALID_HTTP_TOKEN'`.
@@ -1848,7 +1835,7 @@ declare module "http" {
1848
1835
  */
1849
1836
  function validateHeaderName(name: string): void;
1850
1837
  /**
1851
- * Performs the low-level validations on the provided `value` that are done when `res.setHeader(name, value)` is called.
1838
+ * Performs the low-level validations on the provided `value` that are done when`res.setHeader(name, value)` is called.
1852
1839
  *
1853
1840
  * Passing illegal value as `value` will result in a `TypeError` being thrown.
1854
1841
  *
@@ -1890,12 +1877,6 @@ declare module "http" {
1890
1877
  * @param [max=1000]
1891
1878
  */
1892
1879
  function setMaxIdleHTTPParsers(max: number): void;
1893
- /**
1894
- * Global instance of `Agent` which is used as the default for all HTTP client
1895
- * requests. Diverges from a default `Agent` configuration by having `keepAlive`
1896
- * enabled and a `timeout` of 5 seconds.
1897
- * @since v0.5.9
1898
- */
1899
1880
  let globalAgent: Agent;
1900
1881
  /**
1901
1882
  * Read-only property specifying the maximum allowed size of HTTP headers in bytes.
node/http2.d.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  * const http2 = require('node:http2');
7
7
  * ```
8
8
  * @since v8.4.0
9
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/http2.js)
9
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/http2.js)
10
10
  */
11
11
  declare module "http2" {
12
12
  import EventEmitter = require("node:events");
node/https.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a
3
3
  * separate module.
4
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/https.js)
4
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/https.js)
5
5
  */
6
6
  declare module "https" {
7
7
  import { Duplex } from "node:stream";
node/inspector.d.ts CHANGED
@@ -20,7 +20,7 @@
20
20
  * ```js
21
21
  * import * as inspector from 'node:inspector';
22
22
  * ```
23
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/inspector.js)
23
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/inspector.js)
24
24
  */
25
25
  declare module 'inspector' {
26
26
  import EventEmitter = require('node:events');
node/net.d.ts CHANGED
@@ -10,7 +10,7 @@
10
10
  * ```js
11
11
  * const net = require('node:net');
12
12
  * ```
13
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/net.js)
13
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/net.js)
14
14
  */
15
15
  declare module "net" {
16
16
  import * as stream from "node:stream";
@@ -899,16 +899,13 @@ declare module "net" {
899
899
  function setDefaultAutoSelectFamily(value: boolean): void;
900
900
  /**
901
901
  * Gets the current default value of the `autoSelectFamilyAttemptTimeout` option of `socket.connect(options)`.
902
- * The initial default value is `250` or the value specified via the command line option `--network-family-autoselection-attempt-timeout`.
903
- * @returns The current default value of the `autoSelectFamilyAttemptTimeout` option.
904
- * @since v19.8.0, v18.8.0
902
+ * The initial default value is `250`.
903
+ * @since v19.8.0
905
904
  */
906
905
  function getDefaultAutoSelectFamilyAttemptTimeout(): number;
907
906
  /**
908
907
  * Sets the default value of the `autoSelectFamilyAttemptTimeout` option of `socket.connect(options)`.
909
- * @param value The new default value, which must be a positive number. If the number is less than `10`, the value `10` is used instead. The initial default value is `250` or the value specified via the command line
910
- * option `--network-family-autoselection-attempt-timeout`.
911
- * @since v19.8.0, v18.8.0
908
+ * @since v19.8.0
912
909
  */
913
910
  function setDefaultAutoSelectFamilyAttemptTimeout(value: number): void;
914
911
  /**
node/os.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * ```js
6
6
  * const os = require('node:os');
7
7
  * ```
8
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/os.js)
8
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/os.js)
9
9
  */
10
10
  declare module "os" {
11
11
  interface CpuInfo {
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.12.13",
3
+ "version": "20.12.14",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -212,6 +212,6 @@
212
212
  "dependencies": {
213
213
  "undici-types": "~5.26.4"
214
214
  },
215
- "typesPublisherContentHash": "2d891864cff33b08851d25357e4621359743e809c9666828090db9fe798326cc",
215
+ "typesPublisherContentHash": "402e23fae4726c16c2a42ec4d2c7348a15cefadefe71ba6808b89ecca3e73a79",
216
216
  "typeScriptVersion": "4.7"
217
217
  }
node/path.d.ts CHANGED
@@ -13,7 +13,7 @@ declare module "path/win32" {
13
13
  * ```js
14
14
  * const path = require('node:path');
15
15
  * ```
16
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/path.js)
16
+ * @see [source](https://github.com/nodejs/node/blob/v20.12.2/lib/path.js)
17
17
  */
18
18
  declare module "path" {
19
19
  namespace path {