@types/node 6.0.105 → 6.0.106

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 v6/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://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v6
9
9
 
10
10
  Additional Details
11
- * Last updated: Mon, 09 Apr 2018 23:38:01 GMT
11
+ * Last updated: Fri, 13 Apr 2018 16:28:47 GMT
12
12
  * Dependencies: none
13
13
  * Global values: Buffer, NodeJS, SlowBuffer, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
14
14
 
node v6/index.d.ts CHANGED
@@ -164,10 +164,6 @@ declare var Buffer: {
164
164
  */
165
165
  new (buffer: Buffer): Buffer;
166
166
  prototype: Buffer;
167
- /**
168
- * Allocates a new Buffer using an {array} of octets.
169
- */
170
- from(array: any[]): Buffer;
171
167
  /**
172
168
  * When passed a reference to the .buffer property of a TypedArray instance,
173
169
  * the newly created Buffer will share the same allocated memory as the TypedArray.
@@ -178,9 +174,10 @@ declare var Buffer: {
178
174
  */
179
175
  from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
180
176
  /**
181
- * Copies the passed {buffer} data onto a new Buffer instance.
177
+ * Creates a new Buffer using the passed {data}
178
+ * @param data data to create a new Buffer
182
179
  */
183
- from(buffer: Buffer): Buffer;
180
+ from(data: any[] | string | Buffer | ArrayBuffer /*| TypedArray*/): Buffer;
184
181
  /**
185
182
  * Creates a new Buffer containing the given JavaScript string {str}.
186
183
  * If provided, the {encoding} parameter identifies the character encoding.
node v6/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "6.0.105",
3
+ "version": "6.0.106",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "1989d211076ebe7f06c06cd98c55811809abc56dc9a134f0a0b9e0fbd5d36408",
48
+ "typesPublisherContentHash": "050fc23cd09b9c0865d1e6a4cb35de14925b3fae1b3a5940632459a693451bfc",
49
49
  "typeScriptVersion": "2.0"
50
50
  }