From cfa9e3123d0ec91c2e2e52c353789dcb522b4941 Mon Sep 17 00:00:00 2001 From: FelisCatus Date: Tue, 12 Jun 2018 19:59:49 -0700 Subject: [PATCH] Upgrade angular to 1.7.2. --- omega-web/bower.json | 13 +++++++------ omega-web/src/omega/app.coffee | 2 ++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/omega-web/bower.json b/omega-web/bower.json index 5e4e826..605344e 100644 --- a/omega-web/bower.json +++ b/omega-web/bower.json @@ -21,12 +21,14 @@ "tests" ], "dependencies": { - "angular": "~1.6.9", + "angular": "~1.7.2", + "angular-animate": "~1.7.2", + "angular-loader": "~1.7.2", + "angular-i18n": "~1.7.2", + "angular-sanitize": "~1.7.2", + "angular-bootstrap": "~0.12.0", - "angular-animate": "~1.6.9", "angular-ui-router": "~0.2.18", - "angular-loader": "~1.6.9", - "angular-i18n": "~1.6.9", "bootstrap": "~3.3.2", "script.js": "~2.5.3", "ngprogress": "~1.0.4", @@ -37,7 +39,6 @@ "FileSaver": "*", "angular-ui-utils": "bower-validate", "angular-ladda": "~0.2.1", - "angular-sanitize": "~1.6.9", "shepherd.js": "~0.5.1", "jqueryui-touch-punch": "*" }, @@ -126,6 +127,6 @@ } }, "resolutions": { - "angular": "~1.6.9" + "angular": "~1.7.2" } } diff --git a/omega-web/src/omega/app.coffee b/omega-web/src/omega/app.coffee index a3eddd2..3fa353b 100644 --- a/omega-web/src/omega/app.coffee +++ b/omega-web/src/omega/app.coffee @@ -33,6 +33,8 @@ angular.module('omega').config ($stateProvider, $urlRouterProvider, $httpProvider, $animateProvider, $compileProvider) -> $compileProvider.aHrefSanitizationWhitelist( /^\s*(https?|ftp|mailto|chrome-extension):/) + $compileProvider.imgSrcSanitizationWhitelist( + /^\s*(https?|local|data|chrome-extension):/) $animateProvider.classNameFilter(/angular-animate/) $urlRouterProvider.otherwise '/about'