gremlin 3.6.7 → 3.6.8
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/doc/AnonymousTraversalSource.html +1 -1
- package/doc/Authenticator.html +1 -1
- package/doc/Bytecode.html +1 -1
- package/doc/CardinalityValue.html +1 -1
- package/doc/Client.html +41 -8
- package/doc/Connection.html +40 -7
- package/doc/DataType.js.html +1 -1
- package/doc/DriverRemoteConnection.html +44 -11
- package/doc/EdgeLabelVerificationStrategy.html +1 -1
- package/doc/Graph.html +1 -1
- package/doc/GraphBinaryReader.js.html +1 -1
- package/doc/GraphBinaryWriter.js.html +1 -1
- package/doc/GraphSON2Reader.html +1 -1
- package/doc/GraphSON2Writer.html +1 -1
- package/doc/GraphSON3Reader.html +1 -1
- package/doc/GraphSON3Writer.html +1 -1
- package/doc/GraphTraversal.html +1 -1
- package/doc/GraphTraversalSource.html +1 -1
- package/doc/HaltedTraverserStrategy.html +1 -1
- package/doc/MatchAlgorithmStrategy.html +1 -1
- package/doc/P.html +1 -1
- package/doc/PartitionStrategy.html +1 -1
- package/doc/Path.html +1 -1
- package/doc/PlainTextSaslAuthenticator.html +1 -1
- package/doc/ProductiveByStrategy.html +1 -1
- package/doc/RemoteConnection.html +1 -1
- package/doc/RemoteStrategy.html +1 -1
- package/doc/RemoteTraversal.html +1 -1
- package/doc/ReservedKeysVerificationStrategy.html +1 -1
- package/doc/ResponseError.html +1 -1
- package/doc/ResultSet.html +1 -1
- package/doc/SaslAuthenticator.html +1 -1
- package/doc/SaslMechanismBase.html +1 -1
- package/doc/SaslMechanismPlain.html +1 -1
- package/doc/SeedStrategy.html +1 -1
- package/doc/SubgraphStrategy.html +1 -1
- package/doc/TextP.html +1 -1
- package/doc/Transaction.html +1 -1
- package/doc/Translator.html +1 -1
- package/doc/TraversalStrategies.html +1 -1
- package/doc/TraversalStrategy.html +1 -1
- package/doc/TypeSerializer.html +1 -1
- package/doc/driver_auth_authenticator.js.html +1 -1
- package/doc/driver_auth_mechanisms_sasl-mechanism-base.js.html +1 -1
- package/doc/driver_auth_mechanisms_sasl-mechanism-plain.js.html +1 -1
- package/doc/driver_auth_plain-text-sasl-authenticator.js.html +1 -1
- package/doc/driver_auth_sasl-authenticator.js.html +1 -1
- package/doc/driver_client.js.html +2 -1
- package/doc/driver_connection.js.html +4 -1
- package/doc/driver_driver-remote-connection.js.html +2 -1
- package/doc/driver_remote-connection.js.html +1 -1
- package/doc/driver_response-error.js.html +1 -1
- package/doc/driver_result-set.js.html +1 -1
- package/doc/global.html +2 -2
- package/doc/index.html +1 -1
- package/doc/module.exports.html +1 -1
- package/doc/process_anonymous-traversal.js.html +1 -1
- package/doc/process_bytecode.js.html +1 -1
- package/doc/process_graph-traversal.js.html +1 -1
- package/doc/process_transaction.js.html +1 -1
- package/doc/process_translator.js.html +4 -4
- package/doc/process_traversal-strategy.js.html +1 -1
- package/doc/process_traversal.js.html +1 -1
- package/doc/structure_graph.js.html +1 -1
- package/doc/structure_io_binary_internals_DataType.js.html +1 -1
- package/doc/structure_io_binary_internals_GraphBinaryReader.js.html +1 -1
- package/doc/structure_io_binary_internals_GraphBinaryWriter.js.html +1 -1
- package/doc/structure_io_graph-serializer.js.html +1 -1
- package/doc/structure_io_type-serializers.js.html +1 -1
- package/doc/utils.js.html +2 -2
- package/docker-compose.yml +0 -2
- package/lib/driver/client.js +1 -0
- package/lib/driver/connection.js +3 -0
- package/lib/driver/driver-remote-connection.js +1 -0
- package/lib/process/translator.js +3 -3
- package/lib/utils.js +1 -1
- package/package.json +3 -3
package/doc/ResultSet.html
CHANGED
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
<br class="clear">
|
|
713
713
|
|
|
714
714
|
<footer>
|
|
715
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
715
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
716
716
|
</footer>
|
|
717
717
|
|
|
718
718
|
<script> prettyPrint(); </script>
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
<br class="clear">
|
|
447
447
|
|
|
448
448
|
<footer>
|
|
449
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
449
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
450
450
|
</footer>
|
|
451
451
|
|
|
452
452
|
<script> prettyPrint(); </script>
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
<br class="clear">
|
|
498
498
|
|
|
499
499
|
<footer>
|
|
500
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
500
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
501
501
|
</footer>
|
|
502
502
|
|
|
503
503
|
<script> prettyPrint(); </script>
|
|
@@ -916,7 +916,7 @@
|
|
|
916
916
|
<br class="clear">
|
|
917
917
|
|
|
918
918
|
<footer>
|
|
919
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
919
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
920
920
|
</footer>
|
|
921
921
|
|
|
922
922
|
<script> prettyPrint(); </script>
|
package/doc/SeedStrategy.html
CHANGED
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
<br class="clear">
|
|
280
280
|
|
|
281
281
|
<footer>
|
|
282
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
282
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
283
283
|
</footer>
|
|
284
284
|
|
|
285
285
|
<script> prettyPrint(); </script>
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
<br class="clear">
|
|
379
379
|
|
|
380
380
|
<footer>
|
|
381
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
381
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
382
382
|
</footer>
|
|
383
383
|
|
|
384
384
|
<script> prettyPrint(); </script>
|
package/doc/TextP.html
CHANGED
|
@@ -1431,7 +1431,7 @@
|
|
|
1431
1431
|
<br class="clear">
|
|
1432
1432
|
|
|
1433
1433
|
<footer>
|
|
1434
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
1434
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
1435
1435
|
</footer>
|
|
1436
1436
|
|
|
1437
1437
|
<script> prettyPrint(); </script>
|
package/doc/Transaction.html
CHANGED
|
@@ -646,7 +646,7 @@ then close the transaction and thus, the session. This feature only works with t
|
|
|
646
646
|
<br class="clear">
|
|
647
647
|
|
|
648
648
|
<footer>
|
|
649
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
649
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
650
650
|
</footer>
|
|
651
651
|
|
|
652
652
|
<script> prettyPrint(); </script>
|
package/doc/Translator.html
CHANGED
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
<br class="clear">
|
|
519
519
|
|
|
520
520
|
<footer>
|
|
521
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
521
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
522
522
|
</footer>
|
|
523
523
|
|
|
524
524
|
<script> prettyPrint(); </script>
|
|
@@ -643,7 +643,7 @@
|
|
|
643
643
|
<br class="clear">
|
|
644
644
|
|
|
645
645
|
<footer>
|
|
646
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
646
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
647
647
|
</footer>
|
|
648
648
|
|
|
649
649
|
<script> prettyPrint(); </script>
|
|
@@ -384,7 +384,7 @@
|
|
|
384
384
|
<br class="clear">
|
|
385
385
|
|
|
386
386
|
<footer>
|
|
387
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
387
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
388
388
|
</footer>
|
|
389
389
|
|
|
390
390
|
<script> prettyPrint(); </script>
|
package/doc/TypeSerializer.html
CHANGED
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
<br class="clear">
|
|
158
158
|
|
|
159
159
|
<footer>
|
|
160
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
160
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
161
161
|
</footer>
|
|
162
162
|
|
|
163
163
|
<script> prettyPrint(); </script>
|
|
@@ -80,7 +80,7 @@ module.exports = Authenticator;
|
|
|
80
80
|
<br class="clear">
|
|
81
81
|
|
|
82
82
|
<footer>
|
|
83
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
83
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
84
84
|
</footer>
|
|
85
85
|
|
|
86
86
|
<script> prettyPrint(); </script>
|
|
@@ -94,7 +94,7 @@ module.exports = SaslMechanismBase;
|
|
|
94
94
|
<br class="clear">
|
|
95
95
|
|
|
96
96
|
<footer>
|
|
97
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
97
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
98
98
|
</footer>
|
|
99
99
|
|
|
100
100
|
<script> prettyPrint(); </script>
|
|
@@ -147,7 +147,7 @@ module.exports = SaslMechanismPlain;
|
|
|
147
147
|
<br class="clear">
|
|
148
148
|
|
|
149
149
|
<footer>
|
|
150
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
150
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
151
151
|
</footer>
|
|
152
152
|
|
|
153
153
|
<script> prettyPrint(); </script>
|
|
@@ -97,7 +97,7 @@ module.exports = PlainTextSaslAuthenticator;
|
|
|
97
97
|
<br class="clear">
|
|
98
98
|
|
|
99
99
|
<footer>
|
|
100
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
100
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
101
101
|
</footer>
|
|
102
102
|
|
|
103
103
|
<script> prettyPrint(); </script>
|
|
@@ -91,7 +91,7 @@ module.exports = SaslAuthenticator;
|
|
|
91
91
|
<br class="clear">
|
|
92
92
|
|
|
93
93
|
<footer>
|
|
94
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
94
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
95
95
|
</footer>
|
|
96
96
|
|
|
97
97
|
<script> prettyPrint(); </script>
|
|
@@ -74,6 +74,7 @@ class Client {
|
|
|
74
74
|
* @param {Boolean} [options.pingEnabled] Setup ping interval. Defaults to: true.
|
|
75
75
|
* @param {Number} [options.pingInterval] Ping request interval in ms if ping enabled. Defaults to: 60000.
|
|
76
76
|
* @param {Number} [options.pongTimeout] Timeout of pong response in ms after sending a ping. Defaults to: 30000.
|
|
77
|
+
* @param {Boolean} [options.enableCompression] Enable per-message deflate compression. Defaults to: false.
|
|
77
78
|
* @constructor
|
|
78
79
|
*/
|
|
79
80
|
constructor(url, options = {}) {
|
|
@@ -241,7 +242,7 @@ module.exports = Client;
|
|
|
241
242
|
<br class="clear">
|
|
242
243
|
|
|
243
244
|
<footer>
|
|
244
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
245
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
245
246
|
</footer>
|
|
246
247
|
|
|
247
248
|
<script> prettyPrint(); </script>
|
|
@@ -98,6 +98,7 @@ class Connection extends EventEmitter {
|
|
|
98
98
|
* @param {Boolean} [options.pingEnabled] Setup ping interval. Defaults to: true.
|
|
99
99
|
* @param {Number} [options.pingInterval] Ping request interval in ms if ping enabled. Defaults to: 60000.
|
|
100
100
|
* @param {Number} [options.pongTimeout] Timeout of pong response in ms after sending a ping. Defaults to: 30000.
|
|
101
|
+
* @param {Boolean} [options.enableCompression] Enable per-message deflate compression. Defaults to: false.
|
|
101
102
|
* @param {Boolean} [options.connectOnStartup] Deprecated and non-functional. Open websocket on startup.
|
|
102
103
|
* @constructor
|
|
103
104
|
*/
|
|
@@ -169,6 +170,7 @@ class Connection extends EventEmitter {
|
|
|
169
170
|
cert: this.options.cert,
|
|
170
171
|
pfx: this.options.pfx,
|
|
171
172
|
rejectUnauthorized: this.options.rejectUnauthorized,
|
|
173
|
+
perMessageDeflate: this.options.enableCompression,
|
|
172
174
|
});
|
|
173
175
|
|
|
174
176
|
this._ws.on('message', (data) => this._handleMessage(data));
|
|
@@ -372,6 +374,7 @@ class Connection extends EventEmitter {
|
|
|
372
374
|
|
|
373
375
|
return;
|
|
374
376
|
} else if (response.status.code >= 400) {
|
|
377
|
+
this._clearHandler(response.requestId);
|
|
375
378
|
// callback in error
|
|
376
379
|
return handler.callback(
|
|
377
380
|
// TINKERPOP-2285: keep the old server error message in case folks are parsing that - fix in a future breaking version
|
|
@@ -489,7 +492,7 @@ module.exports = Connection;
|
|
|
489
492
|
<br class="clear">
|
|
490
493
|
|
|
491
494
|
<footer>
|
|
492
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
495
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
493
496
|
</footer>
|
|
494
497
|
|
|
495
498
|
<script> prettyPrint(); </script>
|
|
@@ -80,6 +80,7 @@ class DriverRemoteConnection extends RemoteConnection {
|
|
|
80
80
|
* @param {Boolean} [options.pingEnabled] Setup ping interval. Defaults to: true.
|
|
81
81
|
* @param {Number} [options.pingInterval] Ping request interval in ms if ping enabled. Defaults to: 60000.
|
|
82
82
|
* @param {Number} [options.pongTimeout] Timeout of pong response in ms after sending a ping. Defaults to: 30000.
|
|
83
|
+
* @param {Boolean} [options.enableCompression] Enable per-message deflate compression. Defaults to: false.
|
|
83
84
|
* @constructor
|
|
84
85
|
*/
|
|
85
86
|
constructor(url, options = {}) {
|
|
@@ -178,7 +179,7 @@ module.exports = DriverRemoteConnection;
|
|
|
178
179
|
<br class="clear">
|
|
179
180
|
|
|
180
181
|
<footer>
|
|
181
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
182
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
182
183
|
</footer>
|
|
183
184
|
|
|
184
185
|
<script> prettyPrint(); </script>
|
|
@@ -189,7 +189,7 @@ module.exports = { RemoteConnection, RemoteStrategy, RemoteTraversal };
|
|
|
189
189
|
<br class="clear">
|
|
190
190
|
|
|
191
191
|
<footer>
|
|
192
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
192
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
193
193
|
</footer>
|
|
194
194
|
|
|
195
195
|
<script> prettyPrint(); </script>
|
|
@@ -89,7 +89,7 @@ module.exports = ResponseError;
|
|
|
89
89
|
<br class="clear">
|
|
90
90
|
|
|
91
91
|
<footer>
|
|
92
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
92
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
93
93
|
</footer>
|
|
94
94
|
|
|
95
95
|
<script> prettyPrint(); </script>
|
|
@@ -134,7 +134,7 @@ module.exports = ResultSet;
|
|
|
134
134
|
<br class="clear">
|
|
135
135
|
|
|
136
136
|
<footer>
|
|
137
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
137
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
138
138
|
</footer>
|
|
139
139
|
|
|
140
140
|
<script> prettyPrint(); </script>
|
package/doc/global.html
CHANGED
|
@@ -417,7 +417,7 @@ See org.apache.tinkerpop.gremlin.structure.io.binary.DataType Java class.
|
|
|
417
417
|
|
|
418
418
|
<dt class="tag-source">Source:</dt>
|
|
419
419
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
420
|
-
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#
|
|
420
|
+
<a href="driver_client.js.html">driver/client.js</a>, <a href="driver_client.js.html#line81">line 81</a>
|
|
421
421
|
</li></ul></dd>
|
|
422
422
|
|
|
423
423
|
|
|
@@ -453,7 +453,7 @@ See org.apache.tinkerpop.gremlin.structure.io.binary.DataType Java class.
|
|
|
453
453
|
<br class="clear">
|
|
454
454
|
|
|
455
455
|
<footer>
|
|
456
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
456
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
457
457
|
</footer>
|
|
458
458
|
|
|
459
459
|
<script> prettyPrint(); </script>
|
package/doc/index.html
CHANGED
|
@@ -176,7 +176,7 @@ for early testing purposes only. These releases are not suitable for production.
|
|
|
176
176
|
<br class="clear">
|
|
177
177
|
|
|
178
178
|
<footer>
|
|
179
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
179
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
180
180
|
</footer>
|
|
181
181
|
|
|
182
182
|
<script> prettyPrint(); </script>
|
package/doc/module.exports.html
CHANGED
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
<br class="clear">
|
|
293
293
|
|
|
294
294
|
<footer>
|
|
295
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
295
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
296
296
|
</footer>
|
|
297
297
|
|
|
298
298
|
<script> prettyPrint(); </script>
|
|
@@ -119,7 +119,7 @@ module.exports = AnonymousTraversalSource;
|
|
|
119
119
|
<br class="clear">
|
|
120
120
|
|
|
121
121
|
<footer>
|
|
122
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
122
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
123
123
|
</footer>
|
|
124
124
|
|
|
125
125
|
<script> prettyPrint(); </script>
|
|
@@ -166,7 +166,7 @@ module.exports = Bytecode;
|
|
|
166
166
|
<br class="clear">
|
|
167
167
|
|
|
168
168
|
<footer>
|
|
169
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
169
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
170
170
|
</footer>
|
|
171
171
|
|
|
172
172
|
<script> prettyPrint(); </script>
|
|
@@ -1589,7 +1589,7 @@ module.exports = {
|
|
|
1589
1589
|
<br class="clear">
|
|
1590
1590
|
|
|
1591
1591
|
<footer>
|
|
1592
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
1592
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
1593
1593
|
</footer>
|
|
1594
1594
|
|
|
1595
1595
|
<script> prettyPrint(); </script>
|
|
@@ -142,7 +142,7 @@ module.exports = {
|
|
|
142
142
|
<br class="clear">
|
|
143
143
|
|
|
144
144
|
<footer>
|
|
145
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
145
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
146
146
|
</footer>
|
|
147
147
|
|
|
148
148
|
<script> prettyPrint(); </script>
|
|
@@ -134,12 +134,12 @@ class Translator {
|
|
|
134
134
|
} else {
|
|
135
135
|
script += anyObject.toString();
|
|
136
136
|
}
|
|
137
|
-
} else if (anyObject === undefined) {
|
|
138
|
-
script += '';
|
|
137
|
+
} else if (anyObject === undefined || anyObject === null) {
|
|
138
|
+
script += 'null';
|
|
139
139
|
} else if (typeof anyObject === 'number' || typeof anyObject === 'boolean') {
|
|
140
140
|
script += anyObject;
|
|
141
141
|
} else {
|
|
142
|
-
script += `'${anyObject}'`;
|
|
142
|
+
script += `'${`${anyObject}`.replace("'", "\\'")}'`; // eslint-disable-line quotes
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
return script;
|
|
@@ -163,7 +163,7 @@ module.exports = Translator;
|
|
|
163
163
|
<br class="clear">
|
|
164
164
|
|
|
165
165
|
<footer>
|
|
166
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
166
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
167
167
|
</footer>
|
|
168
168
|
|
|
169
169
|
<script> prettyPrint(); </script>
|
|
@@ -395,7 +395,7 @@ module.exports = {
|
|
|
395
395
|
<br class="clear">
|
|
396
396
|
|
|
397
397
|
<footer>
|
|
398
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
398
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
399
399
|
</footer>
|
|
400
400
|
|
|
401
401
|
<script> prettyPrint(); </script>
|
|
@@ -565,7 +565,7 @@ module.exports = {
|
|
|
565
565
|
<br class="clear">
|
|
566
566
|
|
|
567
567
|
<footer>
|
|
568
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
568
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
569
569
|
</footer>
|
|
570
570
|
|
|
571
571
|
<script> prettyPrint(); </script>
|
|
@@ -232,7 +232,7 @@ module.exports = {
|
|
|
232
232
|
<br class="clear">
|
|
233
233
|
|
|
234
234
|
<footer>
|
|
235
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
235
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
236
236
|
</footer>
|
|
237
237
|
|
|
238
238
|
<script> prettyPrint(); </script>
|
|
@@ -140,7 +140,7 @@ module.exports = DataType;
|
|
|
140
140
|
<br class="clear">
|
|
141
141
|
|
|
142
142
|
<footer>
|
|
143
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
143
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
144
144
|
</footer>
|
|
145
145
|
|
|
146
146
|
<script> prettyPrint(); </script>
|
|
@@ -122,7 +122,7 @@ module.exports = class GraphBinaryReader {
|
|
|
122
122
|
<br class="clear">
|
|
123
123
|
|
|
124
124
|
<footer>
|
|
125
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
125
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
126
126
|
</footer>
|
|
127
127
|
|
|
128
128
|
<script> prettyPrint(); </script>
|
|
@@ -125,7 +125,7 @@ module.exports = class GraphBinaryWriter {
|
|
|
125
125
|
<br class="clear">
|
|
126
126
|
|
|
127
127
|
<footer>
|
|
128
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
128
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
129
129
|
</footer>
|
|
130
130
|
|
|
131
131
|
<script> prettyPrint(); </script>
|
|
@@ -342,7 +342,7 @@ module.exports = {
|
|
|
342
342
|
<br class="clear">
|
|
343
343
|
|
|
344
344
|
<footer>
|
|
345
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
345
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
346
346
|
</footer>
|
|
347
347
|
|
|
348
348
|
<script> prettyPrint(); </script>
|
|
@@ -546,7 +546,7 @@ module.exports = {
|
|
|
546
546
|
<br class="clear">
|
|
547
547
|
|
|
548
548
|
<footer>
|
|
549
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
549
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Tue Oct 29 2024 10:04:25 GMT-0700 (Pacific Daylight Time)
|
|
550
550
|
</footer>
|
|
551
551
|
|
|
552
552
|
<script> prettyPrint(); </script>
|
package/doc/utils.js.html
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
const uuid = require('uuid');
|
|
55
55
|
|
|
56
|
-
const gremlinVersion = '3.7.
|
|
56
|
+
const gremlinVersion = '3.7.3'; // DO NOT MODIFY - Configured automatically by Maven Replacer Plugin
|
|
57
57
|
|
|
58
58
|
exports.toLong = function toLong(value) {
|
|
59
59
|
return new Long(value);
|
|
@@ -172,7 +172,7 @@ module.exports.DeferredPromise = DeferredPromise;
|
|
|
172
172
|
<br class="clear">
|
|
173
173
|
|
|
174
174
|
<footer>
|
|
175
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
175
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Oct 24 2024 13:00:02 GMT-0700 (Pacific Daylight Time)
|
|
176
176
|
</footer>
|
|
177
177
|
|
|
178
178
|
<script> prettyPrint(); </script>
|
package/docker-compose.yml
CHANGED
package/lib/driver/client.js
CHANGED
|
@@ -46,6 +46,7 @@ class Client {
|
|
|
46
46
|
* @param {Boolean} [options.pingEnabled] Setup ping interval. Defaults to: true.
|
|
47
47
|
* @param {Number} [options.pingInterval] Ping request interval in ms if ping enabled. Defaults to: 60000.
|
|
48
48
|
* @param {Number} [options.pongTimeout] Timeout of pong response in ms after sending a ping. Defaults to: 30000.
|
|
49
|
+
* @param {Boolean} [options.enableCompression] Enable per-message deflate compression. Defaults to: false.
|
|
49
50
|
* @constructor
|
|
50
51
|
*/
|
|
51
52
|
constructor(url, options = {}) {
|
package/lib/driver/connection.js
CHANGED
|
@@ -70,6 +70,7 @@ class Connection extends EventEmitter {
|
|
|
70
70
|
* @param {Boolean} [options.pingEnabled] Setup ping interval. Defaults to: true.
|
|
71
71
|
* @param {Number} [options.pingInterval] Ping request interval in ms if ping enabled. Defaults to: 60000.
|
|
72
72
|
* @param {Number} [options.pongTimeout] Timeout of pong response in ms after sending a ping. Defaults to: 30000.
|
|
73
|
+
* @param {Boolean} [options.enableCompression] Enable per-message deflate compression. Defaults to: false.
|
|
73
74
|
* @param {Boolean} [options.connectOnStartup] Deprecated and non-functional. Open websocket on startup.
|
|
74
75
|
* @constructor
|
|
75
76
|
*/
|
|
@@ -141,6 +142,7 @@ class Connection extends EventEmitter {
|
|
|
141
142
|
cert: this.options.cert,
|
|
142
143
|
pfx: this.options.pfx,
|
|
143
144
|
rejectUnauthorized: this.options.rejectUnauthorized,
|
|
145
|
+
perMessageDeflate: this.options.enableCompression,
|
|
144
146
|
});
|
|
145
147
|
|
|
146
148
|
this._ws.on('message', (data) => this._handleMessage(data));
|
|
@@ -344,6 +346,7 @@ class Connection extends EventEmitter {
|
|
|
344
346
|
|
|
345
347
|
return;
|
|
346
348
|
} else if (response.status.code >= 400) {
|
|
349
|
+
this._clearHandler(response.requestId);
|
|
347
350
|
// callback in error
|
|
348
351
|
return handler.callback(
|
|
349
352
|
// TINKERPOP-2285: keep the old server error message in case folks are parsing that - fix in a future breaking version
|
|
@@ -52,6 +52,7 @@ class DriverRemoteConnection extends RemoteConnection {
|
|
|
52
52
|
* @param {Boolean} [options.pingEnabled] Setup ping interval. Defaults to: true.
|
|
53
53
|
* @param {Number} [options.pingInterval] Ping request interval in ms if ping enabled. Defaults to: 60000.
|
|
54
54
|
* @param {Number} [options.pongTimeout] Timeout of pong response in ms after sending a ping. Defaults to: 30000.
|
|
55
|
+
* @param {Boolean} [options.enableCompression] Enable per-message deflate compression. Defaults to: false.
|
|
55
56
|
* @constructor
|
|
56
57
|
*/
|
|
57
58
|
constructor(url, options = {}) {
|
|
@@ -106,12 +106,12 @@ class Translator {
|
|
|
106
106
|
} else {
|
|
107
107
|
script += anyObject.toString();
|
|
108
108
|
}
|
|
109
|
-
} else if (anyObject === undefined) {
|
|
110
|
-
script += '';
|
|
109
|
+
} else if (anyObject === undefined || anyObject === null) {
|
|
110
|
+
script += 'null';
|
|
111
111
|
} else if (typeof anyObject === 'number' || typeof anyObject === 'boolean') {
|
|
112
112
|
script += anyObject;
|
|
113
113
|
} else {
|
|
114
|
-
script += `'${anyObject}'`;
|
|
114
|
+
script += `'${`${anyObject}`.replace("'", "\\'")}'`; // eslint-disable-line quotes
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
return script;
|
package/lib/utils.js
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
const crypto = require('crypto');
|
|
27
27
|
const os = require('os');
|
|
28
28
|
|
|
29
|
-
const gremlinVersion = '3.6.
|
|
29
|
+
const gremlinVersion = '3.6.8'; // DO NOT MODIFY - Configured automatically by Maven Replacer Plugin
|
|
30
30
|
|
|
31
31
|
exports.toLong = function toLong(value) {
|
|
32
32
|
return new Long(value);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gremlin",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.8",
|
|
4
4
|
"description": "JavaScript Gremlin Language Variant",
|
|
5
5
|
"author": "Apache TinkerPop team",
|
|
6
6
|
"keywords": [
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"ws": "^8.11.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"chai": "~4.
|
|
20
|
+
"chai": "~4.5.0",
|
|
21
21
|
"chai-string": "~1.5.0",
|
|
22
22
|
"colors": "1.4.0",
|
|
23
23
|
"cross-env": "^7.0.3",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"eslint-config-prettier": "^9.0.0",
|
|
27
27
|
"eslint-plugin-prettier": "^5.0.0",
|
|
28
28
|
"grunt": "^1.5.3",
|
|
29
|
-
"grunt-cli": "~1.
|
|
29
|
+
"grunt-cli": "~1.5.0",
|
|
30
30
|
"grunt-jsdoc": "~2.4.1",
|
|
31
31
|
"mocha": "^10.2.0",
|
|
32
32
|
"prettier": "^3.0.0"
|