@webda/postgres 3.2.1 → 3.2.3
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.
- package/lib/postgresstore.js.map +1 -1
- package/lib/sqlstore.js.map +1 -1
- package/package.json +5 -5
- package/webda.module.json +420 -195
package/lib/postgresstore.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresstore.js","sourceRoot":"","sources":["../src/postgresstore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACtF,OAAO,EAAgC,MAAM,IAAI,CAAC;AAClD,OAAO,EAAa,QAAQ,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErE,MAAM,kBAAmB,SAAQ,kBAAkB;CAalD;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,OAAO,OAAO,aAGnB,SAAQ,QAAc;IAGtB;;OAEG;IACH,cAAc,CAAC,MAAW;QACxB,OAAO,IAAI,kBAAkB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAC9C,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAI;QACR,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"postgresstore.js","sourceRoot":"","sources":["../src/postgresstore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACtF,OAAO,EAAgC,MAAM,IAAI,CAAC;AAClD,OAAO,EAAa,QAAQ,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErE,MAAM,kBAAmB,SAAQ,kBAAkB;CAalD;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,OAAO,OAAO,aAGnB,SAAQ,QAAc;IAGtB;;OAEG;IACH,cAAc,CAAC,MAAW;QACxB,OAAO,IAAI,kBAAkB,CAAC,MA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C,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;YACrD,CAAC;QACH,CAAC;IACH,CAAC;CACF"}
|
package/lib/sqlstore.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlstore.js","sourceRoot":"","sources":["../src/sqlstore.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,EACL,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,OAAO,EACR,MAAM,aAAa,CAAC;AAMrB,MAAM,OAAO,kBAAmB,SAAQ,eAAe;CAGtD;AAWD,MAAM,OAAO,uBAAwB,SAAQ,OAAO,CAAC,oBAAoB;IACvE,aAAa,CAAC,KAAkE;QAC9E,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"sqlstore.js","sourceRoot":"","sources":["../src/sqlstore.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,EACL,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,OAAO,EACR,MAAM,aAAa,CAAC;AAMrB,MAAM,OAAO,kBAAmB,SAAQ,eAAe;CAGtD;AAWD,MAAM,OAAO,uBAAwB,SAAQ,OAAO,CAAC,oBAAoB;IACvE,aAAa,CAAC,KAAkE;QAC9E,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,OAAO,IAAI,KAAK,GAAG,CAAC;QACtB,CAAC;QACD,OAAO,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YACnD,mDAAmD;YACnD,OAAO,QAAQ,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC;QACjD,CAAC;QACD,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,C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QACH,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,KAAK,CAAC,OAAO;QACX,MAAM,IAAI,CAAC,QAAQ,CAAC,eAAe,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webda/postgres",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3",
|
|
4
4
|
"description": "Implements Postgres on webda",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"postgres",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"test": "c8 mocha --recursive --exit --timeout=100000 src/**/*.spec.ts src/*.spec.ts"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@webda/core": "^3.
|
|
22
|
+
"@webda/core": "^3.11.0",
|
|
23
23
|
"pg": "^8.7.1"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"namespace": "Webda"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@types/node": "
|
|
51
|
-
"@webda/shell": "^3.
|
|
50
|
+
"@types/node": "18.11.13",
|
|
51
|
+
"@webda/shell": "^3.8.0"
|
|
52
52
|
},
|
|
53
53
|
"type": "module",
|
|
54
54
|
"engines": {
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"@webda/shell"
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "f0c38f8b61cf35b113de8302ad8367531bad1525"
|
|
64
64
|
}
|
package/webda.module.json
CHANGED
|
@@ -12,6 +12,46 @@
|
|
|
12
12
|
"reflections": {}
|
|
13
13
|
},
|
|
14
14
|
"schemas": {
|
|
15
|
+
"Webda/BinaryFile": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"hash": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Will be computed by the service\n\nhash of the content"
|
|
21
|
+
},
|
|
22
|
+
"challenge": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Will be computed by the service\n\nhash of the content prefixed by 'WEBDA'"
|
|
25
|
+
},
|
|
26
|
+
"size": {
|
|
27
|
+
"type": "number",
|
|
28
|
+
"description": "Size of the binary"
|
|
29
|
+
},
|
|
30
|
+
"name": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "Current name"
|
|
33
|
+
},
|
|
34
|
+
"mimetype": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "Mimetype of the binary"
|
|
37
|
+
},
|
|
38
|
+
"metadata": {
|
|
39
|
+
"description": "Metadatas stored along with the binary"
|
|
40
|
+
},
|
|
41
|
+
"originalname": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"description": "Original name"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"required": [
|
|
47
|
+
"mimetype",
|
|
48
|
+
"name",
|
|
49
|
+
"size"
|
|
50
|
+
],
|
|
51
|
+
"description": "Represent a file to store",
|
|
52
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
53
|
+
"title": "BinaryFile"
|
|
54
|
+
},
|
|
15
55
|
"Webda/PostgresStore": {
|
|
16
56
|
"type": "object",
|
|
17
57
|
"properties": {
|
|
@@ -125,64 +165,130 @@
|
|
|
125
165
|
"type": "object",
|
|
126
166
|
"properties": {
|
|
127
167
|
"writable": {
|
|
128
|
-
"type": "boolean"
|
|
168
|
+
"type": "boolean",
|
|
169
|
+
"description": "Is `true` if it is safe to call `writable.write()`, which means the stream has not been destroyed, errored or ended."
|
|
129
170
|
},
|
|
130
171
|
"writableEnded": {
|
|
131
|
-
"type": "boolean"
|
|
172
|
+
"type": "boolean",
|
|
173
|
+
"description": "Is `true` after `writable.end()` has been called. This property does not indicate whether the data has been flushed, for this use `writable.writableFinished` instead."
|
|
132
174
|
},
|
|
133
175
|
"writableFinished": {
|
|
134
|
-
"type": "boolean"
|
|
176
|
+
"type": "boolean",
|
|
177
|
+
"description": "Is set to `true` immediately before the `'finish'` event is emitted."
|
|
135
178
|
},
|
|
136
179
|
"writableHighWaterMark": {
|
|
137
|
-
"type": "number"
|
|
180
|
+
"type": "number",
|
|
181
|
+
"description": "Return the value of `highWaterMark` passed when creating this `Writable`."
|
|
138
182
|
},
|
|
139
183
|
"writableLength": {
|
|
140
|
-
"type": "number"
|
|
184
|
+
"type": "number",
|
|
185
|
+
"description": "This property contains the number of bytes (or objects) in the queue ready to be written. The value provides introspection data regarding the status of the `highWaterMark`."
|
|
141
186
|
},
|
|
142
187
|
"writableObjectMode": {
|
|
143
|
-
"type": "boolean"
|
|
188
|
+
"type": "boolean",
|
|
189
|
+
"description": "Getter for the property `objectMode` of a given `Writable` stream."
|
|
144
190
|
},
|
|
145
191
|
"writableCorked": {
|
|
146
|
-
"type": "number"
|
|
192
|
+
"type": "number",
|
|
193
|
+
"description": "Number of times `writable.uncork()` needs to be called in order to fully uncork the stream."
|
|
147
194
|
},
|
|
148
195
|
"destroyed": {
|
|
149
|
-
"type": "boolean"
|
|
196
|
+
"type": "boolean",
|
|
197
|
+
"description": "Is `true` after `readable.destroy()` has been called."
|
|
198
|
+
},
|
|
199
|
+
"closed": {
|
|
200
|
+
"type": "boolean",
|
|
201
|
+
"description": "Is true after 'close' has been emitted."
|
|
202
|
+
},
|
|
203
|
+
"errored": {
|
|
204
|
+
"anyOf": [
|
|
205
|
+
{
|
|
206
|
+
"type": "object",
|
|
207
|
+
"properties": {
|
|
208
|
+
"name": {
|
|
209
|
+
"type": "string"
|
|
210
|
+
},
|
|
211
|
+
"message": {
|
|
212
|
+
"type": "string"
|
|
213
|
+
},
|
|
214
|
+
"stack": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"required": [
|
|
219
|
+
"name",
|
|
220
|
+
"message"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"type": "null"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"description": "Returns error if the stream has been destroyed with an error."
|
|
228
|
+
},
|
|
229
|
+
"writableNeedDrain": {
|
|
230
|
+
"type": "boolean",
|
|
231
|
+
"description": "Is `true` if the stream's buffer has been full and stream will emit 'drain'."
|
|
150
232
|
},
|
|
151
233
|
"readable": {
|
|
152
|
-
"type": "boolean"
|
|
234
|
+
"type": "boolean",
|
|
235
|
+
"description": "Is `true` if it is safe to call `readable.read()`, which means the stream has not been destroyed or emitted `'error'` or `'end'`."
|
|
236
|
+
},
|
|
237
|
+
"readableAborted": {
|
|
238
|
+
"type": "boolean",
|
|
239
|
+
"description": "Returns whether the stream was destroyed or errored before emitting `'end'`."
|
|
240
|
+
},
|
|
241
|
+
"readableDidRead": {
|
|
242
|
+
"type": "boolean",
|
|
243
|
+
"description": "Returns whether `'data'` has been emitted."
|
|
153
244
|
},
|
|
154
245
|
"readableEncoding": {
|
|
155
246
|
"anyOf": [
|
|
156
247
|
{
|
|
157
|
-
"$ref": "#/definitions/BufferEncoding"
|
|
248
|
+
"$ref": "#/definitions/global.BufferEncoding"
|
|
158
249
|
},
|
|
159
250
|
{
|
|
160
251
|
"type": "null"
|
|
161
252
|
}
|
|
162
|
-
]
|
|
253
|
+
],
|
|
254
|
+
"description": "Getter for the property `encoding` of a given `Readable` stream. The `encoding`property can be set using the `readable.setEncoding()` method."
|
|
163
255
|
},
|
|
164
256
|
"readableEnded": {
|
|
165
|
-
"type": "boolean"
|
|
257
|
+
"type": "boolean",
|
|
258
|
+
"description": "Becomes `true` when `'end'` event is emitted."
|
|
166
259
|
},
|
|
167
260
|
"readableFlowing": {
|
|
168
261
|
"type": [
|
|
169
262
|
"boolean",
|
|
170
263
|
"null"
|
|
171
|
-
]
|
|
264
|
+
],
|
|
265
|
+
"description": "This property reflects the current state of a `Readable` stream as described in the `Three states` section."
|
|
172
266
|
},
|
|
173
267
|
"readableHighWaterMark": {
|
|
174
|
-
"type": "number"
|
|
268
|
+
"type": "number",
|
|
269
|
+
"description": "Returns the value of `highWaterMark` passed when creating this `Readable`."
|
|
175
270
|
},
|
|
176
271
|
"readableLength": {
|
|
177
|
-
"type": "number"
|
|
272
|
+
"type": "number",
|
|
273
|
+
"description": "This property contains the number of bytes (or objects) in the queue ready to be read. The value provides introspection data regarding the status of the `highWaterMark`."
|
|
178
274
|
},
|
|
179
275
|
"readableObjectMode": {
|
|
180
|
-
"type": "boolean"
|
|
276
|
+
"type": "boolean",
|
|
277
|
+
"description": "Getter for the property `objectMode` of a given `Readable` stream."
|
|
278
|
+
},
|
|
279
|
+
"allowHalfOpen": {
|
|
280
|
+
"type": "boolean",
|
|
281
|
+
"description": "If `false` then the stream will automatically end the writable side when the readable side ends. Set initially by the `allowHalfOpen` constructor option, which defaults to `false`.\n\nThis can be changed manually to change the half-open behavior of an existing`Duplex` stream instance, but must be changed before the `'end'` event is emitted."
|
|
181
282
|
}
|
|
182
283
|
},
|
|
183
284
|
"required": [
|
|
285
|
+
"allowHalfOpen",
|
|
286
|
+
"closed",
|
|
184
287
|
"destroyed",
|
|
288
|
+
"errored",
|
|
185
289
|
"readable",
|
|
290
|
+
"readableAborted",
|
|
291
|
+
"readableDidRead",
|
|
186
292
|
"readableEncoding",
|
|
187
293
|
"readableEnded",
|
|
188
294
|
"readableFlowing",
|
|
@@ -195,8 +301,10 @@
|
|
|
195
301
|
"writableFinished",
|
|
196
302
|
"writableHighWaterMark",
|
|
197
303
|
"writableLength",
|
|
304
|
+
"writableNeedDrain",
|
|
198
305
|
"writableObjectMode"
|
|
199
|
-
]
|
|
306
|
+
],
|
|
307
|
+
"description": "Duplex streams are streams that implement both the `Readable` and `Writable` interfaces.\n\nExamples of `Duplex` streams include:\n\n* `TCP sockets`\n* `zlib streams`\n* `crypto streams`"
|
|
200
308
|
},
|
|
201
309
|
"statement_timeout": {
|
|
202
310
|
"anyOf": [
|
|
@@ -351,8 +459,7 @@
|
|
|
351
459
|
"byteLength",
|
|
352
460
|
"byteOffset",
|
|
353
461
|
"length"
|
|
354
|
-
]
|
|
355
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
462
|
+
]
|
|
356
463
|
},
|
|
357
464
|
{
|
|
358
465
|
"type": "array",
|
|
@@ -386,8 +493,7 @@
|
|
|
386
493
|
"byteLength",
|
|
387
494
|
"byteOffset",
|
|
388
495
|
"length"
|
|
389
|
-
]
|
|
390
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
496
|
+
]
|
|
391
497
|
}
|
|
392
498
|
]
|
|
393
499
|
}
|
|
@@ -425,8 +531,7 @@
|
|
|
425
531
|
"byteLength",
|
|
426
532
|
"byteOffset",
|
|
427
533
|
"length"
|
|
428
|
-
]
|
|
429
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
534
|
+
]
|
|
430
535
|
},
|
|
431
536
|
{
|
|
432
537
|
"type": "array",
|
|
@@ -460,8 +565,7 @@
|
|
|
460
565
|
"byteLength",
|
|
461
566
|
"byteOffset",
|
|
462
567
|
"length"
|
|
463
|
-
]
|
|
464
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
568
|
+
]
|
|
465
569
|
}
|
|
466
570
|
]
|
|
467
571
|
}
|
|
@@ -511,8 +615,7 @@
|
|
|
511
615
|
"byteLength",
|
|
512
616
|
"byteOffset",
|
|
513
617
|
"length"
|
|
514
|
-
]
|
|
515
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
618
|
+
]
|
|
516
619
|
},
|
|
517
620
|
{
|
|
518
621
|
"type": "array",
|
|
@@ -546,8 +649,7 @@
|
|
|
546
649
|
"byteLength",
|
|
547
650
|
"byteOffset",
|
|
548
651
|
"length"
|
|
549
|
-
]
|
|
550
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
652
|
+
]
|
|
551
653
|
}
|
|
552
654
|
]
|
|
553
655
|
}
|
|
@@ -585,8 +687,7 @@
|
|
|
585
687
|
"byteLength",
|
|
586
688
|
"byteOffset",
|
|
587
689
|
"length"
|
|
588
|
-
]
|
|
589
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
690
|
+
]
|
|
590
691
|
}
|
|
591
692
|
],
|
|
592
693
|
"description": "Diffie Hellman parameters, required for Perfect Forward Secrecy. Use openssl dhparam to create the parameters. The key length must be greater than or equal to 1024 bits or else an error will be thrown. Although 1024 bits is permissible, use 2048 bits or larger for stronger security. If omitted or invalid, the parameters are silently discarded and DHE ciphers will not be available."
|
|
@@ -629,13 +730,15 @@
|
|
|
629
730
|
"byteLength",
|
|
630
731
|
"byteOffset",
|
|
631
732
|
"length"
|
|
632
|
-
]
|
|
633
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
733
|
+
]
|
|
634
734
|
},
|
|
635
735
|
{
|
|
636
736
|
"type": "array",
|
|
637
737
|
"items": {
|
|
638
738
|
"anyOf": [
|
|
739
|
+
{
|
|
740
|
+
"type": "string"
|
|
741
|
+
},
|
|
639
742
|
{
|
|
640
743
|
"type": "object",
|
|
641
744
|
"properties": {
|
|
@@ -661,8 +764,7 @@
|
|
|
661
764
|
"byteLength",
|
|
662
765
|
"byteOffset",
|
|
663
766
|
"length"
|
|
664
|
-
]
|
|
665
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
767
|
+
]
|
|
666
768
|
},
|
|
667
769
|
{
|
|
668
770
|
"type": "object",
|
|
@@ -697,8 +799,7 @@
|
|
|
697
799
|
"byteLength",
|
|
698
800
|
"byteOffset",
|
|
699
801
|
"length"
|
|
700
|
-
]
|
|
701
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
802
|
+
]
|
|
702
803
|
}
|
|
703
804
|
],
|
|
704
805
|
"description": "Private keys in PEM format."
|
|
@@ -768,8 +869,7 @@
|
|
|
768
869
|
"byteLength",
|
|
769
870
|
"byteOffset",
|
|
770
871
|
"length"
|
|
771
|
-
]
|
|
772
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
872
|
+
]
|
|
773
873
|
},
|
|
774
874
|
{
|
|
775
875
|
"type": "array",
|
|
@@ -803,8 +903,7 @@
|
|
|
803
903
|
"byteLength",
|
|
804
904
|
"byteOffset",
|
|
805
905
|
"length"
|
|
806
|
-
]
|
|
807
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
906
|
+
]
|
|
808
907
|
},
|
|
809
908
|
{
|
|
810
909
|
"type": "object",
|
|
@@ -839,8 +938,7 @@
|
|
|
839
938
|
"byteLength",
|
|
840
939
|
"byteOffset",
|
|
841
940
|
"length"
|
|
842
|
-
]
|
|
843
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
941
|
+
]
|
|
844
942
|
}
|
|
845
943
|
],
|
|
846
944
|
"description": "PFX or PKCS12 encoded private key and certificate chain."
|
|
@@ -898,11 +996,11 @@
|
|
|
898
996
|
"byteOffset",
|
|
899
997
|
"length"
|
|
900
998
|
],
|
|
901
|
-
"description": "48
|
|
999
|
+
"description": "48-bytes of cryptographically strong pseudo-random data. See Session Resumption for more information."
|
|
902
1000
|
},
|
|
903
1001
|
"sessionTimeout": {
|
|
904
1002
|
"type": "number",
|
|
905
|
-
"description": "The number of seconds after which a TLS session created by the server will no longer be resumable."
|
|
1003
|
+
"description": "The number of seconds after which a TLS session created by the server will no longer be resumable. See Session Resumption for more information. Default: 300."
|
|
906
1004
|
},
|
|
907
1005
|
"host": {
|
|
908
1006
|
"type": "string"
|
|
@@ -917,97 +1015,130 @@
|
|
|
917
1015
|
"type": "object",
|
|
918
1016
|
"properties": {
|
|
919
1017
|
"writable": {
|
|
920
|
-
"type": "boolean"
|
|
1018
|
+
"type": "boolean",
|
|
1019
|
+
"description": "Is `true` if it is safe to call `writable.write()`, which means the stream has not been destroyed, errored or ended."
|
|
921
1020
|
},
|
|
922
1021
|
"writableEnded": {
|
|
923
|
-
"type": "boolean"
|
|
1022
|
+
"type": "boolean",
|
|
1023
|
+
"description": "Is `true` after `writable.end()` has been called. This property does not indicate whether the data has been flushed, for this use `writable.writableFinished` instead."
|
|
924
1024
|
},
|
|
925
1025
|
"writableFinished": {
|
|
926
|
-
"type": "boolean"
|
|
1026
|
+
"type": "boolean",
|
|
1027
|
+
"description": "Is set to `true` immediately before the `'finish'` event is emitted."
|
|
927
1028
|
},
|
|
928
1029
|
"writableHighWaterMark": {
|
|
929
|
-
"type": "number"
|
|
1030
|
+
"type": "number",
|
|
1031
|
+
"description": "Return the value of `highWaterMark` passed when creating this `Writable`."
|
|
930
1032
|
},
|
|
931
1033
|
"writableLength": {
|
|
932
|
-
"type": "number"
|
|
1034
|
+
"type": "number",
|
|
1035
|
+
"description": "This property contains the number of bytes (or objects) in the queue ready to be written. The value provides introspection data regarding the status of the `highWaterMark`."
|
|
933
1036
|
},
|
|
934
1037
|
"writableObjectMode": {
|
|
935
|
-
"type": "boolean"
|
|
1038
|
+
"type": "boolean",
|
|
1039
|
+
"description": "Getter for the property `objectMode` of a given `Writable` stream."
|
|
936
1040
|
},
|
|
937
1041
|
"writableCorked": {
|
|
938
|
-
"type": "number"
|
|
1042
|
+
"type": "number",
|
|
1043
|
+
"description": "Number of times `writable.uncork()` needs to be called in order to fully uncork the stream."
|
|
939
1044
|
},
|
|
940
1045
|
"destroyed": {
|
|
941
|
-
"type": "boolean"
|
|
1046
|
+
"type": "boolean",
|
|
1047
|
+
"description": "Is `true` after `readable.destroy()` has been called."
|
|
1048
|
+
},
|
|
1049
|
+
"closed": {
|
|
1050
|
+
"type": "boolean",
|
|
1051
|
+
"description": "Is true after 'close' has been emitted."
|
|
1052
|
+
},
|
|
1053
|
+
"errored": {
|
|
1054
|
+
"anyOf": [
|
|
1055
|
+
{
|
|
1056
|
+
"type": "object",
|
|
1057
|
+
"properties": {
|
|
1058
|
+
"name": {
|
|
1059
|
+
"type": "string"
|
|
1060
|
+
},
|
|
1061
|
+
"message": {
|
|
1062
|
+
"type": "string"
|
|
1063
|
+
},
|
|
1064
|
+
"stack": {
|
|
1065
|
+
"type": "string"
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
"required": [
|
|
1069
|
+
"name",
|
|
1070
|
+
"message"
|
|
1071
|
+
]
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"type": "null"
|
|
1075
|
+
}
|
|
1076
|
+
],
|
|
1077
|
+
"description": "Returns error if the stream has been destroyed with an error."
|
|
1078
|
+
},
|
|
1079
|
+
"writableNeedDrain": {
|
|
1080
|
+
"type": "boolean",
|
|
1081
|
+
"description": "Is `true` if the stream's buffer has been full and stream will emit 'drain'."
|
|
942
1082
|
},
|
|
943
1083
|
"readable": {
|
|
944
|
-
"type": "boolean"
|
|
1084
|
+
"type": "boolean",
|
|
1085
|
+
"description": "Is `true` if it is safe to call `readable.read()`, which means the stream has not been destroyed or emitted `'error'` or `'end'`."
|
|
1086
|
+
},
|
|
1087
|
+
"readableAborted": {
|
|
1088
|
+
"type": "boolean",
|
|
1089
|
+
"description": "Returns whether the stream was destroyed or errored before emitting `'end'`."
|
|
1090
|
+
},
|
|
1091
|
+
"readableDidRead": {
|
|
1092
|
+
"type": "boolean",
|
|
1093
|
+
"description": "Returns whether `'data'` has been emitted."
|
|
945
1094
|
},
|
|
946
1095
|
"readableEncoding": {
|
|
947
1096
|
"anyOf": [
|
|
948
1097
|
{
|
|
949
|
-
"$ref": "#/definitions/BufferEncoding"
|
|
1098
|
+
"$ref": "#/definitions/global.BufferEncoding"
|
|
950
1099
|
},
|
|
951
1100
|
{
|
|
952
1101
|
"type": "null"
|
|
953
1102
|
}
|
|
954
|
-
]
|
|
1103
|
+
],
|
|
1104
|
+
"description": "Getter for the property `encoding` of a given `Readable` stream. The `encoding`property can be set using the `readable.setEncoding()` method."
|
|
955
1105
|
},
|
|
956
1106
|
"readableEnded": {
|
|
957
|
-
"type": "boolean"
|
|
1107
|
+
"type": "boolean",
|
|
1108
|
+
"description": "Becomes `true` when `'end'` event is emitted."
|
|
958
1109
|
},
|
|
959
1110
|
"readableFlowing": {
|
|
960
1111
|
"type": [
|
|
961
1112
|
"boolean",
|
|
962
1113
|
"null"
|
|
963
|
-
]
|
|
1114
|
+
],
|
|
1115
|
+
"description": "This property reflects the current state of a `Readable` stream as described in the `Three states` section."
|
|
964
1116
|
},
|
|
965
1117
|
"readableHighWaterMark": {
|
|
966
|
-
"type": "number"
|
|
1118
|
+
"type": "number",
|
|
1119
|
+
"description": "Returns the value of `highWaterMark` passed when creating this `Readable`."
|
|
967
1120
|
},
|
|
968
1121
|
"readableLength": {
|
|
969
|
-
"type": "number"
|
|
1122
|
+
"type": "number",
|
|
1123
|
+
"description": "This property contains the number of bytes (or objects) in the queue ready to be read. The value provides introspection data regarding the status of the `highWaterMark`."
|
|
970
1124
|
},
|
|
971
1125
|
"readableObjectMode": {
|
|
972
|
-
"type": "boolean"
|
|
973
|
-
|
|
974
|
-
"bufferSize": {
|
|
975
|
-
"type": "number"
|
|
976
|
-
},
|
|
977
|
-
"bytesRead": {
|
|
978
|
-
"type": "number"
|
|
979
|
-
},
|
|
980
|
-
"bytesWritten": {
|
|
981
|
-
"type": "number"
|
|
982
|
-
},
|
|
983
|
-
"connecting": {
|
|
984
|
-
"type": "boolean"
|
|
985
|
-
},
|
|
986
|
-
"localAddress": {
|
|
987
|
-
"type": "string"
|
|
988
|
-
},
|
|
989
|
-
"localPort": {
|
|
990
|
-
"type": "number"
|
|
1126
|
+
"type": "boolean",
|
|
1127
|
+
"description": "Getter for the property `objectMode` of a given `Readable` stream."
|
|
991
1128
|
},
|
|
992
|
-
"
|
|
993
|
-
"type": "
|
|
994
|
-
|
|
995
|
-
"remoteFamily": {
|
|
996
|
-
"type": "string"
|
|
997
|
-
},
|
|
998
|
-
"remotePort": {
|
|
999
|
-
"type": "number"
|
|
1129
|
+
"allowHalfOpen": {
|
|
1130
|
+
"type": "boolean",
|
|
1131
|
+
"description": "If `false` then the stream will automatically end the writable side when the readable side ends. Set initially by the `allowHalfOpen` constructor option, which defaults to `false`.\n\nThis can be changed manually to change the half-open behavior of an existing`Duplex` stream instance, but must be changed before the `'end'` event is emitted."
|
|
1000
1132
|
}
|
|
1001
1133
|
},
|
|
1002
1134
|
"required": [
|
|
1003
|
-
"
|
|
1004
|
-
"
|
|
1005
|
-
"bytesWritten",
|
|
1006
|
-
"connecting",
|
|
1135
|
+
"allowHalfOpen",
|
|
1136
|
+
"closed",
|
|
1007
1137
|
"destroyed",
|
|
1008
|
-
"
|
|
1009
|
-
"localPort",
|
|
1138
|
+
"errored",
|
|
1010
1139
|
"readable",
|
|
1140
|
+
"readableAborted",
|
|
1141
|
+
"readableDidRead",
|
|
1011
1142
|
"readableEncoding",
|
|
1012
1143
|
"readableEnded",
|
|
1013
1144
|
"readableFlowing",
|
|
@@ -1020,11 +1151,13 @@
|
|
|
1020
1151
|
"writableFinished",
|
|
1021
1152
|
"writableHighWaterMark",
|
|
1022
1153
|
"writableLength",
|
|
1154
|
+
"writableNeedDrain",
|
|
1023
1155
|
"writableObjectMode"
|
|
1024
|
-
]
|
|
1156
|
+
],
|
|
1157
|
+
"description": "Duplex streams are streams that implement both the `Readable` and `Writable` interfaces.\n\nExamples of `Duplex` streams include:\n\n* `TCP sockets`\n* `zlib streams`\n* `crypto streams`"
|
|
1025
1158
|
},
|
|
1026
1159
|
"checkServerIdentity": {
|
|
1027
|
-
"$comment": "(
|
|
1160
|
+
"$comment": "(hostname: string, cert: PeerCertificate) -> Error | undefined"
|
|
1028
1161
|
},
|
|
1029
1162
|
"servername": {
|
|
1030
1163
|
"type": "string"
|
|
@@ -1054,8 +1187,7 @@
|
|
|
1054
1187
|
"byteLength",
|
|
1055
1188
|
"byteOffset",
|
|
1056
1189
|
"length"
|
|
1057
|
-
]
|
|
1058
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
1190
|
+
]
|
|
1059
1191
|
},
|
|
1060
1192
|
"minDHSize": {
|
|
1061
1193
|
"type": "number"
|
|
@@ -1129,64 +1261,130 @@
|
|
|
1129
1261
|
"type": "object",
|
|
1130
1262
|
"properties": {
|
|
1131
1263
|
"writable": {
|
|
1132
|
-
"type": "boolean"
|
|
1264
|
+
"type": "boolean",
|
|
1265
|
+
"description": "Is `true` if it is safe to call `writable.write()`, which means the stream has not been destroyed, errored or ended."
|
|
1133
1266
|
},
|
|
1134
1267
|
"writableEnded": {
|
|
1135
|
-
"type": "boolean"
|
|
1268
|
+
"type": "boolean",
|
|
1269
|
+
"description": "Is `true` after `writable.end()` has been called. This property does not indicate whether the data has been flushed, for this use `writable.writableFinished` instead."
|
|
1136
1270
|
},
|
|
1137
1271
|
"writableFinished": {
|
|
1138
|
-
"type": "boolean"
|
|
1272
|
+
"type": "boolean",
|
|
1273
|
+
"description": "Is set to `true` immediately before the `'finish'` event is emitted."
|
|
1139
1274
|
},
|
|
1140
1275
|
"writableHighWaterMark": {
|
|
1141
|
-
"type": "number"
|
|
1276
|
+
"type": "number",
|
|
1277
|
+
"description": "Return the value of `highWaterMark` passed when creating this `Writable`."
|
|
1142
1278
|
},
|
|
1143
1279
|
"writableLength": {
|
|
1144
|
-
"type": "number"
|
|
1280
|
+
"type": "number",
|
|
1281
|
+
"description": "This property contains the number of bytes (or objects) in the queue ready to be written. The value provides introspection data regarding the status of the `highWaterMark`."
|
|
1145
1282
|
},
|
|
1146
1283
|
"writableObjectMode": {
|
|
1147
|
-
"type": "boolean"
|
|
1284
|
+
"type": "boolean",
|
|
1285
|
+
"description": "Getter for the property `objectMode` of a given `Writable` stream."
|
|
1148
1286
|
},
|
|
1149
1287
|
"writableCorked": {
|
|
1150
|
-
"type": "number"
|
|
1288
|
+
"type": "number",
|
|
1289
|
+
"description": "Number of times `writable.uncork()` needs to be called in order to fully uncork the stream."
|
|
1151
1290
|
},
|
|
1152
1291
|
"destroyed": {
|
|
1153
|
-
"type": "boolean"
|
|
1292
|
+
"type": "boolean",
|
|
1293
|
+
"description": "Is `true` after `readable.destroy()` has been called."
|
|
1294
|
+
},
|
|
1295
|
+
"closed": {
|
|
1296
|
+
"type": "boolean",
|
|
1297
|
+
"description": "Is true after 'close' has been emitted."
|
|
1298
|
+
},
|
|
1299
|
+
"errored": {
|
|
1300
|
+
"anyOf": [
|
|
1301
|
+
{
|
|
1302
|
+
"type": "object",
|
|
1303
|
+
"properties": {
|
|
1304
|
+
"name": {
|
|
1305
|
+
"type": "string"
|
|
1306
|
+
},
|
|
1307
|
+
"message": {
|
|
1308
|
+
"type": "string"
|
|
1309
|
+
},
|
|
1310
|
+
"stack": {
|
|
1311
|
+
"type": "string"
|
|
1312
|
+
}
|
|
1313
|
+
},
|
|
1314
|
+
"required": [
|
|
1315
|
+
"name",
|
|
1316
|
+
"message"
|
|
1317
|
+
]
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
"type": "null"
|
|
1321
|
+
}
|
|
1322
|
+
],
|
|
1323
|
+
"description": "Returns error if the stream has been destroyed with an error."
|
|
1324
|
+
},
|
|
1325
|
+
"writableNeedDrain": {
|
|
1326
|
+
"type": "boolean",
|
|
1327
|
+
"description": "Is `true` if the stream's buffer has been full and stream will emit 'drain'."
|
|
1154
1328
|
},
|
|
1155
1329
|
"readable": {
|
|
1156
|
-
"type": "boolean"
|
|
1330
|
+
"type": "boolean",
|
|
1331
|
+
"description": "Is `true` if it is safe to call `readable.read()`, which means the stream has not been destroyed or emitted `'error'` or `'end'`."
|
|
1332
|
+
},
|
|
1333
|
+
"readableAborted": {
|
|
1334
|
+
"type": "boolean",
|
|
1335
|
+
"description": "Returns whether the stream was destroyed or errored before emitting `'end'`."
|
|
1336
|
+
},
|
|
1337
|
+
"readableDidRead": {
|
|
1338
|
+
"type": "boolean",
|
|
1339
|
+
"description": "Returns whether `'data'` has been emitted."
|
|
1157
1340
|
},
|
|
1158
1341
|
"readableEncoding": {
|
|
1159
1342
|
"anyOf": [
|
|
1160
1343
|
{
|
|
1161
|
-
"$ref": "#/definitions/BufferEncoding"
|
|
1344
|
+
"$ref": "#/definitions/global.BufferEncoding"
|
|
1162
1345
|
},
|
|
1163
1346
|
{
|
|
1164
1347
|
"type": "null"
|
|
1165
1348
|
}
|
|
1166
|
-
]
|
|
1349
|
+
],
|
|
1350
|
+
"description": "Getter for the property `encoding` of a given `Readable` stream. The `encoding`property can be set using the `readable.setEncoding()` method."
|
|
1167
1351
|
},
|
|
1168
1352
|
"readableEnded": {
|
|
1169
|
-
"type": "boolean"
|
|
1353
|
+
"type": "boolean",
|
|
1354
|
+
"description": "Becomes `true` when `'end'` event is emitted."
|
|
1170
1355
|
},
|
|
1171
1356
|
"readableFlowing": {
|
|
1172
1357
|
"type": [
|
|
1173
1358
|
"boolean",
|
|
1174
1359
|
"null"
|
|
1175
|
-
]
|
|
1360
|
+
],
|
|
1361
|
+
"description": "This property reflects the current state of a `Readable` stream as described in the `Three states` section."
|
|
1176
1362
|
},
|
|
1177
1363
|
"readableHighWaterMark": {
|
|
1178
|
-
"type": "number"
|
|
1364
|
+
"type": "number",
|
|
1365
|
+
"description": "Returns the value of `highWaterMark` passed when creating this `Readable`."
|
|
1179
1366
|
},
|
|
1180
1367
|
"readableLength": {
|
|
1181
|
-
"type": "number"
|
|
1368
|
+
"type": "number",
|
|
1369
|
+
"description": "This property contains the number of bytes (or objects) in the queue ready to be read. The value provides introspection data regarding the status of the `highWaterMark`."
|
|
1182
1370
|
},
|
|
1183
1371
|
"readableObjectMode": {
|
|
1184
|
-
"type": "boolean"
|
|
1372
|
+
"type": "boolean",
|
|
1373
|
+
"description": "Getter for the property `objectMode` of a given `Readable` stream."
|
|
1374
|
+
},
|
|
1375
|
+
"allowHalfOpen": {
|
|
1376
|
+
"type": "boolean",
|
|
1377
|
+
"description": "If `false` then the stream will automatically end the writable side when the readable side ends. Set initially by the `allowHalfOpen` constructor option, which defaults to `false`.\n\nThis can be changed manually to change the half-open behavior of an existing`Duplex` stream instance, but must be changed before the `'end'` event is emitted."
|
|
1185
1378
|
}
|
|
1186
1379
|
},
|
|
1187
1380
|
"required": [
|
|
1381
|
+
"allowHalfOpen",
|
|
1382
|
+
"closed",
|
|
1188
1383
|
"destroyed",
|
|
1384
|
+
"errored",
|
|
1189
1385
|
"readable",
|
|
1386
|
+
"readableAborted",
|
|
1387
|
+
"readableDidRead",
|
|
1190
1388
|
"readableEncoding",
|
|
1191
1389
|
"readableEnded",
|
|
1192
1390
|
"readableFlowing",
|
|
@@ -1199,8 +1397,10 @@
|
|
|
1199
1397
|
"writableFinished",
|
|
1200
1398
|
"writableHighWaterMark",
|
|
1201
1399
|
"writableLength",
|
|
1400
|
+
"writableNeedDrain",
|
|
1202
1401
|
"writableObjectMode"
|
|
1203
|
-
]
|
|
1402
|
+
],
|
|
1403
|
+
"description": "Duplex streams are streams that implement both the `Readable` and `Writable` interfaces.\n\nExamples of `Duplex` streams include:\n\n* `TCP sockets`\n* `zlib streams`\n* `crypto streams`"
|
|
1204
1404
|
},
|
|
1205
1405
|
"statement_timeout": {
|
|
1206
1406
|
"anyOf": [
|
|
@@ -1355,8 +1555,7 @@
|
|
|
1355
1555
|
"byteLength",
|
|
1356
1556
|
"byteOffset",
|
|
1357
1557
|
"length"
|
|
1358
|
-
]
|
|
1359
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
1558
|
+
]
|
|
1360
1559
|
},
|
|
1361
1560
|
{
|
|
1362
1561
|
"type": "array",
|
|
@@ -1390,8 +1589,7 @@
|
|
|
1390
1589
|
"byteLength",
|
|
1391
1590
|
"byteOffset",
|
|
1392
1591
|
"length"
|
|
1393
|
-
]
|
|
1394
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
1592
|
+
]
|
|
1395
1593
|
}
|
|
1396
1594
|
]
|
|
1397
1595
|
}
|
|
@@ -1429,8 +1627,7 @@
|
|
|
1429
1627
|
"byteLength",
|
|
1430
1628
|
"byteOffset",
|
|
1431
1629
|
"length"
|
|
1432
|
-
]
|
|
1433
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
1630
|
+
]
|
|
1434
1631
|
},
|
|
1435
1632
|
{
|
|
1436
1633
|
"type": "array",
|
|
@@ -1464,8 +1661,7 @@
|
|
|
1464
1661
|
"byteLength",
|
|
1465
1662
|
"byteOffset",
|
|
1466
1663
|
"length"
|
|
1467
|
-
]
|
|
1468
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
1664
|
+
]
|
|
1469
1665
|
}
|
|
1470
1666
|
]
|
|
1471
1667
|
}
|
|
@@ -1515,8 +1711,7 @@
|
|
|
1515
1711
|
"byteLength",
|
|
1516
1712
|
"byteOffset",
|
|
1517
1713
|
"length"
|
|
1518
|
-
]
|
|
1519
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
1714
|
+
]
|
|
1520
1715
|
},
|
|
1521
1716
|
{
|
|
1522
1717
|
"type": "array",
|
|
@@ -1550,8 +1745,7 @@
|
|
|
1550
1745
|
"byteLength",
|
|
1551
1746
|
"byteOffset",
|
|
1552
1747
|
"length"
|
|
1553
|
-
]
|
|
1554
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
1748
|
+
]
|
|
1555
1749
|
}
|
|
1556
1750
|
]
|
|
1557
1751
|
}
|
|
@@ -1589,8 +1783,7 @@
|
|
|
1589
1783
|
"byteLength",
|
|
1590
1784
|
"byteOffset",
|
|
1591
1785
|
"length"
|
|
1592
|
-
]
|
|
1593
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
1786
|
+
]
|
|
1594
1787
|
}
|
|
1595
1788
|
],
|
|
1596
1789
|
"description": "Diffie Hellman parameters, required for Perfect Forward Secrecy. Use openssl dhparam to create the parameters. The key length must be greater than or equal to 1024 bits or else an error will be thrown. Although 1024 bits is permissible, use 2048 bits or larger for stronger security. If omitted or invalid, the parameters are silently discarded and DHE ciphers will not be available."
|
|
@@ -1633,13 +1826,15 @@
|
|
|
1633
1826
|
"byteLength",
|
|
1634
1827
|
"byteOffset",
|
|
1635
1828
|
"length"
|
|
1636
|
-
]
|
|
1637
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
1829
|
+
]
|
|
1638
1830
|
},
|
|
1639
1831
|
{
|
|
1640
1832
|
"type": "array",
|
|
1641
1833
|
"items": {
|
|
1642
1834
|
"anyOf": [
|
|
1835
|
+
{
|
|
1836
|
+
"type": "string"
|
|
1837
|
+
},
|
|
1643
1838
|
{
|
|
1644
1839
|
"type": "object",
|
|
1645
1840
|
"properties": {
|
|
@@ -1665,8 +1860,7 @@
|
|
|
1665
1860
|
"byteLength",
|
|
1666
1861
|
"byteOffset",
|
|
1667
1862
|
"length"
|
|
1668
|
-
]
|
|
1669
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
1863
|
+
]
|
|
1670
1864
|
},
|
|
1671
1865
|
{
|
|
1672
1866
|
"type": "object",
|
|
@@ -1701,8 +1895,7 @@
|
|
|
1701
1895
|
"byteLength",
|
|
1702
1896
|
"byteOffset",
|
|
1703
1897
|
"length"
|
|
1704
|
-
]
|
|
1705
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
1898
|
+
]
|
|
1706
1899
|
}
|
|
1707
1900
|
],
|
|
1708
1901
|
"description": "Private keys in PEM format."
|
|
@@ -1772,8 +1965,7 @@
|
|
|
1772
1965
|
"byteLength",
|
|
1773
1966
|
"byteOffset",
|
|
1774
1967
|
"length"
|
|
1775
|
-
]
|
|
1776
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
1968
|
+
]
|
|
1777
1969
|
},
|
|
1778
1970
|
{
|
|
1779
1971
|
"type": "array",
|
|
@@ -1807,8 +1999,7 @@
|
|
|
1807
1999
|
"byteLength",
|
|
1808
2000
|
"byteOffset",
|
|
1809
2001
|
"length"
|
|
1810
|
-
]
|
|
1811
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
2002
|
+
]
|
|
1812
2003
|
},
|
|
1813
2004
|
{
|
|
1814
2005
|
"type": "object",
|
|
@@ -1843,8 +2034,7 @@
|
|
|
1843
2034
|
"byteLength",
|
|
1844
2035
|
"byteOffset",
|
|
1845
2036
|
"length"
|
|
1846
|
-
]
|
|
1847
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
2037
|
+
]
|
|
1848
2038
|
}
|
|
1849
2039
|
],
|
|
1850
2040
|
"description": "PFX or PKCS12 encoded private key and certificate chain."
|
|
@@ -1902,11 +2092,11 @@
|
|
|
1902
2092
|
"byteOffset",
|
|
1903
2093
|
"length"
|
|
1904
2094
|
],
|
|
1905
|
-
"description": "48
|
|
2095
|
+
"description": "48-bytes of cryptographically strong pseudo-random data. See Session Resumption for more information."
|
|
1906
2096
|
},
|
|
1907
2097
|
"sessionTimeout": {
|
|
1908
2098
|
"type": "number",
|
|
1909
|
-
"description": "The number of seconds after which a TLS session created by the server will no longer be resumable."
|
|
2099
|
+
"description": "The number of seconds after which a TLS session created by the server will no longer be resumable. See Session Resumption for more information. Default: 300."
|
|
1910
2100
|
},
|
|
1911
2101
|
"host": {
|
|
1912
2102
|
"type": "string"
|
|
@@ -1921,97 +2111,130 @@
|
|
|
1921
2111
|
"type": "object",
|
|
1922
2112
|
"properties": {
|
|
1923
2113
|
"writable": {
|
|
1924
|
-
"type": "boolean"
|
|
2114
|
+
"type": "boolean",
|
|
2115
|
+
"description": "Is `true` if it is safe to call `writable.write()`, which means the stream has not been destroyed, errored or ended."
|
|
1925
2116
|
},
|
|
1926
2117
|
"writableEnded": {
|
|
1927
|
-
"type": "boolean"
|
|
2118
|
+
"type": "boolean",
|
|
2119
|
+
"description": "Is `true` after `writable.end()` has been called. This property does not indicate whether the data has been flushed, for this use `writable.writableFinished` instead."
|
|
1928
2120
|
},
|
|
1929
2121
|
"writableFinished": {
|
|
1930
|
-
"type": "boolean"
|
|
2122
|
+
"type": "boolean",
|
|
2123
|
+
"description": "Is set to `true` immediately before the `'finish'` event is emitted."
|
|
1931
2124
|
},
|
|
1932
2125
|
"writableHighWaterMark": {
|
|
1933
|
-
"type": "number"
|
|
2126
|
+
"type": "number",
|
|
2127
|
+
"description": "Return the value of `highWaterMark` passed when creating this `Writable`."
|
|
1934
2128
|
},
|
|
1935
2129
|
"writableLength": {
|
|
1936
|
-
"type": "number"
|
|
2130
|
+
"type": "number",
|
|
2131
|
+
"description": "This property contains the number of bytes (or objects) in the queue ready to be written. The value provides introspection data regarding the status of the `highWaterMark`."
|
|
1937
2132
|
},
|
|
1938
2133
|
"writableObjectMode": {
|
|
1939
|
-
"type": "boolean"
|
|
2134
|
+
"type": "boolean",
|
|
2135
|
+
"description": "Getter for the property `objectMode` of a given `Writable` stream."
|
|
1940
2136
|
},
|
|
1941
2137
|
"writableCorked": {
|
|
1942
|
-
"type": "number"
|
|
2138
|
+
"type": "number",
|
|
2139
|
+
"description": "Number of times `writable.uncork()` needs to be called in order to fully uncork the stream."
|
|
1943
2140
|
},
|
|
1944
2141
|
"destroyed": {
|
|
1945
|
-
"type": "boolean"
|
|
2142
|
+
"type": "boolean",
|
|
2143
|
+
"description": "Is `true` after `readable.destroy()` has been called."
|
|
2144
|
+
},
|
|
2145
|
+
"closed": {
|
|
2146
|
+
"type": "boolean",
|
|
2147
|
+
"description": "Is true after 'close' has been emitted."
|
|
2148
|
+
},
|
|
2149
|
+
"errored": {
|
|
2150
|
+
"anyOf": [
|
|
2151
|
+
{
|
|
2152
|
+
"type": "object",
|
|
2153
|
+
"properties": {
|
|
2154
|
+
"name": {
|
|
2155
|
+
"type": "string"
|
|
2156
|
+
},
|
|
2157
|
+
"message": {
|
|
2158
|
+
"type": "string"
|
|
2159
|
+
},
|
|
2160
|
+
"stack": {
|
|
2161
|
+
"type": "string"
|
|
2162
|
+
}
|
|
2163
|
+
},
|
|
2164
|
+
"required": [
|
|
2165
|
+
"name",
|
|
2166
|
+
"message"
|
|
2167
|
+
]
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"type": "null"
|
|
2171
|
+
}
|
|
2172
|
+
],
|
|
2173
|
+
"description": "Returns error if the stream has been destroyed with an error."
|
|
2174
|
+
},
|
|
2175
|
+
"writableNeedDrain": {
|
|
2176
|
+
"type": "boolean",
|
|
2177
|
+
"description": "Is `true` if the stream's buffer has been full and stream will emit 'drain'."
|
|
1946
2178
|
},
|
|
1947
2179
|
"readable": {
|
|
1948
|
-
"type": "boolean"
|
|
2180
|
+
"type": "boolean",
|
|
2181
|
+
"description": "Is `true` if it is safe to call `readable.read()`, which means the stream has not been destroyed or emitted `'error'` or `'end'`."
|
|
2182
|
+
},
|
|
2183
|
+
"readableAborted": {
|
|
2184
|
+
"type": "boolean",
|
|
2185
|
+
"description": "Returns whether the stream was destroyed or errored before emitting `'end'`."
|
|
2186
|
+
},
|
|
2187
|
+
"readableDidRead": {
|
|
2188
|
+
"type": "boolean",
|
|
2189
|
+
"description": "Returns whether `'data'` has been emitted."
|
|
1949
2190
|
},
|
|
1950
2191
|
"readableEncoding": {
|
|
1951
2192
|
"anyOf": [
|
|
1952
2193
|
{
|
|
1953
|
-
"$ref": "#/definitions/BufferEncoding"
|
|
2194
|
+
"$ref": "#/definitions/global.BufferEncoding"
|
|
1954
2195
|
},
|
|
1955
2196
|
{
|
|
1956
2197
|
"type": "null"
|
|
1957
2198
|
}
|
|
1958
|
-
]
|
|
2199
|
+
],
|
|
2200
|
+
"description": "Getter for the property `encoding` of a given `Readable` stream. The `encoding`property can be set using the `readable.setEncoding()` method."
|
|
1959
2201
|
},
|
|
1960
2202
|
"readableEnded": {
|
|
1961
|
-
"type": "boolean"
|
|
2203
|
+
"type": "boolean",
|
|
2204
|
+
"description": "Becomes `true` when `'end'` event is emitted."
|
|
1962
2205
|
},
|
|
1963
2206
|
"readableFlowing": {
|
|
1964
2207
|
"type": [
|
|
1965
2208
|
"boolean",
|
|
1966
2209
|
"null"
|
|
1967
|
-
]
|
|
2210
|
+
],
|
|
2211
|
+
"description": "This property reflects the current state of a `Readable` stream as described in the `Three states` section."
|
|
1968
2212
|
},
|
|
1969
2213
|
"readableHighWaterMark": {
|
|
1970
|
-
"type": "number"
|
|
2214
|
+
"type": "number",
|
|
2215
|
+
"description": "Returns the value of `highWaterMark` passed when creating this `Readable`."
|
|
1971
2216
|
},
|
|
1972
2217
|
"readableLength": {
|
|
1973
|
-
"type": "number"
|
|
2218
|
+
"type": "number",
|
|
2219
|
+
"description": "This property contains the number of bytes (or objects) in the queue ready to be read. The value provides introspection data regarding the status of the `highWaterMark`."
|
|
1974
2220
|
},
|
|
1975
2221
|
"readableObjectMode": {
|
|
1976
|
-
"type": "boolean"
|
|
1977
|
-
|
|
1978
|
-
"bufferSize": {
|
|
1979
|
-
"type": "number"
|
|
1980
|
-
},
|
|
1981
|
-
"bytesRead": {
|
|
1982
|
-
"type": "number"
|
|
1983
|
-
},
|
|
1984
|
-
"bytesWritten": {
|
|
1985
|
-
"type": "number"
|
|
1986
|
-
},
|
|
1987
|
-
"connecting": {
|
|
1988
|
-
"type": "boolean"
|
|
1989
|
-
},
|
|
1990
|
-
"localAddress": {
|
|
1991
|
-
"type": "string"
|
|
1992
|
-
},
|
|
1993
|
-
"localPort": {
|
|
1994
|
-
"type": "number"
|
|
1995
|
-
},
|
|
1996
|
-
"remoteAddress": {
|
|
1997
|
-
"type": "string"
|
|
2222
|
+
"type": "boolean",
|
|
2223
|
+
"description": "Getter for the property `objectMode` of a given `Readable` stream."
|
|
1998
2224
|
},
|
|
1999
|
-
"
|
|
2000
|
-
"type": "
|
|
2001
|
-
|
|
2002
|
-
"remotePort": {
|
|
2003
|
-
"type": "number"
|
|
2225
|
+
"allowHalfOpen": {
|
|
2226
|
+
"type": "boolean",
|
|
2227
|
+
"description": "If `false` then the stream will automatically end the writable side when the readable side ends. Set initially by the `allowHalfOpen` constructor option, which defaults to `false`.\n\nThis can be changed manually to change the half-open behavior of an existing`Duplex` stream instance, but must be changed before the `'end'` event is emitted."
|
|
2004
2228
|
}
|
|
2005
2229
|
},
|
|
2006
2230
|
"required": [
|
|
2007
|
-
"
|
|
2008
|
-
"
|
|
2009
|
-
"bytesWritten",
|
|
2010
|
-
"connecting",
|
|
2231
|
+
"allowHalfOpen",
|
|
2232
|
+
"closed",
|
|
2011
2233
|
"destroyed",
|
|
2012
|
-
"
|
|
2013
|
-
"localPort",
|
|
2234
|
+
"errored",
|
|
2014
2235
|
"readable",
|
|
2236
|
+
"readableAborted",
|
|
2237
|
+
"readableDidRead",
|
|
2015
2238
|
"readableEncoding",
|
|
2016
2239
|
"readableEnded",
|
|
2017
2240
|
"readableFlowing",
|
|
@@ -2024,11 +2247,13 @@
|
|
|
2024
2247
|
"writableFinished",
|
|
2025
2248
|
"writableHighWaterMark",
|
|
2026
2249
|
"writableLength",
|
|
2250
|
+
"writableNeedDrain",
|
|
2027
2251
|
"writableObjectMode"
|
|
2028
|
-
]
|
|
2252
|
+
],
|
|
2253
|
+
"description": "Duplex streams are streams that implement both the `Readable` and `Writable` interfaces.\n\nExamples of `Duplex` streams include:\n\n* `TCP sockets`\n* `zlib streams`\n* `crypto streams`"
|
|
2029
2254
|
},
|
|
2030
2255
|
"checkServerIdentity": {
|
|
2031
|
-
"$comment": "(
|
|
2256
|
+
"$comment": "(hostname: string, cert: PeerCertificate) -> Error | undefined"
|
|
2032
2257
|
},
|
|
2033
2258
|
"servername": {
|
|
2034
2259
|
"type": "string"
|
|
@@ -2058,8 +2283,7 @@
|
|
|
2058
2283
|
"byteLength",
|
|
2059
2284
|
"byteOffset",
|
|
2060
2285
|
"length"
|
|
2061
|
-
]
|
|
2062
|
-
"description": "Raw data is stored in instances of the Buffer class. A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'"
|
|
2286
|
+
]
|
|
2063
2287
|
},
|
|
2064
2288
|
"minDHSize": {
|
|
2065
2289
|
"type": "number"
|
|
@@ -2181,7 +2405,7 @@
|
|
|
2181
2405
|
},
|
|
2182
2406
|
"deprecated": "Store should not be exposed directly anymore\nYou should use the DomainService instead"
|
|
2183
2407
|
},
|
|
2184
|
-
"BufferEncoding": {
|
|
2408
|
+
"global.BufferEncoding": {
|
|
2185
2409
|
"type": "string",
|
|
2186
2410
|
"enum": [
|
|
2187
2411
|
"ascii",
|
|
@@ -2191,6 +2415,7 @@
|
|
|
2191
2415
|
"ucs2",
|
|
2192
2416
|
"ucs-2",
|
|
2193
2417
|
"base64",
|
|
2418
|
+
"base64url",
|
|
2194
2419
|
"latin1",
|
|
2195
2420
|
"binary",
|
|
2196
2421
|
"hex"
|