Closed
Description
Would be good to get JSONata (currently 1.5.3) to operate under the Java 8 nashorn ES5 engine.
Background
The Java 8 nashorn JavaScript engine supports ES5 == ECMA Script 5.
JSONata 1.1.1 can be easily run under Java 8 nashorn.
JSONata 1.2 began using ES6 == ECMA Script 6 features. See this thread.
The babel transpiler generates jsonata-es5.js from ES6 source. However, the transpiled source assumes the presence of a number of node_modules
.
#196 discusses a number of issues related to trying to get JSONata 1.5.3 to operate under Java 8.