Hello I have been working with Joan on installing CouchDB through snap. Currently on the Snap Store there is a stable version 2.3.1 and a candidate version 3.0.0 which both use libmozjs185.
In preparation for Ubuntu 20.04 I've just raised a PR with a working version under core-20 which uses the SM60. I'm keen to hear any feed back. With early testing the new snaps can be released soon after 20.04 officially lands. Snaps are fully contained and confined. So they sandbox the entire execution system. The snap I've built on 20.04 will run on 18.04 (and even 16.04). This becomes a potential solution for installing 3.x on older machines without SM60. Snaps also have a two tiers for version control. Going forward there will be able to be parallel versions called 2.x/stable; 3.x/stable, 3.x/beta and 4.x/edge etc.. A recently added feature of snaps let's you run multiple (segregated) snaps. The README-SNAP.md has the details. This is help, too, for rolling forward and back between version optionally with or without shared database files. Cheers Simon