From 1092e4d7290333591f0f9beead6580a1424bc99f Mon Sep 17 00:00:00 2001 From: Benaka Date: Mon, 11 Sep 2017 06:07:37 -0700 Subject: Updating Angular to version 1.6 (#11857) * Update angular to 1.6 and ngDialog to 1.3. * Remove broken Function.bind polyfill from kartograph that clashes w/ angular 1.6. * $http.method().success/error functions do not exist in angular 1.6, just use standard promise interface. * Maintain empty hash prefix for existing Piwik links. See https://docs.angularjs.org/guide/migration#commit-aa077e8 for more info. * Make sure radio setting values match availableValue values exactly. Angular 1.6 uses strict equals when matching ng-value values w/ ng-model values, and the available values for boolean radio settings is always '0' or '1'. So we have to make sure the field value is '0'/'1'. * Feedback form UI test code to remove piwik version string selected wrong element. * Update expected screenshots (minor changes + unexplained default SMS provider change). --- bower.json | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'bower.json') diff --git a/bower.json b/bower.json index bf88bc001c..15444c6a7f 100644 --- a/bower.json +++ b/bower.json @@ -15,12 +15,12 @@ "dependencies": { "jquery-ui": "1.10.4", "jquery": "~2.2.0", - "angular": "~1.4.0", - "angular-sanitize": "~1.4.0", - "angular-animate": "~1.4.0", - "angular-cookies": "~1.4.0", - "angular-mocks": "~1.4.0", - "ngDialog": "~0.2.0", + "angular": "~1.6.0", + "angular-sanitize": "~1.6.0", + "angular-animate": "~1.6.0", + "angular-cookies": "~1.6.0", + "angular-mocks": "~1.6.0", + "ngDialog": "~1.3.0", "html5shiv": "~3.7.0", "mousetrap": "~1.4.0", "sprintf": "~1.0.0", @@ -37,5 +37,8 @@ "**/.*", "node_modules", "tests" - ] + ], + "resolutions": { + "angular": "~1.6.0" + } } -- cgit v1.2.3