From 87cb2d3f530e82f56636e1b5afba815e4d7de3a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Rudge?= Date: Fri, 22 Jun 2018 13:47:50 -0300 Subject: [PATCH] Add SRI hashes to the cdn (#782) --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 27c1933a..8f128792 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ }, "devDependencies": { "codecov": "^1.0.1", - "component-cdn-uploader": "auth0/component-cdn-uploader#v1.3.0", + "component-cdn-uploader": "auth0/component-cdn-uploader#v2.1.0", "eslint": "3.12.2", "eslint-config-auth0-base": "6.0.0", "eslint-config-prettier": "^2.1.0", @@ -87,12 +87,16 @@ "sinon": "^1.17.6", "yargs": "^11.0.0" }, - "cdn-component": { + "ccu": { "name": "auth0", "cdn": "https://cdn.auth0.com", "mainBundleFile": "auth0.min.js", "bucket": "assets.us.auth0.com", - "localPath": "dist" + "localPath": "dist", + "digest": { + "hashes": ["sha384"], + "extensions": [".js"] + } }, "lint-staged": { "{src,test, plugins,integration}/**/*.js": [