@webda/postgres 3.2.2 → 3.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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;YAC3B,IAAI,CAAC,MAAM,GAAG,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;SAC7D;aAAM;YACL,IAAI,CAAC,MAAM,GAAG,IAAI,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;SAC/D;QACD,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QAC5B,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;QACxB,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC;QACnB,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU;QACd,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE;YACpC,OAAO;SACR;QACD,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CACrB,8BA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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.2",
3
+ "version": "3.2.4",
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.10.0",
22
+ "@webda/core": "^3.11.1",
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": "14.6.0",
51
- "@webda/shell": "^3.7.0"
50
+ "@types/node": "18.11.13",
51
+ "@webda/shell": "^3.8.1"
52
52
  },
53
53
  "type": "module",
54
54
  "engines": {
@@ -60,5 +60,5 @@
60
60
  "@webda/shell"
61
61
  ]
62
62
  },
63
- "gitHead": "cda1b0e6e957d27b3d9e8bf9d387687a490f7145"
63
+ "gitHead": "09059da4f9dff73d2ffef95a175bb847169dafcf"
64
64
  }
package/webda.module.json CHANGED
@@ -165,64 +165,130 @@
165
165
  "type": "object",
166
166
  "properties": {
167
167
  "writable": {
168
- "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."
169
170
  },
170
171
  "writableEnded": {
171
- "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."
172
174
  },
173
175
  "writableFinished": {
174
- "type": "boolean"
176
+ "type": "boolean",
177
+ "description": "Is set to `true` immediately before the `'finish'` event is emitted."
175
178
  },
176
179
  "writableHighWaterMark": {
177
- "type": "number"
180
+ "type": "number",
181
+ "description": "Return the value of `highWaterMark` passed when creating this `Writable`."
178
182
  },
179
183
  "writableLength": {
180
- "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`."
181
186
  },
182
187
  "writableObjectMode": {
183
- "type": "boolean"
188
+ "type": "boolean",
189
+ "description": "Getter for the property `objectMode` of a given `Writable` stream."
184
190
  },
185
191
  "writableCorked": {
186
- "type": "number"
192
+ "type": "number",
193
+ "description": "Number of times `writable.uncork()` needs to be called in order to fully uncork the stream."
187
194
  },
188
195
  "destroyed": {
189
- "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'."
190
232
  },
191
233
  "readable": {
192
- "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."
193
244
  },
194
245
  "readableEncoding": {
195
246
  "anyOf": [
196
247
  {
197
- "$ref": "#/definitions/BufferEncoding"
248
+ "$ref": "#/definitions/global.BufferEncoding"
198
249
  },
199
250
  {
200
251
  "type": "null"
201
252
  }
202
- ]
253
+ ],
254
+ "description": "Getter for the property `encoding` of a given `Readable` stream. The `encoding`property can be set using the `readable.setEncoding()` method."
203
255
  },
204
256
  "readableEnded": {
205
- "type": "boolean"
257
+ "type": "boolean",
258
+ "description": "Becomes `true` when `'end'` event is emitted."
206
259
  },
207
260
  "readableFlowing": {
208
261
  "type": [
209
262
  "boolean",
210
263
  "null"
211
- ]
264
+ ],
265
+ "description": "This property reflects the current state of a `Readable` stream as described in the `Three states` section."
212
266
  },
213
267
  "readableHighWaterMark": {
214
- "type": "number"
268
+ "type": "number",
269
+ "description": "Returns the value of `highWaterMark` passed when creating this `Readable`."
215
270
  },
216
271
  "readableLength": {
217
- "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`."
218
274
  },
219
275
  "readableObjectMode": {
220
- "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."
221
282
  }
222
283
  },
