gremlin 3.6.2 → 3.6.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.
Files changed (70) hide show
  1. package/.eslintrc.js +1 -1
  2. package/NOTICE +1 -1
  3. package/doc/AnonymousTraversalSource.html +1 -1
  4. package/doc/Authenticator.html +1 -1
  5. package/doc/Bytecode.html +1 -1
  6. package/doc/Client.html +1 -1
  7. package/doc/Connection.html +1 -1
  8. package/doc/DriverRemoteConnection.html +1 -1
  9. package/doc/EdgeLabelVerificationStrategy.html +1 -1
  10. package/doc/Graph.html +1 -1
  11. package/doc/GraphSON2Reader.html +1 -1
  12. package/doc/GraphSON2Writer.html +1 -1
  13. package/doc/GraphSON3Reader.html +1 -1
  14. package/doc/GraphSON3Writer.html +1 -1
  15. package/doc/GraphTraversal.html +1 -1
  16. package/doc/GraphTraversalSource.html +1 -1
  17. package/doc/HaltedTraverserStrategy.html +1 -1
  18. package/doc/MatchAlgorithmStrategy.html +1 -1
  19. package/doc/P.html +1 -1
  20. package/doc/PartitionStrategy.html +1 -1
  21. package/doc/Path.html +1 -1
  22. package/doc/PlainTextSaslAuthenticator.html +1 -1
  23. package/doc/ProductiveByStrategy.html +1 -1
  24. package/doc/RemoteConnection.html +1 -1
  25. package/doc/RemoteStrategy.html +1 -1
  26. package/doc/RemoteTraversal.html +1 -1
  27. package/doc/ReservedKeysVerificationStrategy.html +1 -1
  28. package/doc/ResponseError.html +1 -1
  29. package/doc/ResultSet.html +1 -1
  30. package/doc/SaslAuthenticator.html +1 -1
  31. package/doc/SaslMechanismBase.html +1 -1
  32. package/doc/SaslMechanismPlain.html +1 -1
  33. package/doc/SeedStrategy.html +1 -1
  34. package/doc/SubgraphStrategy.html +1 -1
  35. package/doc/TextP.html +1 -1
  36. package/doc/Transaction.html +1 -1
  37. package/doc/Translator.html +1 -1
  38. package/doc/TraversalStrategies.html +1 -1
  39. package/doc/TraversalStrategy.html +1 -1
  40. package/doc/TypeSerializer.html +1 -1
  41. package/doc/driver_auth_authenticator.js.html +1 -1
  42. package/doc/driver_auth_mechanisms_sasl-mechanism-base.js.html +1 -1
  43. package/doc/driver_auth_mechanisms_sasl-mechanism-plain.js.html +1 -1
  44. package/doc/driver_auth_plain-text-sasl-authenticator.js.html +1 -1
  45. package/doc/driver_auth_sasl-authenticator.js.html +1 -1
  46. package/doc/driver_client.js.html +1 -1
  47. package/doc/driver_connection.js.html +1 -1
  48. package/doc/driver_driver-remote-connection.js.html +1 -1
  49. package/doc/driver_remote-connection.js.html +1 -1
  50. package/doc/driver_response-error.js.html +1 -1
  51. package/doc/driver_result-set.js.html +1 -1
  52. package/doc/global.html +1 -1
  53. package/doc/index.html +1 -1
  54. package/doc/module.exports.html +1 -1
  55. package/doc/process_anonymous-traversal.js.html +1 -1
  56. package/doc/process_bytecode.js.html +1 -1
  57. package/doc/process_graph-traversal.js.html +1 -1
  58. package/doc/process_transaction.js.html +1 -1
  59. package/doc/process_translator.js.html +1 -1
  60. package/doc/process_traversal-strategy.js.html +1 -1
  61. package/doc/process_traversal.js.html +16 -2
  62. package/doc/structure_graph.js.html +1 -1
  63. package/doc/structure_io_binary_internals_DataType.js.html +1 -1
  64. package/doc/structure_io_binary_internals_GraphBinaryReader.js.html +1 -1
  65. package/doc/structure_io_binary_internals_GraphBinaryWriter.js.html +1 -1
  66. package/doc/structure_io_graph-serializer.js.html +1 -1
  67. package/doc/structure_io_type-serializers.js.html +1 -1
  68. package/lib/process/traversal.js +15 -1
  69. package/lib/utils.js +18 -4
  70. package/package.json +1 -1
package/.eslintrc.js CHANGED
@@ -26,7 +26,7 @@ module.exports = {
26
26
  node: true,
27
27
  },
