@types/node 15.14.4 → 15.14.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 v15.14/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://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v15.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 28 Jul 2021 19:31:20 GMT
11
+ * Last updated: Sun, 01 Aug 2021 11:31:24 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
node v15.14/net.d.ts CHANGED
@@ -115,6 +115,7 @@ declare module 'net' {
115
115
  addListener(event: "end", listener: () => void): this;
116
116
  addListener(event: "error", listener: (err: Error) => void): this;
117
117
  addListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
118
+ addListener(event: "ready", listener: () => void): this;
118
119
  addListener(event: "timeout", listener: () => void): this;
119
120
 
120
121
  emit(event: string | symbol, ...args: any[]): boolean;
@@ -125,6 +126,7 @@ declare module 'net' {
125
126
  emit(event: "end"): boolean;
126
127
  emit(event: "error", err: Error): boolean;
127
128
  emit(event: "lookup", err: Error, address: string, family: string | number, host: string): boolean;
129
+ emit(event: "ready"): boolean;
128
130
  emit(event: "timeout"): boolean;
129
131
 
130
132
  on(event: string, listener: (...args: any[]) => void): this;
@@ -135,6 +137,7 @@ declare module 'net' {
135
137
  on(event: "end", listener: () => void): this;
136
138
  on(event: "error", listener: (err: Error) => void): this;
137
139
  on(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
140
+ on(event: "ready", listener: () => void): this;
138
141
  on(event: "timeout", listener: () => void): this;
139
142
 
140
143
  once(event: string, listener: (...args: any[]) => void): this;
@@ -145,6 +148,7 @@ declare module 'net' {
145
148
  once(event: "end", listener: () => void): this;
146
149
  once(event: "error", listener: (err: Error) => void): this;
147
150
  once(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
151
+ once(event: "ready", listener: () => void): this;
148
152
  once(event: "timeout", listener: () => void): this;
149
153
 
150
154
  prependListener(event: string, listener: (...args: any[]) => void): this;
@@ -155,6 +159,7 @@ declare module 'net' {
155
159
  prependListener(event: "end", listener: () => void): this;
156
160
  prependListener(event: "error", listener: (err: Error) => void): this;
157
161
  prependListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
162
+ prependListener(event: "ready", listener: () => void): this;
158
163
  prependListener(event: "timeout", listener: () => void): this;
159
164
 
160
165
  prependOnceListener(event: string, listener: (...args: any[]) => void): this;
@@ -165,6 +170,7 @@ declare module 'net' {
165
170
  prependOnceListener(event: "end", listener: () => void): this;
166
171
  prependOnceListener(event: "error", listener: (err: Error) => void): this;
167
172
  prependOnceListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
173
+ prependOnceListener(event: "ready", listener: () => void): this;
168
174
  prependOnceListener(event: "timeout", listener: () => void): this;
169
175
  }
170
176
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "15.14.4",
3
+ "version": "15.14.5",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -227,6 +227,6 @@
227
227
  },
228
228
  "scripts": {},
229
229
  "dependencies": {},
230
- "typesPublisherContentHash": "6c3c89758bc09a28cf79b0c595bc0f0e0d39357de2fc83031d5cc743fc3afa6a",
230
+ "typesPublisherContentHash": "25b2ff6484e2b1cb4e1a5e1a4e6d115314147825544ad8dd494bd5bddf906ceb",
231
231
  "typeScriptVersion": "3.6"
232
232
  }