You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@types/node

Package Overview
Dependencies
Maintainers
1
Versions
2315
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
18.19.98
to
18.19.99
+13
-0
node v18.19/fs/promises.d.ts

@@ -698,2 +698,15 @@ /**

/**
* Asynchronous readdir(3) - read a directory.
* @param path A path to a directory. If a URL is provided, it must use the `file:` protocol.
* @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
*/
function readdir(
path: PathLike,
options: {
encoding: "buffer";
withFileTypes: true;
recursive?: boolean | undefined;
},
): Promise<Dirent<Buffer>[]>;
/**
* Reads the contents of the symbolic link referred to by `path`. See the POSIX [`readlink(2)`](http://man7.org/linux/man-pages/man2/readlink.2.html) documentation for more detail. The promise is

@@ -700,0 +713,0 @@ * resolved with the`linkString` upon success.

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

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

"peerDependencies": {},
"typesPublisherContentHash": "029c23eb928a31851c24fd26aa9e01b0366185dbe35dc87c3f500e8d7cedf869",
"typesPublisherContentHash": "f11c3a08cb4992fd40b3bee9ba04f2354ee7ce1da17ed0476b4b0dde46174967",
"typeScriptVersion": "5.1"
}

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

### Additional Details
* Last updated: Wed, 07 May 2025 15:38:50 GMT
* Last updated: Thu, 08 May 2025 03:33:47 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