diff --git a/node_modules/@types/node/README.md b/node_modules/@types/node/README.md
index e6ef09ea..c8c8ff23 100755
--- a/node_modules/@types/node/README.md
+++ b/node_modules/@types/node/README.md
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
### Additional Details
- * Last updated: Wed, 15 Dec 2021 21:31:06 GMT
+ * Last updated: Tue, 04 Jan 2022 18:31:31 GMT
* Dependencies: none
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
diff --git a/node_modules/@types/node/globals.d.ts b/node_modules/@types/node/globals.d.ts
index ae974db7..4533f1cb 100755
--- a/node_modules/@types/node/globals.d.ts
+++ b/node_modules/@types/node/globals.d.ts
@@ -205,9 +205,9 @@ declare namespace NodeJS {
writable: boolean;
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
- end(cb?: () => void): void;
- end(data: string | Uint8Array, cb?: () => void): void;
- end(str: string, encoding?: BufferEncoding, cb?: () => void): void;
+ end(cb?: () => void): this;
+ end(data: string | Uint8Array, cb?: () => void): this;
+ end(str: string, encoding?: BufferEncoding, cb?: () => void): this;
}
interface ReadWriteStream extends ReadableStream, WritableStream { }
diff --git a/node_modules/@types/node/http.d.ts b/node_modules/@types/node/http.d.ts
index 628dc347..36c6f75b 100755
--- a/node_modules/@types/node/http.d.ts
+++ b/node_modules/@types/node/http.d.ts
@@ -778,7 +778,7 @@ declare module 'http' {
* The `message.aborted` property will be `true` if the request has
* been aborted.
* @since v10.1.0
- * @deprecated Since v17.0.0 - Check `message.destroyed` from stream.Readable.
+ * @deprecated Since v17.0.0 - Check `message.destroyed` from [stream.Readable](https://nodejs.org/dist/latest-v17.x/docs/api/stream.html#class-streamreadable).
*/
aborted: boolean;
/**
@@ -966,7 +966,7 @@ declare module 'http' {
* as an argument to any listeners on the event.
* @since v0.3.0
*/
- destroy(error?: Error): void;
+ destroy(error?: Error): this;
}
interface AgentOptions extends Partial {
/**
diff --git a/node_modules/@types/node/http2.d.ts b/node_modules/@types/node/http2.d.ts
index c370c49f..1166c908 100755
--- a/node_modules/@types/node/http2.d.ts
+++ b/node_modules/@types/node/http2.d.ts
@@ -1349,7 +1349,7 @@ declare module 'http2' {
* ```
* @since v8.4.0
*/
- readonly url: string;
+ url: string;
/**
* Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is
* provided, then it is added as a listener on the `'timeout'` event on
@@ -1516,9 +1516,9 @@ declare module 'http2' {
* is finished.
* @since v8.4.0
*/
- end(callback?: () => void): void;
- end(data: string | Uint8Array, callback?: () => void): void;
- end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): void;
+ end(callback?: () => void): this;
+ end(data: string | Uint8Array, callback?: () => void): this;
+ end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): this;
/**
* Reads out a header that has already been queued but not sent to the client.
* The name is case-insensitive.
diff --git a/node_modules/@types/node/net.d.ts b/node_modules/@types/node/net.d.ts
index 50390990..f24b16ca 100755
--- a/node_modules/@types/node/net.d.ts
+++ b/node_modules/@types/node/net.d.ts
@@ -27,6 +27,7 @@ declare module 'net' {
allowHalfOpen?: boolean | undefined;
readable?: boolean | undefined;
writable?: boolean | undefined;
+ signal?: AbortSignal;
}
interface OnReadOpts {
buffer: Uint8Array | (() => Uint8Array);
@@ -287,9 +288,9 @@ declare module 'net' {
* @param callback Optional callback for when the socket is finished.
* @return The socket itself.
*/
- end(callback?: () => void): void;
- end(buffer: Uint8Array | string, callback?: () => void): void;
- end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): void;
+ end(callback?: () => void): this;
+ end(buffer: Uint8Array | string, callback?: () => void): this;
+ end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): this;
/**
* events.EventEmitter
* 1. close
diff --git a/node_modules/@types/node/package.json b/node_modules/@types/node/package.json
index 19712712..d3dd7087 100755
--- a/node_modules/@types/node/package.json
+++ b/node_modules/@types/node/package.json
@@ -1,6 +1,6 @@
{
"name": "@types/node",
- "version": "17.0.0",
+ "version": "17.0.8",
"description": "TypeScript definitions for Node.js",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
"license": "MIT",
@@ -225,6 +225,6 @@
},
"scripts": {},
"dependencies": {},
- "typesPublisherContentHash": "6a6a3a40242455c8b732c50c33bcbbd96f68ccf65d366fbd96a6773223877826",
+ "typesPublisherContentHash": "133a958e0122898f222d66bf1e776d90a38ee878a694bbe229cf5e02db71deef",
"typeScriptVersion": "3.8"
}
\ No newline at end of file
diff --git a/node_modules/@types/node/path.d.ts b/node_modules/@types/node/path.d.ts
index 9779ce8d..c19dce83 100755
--- a/node_modules/@types/node/path.d.ts
+++ b/node_modules/@types/node/path.d.ts
@@ -170,3 +170,11 @@ declare module 'node:path' {
import path = require('path');
export = path;
}
+declare module 'node:path/posix' {
+ import path = require('path/posix');
+ export = path;
+}
+declare module 'node:path/win32' {
+ import path = require('path/win32');
+ export = path;
+}
diff --git a/node_modules/@types/node/perf_hooks.d.ts b/node_modules/@types/node/perf_hooks.d.ts
index 2f1fd1a7..7d1e0b34 100755
--- a/node_modules/@types/node/perf_hooks.d.ts
+++ b/node_modules/@types/node/perf_hooks.d.ts
@@ -397,9 +397,11 @@ declare module 'perf_hooks' {
options:
| {
entryTypes: ReadonlyArray;
+ buffered?: boolean | undefined;
}
| {
type: EntryType;
+ buffered?: boolean | undefined;
}
): void;
}
diff --git a/node_modules/@types/node/process.d.ts b/node_modules/@types/node/process.d.ts
index 30cca6d2..2d0ef862 100755
--- a/node_modules/@types/node/process.d.ts
+++ b/node_modules/@types/node/process.d.ts
@@ -146,7 +146,7 @@ declare module 'process' {
/**
* If true, a diagnostic report is generated when the process
* receives the signal specified by process.report.signal.
- * @defaul false
+ * @default false
*/
reportOnSignal: boolean;
/**
diff --git a/node_modules/@types/node/stream.d.ts b/node_modules/@types/node/stream.d.ts
index 6ec60e7a..7edc7bfa 100755
--- a/node_modules/@types/node/stream.d.ts
+++ b/node_modules/@types/node/stream.d.ts
@@ -408,7 +408,7 @@ declare module 'stream' {
* @since v8.0.0
* @param error Error which will be passed as payload in `'error'` event
*/
- destroy(error?: Error): void;
+ destroy(error?: Error): this;
/**
* Event emitter
* The defined events on documents including:
@@ -639,9 +639,9 @@ declare module 'stream' {
* @param encoding The encoding if `chunk` is a string
* @param callback Callback for when the stream is finished.
*/
- end(cb?: () => void): void;
- end(chunk: any, cb?: () => void): void;
- end(chunk: any, encoding: BufferEncoding, cb?: () => void): void;
+ end(cb?: () => void): this;
+ end(chunk: any, cb?: () => void): this;
+ end(chunk: any, encoding: BufferEncoding, cb?: () => void): this;
/**
* The `writable.cork()` method forces all written data to be buffered in memory.
* The buffered data will be flushed when either the {@link uncork} or {@link end} methods are called.
@@ -707,7 +707,7 @@ declare module 'stream' {
* @since v8.0.0
* @param error Optional, an error to emit with `'error'` event.
*/
- destroy(error?: Error): void;
+ destroy(error?: Error): this;
/**
* Event emitter
* The defined events on documents including:
@@ -853,9 +853,9 @@ declare module 'stream' {
write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean;
write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean;
setDefaultEncoding(encoding: BufferEncoding): this;
- end(cb?: () => void): void;
- end(chunk: any, cb?: () => void): void;
- end(chunk: any, encoding?: BufferEncoding, cb?: () => void): void;
+ end(cb?: () => void): this;
+ end(chunk: any, cb?: () => void): this;
+ end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this;
cork(): void;
uncork(): void;
}
diff --git a/node_modules/@types/node/tls.d.ts b/node_modules/@types/node/tls.d.ts
index 8ff920d8..3d7c682e 100755
--- a/node_modules/@types/node/tls.d.ts
+++ b/node_modules/@types/node/tls.d.ts
@@ -11,6 +11,7 @@
declare module 'tls' {
import { X509Certificate } from 'node:crypto';
import * as net from 'node:net';
+ import * as stream from 'stream';
const CLIENT_RENEG_LIMIT: number;
const CLIENT_RENEG_WINDOW: number;
interface Certificate {
@@ -516,7 +517,7 @@ declare module 'tls' {
host?: string | undefined;
port?: number | undefined;
path?: string | undefined; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored.
- socket?: net.Socket | undefined; // Establish secure connection on a given socket rather than creating a new socket
+ socket?: stream.Duplex | undefined; // Establish secure connection on a given socket rather than creating a new socket
checkServerIdentity?: typeof checkServerIdentity | undefined;
servername?: string | undefined; // SNI TLS Extension
session?: Buffer | undefined;