223
284
  "required": [
285
+ "allowHalfOpen",
286
+ "closed",
224
287
  "destroyed",
288
+ "errored",
225
289
  "readable",
290
+ "readableAborted",
291
+ "readableDidRead",
226
292
  "readableEncoding",
227
293
  "readableEnded",
228
294
  "readableFlowing",
@@ -235,8 +301,10 @@
235
301
  "writableFinished",
236
302
  "writableHighWaterMark",
237
303
  "writableLength",
304
+ "writableNeedDrain",
238
305
  "writableObjectMode"
239
- ]
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`"
240
308
  },
241
309
  "statement_timeout": {
242
310
  "anyOf": [
@@ -391,8 +459,7 @@
391
459
  "byteLength",
392
460
  "byteOffset",
393
461
  "length"
394
- ],
395
- "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
+ ]
396
463
  },
397
464
  {
398
465
  "type": "array",
@@ -426,8 +493,7 @@
426
493
  "byteLength",
427
494
  "byteOffset",
428
495
  "length"
429
- ],
430
- "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
+ ]
431
497
  }
432
498
  ]
433
499
  }
@@ -465,8 +531,7 @@
465
531
  "byteLength",
466
532
  "byteOffset",
467
533
  "length"
468
- ],
469
- "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
+ ]
470
535
  },
471
536
  {
472
537
  "type": "array",
@@ -500,8 +565,7 @@
500
565
  "byteLength",
501
566
  "byteOffset",
502
567
  "length"
503
- ],
504
- "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
+ ]
505
569
  }
506
570
  ]
507
571
  }
@@ -551,8 +615,7 @@
551
615
  "byteLength",
552
616
  "byteOffset",
553
617
  "length"
554
- ],
555
- "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
+ ]
556
619
  },
557
620
  {
558
621
  "type": "array",
@@ -586,8 +649,7 @@
586
649
  "byteLength",
587
650
  "byteOffset",
588
651
  "length"
589
- ],
590
- "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
+ ]
591
653
  }
592
654
  ]
593
655
  }
@@ -625,8 +687,7 @@
625
687
  "byteLength",
626
688
  "byteOffset",
627
689
  "length"
628
- ],
629
- "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
+ ]
630
691
  }
631
692
  ],
632
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."
@@ -669,13 +730,15 @@
669
730
  "byteLength",
670
731
  "byteOffset",
671
732
  "length"
672
- ],
673
- "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
+ ]
674
734
  },
675
735
  {
676
736
  "type": "array",
677
737
  "items": {
678
738
  "anyOf": [
739
+ {
740
+ "type": "string"
741
+ },
679
742
  {
680
743
  "type": "object",
681
744
  "properties": {
@@ -701,8 +764,7 @@
701
764
  "byteLength",
702
765
  "byteOffset",
703
766
  "length"
704
- ],
705
- "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
+ ]
706
768
  },
707
769
  {
708
770
  "type": "object",
@@ -737,8 +799,7 @@
737
799
  "byteLength",
738
800
  "byteOffset",
739
801
  "length"
740
- ],
741
- "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
+ ]
742
803
  }
743
804
  ],
744
805
  "description": "Private keys in PEM format."
@@ -808,8 +869,7 @@
808
869
  "byteLength",
809
870
  "byteOffset",
810
871
  "length"
811
- ],
812
- "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
+ ]
813
873
  },
814
874
  {
815
875
  "type": "array",
@@ -843,8 +903,7 @@
843
903
  "byteLength",
844
904
  "byteOffset",
845
905
  "length"
846
- ],
847
- "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
+ ]
848
907
  },
849
908
  {
850
909
  "type": "object",
@@ -879,8 +938,7 @@
879
938
  "byteLength",
880
939
  "byteOffset",
881
940
  "length"
882
- ],
883
- "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
+ ]
884
942
  }
885
943
  ],
886
944
  "description": "PFX or PKCS12 encoded private key and certificate chain."
@@ -938,11 +996,11 @@
938
996
  "byteOffset",
939
997
  "length"
940
998
  ],
941
- "description": "48 bytes of cryptographically strong pseudo-random data."
999
+ "description": "48-bytes of cryptographically strong pseudo-random data. See Session Resumption for more information."
942
1000
  },
943
1001
  "sessionTimeout": {
944
1002
  "type": "number",
945
- "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."
946
1004
  },
947
1005
  "host": {
948
1006
  "type": "string"
@@ -957,97 +1015,130 @@
957
1015
  "type": "object",
958
1016
  "properties": {
959
1017
  "writable": {
960
- "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."
961
1020
  },
962
1021
  "writableEnded": {
963
- "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."
964
1024
  },
965
1025
  "writableFinished": {
966
- "type": "boolean"
1026
+ "type": "boolean",
1027
+ "description": "Is set to `true` immediately before the `'finish'` event is emitted."
967
1028
  },
968
1029
  "writableHighWaterMark": {
969
- "type": "number"
1030
+ "type": "number",
1031
+ "description": "Return the value of `highWaterMark` passed when creating this `Writable`."
970
1032
  },
971
1033
  "writableLength": {
972
- "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`."
973
1036
  },
