From 6f55159b04eec722375683a39a29d998792df612 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Fri, 31 Aug 2018 20:32:16 +0100 Subject: [PATCH 1/1] 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 --- maintenance/resources/foreign-resources.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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= -- 2.20.1