@types/node 20.11.1 → 20.11.3
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/README.md +1 -1
- node/crypto.d.ts +1 -1
- node/module.d.ts +2 -2
- node/package.json +2 -2
- node/ts4.8/crypto.d.ts +1 -1
- node/ts4.8/module.d.ts +2 -2
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, 15 Jan 2024
|
|
11
|
+
* Last updated: Mon, 15 Jan 2024 21:35:33 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node/crypto.d.ts
CHANGED
|
@@ -363,7 +363,7 @@ declare module "crypto" {
|
|
|
363
363
|
* @since v13.1.0
|
|
364
364
|
* @param options `stream.transform` options
|
|
365
365
|
*/
|
|
366
|
-
copy(options?:
|
|
366
|
+
copy(options?: HashOptions): Hash;
|
|
367
367
|
/**
|
|
368
368
|
* Updates the hash content with the given `data`, the encoding of which
|
|
369
369
|
* is given in `inputEncoding`.
|
node/module.d.ts
CHANGED
|
@@ -280,13 +280,13 @@ declare module "module" {
|
|
|
280
280
|
* The directory name of the current module. This is the same as the `path.dirname()` of the `import.meta.filename`.
|
|
281
281
|
* **Caveat:** only present on `file:` modules.
|
|
282
282
|
*/
|
|
283
|
-
dirname
|
|
283
|
+
dirname: string;
|
|
284
284
|
/**
|
|
285
285
|
* The full absolute path and filename of the current module, with symlinks resolved.
|
|
286
286
|
* This is the same as the `url.fileURLToPath()` of the `import.meta.url`.
|
|
287
287
|
* **Caveat:** only local modules support this property. Modules not using the `file:` protocol will not provide it.
|
|
288
288
|
*/
|
|
289
|
-
filename
|
|
289
|
+
filename: string;
|
|
290
290
|
/**
|
|
291
291
|
* The absolute `file:` URL of the module.
|
|
292
292
|
*/
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "20.11.
|
|
3
|
+
"version": "20.11.3",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
"dependencies": {
|
|
225
225
|
"undici-types": "~5.26.4"
|
|
226
226
|
},
|
|
227
|
-
"typesPublisherContentHash": "
|
|
227
|
+
"typesPublisherContentHash": "66df1ea212bb8fccec491d2f2693114de8a75af1d23078e45a3f1667b7dba00d",
|
|
228
228
|
"typeScriptVersion": "4.6",
|
|
229
229
|
"nonNpm": true
|
|
230
230
|
}
|
node/ts4.8/crypto.d.ts
CHANGED
|
@@ -363,7 +363,7 @@ declare module "crypto" {
|
|
|
363
363
|
* @since v13.1.0
|
|
364
364
|
* @param options `stream.transform` options
|
|
365
365
|
*/
|
|
366
|
-
copy(options?:
|
|
366
|
+
copy(options?: HashOptions): Hash;
|
|
367
367
|
/**
|
|
368
368
|
* Updates the hash content with the given `data`, the encoding of which
|
|
369
369
|
* is given in `inputEncoding`.
|
node/ts4.8/module.d.ts
CHANGED
|
@@ -280,13 +280,13 @@ declare module "module" {
|
|
|
280
280
|
* The directory name of the current module. This is the same as the `path.dirname()` of the `import.meta.filename`.
|
|
281
281
|
* **Caveat:** only present on `file:` modules.
|
|
282
282
|
*/
|
|
283
|
-
dirname
|
|
283
|
+
dirname: string;
|
|
284
284
|
/**
|
|
285
285
|
* The full absolute path and filename of the current module, with symlinks resolved.
|
|
286
286
|
* This is the same as the `url.fileURLToPath()` of the `import.meta.url`.
|
|
287
287
|
* **Caveat:** only local modules support this property. Modules not using the `file:` protocol will not provide it.
|
|
288
288
|
*/
|
|
289
|
-
filename
|
|
289
|
+
filename: string;
|
|
290
290
|
/**
|
|
291
291
|
* The absolute `file:` URL of the module.
|
|
292
292
|
*/
|