28
28
  parserOptions: {
29
- ecmaVersion: 2017,
29
+ ecmaVersion: 2021,
30
30
  },
31
31
  ignorePatterns: ['test/**/*.js', 'doc/**/*.js'],
32
32
  extends: ['eslint:recommended', 'prettier'],
package/NOTICE CHANGED
@@ -1,5 +1,5 @@
1
1
  Apache TinkerPop
2
- Copyright 2015-2022 The Apache Software Foundation.
2
+ Copyright 2015-2023 The Apache Software Foundation.
3
3
 
4
4
  This product includes software developed at
5
5
  The Apache Software Foundation (http://www.apache.org/).
@@ -722,7 +722,7 @@ reference so that traversals spawned from it will execute over that reference.
722
722
  <br class="clear">
723
723
 
724
724
  <footer>
725
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
725
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
726
726
  </footer>
727
727
 
728
728
  <script> prettyPrint(); </script>
@@ -294,7 +294,7 @@
294
294
  <br class="clear">
295
295
 
296
296
  <footer>
297
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
297
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
298
298
  </footer>
299
299
 
300
300
  <script> prettyPrint(); </script>
package/doc/Bytecode.html CHANGED
@@ -932,7 +932,7 @@
932
932
  <br class="clear">
933
933
 
934
934
  <footer>
935
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
935
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
936
936
  </footer>
937
937
 
938
938
  <script> prettyPrint(); </script>
package/doc/Client.html CHANGED
@@ -1893,7 +1893,7 @@ send session close request before connection close if session mode
1893
1893
  <br class="clear">
1894
1894
 
1895
1895
  <footer>
1896
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
1896
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
1897
1897
  </footer>
1898
1898
 
1899
1899
  <script> prettyPrint(); </script>
@@ -1337,7 +1337,7 @@
1337
1337
  <br class="clear">
1338
1338
 
1339
1339
  <footer>
1340
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
1340
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
1341
1341
  </footer>
1342
1342
 
1343
1343
  <script> prettyPrint(); </script>
@@ -1552,7 +1552,7 @@
1552
1552
  <br class="clear">
1553
1553
 
1554
1554
  <footer>
1555
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
1555
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
1556
1556
  </footer>
1557
1557
 
1558
1558
  <script> prettyPrint(); </script>
@@ -243,7 +243,7 @@
243
243
  <br class="clear">
244
244
 
245
245
  <footer>
246
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
246
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
247
247
  </footer>
248
248
 
249
249
  <script> prettyPrint(); </script>
package/doc/Graph.html CHANGED
@@ -334,7 +334,7 @@
334
334
  <br class="clear">
335
335
 
336
336
  <footer>
337
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
337
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
338
338
  </footer>
339
339
 
340
340
  <script> prettyPrint(); </script>
@@ -398,7 +398,7 @@ deserializer instances as values, ie: { 'g:Int64': longSerializer }.</td>
398
398
  <br class="clear">
399
399
 
400
400
  <footer>
401
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
401
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
402
402
  </footer>
403
403
 
404
404
  <script> prettyPrint(); </script>
@@ -549,7 +549,7 @@ serializer instances as values, ie: { 'g:Int64': longSerializer }.</td>
549
549
  <br class="clear">
550
550
 
551
551
  <footer>
552
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
552
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
553
553
  </footer>
554
554
 
555
555
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -18289,7 +18289,7 @@
18289
18289
  <br class="clear">
18290
18290
 
18291
18291
  <footer>
18292
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
18292
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
18293
18293
  </footer>
18294
18294
 
18295
18295
  <script> prettyPrint(); </script>
@@ -3658,7 +3658,7 @@
3658
3658
  <br class="clear">
3659
3659
 
3660
3660
  <footer>
3661
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
3661
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
3662
3662
  </footer>
3663
3663
 
3664
3664
  <script> prettyPrint(); </script>
@@ -206,7 +206,7 @@
206
206
  <br class="clear">
207
207
 
208
208
  <footer>
209
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
209
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
210
210
  </footer>
211
211
 
212
212
  <script> prettyPrint(); </script>
@@ -201,7 +201,7 @@
201
201
  <br class="clear">
202
202
 
203
203
  <footer>
204
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
204
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
205
205
  </footer>
206
206
 
207
207
  <script> prettyPrint(); </script>
package/doc/P.html CHANGED
@@ -1866,7 +1866,7 @@
1866
1866
  <br class="clear">
1867
1867
 
1868
1868
  <footer>
1869
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
1869
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
1870
1870
  </footer>
1871
1871
 
1872
1872
  <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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
381
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
382
382
  </footer>
383
383
 
384
384
  <script> prettyPrint(); </script>
package/doc/Path.html CHANGED
@@ -233,7 +233,7 @@
233
233
  <br class="clear">
234
234
 
235
235
  <footer>
236
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
236
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
237
237
  </footer>
238
238
 
239
239
  <script> prettyPrint(); </script>
@@ -447,7 +447,7 @@
447
447
  <br class="clear">
448
448
 
449
449
  <footer>
450
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
450
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
451
451
  </footer>
452
452
 
453
453
  <script> prettyPrint(); </script>
@@ -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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
282
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
283
283
  </footer>
284
284
 
285
285
  <script> prettyPrint(); </script>
@@ -1077,7 +1077,7 @@ If the connection is already session bound then this function should throw an ex
1077
1077
  <br class="clear">
1078
1078
 
1079
1079
  <footer>
1080
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
1080
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
1081
1081
  </footer>
1082
1082
 
1083
1083
  <script> prettyPrint(); </script>
@@ -298,7 +298,7 @@
298
298
  <br class="clear">
299
299
 
300
300
  <footer>
301
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
301
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
302
302
  </footer>
303
303
 
304
304
  <script> prettyPrint(); </script>
@@ -161,7 +161,7 @@
161
161
  <br class="clear">
162
162
 
163
163
  <footer>
164
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
164
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
165
165
  </footer>
166
166
 
167
167
  <script> prettyPrint(); </script>
@@ -270,7 +270,7 @@
270
270
  <br class="clear">
271
271
 
272
272
  <footer>
273
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
273
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
274
274
  </footer>
275
275
 
276
276
  <script> prettyPrint(); </script>
@@ -351,7 +351,7 @@
351
351
  <br class="clear">
352
352
 
353
353
  <footer>
354
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
354
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
355
355
  </footer>
356
356
 
357
357
  <script> prettyPrint(); </script>
@@ -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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
715
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
449
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
500
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
919
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
920
920
  </footer>
921
921
 
922
922
  <script> prettyPrint(); </script>
@@ -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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
282
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
381
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
1434
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
1435
1435
  </footer>
1436
1436
 
1437
1437
  <script> prettyPrint(); </script>
@@ -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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
649
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
650
650
  </footer>
651
651
 
652
652
  <script> prettyPrint(); </script>
@@ -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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
521
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
646
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
387
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
388
388
  </footer>
389
389
 
390
390
  <script> prettyPrint(); </script>
@@ -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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
160
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
83
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
97
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
150
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
100
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
94
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
95
95
  </footer>
96
96
 
97
97
  <script> prettyPrint(); </script>
@@ -241,7 +241,7 @@ module.exports = Client;
241
241
  <br class="clear">
242
242
 
243
243
  <footer>
244
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
244
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
245
245
  </footer>
246
246
 
247
247
  <script> prettyPrint(); </script>
@@ -480,7 +480,7 @@ module.exports = Connection;
480
480
  <br class="clear">
481
481
 
482
482
  <footer>
483
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
483
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
484
484
  </footer>
485
485
 
486
486
  <script> prettyPrint(); </script>
@@ -178,7 +178,7 @@ module.exports = DriverRemoteConnection;
178
178
  <br class="clear">
179
179
 
180
180
  <footer>
181
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
181
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
182
182
  </footer>
183
183
 
184
184
  <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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
192
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
92
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
137
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
138
138
  </footer>
139
139
 
140
140
  <script> prettyPrint(); </script>
package/doc/global.html CHANGED
@@ -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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
456
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
179
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
180
180
  </footer>
181
181
 
182
182
  <script> prettyPrint(); </script>
@@ -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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
295
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
122
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
169
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
1592
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
1593
1593
  </footer>
1594
1594
 
1595
1595
  <script> prettyPrint(); </script>
@@ -134,7 +134,7 @@ module.exports = {
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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
137
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
138
138
  </footer>
139
139
 
140
140
  <script> prettyPrint(); </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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
166
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
398
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
399
399
  </footer>
400
400
 
401
401
  <script> prettyPrint(); </script>
@@ -501,6 +501,20 @@ function toEnum(typeName, keys) {
501
501
  return result;
502
502
  }
503
503
 
504
+ const directionAlias = {
505
+ from_: 'out',
506
+ to: 'in',
507
+ };
508
+
509
+ // for direction enums, maps the same EnumValue object to the enum aliases after creating them
510
+ function toDirectionEnum(typeName, keys) {
511
+ const result = toEnum(typeName, keys);
512
+ Object.keys(directionAlias).forEach((k) => {
513
+ result[k] = result[directionAlias[k]];
514
+ });
515
+ return result;
516
+ }
517
+
504
518
  class EnumValue {
505
519
  constructor(typeName, elementName) {
506
520
  this.typeName = typeName;
@@ -524,7 +538,7 @@ module.exports = {
524
538
  barrier: toEnum('Barrier', 'normSack'),
525
539
  cardinality: toEnum('Cardinality', 'list set single'),
526
540
  column: toEnum('Column', 'keys values'),
527
- direction: toEnum('Direction', 'BOTH IN OUT from_ to'),
541
+ direction: toDirectionEnum('Direction', 'BOTH IN OUT from_ to'),
528
542
  graphSONVersion: toEnum('GraphSONVersion', 'V1_0 V2_0 V3_0'),
529
543
  gryoVersion: toEnum('GryoVersion', 'V1_0 V3_0'),
530
544
  merge: toEnum('Merge', 'onCreate onMatch outV inV'),
@@ -551,7 +565,7 @@ module.exports = {
551
565
  <br class="clear">
552
566
 
553
567
  <footer>
554
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
568
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
555
569
  </footer>
556
570
 
557
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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
235
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
143
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
125
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
128
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
345
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 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 Thu Jan 26 2023 15:50:35 GMT-0800 (Pacific Standard Time)
549
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri May 05 2023 13:20:20 GMT-0700 (Pacific Daylight Time)
550
550
  </footer>
551
551
 
552
552
  <script> prettyPrint(); </script>
@@ -473,6 +473,20 @@ function toEnum(typeName, keys) {
473
473
  return result;
474
474
  }
475
475
 
476
+ const directionAlias = {
477
+ from_: 'out',
478
+ to: 'in',
479
+ };
480
+
481
+ // for direction enums, maps the same EnumValue object to the enum aliases after creating them
482
+ function toDirectionEnum(typeName, keys) {
483
+ const result = toEnum(typeName, keys);
484
+ Object.keys(directionAlias).forEach((k) => {
485
+ result[k] = result[directionAlias[k]];
486
+ });
487
+ return result;
488
+ }
489
+
476
490
  class EnumValue {
477
491
  constructor(typeName, elementName) {
478
492
  this.typeName = typeName;
@@ -496,7 +510,7 @@ module.exports = {
496
510
  barrier: toEnum('Barrier', 'normSack'),
497
511
  cardinality: toEnum('Cardinality', 'list set single'),
498
512
  column: toEnum('Column', 'keys values'),
499
- direction: toEnum('Direction', 'BOTH IN OUT from_ to'),
513
+ direction: toDirectionEnum('Direction', 'BOTH IN OUT from_ to'),
500
514
  graphSONVersion: toEnum('GraphSONVersion', 'V1_0 V2_0 V3_0'),
501
515
  gryoVersion: toEnum('GryoVersion', 'V1_0 V3_0'),
502
516
  merge: toEnum('Merge', 'onCreate onMatch outV inV'),
package/lib/utils.js CHANGED
@@ -90,10 +90,24 @@ function generateUserAgent() {
90
90
  } catch (e) {
91
91
  driverVersion = 'NotAvailable';
92
92
  }
93
- const runtimeVersion = process.version.replace(' ', '_');
94
- const osName = os.platform().replace(' ', '_');
95
- const osVersion = os.release().replace(' ', '_');
96
- const cpuArch = process.arch.replace(' ', '_');
93
+ let runtimeVersion;
94
+ let osName;
95
+ let osVersion;
96
+ let cpuArch;
97
+ runtimeVersion = osName = osVersion = cpuArch = 'NotAvailable';
98
+ if (process != null) {
99
+ if (process.version) {
100
+ runtimeVersion = process.version.replace(' ', '_');
101
+ }
102
+ if (process.arch) {
103
+ cpuArch = process.arch.replace(' ', '_');
104
+ }
105
+ }
106
+ if (os != null) {
107
+ osName = os.platform().replace(' ', '_');
108
+ osVersion = os.release().replace(' ', '_');
109
+ }
110
+
97
111
  const userAgent = `${applicationName} Gremlin-Javascript.${driverVersion} ${runtimeVersion} ${osName}.${osVersion} ${cpuArch}`;
98
112
 
99
113
  return userAgent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gremlin",
3
- "version": "3.6.2",
3
+ "version": "3.6.3",
4
4
  "description": "JavaScript Gremlin Language Variant",
5
5
  "author": "Apache TinkerPop team",
6
6
  "keywords": [