MDL-66109 js: Fix circular dependency in Shifter dependency
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 22 Apr 2020 02:12:30 +0000 (10:12 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 11 May 2020 02:53:35 +0000 (10:53 +0800)
commita508dfb43ad8bf1f239d0c3600523aa5cbe9c184
treeb0594656ab1befe88fb3d8ad3a49d912797b3af0
parent1591dc5786ca1df5d3f4ff90500ad3e1aa5dc060
MDL-66109 js: Fix circular dependency in Shifter dependency

Shifter is using an ancient and no-longer supported of Istanbul. That
version contains a circular dependency whereby it fetches the version
from the index that included the file in the first place.  This throws a
warning on newer versions of Node.

The fix here is simple and intended to be the bare minimum to remove
these warnings anad resolve the issue.

We have forked the istanbul project and created a v0.1.37_moodle branch
at the root version of the Istanbul version that Shifter uses (v0.1.37
tag). The circular dependency is then addressed and a new tag created.

I have then forked Shifter, pointing its package.json at the tar.gz
download of that new tag and pushed a new branch and tag for that fix.

Following this our own package.json is updated to point to the tar.gz
version of the new Shifter tag.
npm-shrinkwrap.json
package.json