974
1037
  "writableObjectMode": {
975
- "type": "boolean"
1038
+ "type": "boolean",
1039
+ "description": "Getter for the property `objectMode` of a given `Writable` stream."
976
1040
  },
977
1041
  "writableCorked": {
978
- "type": "number"
1042
+ "type": "number",
1043
+ "description": "Number of times `writable.uncork()` needs to be called in order to fully uncork the stream."
979
1044
  },
980
1045
  "destroyed": {
981
- "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'."
982
1082
  },
983
1083
  "readable": {
984
- "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."
985
1094
  },
986
1095
  "readableEncoding": {
987
1096
  "anyOf": [
988
1097
  {
989
- "$ref": "#/definitions/BufferEncoding"
1098
+ "$ref": "#/definitions/global.BufferEncoding"
990
1099
  },
991
1100
  {
992
1101
  "type": "null"
993
1102
  }
994
- ]
1103
+ ],
1104
+ "description": "Getter for the property `encoding` of a given `Readable` stream. The `encoding`property can be set using the `readable.setEncoding()` method."
995
1105
  },
996
1106
  "readableEnded": {
997
- "type": "boolean"
1107
+ "type": "boolean",
1108
+ "description": "Becomes `true` when `'end'` event is emitted."
998
1109
  },
999
1110
  "readableFlowing": {
1000
1111
  "type": [
1001
1112
  "boolean",
1002
1113
  "null"
1003
- ]
1114
+ ],
1115
+ "description": "This property reflects the current state of a `Readable` stream as described in the `Three states` section."
1004
1116
  },
1005
1117
  "readableHighWaterMark": {
1006
- "type": "number"
1118
+ "type": "number",
1119
+ "description": "Returns the value of `highWaterMark` passed when creating this `Readable`."
1007
1120
  },
1008
1121
  "readableLength": {
1009
- "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`."
1010
1124
  },
1011
1125
  "readableObjectMode": {
1012
- "type": "boolean"
1013
- },
1014
- "bufferSize": {
1015
- "type": "number"
1016
- },
1017
- "bytesRead": {
1018
- "type": "number"
1019
- },
1020
- "bytesWritten": {
1021
- "type": "number"
1126
+ "type": "boolean",
1127
+ "description": "Getter for the property `objectMode` of a given `Readable` stream."
1022
1128
  },
1023
- "connecting": {
1024
- "type": "boolean"
1025
- },
1026
- "localAddress": {
1027
- "type": "string"
1028
- },
1029
- "localPort": {
1030
- "type": "number"
1031
- },
1032
- "remoteAddress": {
1033
- "type": "string"
1034
- },
1035
- "remoteFamily": {
1036
- "type": "string"
1037
- },
1038
- "remotePort": {
1039
- "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."
1040
1132
  }
1041
1133
  },
1042
1134
  "required": [
1043
- "bufferSize",
1044
- "bytesRead",
1045
- "bytesWritten",
1046
- "connecting",
1135
+ "allowHalfOpen",
1136
+ "closed",
1047
1137
  "destroyed",
1048
- "localAddress",
1049
- "localPort",
1138
+ "errored",
1050
1139
  "readable",
1140
+ "readableAborted",
1141
+ "readableDidRead",
1051
1142
  "readableEncoding",
1052
1143
  "readableEnded",
1053
1144
  "readableFlowing",
@@ -1060,11 +1151,13 @@
1060
1151
  "writableFinished",
1061
1152
  "writableHighWaterMark",
1062
1153
  "writableLength",
1154
+ "writableNeedDrain",
1063
1155
  "writableObjectMode"
1064
- ]
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`"
1065
1158
  },
1066
1159
  "checkServerIdentity": {
1067
- "$comment": "(host: string, cert: PeerCertificate) -> Error | undefined"
1160
+ "$comment": "(hostname: string, cert: PeerCertificate) -> Error | undefined"
1068
1161
  },
1069
1162
  "servername": {
1070
1163
  "type": "string"
@@ -1094,8 +1187,7 @@
1094
1187
  "byteLength",
1095
1188
  "byteOffset",
1096
1189
  "length"
1097
- ],
1098
- "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
+ ]
1099
1191
  },
1100
1192
  "minDHSize": {
1101
1193
  "type": "number"
@@ -1169,64 +1261,130 @@
1169
1261
  "type": "object",
1170
1262
  "properties": {
1171
1263
  "writable": {
1172
- "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."
1173
1266
  },
1174
1267
  "writableEnded": {
1175
- "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."
1176
1270
  },
1177
1271
  "writableFinished": {
1178
- "type": "boolean"
1272
+ "type": "boolean",
1273
+ "description": "Is set to `true` immediately before the `'finish'` event is emitted."
1179
1274
  },
1180
1275
  "writableHighWaterMark": {
1181
- "type": "number"
1276
+ "type": "number",
1277
+ "description": "Return the value of `highWaterMark` passed when creating this `Writable`."
1182
1278
  },
1183
1279
  "writableLength": {
1184
- "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`."
1185
1282
  },
