@types/node 18.19.31 → 18.19.33
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 v18.19/README.md +1 -1
- node v18.19/fs.d.ts +6 -0
- node v18.19/package.json +2 -2
- node v18.19/test.d.ts +2 -2
node v18.19/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v18.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 08 May 2024 12:09:52 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v18.19/fs.d.ts
CHANGED
|
@@ -222,7 +222,13 @@ declare module "fs" {
|
|
|
222
222
|
name: string;
|
|
223
223
|
/**
|
|
224
224
|
* The base path that this `fs.Dirent` object refers to.
|
|
225
|
+
* @since v18.20.0
|
|
226
|
+
*/
|
|
227
|
+
parentPath: string;
|
|
228
|
+
/**
|
|
229
|
+
* Alias for `dirent.parentPath`.
|
|
225
230
|
* @since v18.17.0
|
|
231
|
+
* @deprecated Since v18.20.0
|
|
226
232
|
*/
|
|
227
233
|
path: string;
|
|
228
234
|
}
|
node v18.19/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.19.
|
|
3
|
+
"version": "18.19.33",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -217,6 +217,6 @@
|
|
|
217
217
|
"dependencies": {
|
|
218
218
|
"undici-types": "~5.26.4"
|
|
219
219
|
},
|
|
220
|
-
"typesPublisherContentHash": "
|
|
220
|
+
"typesPublisherContentHash": "ad39795b5925fcdba52d8abf76cf871d27ae7244312da29dae5f8c753245252b",
|
|
221
221
|
"typeScriptVersion": "4.7"
|
|
222
222
|
}
|
node v18.19/test.d.ts
CHANGED
|
@@ -298,7 +298,7 @@ declare module "node:test" {
|
|
|
298
298
|
* test runner. However, the `TestContext` constructor is not exposed as part of the API.
|
|
299
299
|
* @since v18.0.0
|
|
300
300
|
*/
|
|
301
|
-
interface TestContext {
|
|
301
|
+
export interface TestContext {
|
|
302
302
|
/**
|
|
303
303
|
* This function is used to create a hook running before subtest of the current test.
|
|
304
304
|
* @param fn The hook function. If the hook uses callbacks, the callback function is passed as
|
|
@@ -407,7 +407,7 @@ declare module "node:test" {
|
|
|
407
407
|
* exposed as part of the API.
|
|
408
408
|
* @since v18.7.0, v16.17.0
|
|
409
409
|
*/
|
|
410
|
-
|
|
410
|
+
export interface SuiteContext {
|
|
411
411
|
/**
|
|
412
412
|
* The name of the suite.
|
|
413
413
|
* @since v18.8.0, v16.18.0
|