From 8f7bb90b93a795d481d3597f1d0586cef08c16cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Wed, 22 Mar 2017 10:34:35 +0100 Subject: [PATCH] test(jQuery): run tests with jQuery 2.1, 2.2 & 3.2 Also, update jQuery 2.2.x mentions in the tutorial to 3.2.x. --- bower.json | 2 +- docs/content/tutorial/step_14.ngdoc | 4 ++-- package.json | 2 +- yarn.lock | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bower.json b/bower.json index 95db7a55a742..099d5b1ed3e6 100644 --- a/bower.json +++ b/bower.json @@ -2,7 +2,7 @@ "name": "angularjs", "license": "MIT", "devDependencies": { - "jquery": "3.1.0", + "jquery": "3.2.1", "jquery-2.2": "jquery#2.2.4", "jquery-2.1": "jquery#2.1.4", "closure-compiler": "https://dl.google.com/closure-compiler/compiler-20140814.zip", diff --git a/docs/content/tutorial/step_14.ngdoc b/docs/content/tutorial/step_14.ngdoc index db07adb8b7cc..409d3f984cc3 100644 --- a/docs/content/tutorial/step_14.ngdoc +++ b/docs/content/tutorial/step_14.ngdoc @@ -46,14 +46,14 @@ Since we are using [Bower][bower] to install client-side dependencies, this step "angular-resource": "1.5.x", "angular-route": "1.5.x", "bootstrap": "3.3.x", - "jquery": "2.2.x" + "jquery": "3.2.x" } } ``` * `"angular-animate": "1.5.x"` tells bower to install a version of the angular-animate module that is compatible with version 1.5.x of AngularJS. -* `"jquery": "2.2.x"` tells bower to install the latest patch release of the 2.2 version of jQuery. +* `"jquery": "3.2.x"` tells bower to install the latest patch release of the 3.2 version of jQuery. Note that this is not an AngularJS library; it is the standard jQuery library. We can use bower to install a wide range of 3rd party libraries. diff --git a/package.json b/package.json index 10c601f133a9..89c48fca8f3e 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "jasmine-core": "^2.4.0", "jasmine-node": "^2.0.0", "jasmine-reporters": "^2.2.0", - "jquery": "^3.1.1", + "jquery": "^3.2.1", "karma": "^1.1.2", "karma-browserstack-launcher": "^1.0.1", "karma-chrome-launcher": "^1.0.1", diff --git a/yarn.lock b/yarn.lock index 410bbec46f7d..9ef42ec2a9fb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3508,9 +3508,9 @@ jodid25519@^1.0.0: dependencies: jsbn "~0.1.0" -jquery@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.1.1.tgz#347c1c21c7e004115e0a4da32cece041fad3c8a3" +jquery@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.2.1.tgz#5c4d9de652af6cd0a770154a631bba12b015c787" js-tokens@^3.0.0: version "3.0.1"