gremlin 3.6.6 → 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/NOTICE +1 -1
- package/doc/AnonymousTraversalSource.html +1 -1
- package/doc/Authenticator.html +1 -1
- package/doc/Bytecode.html +1 -1
- package/doc/CardinalityValue.html +2 -2
- package/doc/Client.html +41 -8
- package/doc/Connection.html +40 -7
- package/doc/DataType.js.html +149 -0
- package/doc/DriverRemoteConnection.html +44 -11
- package/doc/EdgeLabelVerificationStrategy.html +1 -1
- package/doc/Graph.html +1 -1
- package/doc/GraphBinaryReader.js.html +132 -0
- package/doc/GraphBinaryWriter.js.html +135 -0
- 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 +4 -4
- 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 +11 -3
- 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 +181 -0
- package/docker-compose.yml +1 -3
- 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/transaction.js +10 -2
- package/lib/process/translator.js +3 -3
- package/lib/utils.js +1 -1
- package/package.json +4 -4
|
@@ -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"
|
|
@@ -55,6 +55,6 @@
|
|
|
55
55
|
"lint": "eslint --ext .js ."
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
|
58
|
-
"node": ">=
|
|
58
|
+
"node": ">=18"
|
|
59
59
|
}
|
|
60
60
|
}
|