@types/node 13.1.3 → 13.1.7
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/globals.d.ts +2 -2
- node/module.d.ts +4 -3
- node/package.json +2 -2
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://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:
|
|
11
|
+
* Last updated: Wed, 15 Jan 2020 08:04:08 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
node/crypto.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ declare module "crypto" {
|
|
|
165
165
|
type: KeyObjectType;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
type CipherCCMTypes = 'aes-128-ccm' | 'aes-192-ccm' | 'aes-256-ccm';
|
|
168
|
+
type CipherCCMTypes = 'aes-128-ccm' | 'aes-192-ccm' | 'aes-256-ccm' | 'chacha20-poly1305';
|
|
169
169
|
type CipherGCMTypes = 'aes-128-gcm' | 'aes-192-gcm' | 'aes-256-gcm';
|
|
170
170
|
|
|
171
171
|
type BinaryLike = string | NodeJS.ArrayBufferView;
|
node/globals.d.ts
CHANGED
|
@@ -164,8 +164,8 @@ declare function clearImmediate(immediateId: NodeJS.Immediate): void;
|
|
|
164
164
|
|
|
165
165
|
declare function queueMicrotask(callback: () => void): void;
|
|
166
166
|
|
|
167
|
-
declare var require:
|
|
168
|
-
declare var module:
|
|
167
|
+
declare var require: NodeRequire;
|
|
168
|
+
declare var module: NodeModule;
|
|
169
169
|
|
|
170
170
|
// Same as module.exports
|
|
171
171
|
declare var exports: any;
|
node/module.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare module "module" {
|
|
2
2
|
import { URL } from "url";
|
|
3
|
-
|
|
3
|
+
namespace Module {}
|
|
4
|
+
interface Module extends NodeModule {}
|
|
4
5
|
class Module {
|
|
5
6
|
static runMain(): void;
|
|
6
7
|
static wrap(code: string): string;
|
|
@@ -8,8 +9,8 @@ declare module "module" {
|
|
|
8
9
|
/**
|
|
9
10
|
* @deprecated Deprecated since: v12.2.0. Please use createRequire() instead.
|
|
10
11
|
*/
|
|
11
|
-
static createRequireFromPath(path: string):
|
|
12
|
-
static createRequire(path: string | URL):
|
|
12
|
+
static createRequireFromPath(path: string): NodeRequire;
|
|
13
|
+
static createRequire(path: string | URL): NodeRequire;
|
|
13
14
|
static builtinModules: string[];
|
|
14
15
|
|
|
15
16
|
static Module: typeof Module;
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.7",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -226,6 +226,6 @@
|
|
|
226
226
|
},
|
|
227
227
|
"scripts": {},
|
|
228
228
|
"dependencies": {},
|
|
229
|
-
"typesPublisherContentHash": "
|
|
229
|
+
"typesPublisherContentHash": "ef96e7176944a38c144b9f139a829cfbd8984f2ff7a0f4cbe02a0845e9e10706",
|
|
230
230
|
"typeScriptVersion": "2.8"
|
|
231
231
|
}
|