update deps
This commit is contained in:
parent
24422f2a7e
commit
499d7604fb
@ -1,3 +1,7 @@
|
|||||||
test/
|
test/
|
||||||
ts/
|
ts/
|
||||||
.idea/
|
.idea/
|
||||||
|
node_modules/
|
||||||
|
coverage/
|
||||||
|
|
||||||
|
ts/typings/
|
@ -34,15 +34,15 @@
|
|||||||
"cli-table2": "^0.2.0",
|
"cli-table2": "^0.2.0",
|
||||||
"colors": "1.1.2",
|
"colors": "1.1.2",
|
||||||
"figlet": "^1.1.1",
|
"figlet": "^1.1.1",
|
||||||
"hlight": "0.0.7",
|
"hlight": "0.0.8",
|
||||||
"lodash": "^4.3.0",
|
"lodash": "^4.5.0",
|
||||||
"q": "^1.4.1",
|
"q": "^1.4.1",
|
||||||
"smartenv": "1.0.4"
|
"smartenv": "1.0.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"easyserve": "0.0.5",
|
"easyserve": "0.0.5",
|
||||||
"gulp": "^3.9.1",
|
"gulp": "^3.9.1",
|
||||||
"gulp-browser": "1.0.10",
|
"gulp-browser": "1.0.10",
|
||||||
"npmts": "^2.2.3"
|
"npmts": "2.2.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
15
ts/typings/browser/ambient/node/node.d.ts
vendored
15
ts/typings/browser/ambient/node/node.d.ts
vendored
@ -218,6 +218,7 @@ declare module NodeJS {
|
|||||||
stderr: WritableStream;
|
stderr: WritableStream;
|
||||||
stdin: ReadableStream;
|
stdin: ReadableStream;
|
||||||
argv: string[];
|
argv: string[];
|
||||||
|
execArgv: string[];
|
||||||
execPath: string;
|
execPath: string;
|
||||||
abort(): void;
|
abort(): void;
|
||||||
chdir(directory: string): void;
|
chdir(directory: string): void;
|
||||||
@ -503,7 +504,7 @@ declare module "http" {
|
|||||||
statusCode: number;
|
statusCode: number;
|
||||||
statusMessage: string;
|
statusMessage: string;
|
||||||
headersSent: boolean;
|
headersSent: boolean;
|
||||||
setHeader(name: string, value: string): void;
|
setHeader(name: string, value: string | string[]): void;
|
||||||
sendDate: boolean;
|
sendDate: boolean;
|
||||||
getHeader(name: string): string;
|
getHeader(name: string): string;
|
||||||
removeHeader(name: string): void;
|
removeHeader(name: string): void;
|
||||||
@ -918,6 +919,7 @@ declare module "child_process" {
|
|||||||
stdin: stream.Writable;
|
stdin: stream.Writable;
|
||||||
stdout: stream.Readable;
|
stdout: stream.Readable;
|
||||||
stderr: stream.Readable;
|
stderr: stream.Readable;
|
||||||
|
stdio: (stream.Readable|stream.Writable)[];
|
||||||
pid: number;
|
pid: number;
|
||||||
kill(signal?: string): void;
|
kill(signal?: string): void;
|
||||||
send(message: any, sendHandle?: any): void;
|
send(message: any, sendHandle?: any): void;
|
||||||
@ -1761,6 +1763,17 @@ declare module "crypto" {
|
|||||||
export function randomBytes(size: number, callback: (err: Error, buf: Buffer) =>void ): void;
|
export function randomBytes(size: number, callback: (err: Error, buf: Buffer) =>void ): void;
|
||||||
export function pseudoRandomBytes(size: number): Buffer;
|
export function pseudoRandomBytes(size: number): Buffer;
|
||||||
export function pseudoRandomBytes(size: number, callback: (err: Error, buf: Buffer) =>void ): void;
|
export function pseudoRandomBytes(size: number, callback: (err: Error, buf: Buffer) =>void ): void;
|
||||||
|
export interface RsaPublicKey {
|
||||||
|
key: string;
|
||||||
|
padding?: any;
|
||||||
|
}
|
||||||
|
export interface RsaPrivateKey {
|
||||||
|
key: string;
|
||||||
|
passphrase?: string,
|
||||||
|
padding?: any;
|
||||||
|
}
|
||||||
|
export function publicEncrypt(public_key: string|RsaPublicKey, buffer: Buffer): Buffer
|
||||||
|
export function privateDecrypt(private_key: string|RsaPrivateKey, buffer: Buffer): Buffer
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module "stream" {
|
declare module "stream" {
|
||||||
|
15
ts/typings/main/ambient/node/node.d.ts
vendored
15
ts/typings/main/ambient/node/node.d.ts
vendored
@ -218,6 +218,7 @@ declare module NodeJS {
|
|||||||
stderr: WritableStream;
|
stderr: WritableStream;
|
||||||
stdin: ReadableStream;
|
stdin: ReadableStream;
|
||||||
argv: string[];
|
argv: string[];
|
||||||
|
execArgv: string[];
|
||||||
execPath: string;
|
execPath: string;
|
||||||
abort(): void;
|
abort(): void;
|
||||||
chdir(directory: string): void;
|
chdir(directory: string): void;
|
||||||
@ -503,7 +504,7 @@ declare module "http" {
|
|||||||
statusCode: number;
|
statusCode: number;
|
||||||
statusMessage: string;
|
statusMessage: string;
|
||||||
headersSent: boolean;
|
headersSent: boolean;
|
||||||
setHeader(name: string, value: string): void;
|
setHeader(name: string, value: string | string[]): void;
|
||||||
sendDate: boolean;
|
sendDate: boolean;
|
||||||
getHeader(name: string): string;
|
getHeader(name: string): string;
|
||||||
removeHeader(name: string): void;
|
removeHeader(name: string): void;
|
||||||
@ -918,6 +919,7 @@ declare module "child_process" {
|
|||||||
stdin: stream.Writable;
|
stdin: stream.Writable;
|
||||||
stdout: stream.Readable;
|
stdout: stream.Readable;
|
||||||
stderr: stream.Readable;
|
stderr: stream.Readable;
|
||||||
|
stdio: (stream.Readable|stream.Writable)[];
|
||||||
pid: number;
|
pid: number;
|
||||||
kill(signal?: string): void;
|
kill(signal?: string): void;
|
||||||
send(message: any, sendHandle?: any): void;
|
send(message: any, sendHandle?: any): void;
|
||||||
@ -1761,6 +1763,17 @@ declare module "crypto" {
|
|||||||
export function randomBytes(size: number, callback: (err: Error, buf: Buffer) =>void ): void;
|
export function randomBytes(size: number, callback: (err: Error, buf: Buffer) =>void ): void;
|
||||||
export function pseudoRandomBytes(size: number): Buffer;
|
export function pseudoRandomBytes(size: number): Buffer;
|
||||||
export function pseudoRandomBytes(size: number, callback: (err: Error, buf: Buffer) =>void ): void;
|
export function pseudoRandomBytes(size: number, callback: (err: Error, buf: Buffer) =>void ): void;
|
||||||
|
export interface RsaPublicKey {
|
||||||
|
key: string;
|
||||||
|
padding?: any;
|
||||||
|
}
|
||||||
|
export interface RsaPrivateKey {
|
||||||
|
key: string;
|
||||||
|
passphrase?: string,
|
||||||
|
padding?: any;
|
||||||
|
}
|
||||||
|
export function publicEncrypt(public_key: string|RsaPublicKey, buffer: Buffer): Buffer
|
||||||
|
export function privateDecrypt(private_key: string|RsaPrivateKey, buffer: Buffer): Buffer
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module "stream" {
|
declare module "stream" {
|
||||||
|
Loading…
Reference in New Issue
Block a user