@types/node 20.12.9 → 20.12.11

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.
Files changed (4) hide show
  1. node/README.md +1 -1
  2. node/fs.d.ts +6 -0
  3. node/package.json +2 -2
  4. node/test.d.ts +3 -0
node/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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 06 May 2024 14:07:34 GMT
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/fs.d.ts CHANGED
@@ -242,7 +242,13 @@ declare module "fs" {
242
242
  name: string;
243
243
  /**
244
244
  * The base path that this `fs.Dirent` object refers to.
245
+ * @since v20.12.0
246
+ */
247
+ parentPath: string;
248
+ /**
249
+ * Alias for `dirent.parentPath`.
245
250
  * @since v20.1.0
251
+ * @deprecated Since v20.12.0
246
252
  */
247
253
  path: string;
248
254
  }
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.12.9",
3
+ "version": "20.12.11",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -212,6 +212,6 @@
212
212
  "dependencies": {
213
213
  "undici-types": "~5.26.4"
214
214
  },
215
- "typesPublisherContentHash": "e2928530ca9e17aba7534c840c2ef692da1ac9f35810d5ac1955b8c3b2f2fbc5",
215
+ "typesPublisherContentHash": "3c6750c01df9bf9654e033bbfe80e7598cdc02093dff2896bca92bc4e1911134",
216
216
  "typeScriptVersion": "4.7"
217
217
  }
node/test.d.ts CHANGED
@@ -517,6 +517,7 @@ declare module "node:test" {
517
517
  */
518
518
  readonly mock: MockTracker;
519
519
  }
520
+
520
521
  /**
521
522
  * An instance of `SuiteContext` is passed to each suite function in order to
522
523
  * interact with the test runner. However, the `SuiteContext` constructor is not
@@ -1246,8 +1247,10 @@ declare module "node:test" {
1246
1247
  only,
1247
1248
  run,
1248
1249
  skip,
1250
+ SuiteContext,
1249
1251
  test,
1250
1252
  test as default,
1253
+ TestContext,
1251
1254
  todo,
1252
1255
  };
1253
1256
  }