New:Socket for Asana Is Now Available.Learn more
Get Started

@types/node

Package Overview
Dependencies
Maintainers
1
Versions
2358
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
26.1.2
to
26.2.0
+0
-1
node/child_process.d.ts

@@ -230,3 +230,2 @@ declare module "node:child_process" {

* ```js
* 'use strict';
* import { spawn } from 'node:child_process';

@@ -233,0 +232,0 @@ *

+5
-5

@@ -493,3 +493,3 @@ declare module "node:dns" {

* order: 30,
* preference: 100
* preference: 100,
* }

@@ -551,3 +551,3 @@ * ```

* expire: 604800,
* minttl: 3600
* minttl: 3600,
* }

@@ -578,3 +578,3 @@ * ```

* port: 21223,
* name: 'service.example.com'
* name: 'service.example.com',
* }

@@ -606,3 +606,3 @@ * ```

* match: 1,
* data: [ArrayBuffer]
* data: [ArrayBuffer],
* }

@@ -657,3 +657,3 @@ * ```

* expire: 1800,
* minttl: 60 } ]
* minttl: 60 } ];
* ```

@@ -660,0 +660,0 @@ *

@@ -186,3 +186,3 @@ declare module "node:dns/promises" {

* expire: 1800,
* minttl: 60 } ]
* minttl: 60 } ];
* ```

@@ -230,3 +230,3 @@ * @since v10.6.0

* order: 30,
* preference: 100
* preference: 100,
* }

@@ -270,3 +270,3 @@ * ```

* expire: 604800,
* minttl: 3600
* minttl: 3600,
* }

@@ -291,3 +291,3 @@ * ```

* port: 21223,
* name: 'service.example.com'
* name: 'service.example.com',
* }

@@ -313,3 +313,3 @@ * ```

* match: 1,
* data: [ArrayBuffer]
* data: [ArrayBuffer],
* }

@@ -316,0 +316,0 @@ * ```

@@ -125,3 +125,3 @@ declare module "node:os" {

* },
* ]
* ];
* ```

@@ -171,40 +171,40 @@ *

