New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@types/node

Package Overview
Dependencies
Maintainers
1
Versions
2323
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/node - npm Package Compare versions

Comparing version
22.19.16
to
22.19.17
+21
-2
node v22.19/net.d.ts

@@ -111,5 +111,10 @@ /**

* @since v0.1.90
*/
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
/**
* Sends data on the socket, with an explicit encoding for string data.
* @see {@link Socket.write} for full details.
* @since v0.1.90
* @param [encoding='utf8'] Only used when data is `string`.
*/
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;

@@ -354,3 +359,2 @@ /**

* @since v0.1.90
* @param [encoding='utf8'] Only used when data is `string`.
* @param callback Optional callback for when the socket is finished.

@@ -360,3 +364,18 @@ * @return The socket itself.

end(callback?: () => void): this;
/**
* Half-closes the socket, with one final chunk of data.
* @see {@link Socket.end} for full details.
* @since v0.1.90
* @param callback Optional callback for when the socket is finished.
* @return The socket itself.
*/
end(buffer: Uint8Array | string, callback?: () => void): this;
/**
* Half-closes the socket, with one final chunk of data.
* @see {@link Socket.end} for full details.
* @since v0.1.90
* @param [encoding='utf8'] Only used when data is `string`.
* @param callback Optional callback for when the socket is finished.
* @return The socket itself.
*/
end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): this;

@@ -363,0 +382,0 @@ /**

+2
-2
{
"name": "@types/node",
"version": "22.19.16",
"version": "22.19.17",
"description": "TypeScript definitions for node",

@@ -143,4 +143,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",

"peerDependencies": {},
"typesPublisherContentHash": "736f0175b429fadecae744cc3716068071696315adfb11c8a79d63649c0581c3",
"typesPublisherContentHash": "3ff369a303a30a35cbff13aa6763f9465d48e5b0ee79675ae060a4eecfb0d9e3",
"typeScriptVersion": "5.3"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 03 Apr 2026 09:18:15 GMT
* Last updated: Fri, 03 Apr 2026 11:14:41 GMT
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)

@@ -14,0 +14,0 @@

Sorry, the diff of this file is too big to display