@types/node 16.18.11 → 16.18.13
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 v16.18/README.md +1 -1
- node v16.18/crypto.d.ts +2 -0
- node v16.18/module.d.ts +1 -0
- node v16.18/package.json +2 -2
- node v16.18/ts4.8/module.d.ts +1 -0
node v16.18/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v16.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Sun, 26 Feb 2023 19:32:43 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
node v16.18/crypto.d.ts
CHANGED
|
@@ -1159,11 +1159,13 @@ declare module 'crypto' {
|
|
|
1159
1159
|
format?: KeyFormat | undefined;
|
|
1160
1160
|
type?: 'pkcs1' | 'pkcs8' | 'sec1' | undefined;
|
|
1161
1161
|
passphrase?: string | Buffer | undefined;
|
|
1162
|
+
encoding?: string | undefined;
|
|
1162
1163
|
}
|
|
1163
1164
|
interface PublicKeyInput {
|
|
1164
1165
|
key: string | Buffer;
|
|
1165
1166
|
format?: KeyFormat | undefined;
|
|
1166
1167
|
type?: 'pkcs1' | 'spki' | undefined;
|
|
1168
|
+
encoding?: string | undefined;
|
|
1167
1169
|
}
|
|
1168
1170
|
/**
|
|
1169
1171
|
* Asynchronously generates a new random secret key of the given `length`. The`type` will determine which validations will be performed on the `length`.
|
node v16.18/module.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ declare module 'module' {
|
|
|
85
85
|
static wrap(code: string): string;
|
|
86
86
|
static createRequire(path: string | URL): NodeRequire;
|
|
87
87
|
static builtinModules: string[];
|
|
88
|
+
static isBuiltin(moduleName: string): boolean;
|
|
88
89
|
static Module: typeof Module;
|
|
89
90
|
constructor(id: string, parent?: Module);
|
|
90
91
|
}
|
node v16.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.18.
|
|
3
|
+
"version": "16.18.13",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -227,6 +227,6 @@
|
|
|
227
227
|
},
|
|
228
228
|
"scripts": {},
|
|
229
229
|
"dependencies": {},
|
|
230
|
-
"typesPublisherContentHash": "
|
|
230
|
+
"typesPublisherContentHash": "2f1779a9ca5b482d7852b4d81afb31c3d486e9bda007b412a0fce48ec448ab83",
|
|
231
231
|
"typeScriptVersion": "4.2"
|
|
232
232
|
}
|
node v16.18/ts4.8/module.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ declare module 'module' {
|
|
|
85
85
|
static wrap(code: string): string;
|
|
86
86
|
static createRequire(path: string | URL): NodeRequire;
|
|
87
87
|
static builtinModules: string[];
|
|
88
|
+
static isBuiltin(moduleName: string): boolean;
|
|
88
89
|
static Module: typeof Module;
|
|
89
90
|
constructor(id: string, parent?: Module);
|
|
90
91
|
}
|