1186
1283
  "writableObjectMode": {
1187
- "type": "boolean"
1284
+ "type": "boolean",
1285
+ "description": "Getter for the property `objectMode` of a given `Writable` stream."
1188
1286
  },
1189
1287
  "writableCorked": {
1190
- "type": "number"
1288
+ "type": "number",
1289
+ "description": "Number of times `writable.uncork()` needs to be called in order to fully uncork the stream."
1191
1290
  },
1192
1291
  "destroyed": {
1193
- "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'."
1194
1328
  },
1195
1329
  "readable": {
1196
- "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."
1197
1340
  },
1198
1341
  "readableEncoding": {
1199
1342
  "anyOf": [
1200
1343
  {
1201
- "$ref": "#/definitions/BufferEncoding"
1344
+ "$ref": "#/definitions/global.BufferEncoding"
1202
1345
  },
1203
1346
  {
1204
1347
  "type": "null"
1205
1348
  }
1206
- ]
1349
+ ],
1350
+ "description": "Getter for the property `encoding` of a given `Readable` stream. The `encoding`property can be set using the `readable.setEncoding()` method."
1207
1351
  },
1208
1352
  "readableEnded": {
1209
- "type": "boolean"
1353
+ "type": "boolean",
1354
+ "description": "Becomes `true` when `'end'` event is emitted."
1210
1355
  },
1211
1356
  "readableFlowing": {
1212
1357
  "type": [
1213
1358
  "boolean",
1214
1359
  "null"
1215
- ]
1360
+ ],
1361
+ "description": "This property reflects the current state of a `Readable` stream as described in the `Three states` section."
1216
1362
  },
1217
1363
  "readableHighWaterMark": {
1218
- "type": "number"
1364
+ "type": "number",
1365
+ "description": "Returns the value of `highWaterMark` passed when creating this `Readable`."
1219
1366
  },
1220
1367
  "readableLength": {
1221
- "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`."
1222
1370
  },
1223
1371
  "readableObjectMode": {
1224
- "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."
1225
1378
  }
1226
1379
  },