*
* ```js
* ```json
* {
* lo: [
* "lo": [
* {
* address: '127.0.0.1',
* netmask: '255.0.0.0',
* family: 'IPv4',
* mac: '00:00:00:00:00:00',
* internal: true,
* cidr: '127.0.0.1/8'
* "address:": "127.0.0.1",
* "netmask:": "255.0.0.0",
* "family:": "IPv4",
* "mac:": "00:00:00:00:00:00",
* "internal:": true,
* "cidr:": "127.0.0.1/8"
* },
* {
* address: '::1',
* netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
* family: 'IPv6',
* mac: '00:00:00:00:00:00',
* scopeid: 0,
* internal: true,
* cidr: '::1/128'
* "address:": "::1",
* "netmask:": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
* "family:": "IPv6",
* "mac:": "00:00:00:00:00:00",
* "scopeid:": 0,
* "internal:": true,
* "cidr:": "::1/128"
* }
* ],
* eth0: [
* "eth0": [
* {
* address: '192.168.1.108',
* netmask: '255.255.255.0',
* family: 'IPv4',
* mac: '01:02:03:0a:0b:0c',
* internal: false,
* cidr: '192.168.1.108/24'
* "address:": "192.168.1.108",
* "netmask:": "255.255.255.0",
* "family:": "IPv4",
* "mac:": "01:02:03:0a:0b:0c",
* "internal:": false,
* "cidr:": "192.168.1.108/24"
* },
* {
* address: 'fe80::a00:27ff:fe4e:66a1',
* netmask: 'ffff:ffff:ffff:ffff::',
* family: 'IPv6',
* mac: '01:02:03:0a:0b:0c',
* scopeid: 1,
* internal: false,
* cidr: 'fe80::a00:27ff:fe4e:66a1/64'
* "address:": "fe80::a00:27ff:fe4e:66a1",
* "netmask:": "ffff:ffff:ffff:ffff::",
* "family:": "IPv6",
* "mac:": "01:02:03:0a:0b:0c",
* "scopeid:": 1,
* "internal:": false,
* "cidr:": "fe80::a00:27ff:fe4e:66a1/64"
* }

@@ -211,0 +211,0 @@ * ]

{
"name": "@types/node",
"version": "26.1.2",
"version": "26.2.0",
"description": "TypeScript definitions for node",

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

"peerDependencies": {},
"typesPublisherContentHash": "359a01a58cecf5a30fb7b7a7b10c4f5c332339421ef5cbc9932fc492f472a5b4",
"typesPublisherContentHash": "e8c7e12bafdd8ff8648e4d416be7af2d4373bffe17a7498d815e251898739e7c",
"typeScriptVersion": "5.6"
}

@@ -14,2 +14,3 @@ declare module "node:perf_hooks" {

| "node" // Node.js only
| "quic" // Node.js only
| "resource"; // available on the Web

@@ -218,3 +219,3 @@ interface ConnectionTimingInfo {

readonly detail: any;
readonly entryType: "dns" | "function" | "gc" | "http2" | "http" | "net" | "node";
readonly entryType: "dns" | "function" | "gc" | "http2" | "http" | "net" | "node" | "quic";
}

@@ -221,0 +222,0 @@ interface UVMetrics {

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

### Additional Details
* Last updated: Mon, 27 Jul 2026 17:32:10 GMT
* Last updated: Fri, 07 Aug 2026 17:46:44 GMT
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)

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

@@ -301,6 +301,19 @@ declare module "node:sqlite" {

* `allowExtension` option when constructing the `DatabaseSync` instance.
*
* ```js
* import { DatabaseSync } from 'node:sqlite';
* const database = new DatabaseSync(':memory:', { allowExtension: true });
*
* // Load using the entry point derived from the filename.
* database.loadExtension('./decimal.dylib');
*
* // Override the entry point when the derived name does not match.
* database.loadExtension('./base64.dylib', 'sqlite3_base64_init');
* @since v22.13.0
* @param path The path to the shared library to load.
* @param entryPoint The name of the extension's entry-point function. When
* omitted, SQLite derives the entry point from the shared library's filename;
* pass this argument explicitly when the derived name does not match.
*/
loadExtension(path: string): void;
loadExtension(path: string, entryPoint?: string): void;
/**

@@ -307,0 +320,0 @@ * Enables or disables the `loadExtension` SQL function, and the `loadExtension()`

@@ -314,4 +314,5 @@ declare module "node:stream/iter" {

*
* The result is cached per instance -- calling `fromWritable()` twice with the
* same stream returns the same Writer.
* The result is cached per instance and backpressure policy -- calling
* `fromWritable()` twice with the same stream and `backpressure` option returns
* the same Writer.
*

@@ -318,0 +319,0 @@ * For duck-typed streams that do not expose `writableHighWaterMark`,

@@ -92,19 +92,18 @@ declare module "node:v8" {

*
* ```js
* ```json
* {
* total_heap_size: 7326976,
* total_heap_size_executable: 4194304,
* total_physical_size: 7326976,
* total_available_size: 1152656,
* used_heap_size: 3476208,
* heap_size_limit: 1535115264,
* malloced_memory: 16384,
* peak_malloced_memory: 1127496,
* does_zap_garbage: 0,
* number_of_native_contexts: 1,
* number_of_detached_contexts: 0,
* total_global_handles_size: 8192,
* used_global_handles_size: 3296,
* external_memory: 318824,
* total_allocated_bytes: 45224088
* "total_heap_size": 7326976,
* "total_heap_size_executable": 4194304,
* "total_physical_size": 7326976,
* "total_available_size": 1152656,
* "used_heap_size": 3476208,
* "heap_size_limit": 1535115264,
* "malloced_memory": 16384,
* "peak_malloced_memory": 1127496,
* "does_zap_garbage": 0,
* "number_of_native_contexts": 1,
* "number_of_detached_contexts": 0,
* "total_global_handles_size": 8192,
* "used_global_handles_size": 3296,
* "external_memory": 318824
* }

@@ -390,8 +389,8 @@ * ```

*
* ```js
* ```json
* {
* code_and_metadata_size: 212208,
* bytecode_and_metadata_size: 161368,
* external_script_source_size: 1410794,
* cpu_profiler_metadata_size: 0,
* "code_and_metadata_size": 212208,
* "bytecode_and_metadata_size": 161368,
* "external_script_source_size": 1410794,
* "cpu_profiler_metadata_size": 0
* }

@@ -968,4 +967,2 @@ * ```

* ```js
* 'use strict';
*
* import fs from 'node:fs';

@@ -972,0 +969,0 @@ * import zlib from 'node:zlib';

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

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

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

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

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

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

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