https://issues.apache.org/jira/browse/TINKERPOP-2143
Summary of changes:
* Updated dependency on WS package (which was very old 3.0.0) to v 6.0.0. This 
is required by browsers.
* Added dependency to util and events packages which were required by the 
javascript module,  but were not listed in dependencies, so that it wouldn't 
compile.
* Added new dependency to uiid library.

* Generation of UUIDs was passed to UUID library instead of utilizing crypto 
package (which is not anymore available as separate library in browsers world, 
it is bundled, however some functions used in generating UUID were not 
available in the new bundled crypto). The uuid library can generate UUID of 
version 4, which was the version used to generate the UUIDs.
* Usage of standard WebSocket object from default packages.
 -  a new Buffer handling had to be written because the browser WS library 
doesnt have automatic creation of Buffer Arrays, so it had to be implemented 
from scratch => using Uint8Array.

Code has been tested in our UI project, where we can send requests from UI to 
Gremlin server. I wasn't able to run the Tinkerpop tests locally.


[ Full content available at: https://github.com/apache/tinkerpop/pull/1070 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to