1227
1380
  "required": [
1381
+ "allowHalfOpen",
1382
+ "closed",
1228
1383
  "destroyed",
1384
+ "errored",
1229
1385
  "readable",
1386
+ "readableAborted",
1387
+ "readableDidRead",
1230
1388
  "readableEncoding",
1231
1389
  "readableEnded",
1232
1390
  "readableFlowing",
@@ -1239,8 +1397,10 @@
1239
1397
  "writableFinished",
1240
1398
  "writableHighWaterMark",
1241
1399
  "writableLength",
1400
+ "writableNeedDrain",
1242
1401
  "writableObjectMode"
1243
- ]
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`"
1244
1404
  },
1245
1405
  "statement_timeout": {
1246
1406
  "anyOf": [
@@ -1395,8 +1555,7 @@
1395
1555
  "byteLength",
1396
1556
  "byteOffset",
1397
1557
  "length"
1398
- ],
1399
- "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
+ ]
1400
1559
  },
1401
1560
  {
1402
1561
  "type": "array",
@@ -1430,8 +1589,7 @@
1430
1589
  "byteLength",
1431
1590
  "byteOffset",
1432
1591
  "length"
1433
- ],
1434
- "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
+ ]
1435
1593
  }
1436
1594
  ]
1437
1595
  }
@@ -1469,8 +1627,7 @@
1469
1627
  "byteLength",
1470
1628
  "byteOffset",
1471
1629
  "length"
1472
- ],
1473
- "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
+ ]
1474
1631
  },
1475
1632
  {
1476
1633
  "type": "array",
@@ -1504,8 +1661,7 @@
1504
1661
  "byteLength",
1505
1662
  "byteOffset",
1506
1663
  "length"
1507
- ],
1508
- "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
+ ]
1509
1665
  }
1510
1666
  ]
1511
1667
  }
@@ -1555,8 +1711,7 @@
1555
1711
  "byteLength",
1556
1712
  "byteOffset",
1557
1713
  "length"
1558
- ],
1559
- "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
+ ]
1560
1715
  },
1561
1716
  {
1562
1717
  "type": "array",
@@ -1590,8 +1745,7 @@
1590
1745
  "byteLength",
1591
1746
  "byteOffset",
1592
1747
  "length"
1593
- ],
1594
- "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
+ ]
1595
1749
  }
1596
1750
  ]
1597
1751
  }
@@ -1629,8 +1783,7 @@
1629
1783
  "byteLength",
1630
1784
  "byteOffset",
1631
1785
  "length"
1632
- ],
1633
- "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
+ ]
1634
1787
  }
1635
1788
  ],
1636
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."
@@ -1673,13 +1826,15 @@
1673
1826
  "byteLength",
1674
1827
  "byteOffset",
1675
1828
  "length"
1676
- ],
1677
- "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
+ ]
1678
1830
  },
1679
1831
  {
1680
1832
  "type": "array",
1681
1833
  "items": {
1682
1834
  "anyOf": [
1835
+ {
1836
+ "type": "string"
1837
+ },
1683
1838
  {
1684
1839
  "type": "object",
1685
1840
  "properties": {
@@ -1705,8 +1860,7 @@
1705
1860
  "byteLength",
1706
1861
  "byteOffset",
1707
1862
  "length"
1708
- ],
1709
- "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
+ ]
1710
1864
  },
1711
1865
  {
1712
1866
  "type": "object",
@@ -1741,8 +1895,7 @@
1741
1895
  "byteLength",
1742
1896
  "byteOffset",
1743
1897
  "length"
1744
- ],
1745
- "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
+ ]
1746
1899
  }
1747
1900
  ],
1748
1901
  "description": "Private keys in PEM format."
@@ -1812,8 +1965,7 @@
1812
1965
  "byteLength",
1813
1966
  "byteOffset",
1814
1967
  "length"
1815
- ],
1816
- "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
+ ]
1817
1969
  },
1818
1970
  {
1819
1971
  "type": "array",
@@ -1847,8 +1999,7 @@
1847
1999
  "byteLength",
1848
2000
  "byteOffset",
1849
2001
  "length"
1850
- ],
1851
- "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
+ ]
1852
2003
  },
1853
2004
  {
1854
2005
  "type": "object",
@@ -1883,8 +2034,7 @@
1883
2034
  "byteLength",
1884
2035
  "byteOffset",
1885
2036
  "length"
1886
- ],
1887
- "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
+ ]
1888
2038
  }
1889
2039
  ],
1890
2040
  "description": "PFX or PKCS12 encoded private key and certificate chain."
@@ -1942,11 +2092,11 @@
1942
2092
  "byteOffset",
1943
2093
  "length"
1944
2094
  ],
1945
- "description": "48 bytes of cryptographically strong pseudo-random data."
2095
+ "description": "48-bytes of cryptographically strong pseudo-random data. See Session Resumption for more information."
1946
2096
  },
1947
2097
  "sessionTimeout": {
1948
2098
  "type": "number",
1949
- "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."
1950
2100
  },
1951
2101
  "host": {
1952
2102
  "type": "string"
@@ -1961,97 +2111,130 @@
1961
2111
  "type": "object",
1962
2112
  "properties": {
1963
2113
  "writable": {
1964
- "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."
1965
2116
  },
1966
2117
  "writableEnded": {
1967
- "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."
1968
2120
  },
1969
2121
  "writableFinished": {
1970
- "type": "boolean"
2122
+ "type": "boolean",
2123
+ "description": "Is set to `true` immediately before the `'finish'` event is emitted."
1971
2124
  },
1972
2125
  "writableHighWaterMark": {
1973
- "type": "number"
2126
+ "type": "number",
2127
+ "description": "Return the value of `highWaterMark` passed when creating this `Writable`."
1974
2128
  },
1975
2129
  "writableLength": {
1976
- "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`."
1977
2132
  },
1978
2133
  "writableObjectMode": {
1979
- "type": "boolean"
2134
+ "type": "boolean",
2135
+ "description": "Getter for the property `objectMode` of a given `Writable` stream."
1980
2136
  },
1981
2137
  "writableCorked": {
1982
- "type": "number"
2138
+ "type": "number",
2139
+ "description": "Number of times `writable.uncork()` needs to be called in order to fully uncork the stream."
1983
2140
  },
1984
2141
  "destroyed": {
1985
- "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'."
1986
2178
  },
