@types/node 9.6.4 → 9.6.5
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 +2 -2
- node/index.d.ts +4 -6
- node/package.json +7 -2
node/README.md
CHANGED
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (http://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 13 Apr 2018 16:28:47 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: Buffer, NodeJS, SlowBuffer, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>, Parambir Singh <https://github.com/parambirs>, Christian Vaagland Tellnes <https://github.com/tellnes>, Wilco Bakker <https://github.com/WilcoBakker>, Nicolas Voigt <https://github.com/octo-sniffle>, Chigozirim C. <https://github.com/smac89>, Flarna <https://github.com/Flarna>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, wwwy3y3 <https://github.com/wwwy3y3>, Deividas Bakanas <https://github.com/DeividasBakanas>, Kelvin Jin <https://github.com/kjin>, Alvis HT Tang <https://github.com/alvis>, Oliver Joseph Ash <https://github.com/OliverJAsh>, Sebastian Silbermann <https://github.com/eps1lon>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Alberto Schiabel <https://github.com/jkomyno>, Klaus Meinhardt <https://github.com/ajafff>, Huw <https://github.com/hoo29>, Nicolas Even <https://github.com/n-e>, Mohsen Azimi <https://github.com/mohsen1>, Hoàng Văn Khải <https://github.com/KSXGitHub>.
|
|
16
|
+
These definitions were written by Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>, Parambir Singh <https://github.com/parambirs>, Christian Vaagland Tellnes <https://github.com/tellnes>, Wilco Bakker <https://github.com/WilcoBakker>, Nicolas Voigt <https://github.com/octo-sniffle>, Chigozirim C. <https://github.com/smac89>, Flarna <https://github.com/Flarna>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, wwwy3y3 <https://github.com/wwwy3y3>, Deividas Bakanas <https://github.com/DeividasBakanas>, Kelvin Jin <https://github.com/kjin>, Alvis HT Tang <https://github.com/alvis>, Oliver Joseph Ash <https://github.com/OliverJAsh>, Sebastian Silbermann <https://github.com/eps1lon>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Alberto Schiabel <https://github.com/jkomyno>, Klaus Meinhardt <https://github.com/ajafff>, Huw <https://github.com/hoo29>, Nicolas Even <https://github.com/n-e>, Mohsen Azimi <https://github.com/mohsen1>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Alexander T. <https://github.com/a-tarasyuk>.
|
node/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
// Nicolas Even <https://github.com/n-e>
|
|
23
23
|
// Mohsen Azimi <https://github.com/mohsen1>
|
|
24
24
|
// Hoàng Văn Khải <https://github.com/KSXGitHub>
|
|
25
|
+
// Alexander T. <https://github.com/a-tarasyuk>
|
|
25
26
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
26
27
|
|
|
27
28
|
/** inspector module types */
|
|
@@ -218,10 +219,6 @@ declare var Buffer: {
|
|
|
218
219
|
*/
|
|
219
220
|
new(buffer: Buffer): Buffer;
|
|
220
221
|
prototype: Buffer;
|
|
221
|
-
/**
|
|
222
|
-
* Allocates a new Buffer using an {array} of octets.
|
|
223
|
-
*/
|
|
224
|
-
from(array: any[]): Buffer;
|
|
225
222
|
/**
|
|
226
223
|
* When passed a reference to the .buffer property of a TypedArray instance,
|
|
227
224
|
* the newly created Buffer will share the same allocated memory as the TypedArray.
|
|
@@ -232,9 +229,10 @@ declare var Buffer: {
|
|
|
232
229
|
*/
|
|
233
230
|
from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
|
|
234
231
|
/**
|
|
235
|
-
*
|
|
232
|
+
* Creates a new Buffer using the passed {data}
|
|
233
|
+
* @param data data to create a new Buffer
|
|
236
234
|
*/
|
|
237
|
-
from(
|
|
235
|
+
from(data: any[] | string | Buffer | ArrayBuffer /*| TypedArray*/): Buffer;
|
|
238
236
|
/**
|
|
239
237
|
* Creates a new Buffer containing the given JavaScript string {str}.
|
|
240
238
|
* If provided, the {encoding} parameter identifies the character encoding.
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "9.6.
|
|
3
|
+
"version": "9.6.5",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -111,6 +111,11 @@
|
|
|
111
111
|
"name": "Hoàng Văn Khải",
|
|
112
112
|
"url": "https://github.com/KSXGitHub",
|
|
113
113
|
"githubUsername": "KSXGitHub"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "Alexander T.",
|
|
117
|
+
"url": "https://github.com/a-tarasyuk",
|
|
118
|
+
"githubUsername": "a-tarasyuk"
|
|
114
119
|
}
|
|
115
120
|
],
|
|
116
121
|
"main": "",
|
|
@@ -120,6 +125,6 @@
|
|
|
120
125
|
},
|
|
121
126
|
"scripts": {},
|
|
122
127
|
"dependencies": {},
|
|
123
|
-
"typesPublisherContentHash": "
|
|
128
|
+
"typesPublisherContentHash": "4aef20de7af300d34d85e8851c20f50105ce79ee85286a7deb7904b0cb9a905a",
|
|
124
129
|
"typeScriptVersion": "2.0"
|
|
125
130
|
}
|