"npm install" gives warnings for Quiz extension because some of the libraries are outdated. Update the libraries in package.json to the most recent stable version, reinstall the libraries, make sure tests all still continue to pass, and then commit the change to gerrit.
All libraries are now updated to the most recent versions. There are no more deprecated warnings during the installation. All tests still continue to pass.
I also checked some basic functionality - looks like everything is okay.
However, there are some other warnings during the installation:
npm WARN prefer global firstname.lastname@example.org should be installed with -g npm WARN prefer global email@example.com should be installed with -g npm WARN prefer global firstname.lastname@example.org should be installed with -g
But I think this is not related to this issue.
Gerrit link: https://gerrit.wikimedia.org/r/#/c/329366/