1987
2179
  "readable": {
1988
- "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."
1989
2190
  },
1990
2191
  "readableEncoding": {
1991
2192
  "anyOf": [
1992
2193
  {
1993
- "$ref": "#/definitions/BufferEncoding"
2194
+ "$ref": "#/definitions/global.BufferEncoding"
1994
2195
  },
1995
2196
  {
1996
2197
  "type": "null"
1997
2198
  }
1998
- ]
2199
+ ],
2200
+ "description": "Getter for the property `encoding` of a given `Readable` stream. The `encoding`property can be set using the `readable.setEncoding()` method."
1999
2201
  },
2000
2202
  "readableEnded": {
2001
- "type": "boolean"
2203
+ "type": "boolean",
2204
+ "description": "Becomes `true` when `'end'` event is emitted."
2002
2205
  },
2003
2206
  "readableFlowing": {
2004
2207
  "type": [
2005
2208
  "boolean",
2006
2209
  "null"
2007
- ]
2210
+ ],
2211
+ "description": "This property reflects the current state of a `Readable` stream as described in the `Three states` section."
2008
2212
  },
2009
2213
  "readableHighWaterMark": {
2010
- "type": "number"
2214
+ "type": "number",
2215
+ "description": "Returns the value of `highWaterMark` passed when creating this `Readable`."
2011
2216
  },
2012
2217
  "readableLength": {
2013
- "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`."
2014
2220
  },
2015
2221
  "readableObjectMode": {
2016
- "type": "boolean"
2017
- },
2018
- "bufferSize": {
2019
- "type": "number"
2020
- },
2021
- "bytesRead": {
2022
- "type": "number"
2023
- },
2024
- "bytesWritten": {
2025
- "type": "number"
2222
+ "type": "boolean",
2223
+ "description": "Getter for the property `objectMode` of a given `Readable` stream."
2026
2224
  },
2027
- "connecting": {
2028
- "type": "boolean"
2029
- },
2030
- "localAddress": {
2031
- "type": "string"
2032
- },
2033
- "localPort": {
2034
- "type": "number"
2035
- },
2036
- "remoteAddress": {
2037
- "type": "string"
2038
- },
2039
- "remoteFamily": {
2040
- "type": "string"
2041
- },
2042
- "remotePort": {
2043
- "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."
2044
2228
  }
2045
2229
  },
2046
2230
  "required": [
2047
- "bufferSize",
2048
- "bytesRead",
2049
- "bytesWritten",
2050
- "connecting",
2231
+ "allowHalfOpen",
2232
+ "closed",
2051
2233
  "destroyed",
2052
- "localAddress",
2053
- "localPort",
2234
+ "errored",
2054
2235
  "readable",
2236
+ "readableAborted",
2237
+ "readableDidRead",
2055
2238
  "readableEncoding",
2056
2239
  "readableEnded",
2057
2240
  "readableFlowing",
@@ -2064,11 +2247,13 @@
2064
2247
  "writableFinished",
2065
2248
  "writableHighWaterMark",
2066
2249
  "writableLength",
2250
+ "writableNeedDrain",
2067
2251
  "writableObjectMode"
2068
- ]
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`"
2069
2254
  },
2070
2255
  "checkServerIdentity": {
2071
- "$comment": "(host: string, cert: PeerCertificate) -> Error | undefined"
2256
+ "$comment": "(hostname: string, cert: PeerCertificate) -> Error | undefined"
2072
2257
  },
2073
2258
  "servername": {
2074
2259
  "type": "string"
@@ -2098,8 +2283,7 @@
2098
2283
  "byteLength",
2099
2284
  "byteOffset",
2100
2285
  "length"
2101
- ],
2102
- "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
+ ]
2103
2287
  },
2104
2288
  "minDHSize": {
2105
2289
  "type": "number"
@@ -2221,7 +2405,7 @@
2221
2405
  },
2222
2406
  "deprecated": "Store should not be exposed directly anymore\nYou should use the DomainService instead"
2223
2407
  },
2224
- "BufferEncoding": {
2408
+ "global.BufferEncoding": {
2225
2409
  "type": "string",
2226
2410
  "enum": [
2227
2411
  "ascii",
@@ -2231,6 +2415,7 @@
2231
2415
  "ucs2",
2232
2416
  "ucs-2",
2233
2417
  "base64",
2418
+ "base64url",
2234
2419
  "latin1",
2235
2420
  "binary",
2236
2421
  "hex"