@types/node 6.14.0 → 6.14.4
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 +2 -2
- node v6/index.d.ts +10 -9
- node v6/package.json +5 -3
node v6/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
> `npm install --save @types/node`
|
|
3
3
|
|
|
4
4
|
# Summary
|
|
5
|
-
This package contains type definitions for Node.js (http://nodejs.org/).
|
|
5
|
+
This package contains type definitions for Node.js ( http://nodejs.org/ ).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v6
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Sat, 02 Mar 2019 01:19:08 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
|
|
node v6/index.d.ts
CHANGED
|
@@ -741,14 +741,14 @@ declare module "http" {
|
|
|
741
741
|
// incoming headers will never contain number
|
|
742
742
|
export interface IncomingHttpHeaders {
|
|
743
743
|
'accept'?: string;
|
|
744
|
-
'
|
|
744
|
+
'accept-patch'?: string;
|
|
745
|
+
'accept-ranges'?: string;
|
|
745
746
|
'access-control-allow-credentials'?: string;
|
|
747
|
+
'access-control-allow-headers'?: string;
|
|
748
|
+
'access-control-allow-methods'?: string;
|
|
749
|
+
'access-control-allow-origin'?: string;
|
|
746
750
|
'access-control-expose-headers'?: string;
|
|
747
751
|
'access-control-max-age'?: string;
|
|
748
|
-
'access-control-allow-methods'?: string;
|
|
749
|
-
'access-control-allow-headers'?: string;
|
|
750
|
-
'accept-patch'?: string;
|
|
751
|
-
'accept-ranges'?: string;
|
|
752
752
|
'age'?: string;
|
|
753
753
|
'allow'?: string;
|
|
754
754
|
'alt-svc'?: string;
|
|
@@ -772,9 +772,9 @@ declare module "http" {
|
|
|
772
772
|
'retry-after'?: string;
|
|
773
773
|
'set-cookie'?: string[];
|
|
774
774
|
'strict-transport-security'?: string;
|
|
775
|
+
'tk'?: string;
|
|
775
776
|
'trailer'?: string;
|
|
776
777
|
'transfer-encoding'?: string;
|
|
777
|
-
'tk'?: string;
|
|
778
778
|
'upgrade'?: string;
|
|
779
779
|
'user-agent'?: string;
|
|
780
780
|
'vary'?: string;
|
|
@@ -857,6 +857,7 @@ declare module "http" {
|
|
|
857
857
|
write(str: string, encoding?: string, cb?: Function): boolean;
|
|
858
858
|
write(str: string, encoding?: string, fd?: string): boolean;
|
|
859
859
|
|
|
860
|
+
readonly path: string;
|
|
860
861
|
write(chunk: any, encoding?: string): void;
|
|
861
862
|
abort(): void;
|
|
862
863
|
setTimeout(timeout: number, callback?: Function): void;
|
|
@@ -3040,7 +3041,7 @@ declare module "path" {
|
|
|
3040
3041
|
/**
|
|
3041
3042
|
* The right-most parameter is considered {to}. Other parameters are considered an array of {from}.
|
|
3042
3043
|
*
|
|
3043
|
-
* Starting from leftmost {from}
|
|
3044
|
+
* Starting from leftmost {from} parameter, resolves {to} to an absolute path.
|
|
3044
3045
|
*
|
|
3045
3046
|
* If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory.
|
|
3046
3047
|
*
|
|
@@ -3617,8 +3618,8 @@ declare module "crypto" {
|
|
|
3617
3618
|
export interface Signer extends NodeJS.WritableStream {
|
|
3618
3619
|
update(data: string | Buffer): Signer;
|
|
3619
3620
|
update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Signer;
|
|
3620
|
-
sign(private_key: string | { key: string; passphrase
|
|
3621
|
-
sign(private_key: string | { key: string; passphrase
|
|
3621
|
+
sign(private_key: string | { key: string; passphrase?: string }): Buffer;
|
|
3622
|
+
sign(private_key: string | { key: string; passphrase?: string }, output_format: HexBase64Latin1Encoding): string;
|
|
3622
3623
|
}
|
|
3623
3624
|
export function createVerify(algorith: string): Verify;
|
|
3624
3625
|
export interface Verify extends NodeJS.WritableStream {
|
node v6/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "6.14.
|
|
3
|
+
"version": "6.14.4",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -46,12 +46,14 @@
|
|
|
46
46
|
}
|
|
47
47
|
],
|
|
48
48
|
"main": "",
|
|
49
|
+
"types": "index",
|
|
49
50
|
"repository": {
|
|
50
51
|
"type": "git",
|
|
51
|
-
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
|
|
52
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
53
|
+
"directory": "types/node"
|
|
52
54
|
},
|
|
53
55
|
"scripts": {},
|
|
54
56
|
"dependencies": {},
|
|
55
|
-
"typesPublisherContentHash": "
|
|
57
|
+
"typesPublisherContentHash": "95b1f2ce296654d248d303f896dc4d2606d0c39427de76899dbac7a69a19f2cf",
|
|
56
58
|
"typeScriptVersion": "2.0"
|
|
57
59
|
}
|