Skip to content

Upgrading @types/node 0.12 to 4

Unknown0.12.25 → 4.9.5

Fetching 60 releases from GitHub…0 / 60
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • changed: function internal.fail(actual?: any, expected?: any, message?: string, operator?: string): never → function internal.fail(actual: any, expected: any, message?: string, operator?: string): never
  • added: function internal.deepStrictEqual(actual: any, expected: any, message?: string): void
  • added: function internal.notDeepStrictEqual(actual: any, expected: any, message?: string): void
  • added: var BuffType: typeof Buffer
  • added: var SlowBuffType: typeof SlowBuffer
  • changed: function exec(command: string, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void): ChildProcess → function exec(command: string, callback?: (error: Error, stdout: string, stderr: string) =>void): ChildProcess
  • changed: function exec(command: string, options: { cwd?: string; stdio?: any; customFds?: any; env?: any; encoding?: string; timeout?: number; maxBuffer?: number; killSignal?: string }, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void): ChildProcess → function exec(command: string, options: ExecOptions, callback?: (error: Error, stdout: string, stderr: string) =>void): ChildProcess
  • changed: function execFile(file: string, args?: ReadonlyArray<string>, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void): ChildProcess → function execFile(file: string, args?: ReadonlyArray<string>, callback?: (error: Error, stdout: string, stderr: string) =>void): ChildProcess
  • changed: function execFile(file: string, args?: ReadonlyArray<string>, options?: { cwd?: string; stdio?: any; customFds?: any; env?: any; encoding?: string; timeout?: number; maxBuffer?: number; killSignal?: string }, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void): ChildProcess → function execFile(file: string, args?: ReadonlyArray<string>, options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) =>void): ChildProcess
  • changed: function execFile(file: string, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void): ChildProcess → function execFile(file: string, args?: ReadonlyArray<string>, options?: ExecFileOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void): ChildProcess
  • changed: function execFileSync(command: string, args?: ReadonlyArray<string>, options?: { cwd?: string; input?: string|Buffer; stdio?: any; env?: any; uid?: number; gid?: number; timeout?: number; maxBuffer?: number; killSignal?: string; encoding?: string }): string | Buffer → function execFileSync(command: string): Buffer
  • changed: function execSync(command: string, options?: { cwd?: string; input?: string|Buffer; stdio?: any; env?: any; uid?: number; gid?: number; timeout?: number; maxBuffer?: number; killSignal?: string; encoding?: string }): string | Buffer → function execSync(command: string): Buffer
  • changed: function fork(modulePath: string, args?: ReadonlyArray<string>, options?: { cwd?: string; env?: any; encoding?: string }): ChildProcess → function fork(modulePath: string, args?: ReadonlyArray<string>, options?: ForkOptions): ChildProcess
  • changed: function spawn(command: string, args?: ReadonlyArray<string>, options?: { cwd?: string; stdio?: any; custom?: any; env?: any; detached?: boolean }): ChildProcess → function spawn(command: string, args?: ReadonlyArray<string>, options?: SpawnOptions): ChildProcess
  • changed: function spawnSync(command: string, args?: ReadonlyArray<string>, options?: { cwd?: string; input?: string | Buffer; stdio?: any; env?: any; uid?: number; gid?: number; timeout?: number; maxBuffer?: number; killSignal?: string; encoding?: string }): { pid: number; output: string[]; stdout: string | Buffer; stderr: string | Buffer; status: number; signal: string; error: Error } → function spawnSync(command: string): SpawnSyncReturns<Buffer>
  • added: function exec(command: string, options: ExecOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void): ChildProcess
  • added: function exec(command: string, options: ExecOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) =>void): ChildProcess
  • added: function execFile(file: string, args?: ReadonlyArray<string>, options?: ExecFileOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) =>void): ChildProcess
  • added: function execFile(file: string, callback?: (error: Error, stdout: string, stderr: string) =>void): ChildProcess
  • added: function execFile(file: string, options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) =>void): ChildProcess
  • added: function execFile(file: string, options?: ExecFileOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void): ChildProcess
  • added: function execFile(file: string, options?: ExecFileOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) =>void): ChildProcess
  • added: function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptions): Buffer
  • added: function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer
  • added: function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptionsWithStringEncoding): string
  • added: function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer
  • added: function execFileSync(command: string, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer
  • added: function execFileSync(command: string, options?: ExecFileSyncOptionsWithStringEncoding): string
  • added: function execSync(command: string, options?: ExecSyncOptions): Buffer
  • added: function execSync(command: string, options?: ExecSyncOptionsWithBufferEncoding): Buffer
  • added: function execSync(command: string, options?: ExecSyncOptionsWithStringEncoding): string
  • added: function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptions): SpawnSyncReturns<Buffer>
  • added: function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>
  • added: function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>
  • added: function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<Buffer>
  • added: function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>
  • added: function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>
  • added: interface ExecFileOptions
  • added: interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions
  • added: interface ExecFileOptionsWithStringEncoding extends ExecFileOptions
  • added: interface ExecFileSyncOptions
  • added: interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions
  • added: interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions
  • added: interface ExecOptions
  • added: interface ExecOptionsWithBufferEncoding extends ExecOptions
  • added: interface ExecOptionsWithStringEncoding extends ExecOptions
  • added: interface ExecSyncOptions
  • added: interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions
  • added: interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions
  • added: interface ForkOptions
  • added: interface SpawnOptions
  • added: interface SpawnSyncOptions
  • added: interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions
  • added: interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions
  • added: interface SpawnSyncReturns<T>
  • added: interface StdioStreams extends ReadonlyArray<stream.Readable|stream.Writable>
  • added: property ChildProcess.stdio: StdioStreams
  • added: property ExecFileOptions.cwd?: string
  • added: property ExecFileOptions.env?: any
  • added: property ExecFileOptions.gid?: number
  • added: property ExecFileOptions.killSignal?: string
  • added: property ExecFileOptions.maxBuffer?: number
  • added: property ExecFileOptions.timeout?: number
  • added: property ExecFileOptions.uid?: number
  • added: property ExecFileOptionsWithBufferEncoding.encoding: string
  • added: property ExecFileOptionsWithStringEncoding.encoding: BufferEncoding
  • added: property ExecFileSyncOptions.cwd?: string
  • added: property ExecFileSyncOptions.encoding?: string
  • added: property ExecFileSyncOptions.env?: any
  • added: property ExecFileSyncOptions.gid?: number
  • added: property ExecFileSyncOptions.input?: string | Buffer
  • added: property ExecFileSyncOptions.killSignal?: string
  • added: property ExecFileSyncOptions.maxBuffer?: number
  • added: property ExecFileSyncOptions.stdio?: any
  • added: property ExecFileSyncOptions.timeout?: number
  • added: property ExecFileSyncOptions.uid?: number
  • added: property ExecFileSyncOptionsWithBufferEncoding.encoding: string
  • added: property ExecFileSyncOptionsWithStringEncoding.encoding: BufferEncoding
  • added: property ExecOptions.cwd?: string
  • added: property ExecOptions.env?: any
  • added: property ExecOptions.gid?: number
  • added: property ExecOptions.killSignal?: string
  • added: property ExecOptions.maxBuffer?: number
  • added: property ExecOptions.shell?: string
  • added: property ExecOptions.timeout?: number
  • added: property ExecOptions.uid?: number
  • added: property ExecOptionsWithBufferEncoding.encoding: string
  • added: property ExecOptionsWithStringEncoding.encoding: BufferEncoding
  • added: property ExecSyncOptions.cwd?: string
  • added: property ExecSyncOptions.encoding?: string
  • added: property ExecSyncOptions.env?: any
  • added: property ExecSyncOptions.gid?: number
  • added: property ExecSyncOptions.input?: string | Buffer
  • added: property ExecSyncOptions.killSignal?: string
  • added: property ExecSyncOptions.maxBuffer?: number
  • added: property ExecSyncOptions.shell?: string
  • added: property ExecSyncOptions.stdio?: any
  • added: property ExecSyncOptions.timeout?: number
  • added: property ExecSyncOptions.uid?: number
  • added: property ExecSyncOptionsWithBufferEncoding.encoding: string
  • added: property ExecSyncOptionsWithStringEncoding.encoding: BufferEncoding
  • added: property ForkOptions.cwd?: string
  • added: property ForkOptions.env?: any
  • added: property ForkOptions.execArgv?: string[]
  • added: property ForkOptions.execPath?: string
  • added: property ForkOptions.gid?: number
  • added: property ForkOptions.silent?: boolean
  • added: property ForkOptions.uid?: number
  • added: property SpawnOptions.cwd?: string
  • added: property SpawnOptions.detached?: boolean
  • added: property SpawnOptions.env?: any
  • added: property SpawnOptions.gid?: number
  • added: property SpawnOptions.shell?: boolean | string
  • added: property SpawnOptions.stdio?: any
  • added: property SpawnOptions.uid?: number
  • added: property SpawnSyncOptions.cwd?: string
  • added: property SpawnSyncOptions.encoding?: string
  • added: property SpawnSyncOptions.env?: any
  • added: property SpawnSyncOptions.gid?: number
  • added: property SpawnSyncOptions.input?: string | Buffer
  • added: property SpawnSyncOptions.killSignal?: string
  • added: property SpawnSyncOptions.maxBuffer?: number
  • added: property SpawnSyncOptions.shell?: boolean | string
  • added: property SpawnSyncOptions.stdio?: any
  • added: property SpawnSyncOptions.timeout?: number
  • added: property SpawnSyncOptions.uid?: number
  • added: property SpawnSyncOptionsWithBufferEncoding.encoding: string
  • added: property SpawnSyncOptionsWithStringEncoding.encoding: BufferEncoding
  • added: property SpawnSyncReturns.error: Error
  • added: property SpawnSyncReturns.output: string[]
  • added: property SpawnSyncReturns.pid: number
  • added: property SpawnSyncReturns.signal: string
  • added: property SpawnSyncReturns.status: number
  • added: property SpawnSyncReturns.stderr: T
  • added: property SpawnSyncReturns.stdout: T
  • added: property StdioStreams.0: stream.Writable
  • added: property StdioStreams.1: stream.Readable
  • added: property StdioStreams.2: stream.Readable
  • changed: method Worker.send(message: any, sendHandle?: any): void → method Worker.send(message: any, sendHandle?: any, callback?: (error: Error) => void): void
  • changed: var workers: Worker[] → var workers: { [index: string]: Worker }
  • added: function on(event: 'disconnect', listener: (worker: Worker) => void): void
  • added: function on(event: 'exit', listener: (worker: Worker, code: number, signal: string) => void): void
  • added: function on(event: 'fork', listener: (worker: Worker) => void): void
  • added: function on(event: 'listening', listener: (worker: Worker, address: any) => void): void
  • added: function on(event: 'message', listener: (worker: Worker, message: any) => void): void
  • added: function on(event: 'online', listener: (worker: Worker) => void): void
  • added: function on(event: 'setup', listener: (settings: any) => void): void
  • added: interface Address
  • added: method Worker.isConnected(): boolean
  • added: method Worker.isDead(): boolean
  • added: property Address.address: string
  • added: property Address.addressType: string
  • added: property Address.port: number
  • added: export = console
  • added: var EDQUOT: number
  • added: var EMULTIHOP: number
  • added: var ESTALE: number
  • added: var O_DIRECT: number
  • added: var O_DIRECTORY: number
  • added: var O_NOCTTY: number
  • added: var O_NOFOLLOW: number
  • added: var O_NONBLOCK: number
  • added: var O_SYNC: number
  • added: var SIGALRM: number
  • added: var SIGBUS: number
  • added: var SIGCHLD: number
  • added: var SIGCONT: number
  • added: var SIGIO: number
  • added: var SIGIOT: number
  • added: var SIGPIPE: number
  • added: var SIGPOLL: number
  • added: var SIGPROF: number
  • added: var SIGPWR: number
  • added: var SIGQUIT: number
  • added: var SIGSTKFLT: number
  • added: var SIGSTOP: number
  • added: var SIGSYS: number
  • added: var SIGTRAP: number
  • added: var SIGTSTP: number
  • added: var SIGTTIN: number
  • added: var SIGTTOU: number
  • added: var SIGUNUSED: number
  • added: var SIGURG: number
  • added: var SIGUSR1: number
  • added: var SIGUSR2: number
  • added: var SIGVTALRM: number
  • added: var SIGXCPU: number
  • added: var SIGXFSZ: number
  • added: var S_IFBLK: number
  • added: var S_IFIFO: number
  • added: var S_IFSOCK: number
  • added: var S_IRGRP: number
  • added: var S_IROTH: number
  • added: var S_IRUSR: number
  • added: var S_IRWXG: number
  • added: var S_IRWXO: number
  • added: var S_IRWXU: number
  • added: var S_IWGRP: number
  • added: var S_IWOTH: number
  • added: var S_IWUSR: number
  • added: var S_IXGRP: number
  • added: var S_IXOTH: number
  • added: var S_IXUSR: number
  • added: var defaultCipherList: string
  • added: var defaultCoreCipherList: string
  • changed: function pbkdf2Sync(password: string, salt: string, iterations: number, keylen: number) : Buffer → function pbkdf2Sync(password: string|Buffer, salt: string|Buffer, iterations: number, keylen: number) : Buffer
  • changed: function pbkdf2Sync(password: string, salt: string, iterations: number, keylen: number, digest: string) : Buffer → function pbkdf2Sync(password: string|Buffer, salt: string|Buffer, iterations: number, keylen: number, digest: string) : Buffer
  • changed: interface Cipher → interface Cipher extends NodeJS.ReadWriteStream
  • changed: interface Decipher → interface Decipher extends NodeJS.ReadWriteStream
  • changed: interface Hmac → interface Hmac extends NodeJS.ReadWriteStream
  • changed: method Cipher.update(data: string, input_encoding?: string, output_encoding?: string): string → method Cipher.update(data: Buffer, input_encoding: any, output_encoding: 'binary'|'base64'|'hex'): string
  • changed: method Decipher.update(data: string, input_encoding?: string, output_encoding?: string): string → method Decipher.update(data: Buffer, input_encoding: any, output_encoding: 'utf8'|'ascii'|'binary'): string
  • changed: property CredentialDetails.ca: any → property CredentialDetails.ca: string | string[]
  • changed: property CredentialDetails.crl: any → property CredentialDetails.crl: string | string[]
  • added: function privateDecrypt(private_key: string|RsaPrivateKey, buffer: Buffer): Buffer
  • added: function publicEncrypt(public_key: string|RsaPublicKey, buffer: Buffer): Buffer
  • added: interface RsaPrivateKey
  • added: interface RsaPublicKey
  • added: method Cipher.getAuthTag(): Buffer
  • added: method Cipher.update(data: string, input_encoding: 'utf8'|'ascii'|'binary'): Buffer
  • added: method Cipher.update(data: string, input_encoding: 'utf8'|'ascii'|'binary', output_encoding: 'binary'|'base64'|'hex'): string
  • added: method Decipher.setAuthTag(tag: Buffer): void
  • added: method Decipher.update(data: string, input_encoding: 'binary'|'base64'|'hex'): Buffer
  • added: method Decipher.update(data: string, input_encoding: 'binary'|'base64'|'hex', output_encoding: 'utf8'|'ascii'|'binary'): string
  • added: property RsaPrivateKey.key: string
  • added: property RsaPrivateKey.padding?: any
  • added: property RsaPrivateKey.passphrase?: string
  • added: property RsaPublicKey.key: string
  • added: property RsaPublicKey.padding?: any
  • changed: function lookup(domain: string, callback: (err: Error, address: string, family: number) =>void): string → function lookup(hostname: string, callback: (err: NodeJS.ErrnoException, address: string, family: number) => void): void
  • changed: function lookup(domain: string, family: number, callback: (err: Error, address: string, family: number) =>void): string → function lookup(hostname: string, family: number, callback: (err: NodeJS.ErrnoException, address: string, family: number) => void): void
  • changed: function resolve(domain: string, callback: (err: Error, addresses: string[]) =>void): string[] → function resolve(hostname: string, callback: (err: NodeJS.ErrnoException, addresses: string[]) => void): void
  • changed: function resolve(domain: string, rrtype: string, callback: (err: Error, addresses: string[]) =>void): string[] → function resolve(hostname: string, rrtype: 'A', callback: (err: NodeJS.ErrnoException, addresses: string[]) => void): void
  • changed: function resolve4(domain: string, callback: (err: Error, addresses: string[]) =>void): string[] → function resolve4(hostname: string, callback: (err: NodeJS.ErrnoException, addresses: string[]) => void): void
  • changed: function resolve6(domain: string, callback: (err: Error, addresses: string[]) =>void): string[] → function resolve6(hostname: string, callback: (err: NodeJS.ErrnoException, addresses: string[]) => void): void
  • changed: function resolveCname(domain: string, callback: (err: Error, addresses: string[]) =>void): string[] → function resolveCname(hostname: string, callback: (err: NodeJS.ErrnoException, addresses: string[]) => void): void
  • changed: function resolveMx(domain: string, callback: (err: Error, addresses: string[]) =>void): string[] → function resolveMx(hostname: string, callback: (err: NodeJS.ErrnoException, addresses: MxRecord[]) => void): void
  • changed: function resolveNs(domain: string, callback: (err: Error, addresses: string[]) =>void): string[] → function resolveNs(hostname: string, callback: (err: NodeJS.ErrnoException, addresses: string[]) => void): void
  • changed: function resolveSrv(domain: string, callback: (err: Error, addresses: string[]) =>void): string[] → function resolveSrv(hostname: string, callback: (err: NodeJS.ErrnoException, addresses: SrvRecord[]) => void): void
  • changed: function resolveTxt(domain: string, callback: (err: Error, addresses: string[]) =>void): string[] → function resolveTxt(hostname: string, callback: (err: NodeJS.ErrnoException, addresses: string[][]) => void): void
  • changed: function reverse(ip: string, callback: (err: Error, domains: string[]) =>void): string[] → function reverse(ip: string, callback: (err: NodeJS.ErrnoException, hostnames: string[]) => void): void
  • added: const ADDRCONFIG: number
  • added: const V4MAPPED: number
  • added: function lookup(hostname: string, options: LookupAllOptions, callback: (err: NodeJS.ErrnoException, addresses: LookupAddress[]) => void): void
  • added: function lookup(hostname: string, options: LookupOneOptions, callback: (err: NodeJS.ErrnoException, address: string, family: number) => void): void
  • added: function lookup(hostname: string, options: LookupOptions, callback: (err: NodeJS.ErrnoException, address: string | LookupAddress[], family: number) => void): void
  • added: function lookupService(address: string, port: number, callback: (err: NodeJS.ErrnoException, hostname: string, service: string) => void): void
  • added: function resolve(hostname: string, rrtype: 'AAAA', callback: (err: NodeJS.ErrnoException, addresses: string[]) => void): void
  • added: function resolve(hostname: string, rrtype: 'CNAME', callback: (err: NodeJS.ErrnoException, addresses: string[]) => void): void
  • added: function resolve(hostname: string, rrtype: 'MX', callback: (err: NodeJS.ErrnoException, addresses: MxRecord[]) => void): void
  • added: function resolve(hostname: string, rrtype: 'NAPTR', callback: (err: NodeJS.ErrnoException, addresses: NaptrRecord[]) => void): void
  • added: function resolve(hostname: string, rrtype: 'NS', callback: (err: NodeJS.ErrnoException, addresses: string[]) => void): void
  • added: function resolve(hostname: string, rrtype: 'PTR', callback: (err: NodeJS.ErrnoException, addresses: string[]) => void): void
  • added: function resolve(hostname: string, rrtype: 'SOA', callback: (err: NodeJS.ErrnoException, addresses: SoaRecord) => void): void
  • added: function resolve(hostname: string, rrtype: 'SRV', callback: (err: NodeJS.ErrnoException, addresses: SrvRecord[]) => void): void
  • added: function resolve(hostname: string, rrtype: 'TXT', callback: (err: NodeJS.ErrnoException, addresses: string[][]) => void): void
  • added: function resolve(hostname: string, rrtype: string, callback: (err: NodeJS.ErrnoException, addresses: string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][]) => void): void
  • added: function resolveNaptr(hostname: string, callback: (err: NodeJS.ErrnoException, addresses: NaptrRecord[]) => void): void
  • added: function resolveSoa(hostname: string, callback: (err: NodeJS.ErrnoException, address: SoaRecord) => void): void
  • added: function setServers(servers: ReadonlyArray<string>): void
  • added: interface LookupAddress
  • added: interface LookupAllOptions extends LookupOptions
  • added: interface LookupOneOptions extends LookupOptions
  • added: interface LookupOptions
  • added: interface MxRecord
  • added: interface NaptrRecord
  • added: interface SoaRecord
  • added: interface SrvRecord
  • added: property LookupAddress.address: string
  • added: property LookupAddress.family: number
  • added: property LookupAllOptions.all: true
  • added: property LookupOneOptions.all?: false
  • added: property LookupOptions.all?: boolean
  • added: property LookupOptions.family?: number
  • added: property LookupOptions.hints?: number
  • added: property MxRecord.exchange: string
  • added: property MxRecord.priority: number
  • added: property NaptrRecord.flags: string
  • added: property NaptrRecord.order: number
  • added: property NaptrRecord.preference: number
  • added: property NaptrRecord.regexp: string
  • added: property NaptrRecord.replacement: string
  • added: property NaptrRecord.service: string
  • added: property SoaRecord.expire: number
  • added: property SoaRecord.hostmaster: string
  • added: property SoaRecord.minttl: number
  • added: property SoaRecord.nsname: string
  • added: property SoaRecord.refresh: number
  • added: property SoaRecord.retry: number
  • added: property SoaRecord.serial: number
  • added: property SrvRecord.name: string
  • added: property SrvRecord.port: number
  • added: property SrvRecord.priority: number
  • added: property SrvRecord.weight: number
  • added: var ADDRGETNETWORKPARAMS: string
  • added: var BADFAMILY: string
  • added: var BADFLAGS: string
  • added: var BADHINTS: string
  • added: var BADNAME: string
  • added: var BADQUERY: string
  • added: var BADRESP: string
  • added: var BADSTR: string
  • added: var CANCELLED: string
  • added: var CONNREFUSED: string
  • added: var DESTRUCTION: string
  • added: var EOF: string
  • added: var FILE: string
  • added: var FORMERR: string
  • added: var LOADIPHLPAPI: string
  • added: var NODATA: string
  • added: var NOMEM: string
  • added: var NONAME: string
  • added: var NOTFOUND: string
  • added: var NOTIMP: string
  • added: var NOTINITIALIZED: string
  • added: var REFUSED: string
  • added: var SERVFAIL: string
  • added: var TIMEOUT: string
  • changed: class Domain extends events.EventEmitter → class Domain extends events.EventEmitter implements NodeJS.Domain
  • changed: method EventEmitter.setMaxListeners(n: number): void → method EventEmitter.setMaxListeners(n: number): this
  • added: method EventEmitter.getMaxListeners(): number
  • added: method EventEmitter.listenerCount(type: string): number
  • added: static property EventEmitter.EventEmitter: EventEmitter
  • added: static property EventEmitter.defaultMaxListeners: number
  • changed: function createReadStream(path: string, options?: { flags?: string; encoding?: string; fd?: number; mode?: number; autoClose?: boolean }): ReadStream → function createReadStream(path: string, options?: { flags?: string; encoding?: string; fd?: number; mode?: number; autoClose?: boolean; highWaterMark?: number }): ReadStream
  • changed: function writeSync(fd: number, buffer: Buffer, offset: number, length: number, position: number | null): number → function writeSync(fd: number, buffer: Buffer, offset: number, length: number, position?: number | null): number
  • added: function appendFile(filename: string, data: any, encoding: string, callback: (err: NodeJS.ErrnoException) => void): void
  • added: function appendFileSync(filename: string, data: any, encoding: string): void
  • added: function mkdtemp(prefix: string, callback?: (err: NodeJS.ErrnoException, folder: string) => void): void
  • added: function mkdtempSync(prefix: string): string
  • added: function readFile(filename: string, encoding: null, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void
  • added: function readFile(filename: string, encoding: string | null, callback: (err: NodeJS.ErrnoException, data: string | Buffer) => void): void
  • added: function readFile(filename: string, options: { encoding: null; flag?: string }, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void
  • added: function readFile(filename: string, options: { encoding: string | null; flag?: string }, callback: (err: NodeJS.ErrnoException, data: string | Buffer) => void): void
  • added: function readFileSync(filename: string, encoding: null): Buffer
  • added: function readFileSync(filename: string, encoding: string | null): string | Buffer
  • added: function readFileSync(filename: string, options: { encoding: null; flag?: string }): Buffer
  • added: function readFileSync(filename: string, options: { encoding: string | null; flag?: string }): string | Buffer
  • added: function writeFile(filename: string, data: any, encoding: string, callback: (err: NodeJS.ErrnoException) => void): void
  • added: function writeFileSync(filename: string, data: any, encoding: string): void
  • added: function writeSync(fd: number, data: any, position?: number | null, enconding?: string): number
  • removed: method Server.address(): { port: number; family: string; address: string }
  • removed: method Server.close(cb?: any): Server
  • removed: method Server.listen(handle: any, listeningListener?: Function): Server
  • removed: method Server.listen(path: string, callback?: Function): Server
  • removed: method Server.listen(port: number, hostname?: string, backlog?: number, callback?: Function): Server
  • removed: method Server.listen(port: number, hostname?: string, callback?: Function): Server
  • removed: property RequestOptions.keepAlive?: boolean
  • removed: property RequestOptions.keepAliveMsecs?: number
  • changed: interface Server extends events.EventEmitter → interface Server extends net.Server
  • changed: method ServerResponse.addTrailers(headers: any): void → method ServerResponse.addTrailers(headers: OutgoingHttpHeaders): void
  • changed: method ServerResponse.setHeader(name: string, value: string): void → method ServerResponse.setHeader(name: string, value: string | ReadonlyArray<string>): void
  • changed: method ServerResponse.writeHead(statusCode: number, headers?: any): void → method ServerResponse.writeHead(statusCode: number, headers?: OutgoingHttpHeaders): void
  • changed: method ServerResponse.writeHead(statusCode: number, reasonPhrase?: string, headers?: any): void → method ServerResponse.writeHead(statusCode: number, reasonPhrase?: string, headers?: OutgoingHttpHeaders): void
  • changed: property IncomingMessage.headers: any → property IncomingMessage.headers: IncomingHttpHeaders
  • changed: property IncomingMessage.rawTrailers: any → property IncomingMessage.rawTrailers: string[]
  • changed: property IncomingMessage.trailers: any → property IncomingMessage.trailers: OutgoingHttpHeaders
  • changed: property RequestOptions.headers?: { [key: string]: any } → property RequestOptions.headers?: OutgoingHttpHeaders
  • changed: property RequestOptions.port?: number → property RequestOptions.port?: number | string
  • added: index IncomingHttpHeaders[header: string]: string | string[] | undefined
  • added: index OutgoingHttpHeaders[header: string]: number | string | string[] | undefined
  • added: interface IncomingHttpHeaders
  • added: interface OutgoingHttpHeaders
  • added: method ClientRequest.addTrailers(headers: OutgoingHttpHeaders): void
  • added: method ClientRequest.getHeader(name: string): string
  • added: method ClientRequest.removeHeader(name: string): void
  • added: method ClientRequest.setHeader(name: string, value: string | ReadonlyArray<string>): void
  • added: method IncomingMessage.destroy(error?: Error): void
  • added: method Server.setTimeout(msecs: number, callback: Function): void
  • added: property IncomingHttpHeaders.'accept'?: string
  • added: property IncomingHttpHeaders.'accept-patch'?: string
  • added: property IncomingHttpHeaders.'accept-ranges'?: string
  • added: property IncomingHttpHeaders.'access-control-allow-credentials'?: string
  • added: property IncomingHttpHeaders.'access-control-allow-headers'?: string
  • added: property IncomingHttpHeaders.'access-control-allow-methods'?: string
  • added: property IncomingHttpHeaders.'access-control-allow-origin'?: string
  • added: property IncomingHttpHeaders.'access-control-expose-headers'?: string
  • added: property IncomingHttpHeaders.'access-control-max-age'?: string
  • added: property IncomingHttpHeaders.'age'?: string
  • added: property IncomingHttpHeaders.'allow'?: string
  • added: property IncomingHttpHeaders.'alt-svc'?: string
  • added: property IncomingHttpHeaders.'cache-control'?: string
  • added: property IncomingHttpHeaders.'connection'?: string
  • added: property IncomingHttpHeaders.'content-disposition'?: string
  • added: property IncomingHttpHeaders.'content-encoding'?: string
  • added: property IncomingHttpHeaders.'content-language'?: string
  • added: property IncomingHttpHeaders.'content-length'?: string
  • added: property IncomingHttpHeaders.'content-location'?: string
  • added: property IncomingHttpHeaders.'content-range'?: string
  • added: property IncomingHttpHeaders.'content-type'?: string
  • added: property IncomingHttpHeaders.'date'?: string
  • added: property IncomingHttpHeaders.'expires'?: string
  • added: property IncomingHttpHeaders.'host'?: string
  • added: property IncomingHttpHeaders.'last-modified'?: string
  • added: property IncomingHttpHeaders.'location'?: string
  • added: property IncomingHttpHeaders.'pragma'?: string
  • added: property IncomingHttpHeaders.'proxy-authenticate'?: string
  • added: property IncomingHttpHeaders.'public-key-pins'?: string
  • added: property IncomingHttpHeaders.'retry-after'?: string
  • added: property IncomingHttpHeaders.'set-cookie'?: string[]
  • added: property IncomingHttpHeaders.'strict-transport-security'?: string
  • added: property IncomingHttpHeaders.'tk'?: string
  • added: property IncomingHttpHeaders.'trailer'?: string
  • added: property IncomingHttpHeaders.'transfer-encoding'?: string
  • added: property IncomingHttpHeaders.'upgrade'?: string
  • added: property IncomingHttpHeaders.'user-agent'?: string
  • added: property IncomingHttpHeaders.'vary'?: string
  • added: property IncomingHttpHeaders.'via'?: string
  • added: property IncomingHttpHeaders.'warning'?: string
  • added: property IncomingHttpHeaders.'www-authenticate'?: string
  • added: property RequestOptions.timeout?: number
  • added: property Server.timeout: number
  • added: property ServerResponse.headersSent: boolean
  • added: type ClientRequestArgs = RequestOptions
  • removed: property Agent.maxSockets: number
  • removed: property Agent.requests: any
  • removed: property Agent.sockets: any
  • changed: interface Agent → interface Agent extends http.Agent
  • changed: var Agent: { new (options?: RequestOptions): Agent } → var Agent: { new (options?: AgentOptions): Agent }
  • added: interface AgentOptions extends http.AgentOptions
  • added: property Agent.options?: AgentOptions
  • added: property AgentOptions.ca?: any
  • added: property AgentOptions.cert?: any
  • added: property AgentOptions.ciphers?: string
  • added: property AgentOptions.key?: any
  • added: property AgentOptions.maxCachedSessions?: number
  • added: property AgentOptions.passphrase?: string
  • added: property AgentOptions.pfx?: any
  • added: property AgentOptions.rejectUnauthorized?: boolean
  • added: property AgentOptions.secureProtocol?: string
  • added: property RequestOptions.secureProtocol?: string
  • changed: method Server.listen(port: number, host?: string, backlog?: number, listeningListener?: Function): Server → method Server.listen(handle: any, backlog?: number, listeningListener?: Function): Server
  • changed: method Socket.setKeepAlive(enable?: boolean, initialDelay?: number): void → method Socket.setKeepAlive(enable?: boolean, initialDelay?: number): this
  • changed: method Socket.setNoDelay(noDelay?: boolean): void → method Socket.setNoDelay(noDelay?: boolean): this
  • changed: method Socket.setTimeout(timeout: number, callback?: Function): void → method Socket.setTimeout(timeout: number, callback?: Function): this
  • added: interface ListenOptions
  • added: method Server.getConnections(cb: (error: Error, count: number) => void): void
  • added: method Server.listen(options: ListenOptions, listeningListener?: Function): Server
  • added: method Server.listen(path: string, backlog?: number, listeningListener?: Function): Server
  • added: method Server.listen(port: number, backlog?: number, listeningListener?: Function): Server
  • added: method Server.listen(port: number, hostname?: string, backlog?: number, listeningListener?: Function): Server
  • added: method Server.listen(port: number, hostname?: string, listeningListener?: Function): Server
  • added: method Server.listen(port: number, listeningListener?: Function): Server
  • added: method Server.ref(): Server
  • added: method Server.unref(): Server
  • added: property ListenOptions.backlog?: number
  • added: property ListenOptions.exclusive?: boolean
  • added: property ListenOptions.host?: string
  • added: property ListenOptions.path?: string
  • added: property ListenOptions.port?: number
  • changed: function cpus(): { model: string; speed: number; times: { user: number; nice: number; sys: number; idle: number; irq: number } }[] → function cpus(): CpuInfo[]
  • changed: function networkInterfaces(): any → function networkInterfaces(): { [index: string]: NetworkInterfaceInfo[] }
  • added: function endianness(): string
  • added: function homedir(): string
  • added: interface CpuInfo
  • added: interface NetworkInterfaceInfo
  • added: property CpuInfo.model: string
  • added: property CpuInfo.speed: number
  • added: property CpuInfo.times: { user: number; nice: number; sys: number; idle: number; irq: number }
  • added: property NetworkInterfaceInfo.address: string
  • added: property NetworkInterfaceInfo.family: string
  • added: property NetworkInterfaceInfo.internal: boolean
  • added: property NetworkInterfaceInfo.mac: string
  • added: property NetworkInterfaceInfo.netmask: string
  • changed: function format(pathObject: ParsedPath): string → function format(pathObject: FormatInputPathObject): string
  • changed: function posix.format(pP: ParsedPath): string → function posix.format(pP: FormatInputPathObject): string
  • changed: function win32.format(pP: ParsedPath): string → function win32.format(pP: FormatInputPathObject): string
  • added: interface FormatInputPathObject
  • added: property FormatInputPathObject.base?: string
  • added: property FormatInputPathObject.dir?: string
  • added: property FormatInputPathObject.ext?: string
  • added: property FormatInputPathObject.name?: string
  • added: property FormatInputPathObject.root?: string
  • added: export = process
  • changed: method ucs2.decode(string: string): string → method ucs2.decode(string: string): number[]
  • changed: function parse(str: string, sep?: string, eq?: string, options?: { maxKeys?: number }): any → function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): any
  • changed: function stringify(obj: any, sep?: string, eq?: string): string → function stringify<T>(obj: T, sep?: string, eq?: string, options?: StringifyOptions): string
  • added: function parse<T extends {}>(str: string, sep?: string, eq?: string, options?: ParseOptions): T
  • added: interface ParseOptions
  • added: interface StringifyOptions
  • added: property ParseOptions.decodeURIComponent?: Function
  • added: property ParseOptions.maxKeys?: number
  • added: property StringifyOptions.encodeURIComponent?: Function
  • changed: method ReadLine.pause(): void → method ReadLine.pause(): ReadLine
  • changed: method ReadLine.question(query: string, callback: Function): void → method ReadLine.question(query: string, callback: (answer: string) => void): void
  • changed: method ReadLine.resume(): void → method ReadLine.resume(): ReadLine
  • changed: method ReadLine.write(data: any, key?: any): void → method ReadLine.write(data: string|Buffer, key?: Key): void
  • changed: property ReadLineOptions.completer?: Function → property ReadLineOptions.completer?: Completer
  • changed: property ReadLineOptions.output: NodeJS.WritableStream → property ReadLineOptions.output?: NodeJS.WritableStream
  • added: call Completer(line: string): CompleterResult
  • added: call Completer(line: string, callback: (err: any, result: CompleterResult) => void): any
  • added: function clearLine(stream: NodeJS.WritableStream, dir: number): void
  • added: function clearScreenDown(stream: NodeJS.WritableStream): void
  • added: function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer, terminal?: boolean): ReadLine
  • added: function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number): void
  • added: function moveCursor(stream: NodeJS.WritableStream, dx: number|string, dy: number|string): void
  • added: interface Completer
  • added: interface Key
  • added: property Key.ctrl?: boolean
  • added: property Key.meta?: boolean
  • added: property Key.name?: string
  • added: property Key.sequence?: string
  • added: property Key.shift?: boolean
  • added: property ReadLineOptions.historySize?: number
  • added: type CompleterResult = [string[], string]
  • changed: class Transform extends Duplex implements NodeJS.ReadWriteStream → class Transform extends Duplex
  • added: property DuplexOptions.readableObjectMode?: boolean
  • added: property DuplexOptions.writableObjectMode?: boolean
  • added: property ReadableOptions.read?: (this: Readable, size?: number) => any
  • added: property WritableOptions.write?: (chunk: any, encoding: string, callback: Function) => any
  • added: property WritableOptions.writev?: (chunks: { chunk: any, encoding: string }[], callback: Function) => any
  • removed: method Server.listen(handle: any, listeningListener?: Function): Server
  • removed: method Server.listen(path: string, listeningListener?: Function): Server
  • removed: method Server.listen(port: number, host?: string, backlog?: number, listeningListener?: Function): Server
  • removed: method Server.listen(port: number, host?: string, callback?: Function): Server
  • changed: property ConnectionOptions.NPNProtocols?: any → property ConnectionOptions.NPNProtocols?: (string | Buffer)[]
  • changed: property ConnectionOptions.ca?: any → property ConnectionOptions.ca?: (string | Buffer)[]
  • changed: property ConnectionOptions.cert?: any → property ConnectionOptions.cert?: string | Buffer
  • changed: property ConnectionOptions.key?: any → property ConnectionOptions.key?: string | Buffer
  • changed: property ConnectionOptions.pfx?: any → property ConnectionOptions.pfx?: string | Buffer
  • changed: property SecureContextOptions.ca?: any → property SecureContextOptions.ca?: string | Buffer
  • changed: property SecureContextOptions.cert?: any → property SecureContextOptions.cert?: string | Buffer
  • changed: property SecureContextOptions.crl?: any → property SecureContextOptions.crl?: string | string[]
  • changed: property SecureContextOptions.key?: any → property SecureContextOptions.key?: string | Buffer
  • changed: property SecureContextOptions.pfx?: any → property SecureContextOptions.pfx?: string | Buffer
  • added: property TlsOptions.host?: string
  • added: property TlsOptions.port?: number
  • added: property ReadStream.isTTY: boolean
  • added: property WriteStream.isTTY: boolean
  • added: function deprecate<T extends Function>(fn: T, message: string): T
  • removed: function createScript(code: string, filename?: string): Script
  • removed: interface Script
  • changed: function createContext(initSandbox?: Context): Context → function createContext(sandbox?: Context): Context
  • changed: function runInContext(code: string, context: Context, filename?: string): void → function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions): any
  • changed: function runInNewContext(code: string, sandbox?: Context, filename?: string): void → function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions): any
  • changed: function runInThisContext(code: string, filename?: string): void → function runInThisContext(code: string, options?: RunningScriptOptions): any
  • changed: method Script.runInNewContext(sandbox?: Context): void → method Script.runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any
  • changed: method Script.runInThisContext(): void → method Script.runInThisContext(options?: RunningScriptOptions): any
  • added: class Script
  • added: constructor Script(code: string, options?: ScriptOptions)
  • added: function isContext(sandbox: Context): boolean
  • added: function runInDebugContext(code: string): any
  • added: interface RunningScriptOptions
  • added: interface ScriptOptions
  • added: method Script.runInContext(contextifiedSandbox: Context, options?: RunningScriptOptions): any
  • added: property RunningScriptOptions.columnOffset?: number
  • added: property RunningScriptOptions.displayErrors?: boolean
  • added: property RunningScriptOptions.filename?: string
  • added: property RunningScriptOptions.lineOffset?: number
  • added: property RunningScriptOptions.timeout?: number
  • added: property ScriptOptions.cachedData?: Buffer
  • added: property ScriptOptions.columnOffset?: number
  • added: property ScriptOptions.displayErrors?: boolean
  • added: property ScriptOptions.filename?: string
  • added: property ScriptOptions.lineOffset?: number
  • added: property ScriptOptions.produceCachedData?: boolean
  • added: property ScriptOptions.timeout?: number
  • removed: index NodeBuffer[index: number]: number
  • removed: property NodeBuffer.length: number
  • changed: interface NodeBuffer → interface NodeBuffer extends Uint8Array
  • changed: method NodeBuffer.fill(value: any, offset?: number, end?: number): Buffer → method NodeBuffer.fill(value: any, offset?: number, end?: number): this
  • changed: method NodeBuffer.toJSON(): any → method NodeBuffer.toJSON(): { type: 'Buffer', data: any[] }
  • changed: method NodeJS.EventEmitter.setMaxListeners(n: number): void → method NodeJS.EventEmitter.setMaxListeners(n: number): this
  • changed: method NodeJS.Process.memoryUsage(): { rss: number; heapTotal: number; heapUsed: number } → method NodeJS.Process.memoryUsage(): MemoryUsage
  • changed: property NodeJS.Process.env: any → property NodeJS.Process.env: ProcessEnv
  • changed: property NodeModule.children: any[] → property NodeModule.children: NodeModule[]
  • changed: property NodeModule.parent: any → property NodeModule.parent: NodeModule | null
  • changed: property NodeRequire.main: any → property NodeRequire.main: NodeModule | undefined
  • changed: var Buffer: { new (str: string, encoding?: string): Buffer; new (size: number): Buffer; new (array: Uint8Array): Buffer; new (array: any[]): Buffer; prototype: Buffer; isB… → var Buffer: { new (str: string, encoding?: string): Buffer; new (size: number): Buffer; new (array: Uint8Array): Buffer; new (arrayBuffer: ArrayBuffer): Buffer; new (array…
  • added: declare module 'console'
  • added: declare module 'process'
  • added: index NodeJS.ProcessEnv[key: string]: string | undefined
  • added: interface ErrorConstructor
  • added: interface NodeJS.CallSite
  • added: interface NodeJS.Domain extends Events
  • added: interface NodeJS.Events extends EventEmitter
  • added: interface NodeJS.MemoryUsage
  • added: interface NodeJS.ProcessEnv
  • added: method ErrorConstructor.captureStackTrace(targetObject: Object, constructorOpt?: Function): void
  • added: method NodeBuffer.indexOf(value: string | number | Buffer, byteOffset?: number): number
  • added: method NodeJS.CallSite.getColumnNumber(): number | null
  • added: method NodeJS.CallSite.getEvalOrigin(): string | undefined
  • added: method NodeJS.CallSite.getFileName(): string | null
  • added: method NodeJS.CallSite.getFunction(): Function | undefined
  • added: method NodeJS.CallSite.getFunctionName(): string | null
  • added: method NodeJS.CallSite.getLineNumber(): number | null
  • added: method NodeJS.CallSite.getMethodName(): string | null
  • added: method NodeJS.CallSite.getThis(): any
  • added: method NodeJS.CallSite.getTypeName(): string | null
  • added: method NodeJS.CallSite.isConstructor(): boolean
  • added: method NodeJS.CallSite.isEval(): boolean
  • added: method NodeJS.CallSite.isNative(): boolean
  • added: method NodeJS.CallSite.isToplevel(): boolean
  • added: method NodeJS.Domain.add(emitter: Events): void
  • added: method NodeJS.Domain.addListener(event: string, listener: Function): this
  • added: method NodeJS.Domain.bind(cb: (err: Error, data: any) => any): any
  • added: method NodeJS.Domain.dispose(): void
  • added: method NodeJS.Domain.intercept(cb: (data: any) => any): any
  • added: method NodeJS.Domain.on(event: string, listener: Function): this
  • added: method NodeJS.Domain.once(event: string, listener: Function): this
  • added: method NodeJS.Domain.remove(emitter: Events): void
  • added: method NodeJS.Domain.removeAllListeners(event?: string): this
  • added: method NodeJS.Domain.removeListener(event: string, listener: Function): this
  • added: method NodeJS.Domain.run(fn: Function): void
  • added: method NodeJS.EventEmitter.getMaxListeners(): number
  • added: method NodeJS.EventEmitter.listenerCount(type: string): number
  • added: method NodeJS.Process.disconnect(): void
  • added: property ErrorConstructor.prepareStackTrace?: (err: Error, stackTraces: NodeJS.CallSite[]) => any
  • added: property ErrorConstructor.stackTraceLimit: number
  • added: property NodeJS.MemoryUsage.heapTotal: number
  • added: property NodeJS.MemoryUsage.heapUsed: number
  • added: property NodeJS.MemoryUsage.rss: number
  • added: property NodeJS.Process.connected: boolean
  • added: property NodeJS.Process.domain: Domain
  • added: property NodeJS.Process.execArgv: string[]
  • added: property NodeJS.Process.exitCode: number
  • added: property NodeJS.Process.mainModule?: NodeModule
  • added: type BufferEncoding = 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'base64' | 'binary' | 'hex'