Skip to content

Commit 8d2508c

Browse files
committed
chore: Use SpiderMonkey v128 as default version
1 parent c5f6307 commit 8d2508c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ run_erlang() {
4040

4141
COUCHDB_USER="$(whoami 2>/dev/null || echo couchdb)"
4242
JS_ENGINE=${JS_ENGINE:-"spidermonkey"}
43-
SM_VSN=${SM_VSN:-"91"}
43+
SM_VSN=${SM_VSN:-"128"}
4444
CLOUSEAU_MTH=${CLOUSEAU_MTH:-"dist"}
4545
CLOUSEAU_URI=${CLOUSEAU_URI:-"https://github.com/cloudant-labs/clouseau/releases/download/%s/clouseau-%s-dist.zip"}
4646
CLOUSEAU_VSN=${CLOUSEAU_VSN:-"2.25.0"}

configure.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
-WithClouseau build the Clouseau search module (default false)
1313
-SkipDeps do not update Erlang dependencies (default false)
1414
-CouchDBUser USER set the username to run as (defaults to current user)
15-
-SpiderMonkeyVersion VSN select the version of SpiderMonkey to use (default 91)
15+
-SpiderMonkeyVersion VSN select the version of SpiderMonkey to use (default 128)
1616
-JSEngine ENGINE select JS engine to use (spidermonkey or quickjs) (default spidermonkey)
1717
-ClouseauVersion VSN select the version of Clouseau to use (default 2.25.0)
1818
-ClouseauMethod MTH method for Clouseau to deploy: git or dist (default dist)
@@ -60,7 +60,7 @@ Param(
6060
[ValidateNotNullOrEmpty()]
6161
[string]$CouchDBUser = [Environment]::UserName, # set the username to run as (defaults to current user)
6262
[ValidateNotNullOrEmpty()]
63-
[string]$SpiderMonkeyVersion = "91", # select the version of SpiderMonkey to use (default 91)
63+
[string]$SpiderMonkeyVersion = "128", # select the version of SpiderMonkey to use (default 91)
6464
[ValidateNotNullOrEmpty()]
6565
[string]$JSEngine = "spidermonkey", # select the JS engine (spidermonkey | quickjs) to use (default spidermonkey)
6666
[ValidateNotNullOrEmpty()]

src/couch/rebar.config.script

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ SMVsn = case lists:keyfind(spidermonkey_version, 1, CouchConfig) of
9898
{_, "128"} ->
9999
"128";
100100
undefined ->
101-
"91";
101+
"128";
102102
{_, Unsupported} ->
103103
io:format(standard_error, "Unsupported SpiderMonkey version: ~s~n", [Unsupported]),
104104
erlang:halt(1);
105105
false ->
106-
"91"
106+
"128"
107107
end.
108108

109109
ConfigH = [

0 commit comments

Comments
 (0)