eshost-cli
Advanced tools
Comparing version 4.3.0 to 4.4.0
{ | ||
"name": "eshost-cli", | ||
"version": "4.3.0", | ||
"version": "4.4.0", | ||
"description": "Run scripts in any ECMAScript host", | ||
@@ -12,3 +12,3 @@ "bin": { | ||
"configstore": "^1.4.0", | ||
"eshost": "^6.5.0", | ||
"eshost": "^6.6.0", | ||
"nconf": "^0.8.2", | ||
@@ -15,0 +15,0 @@ "temp": "^0.8.3", |
@@ -30,2 +30,3 @@ # eshost-cli | ||
``` | ||
# Engine262 | ||
git clone https://github.com/devsnek/engine262.git; | ||
@@ -35,6 +36,13 @@ cd engine262 && npm install && npm run build && npm link; | ||
# QuickJS | ||
wget https://bellard.org/quickjs/quickjs-2019-09-18.tar.xz; | ||
tar -xf quickjs-2019-09-18.tar.xz; | ||
cd quickjs-2019-09-18 && make; | ||
if [ -f "$PWD/run-test262" ]; then ln -s $PWD/run-test262 /usr/local/bin/qjs-for-eshost; fi; | ||
# Everything else... | ||
npm install -g jsvu; | ||
export PATH="${HOME}/.jsvu:${PATH}"; | ||
jsvu --engines=all; | ||
jsvu --engines=chakra,hermes,javascriptcore,spidermonkey,v8,xs | ||
@@ -44,2 +52,3 @@ export ESHOST_PATH_CHAKRA=`which chakra`; | ||
export ESHOST_PATH_JAVASCRIPTCORE=`which javascriptcore`; | ||
export ESHOST_PATH_QUICKJS=`which qjs-for-eshost`; | ||
export ESHOST_PATH_SPIDERMONKEY=`which spidermonkey`; | ||
@@ -54,2 +63,3 @@ export ESHOST_PATH_V8=`which v8`; | ||
eshost --add "javascriptcore" jsc $ESHOST_PATH_JAVASCRIPTCORE; | ||
eshost --add "quickjs" qjs $ESHOST_PATH_QUICKJS; | ||
eshost --add "spidermonkey" jsshell $ESHOST_PATH_SPIDERMONKEY; | ||
@@ -198,5 +208,5 @@ eshost --add "v8" d8 $ESHOST_PATH_V8; | ||
Shells: | ||
### Shells | ||
| Host Type | All Acceptable Values | | ||
| Host Type | All Acceptable `type` Values | | ||
| ---- | -------------------- | | ||
@@ -208,3 +218,3 @@ | ChakraCore | `chakra`, `ch` | | ||
| Node | `node` | | ||
| QuickJS | `qjs` <sup>1</sup><sup>2</sup> | | ||
| QuickJS | `qjs` <sup>1</sup> | | ||
| SpiderMonkey | `jsshell`, `spidermonkey`, `sm` | | ||
@@ -214,9 +224,7 @@ | V8 | `d8`, `v8` | | ||
* 1: For QuickJS, use `run-test26`, eg. `eshost --add QuickJS qjs path/to/quickjs/run-test262` | ||
- Users can download the QuickJS source [here](https://bellard.org/quickjs/). Extract the contents and enter the directory. Run `make` to build from source. Create a symlink to `run-test262` and use that to set up a runtime: `eshost --add QuickJS qjs symlink/to/quickjs/run-test262` | ||
* 2: **DO NOT USE `~/.jsvu/quickjs` WITH ESHOST-CLI**. The main `quickjs` binary does not support the [eshost runtime API](https://github.com/bterlson/eshost#runtime-library). See <sup>1</sup>. | ||
* 1: **DO NOT USE `~/.jsvu/quickjs` WITH ESHOST-CLI**. The main `quickjs` binary does not support the [eshost runtime API](https://github.com/bterlson/eshost#runtime-library). For more, see [Install and Configure Hosts](#install-and-configure-hosts). | ||
Browsers: | ||
### Browsers | ||
| Host Type | All Acceptable Values | | ||
| Host Type | All Acceptable `type` Values | | ||
| ---- | -------------------- | | ||
@@ -223,0 +231,0 @@ | chrome | `chrome` | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28384
229
Updatedeshost@^6.6.0