From: Timo Tijhof Date: Fri, 31 Aug 2018 19:32:16 +0000 (+0100) Subject: resources: Use official SRI metadata for qunitjs X-Git-Tag: 1.34.0-rc.0~4231^2 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=6f55159b04eec722375683a39a29d998792df612;p=lhc%2Fweb%2Fwiklou.git resources: Use official SRI metadata for qunitjs When originally added last week, only /jquery/ had SRI metadata published. The /qunit/ page template on the jQuery CDN wasn't displaying the SRI metadata, so we generated our own for the time being. This is now fixed upstream, which makes the hashes easier to verify. Change-Id: I922af4a46887f22b6791d5799c87f71ddae40b91 --- diff --git a/maintenance/resources/foreign-resources.yaml b/maintenance/resources/foreign-resources.yaml index 6a02eea298..6bb130d6de 100644 --- a/maintenance/resources/foreign-resources.yaml +++ b/maintenance/resources/foreign-resources.yaml @@ -74,15 +74,16 @@ oojs-ui: jquery: type: file src: https://code.jquery.com/jquery-3.2.1.js - # From https://code.jquery.com/jquery/ + # Integrity from link modals https://code.jquery.com/jquery/ integrity: sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE= dest: jquery.js qunitjs: type: multi-file + # Integrity from link modals at https://code.jquery.com/qunit/ files: qunit.js: src: https://code.jquery.com/qunit/qunit-2.6.0.js - integrity: sha384-5O3bKbJBbAbxsqV+w/I1fcXgWJgbqM+hmYAPOE9aELSYpcTEsv48X8H+Hnq66V/9 + integrity: sha256-QdI40P4EEDzPRIS0mktlE0sSyoXCnOs8fB4OSmy+VxI= qunit.css: src: https://code.jquery.com/qunit/qunit-2.6.0.css - integrity: sha384-8vDvsmsuiD7tCQyC+pW2LOwDDgsluGsIPeCqr3rHsDSF2k4WpmfvKKxcgSV5zPai + integrity: sha256-F4O5nugrHEEjfO0tfu/LKnSRFKctZ9Rdmi1oj22UD1s=