Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 7afd15b

Browse files
committed
test(jQuery): run tests with jQuery 2.1, 2.2 & 3.2
Also, update AngularJS 1.5 mentions in the docs to 1.6.
1 parent 233f47b commit 7afd15b

File tree

7 files changed

+40
-61
lines changed

7 files changed

+40
-61
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "angularjs",
33
"license": "MIT",
44
"devDependencies": {
5-
"jquery": "3.1.0",
5+
"jquery": "3.2.1",
66
"jquery-2.2": "jquery#2.2.4",
77
"jquery-2.1": "jquery#2.1.4",
88
"closure-compiler": "https://dl.google.com/closure-compiler/compiler-20140814.zip",

docs/content/misc/downloading.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ production:
1515
production.
1616

1717
To point your code to an AngularJS script on the Google CDN server, use the following template. This
18-
example points to the minified version 1.5.6:
18+
example points to the minified version 1.6.3:
1919

2020
```html
2121
<!doctype html>
2222
<html ng-app>
2323
<head>
2424
<title>My AngularJS App</title>
25-
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script>
25+
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.3/angular.min.js"></script>
2626
</head>
2727
<body>
2828
</body>

docs/content/tutorial/step_09.ngdoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ Since we are using [Bower][bower] to install client-side dependencies, this step
3838
"license": "MIT",
3939
"private": true,
4040
"dependencies": {
41-
"angular": "1.5.x",
42-
"angular-mocks": "1.5.x",
43-
"angular-route": "1.5.x",
41+
"angular": "1.6.x",
42+
"angular-mocks": "1.6.x",
43+
"angular-route": "1.6.x",
4444
"bootstrap": "3.3.x"
4545
}
4646
}
4747
```
4848

49-
The new dependency `"angular-route": "1.5.x"` tells bower to install a version of the angular-route
50-
module that is compatible with version 1.5.x of AngularJS. We must tell bower to download and install
49+
The new dependency `"angular-route": "1.6.x"` tells bower to install a version of the angular-route
50+
module that is compatible with version 1.6.x of AngularJS. We must tell bower to download and install
5151
this dependency.
5252

5353
```

docs/content/tutorial/step_13.ngdoc

+6-6
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ Since we are using [Bower][bower] to install client-side dependencies, this step
3636
"license": "MIT",
3737
"private": true,
3838
"dependencies": {
39-
"angular": "1.5.x",
40-
"angular-mocks": "1.5.x",
41-
"angular-resource": "1.5.x",
42-
"angular-route": "1.5.x",
39+
"angular": "1.6.x",
40+
"angular-mocks": "1.6.x",
41+
"angular-resource": "1.6.x",
42+
"angular-route": "1.6.x",
4343
"bootstrap": "3.3.x"
4444
}
4545
}
4646
```
4747

48-
The new dependency `"angular-resource": "1.5.x"` tells bower to install a version of the
49-
angular-resource module that is compatible with version 1.5.x of AngularJS. We must tell bower to
48+
The new dependency `"angular-resource": "1.6.x"` tells bower to install a version of the
49+
angular-resource module that is compatible with version 1.6.x of AngularJS. We must tell bower to
5050
download and install this dependency.
5151

5252
```

docs/content/tutorial/step_14.ngdoc

+9-9
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,20 @@ Since we are using [Bower][bower] to install client-side dependencies, this step
4040
"license": "MIT",
4141
"private": true,
4242
"dependencies": {
43-
"angular": "1.5.x",
44-
"angular-animate": "1.5.x",
45-
"angular-mocks": "1.5.x",
46-
"angular-resource": "1.5.x",
47-
"angular-route": "1.5.x",
43+
"angular": "1.6.x",
44+
"angular-animate": "1.6.x",
45+
"angular-mocks": "1.6.x",
46+
"angular-resource": "1.6.x",
47+
"angular-route": "1.6.x",
4848
"bootstrap": "3.3.x",
49-
"jquery": "2.2.x"
49+
"jquery": "3.2.x"
5050
}
5151
}
5252
```
5353

54-
* `"angular-animate": "1.5.x"` tells bower to install a version of the angular-animate module that
55-
is compatible with version 1.5.x of AngularJS.
56-
* `"jquery": "2.2.x"` tells bower to install the latest patch release of the 2.2 version of jQuery.
54+
* `"angular-animate": "1.6.x"` tells bower to install a version of the angular-animate module that
55+
is compatible with version 1.6.x of AngularJS.
56+
* `"jquery": "3.2.x"` tells bower to install the latest patch release of the 2.2 version of jQuery.
5757
Note that this is not an AngularJS library; it is the standard jQuery library. We can use bower to
5858
install a wide range of 3rd party libraries.
5959

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"jasmine-core": "^2.4.0",
6060
"jasmine-node": "^2.0.0",
6161
"jasmine-reporters": "^2.2.0",
62-
"jquery": "^3.1.1",
62+
"jquery": "^3.2.1",
6363
"karma": "^1.1.2",
6464
"karma-browserstack-launcher": "^1.0.1",
6565
"karma-chrome-launcher": "^1.0.1",

yarn.lock

+16-37
Original file line numberDiff line numberDiff line change
@@ -1191,15 +1191,7 @@ [email protected]:
11911191
version "0.0.1"
11921192
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
11931193

1194-
concat-stream@^1.4.6, concat-stream@^1.4.7:
1195-
version "1.6.0"
1196-
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7"
1197-
dependencies:
1198-
inherits "^2.0.3"
1199-
readable-stream "^2.2.2"
1200-
typedarray "^0.0.6"
1201-
1202-
concat-stream@~1.4.1, concat-stream@~1.4.5:
1194+
concat-stream@^1.4.6, concat-stream@^1.4.7, concat-stream@~1.4.1, concat-stream@~1.4.5:
12031195
version "1.4.10"
12041196
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.4.10.tgz#acc3bbf5602cb8cc980c6ac840fa7d8603e3ef36"
12051197
dependencies:
@@ -1701,11 +1693,7 @@ domain-browser@~1.1.0:
17011693
version "1.1.7"
17021694
resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc"
17031695

1704-
domelementtype@1:
1705-
version "1.3.0"
1706-
resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.0.tgz#b17aed82e8ab59e52dd9c19b1756e0fc187204c2"
1707-
1708-
domelementtype@~1.1.1:
1696+
domelementtype@1, domelementtype@~1.1.1:
17091697
version "1.1.3"
17101698
resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.1.3.tgz#bd28773e2642881aec51544924299c5cd822185b"
17111699

@@ -2244,7 +2232,7 @@ find-up@^1.0.0:
22442232
path-exists "^2.0.0"
22452233
pinkie-promise "^2.0.0"
22462234

2247-
2235+
[email protected], findup-sync@^0.4.2:
22482236
version "0.4.2"
22492237
resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-0.4.2.tgz#a8117d0f73124f5a4546839579fe52d7129fb5e5"
22502238
dependencies:
@@ -2253,15 +2241,6 @@ [email protected]:
22532241
micromatch "^2.3.7"
22542242
resolve-dir "^0.1.0"
22552243

2256-
findup-sync@^0.4.2:
2257-
version "0.4.3"
2258-
resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-0.4.3.tgz#40043929e7bc60adf0b7f4827c4c6e75a0deca12"
2259-
dependencies:
2260-
detect-file "^0.1.0"
2261-
is-glob "^2.0.1"
2262-
micromatch "^2.3.7"
2263-
resolve-dir "^0.1.0"
2264-
22652244
findup-sync@~0.3.0:
22662245
version "0.3.0"
22672246
resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-0.3.0.tgz#37930aa5d816b777c03445e1966cc6790a4c0b16"
@@ -3110,7 +3089,7 @@ inherits@1:
31103089
version "1.0.2"
31113090
resolved "https://registry.yarnpkg.com/inherits/-/inherits-1.0.2.tgz#ca4309dadee6b54cc0b8d247e8d7c7a0975bdc9b"
31123091

3113-
inherits@2, [email protected], inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1:
3092+
inherits@2, [email protected], inherits@^2.0.1, inherits@~2.0.0, inherits@~2.0.1:
31143093
version "2.0.3"
31153094
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
31163095

@@ -3508,9 +3487,9 @@ jodid25519@^1.0.0:
35083487
dependencies:
35093488
jsbn "~0.1.0"
35103489

3511-
jquery@^3.1.1:
3512-
version "3.1.1"
3513-
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.1.1.tgz#347c1c21c7e004115e0a4da32cece041fad3c8a3"
3490+
jquery@^3.2.1:
3491+
version "3.2.1"
3492+
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.2.1.tgz#5c4d9de652af6cd0a770154a631bba12b015c787"
35143493

35153494
js-tokens@^3.0.0:
35163495
version "3.0.1"
@@ -5018,18 +4997,18 @@ pump@^0.3.5:
50184997
end-of-stream "~1.0.0"
50194998
once "~1.2.0"
50204999

5021-
5000+
[email protected], punycode@>=0.2.0:
50225001
version "1.3.2"
50235002
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d"
50245003

5025-
punycode@>=0.2.0, punycode@~1.2.3:
5026-
version "1.2.4"
5027-
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.2.4.tgz#54008ac972aec74175def9cba6df7fa9d3918740"
5028-
50295004
punycode@^1.4.1:
50305005
version "1.4.1"
50315006
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
50325007

5008+
punycode@~1.2.3:
5009+
version "1.2.4"
5010+
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.2.4.tgz#54008ac972aec74175def9cba6df7fa9d3918740"
5011+
50335012
q-io@^1.10.9:
50345013
version "1.13.2"
50355014
resolved "https://registry.yarnpkg.com/q-io/-/q-io-1.13.2.tgz#eea130d481ddb5e1aa1bc5a66855f7391d06f003"
@@ -5163,7 +5142,7 @@ read@~1.0.4:
51635142
dependencies:
51645143
mute-stream "~0.0.4"
51655144

5166-
[email protected], "readable-stream@>=1.1.13-1 <1.2.0-0", readable-stream@^1.0.27-1, readable-stream@^1.0.33-1, readable-stream@^1.1.13, readable-stream@^1.1.13-1, readable-stream@~1.1.8, readable-stream@~1.1.9:
5145+
[email protected], "readable-stream@>=1.1.13-1 <1.2.0-0", readable-stream@^1.0.27-1, readable-stream@^1.1.13, readable-stream@^1.1.13-1, readable-stream@~1.1.8, readable-stream@~1.1.9:
51675146
version "1.1.13"
51685147
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.13.tgz#f6eef764f514c89e2b9e23146a75ba106756d23e"
51695148
dependencies:
@@ -5172,7 +5151,7 @@ [email protected], "readable-stream@>=1.1.13-1 <1.2.0-0", readable-stream@^1.0
51725151
isarray "0.0.1"
51735152
string_decoder "~0.10.x"
51745153

5175-
"readable-stream@>=1.0.33-1 <1.1.0-0", readable-stream@~1.0.0, readable-stream@~1.0.17, readable-stream@~1.0.2, readable-stream@~1.0.26, readable-stream@~1.0.31:
5154+
"readable-stream@>=1.0.33-1 <1.1.0-0", readable-stream@^1.0.33-1, readable-stream@~1.0.0, readable-stream@~1.0.17, readable-stream@~1.0.2, readable-stream@~1.0.26, readable-stream@~1.0.31:
51765155
version "1.0.34"
51775156
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
51785157
dependencies:
@@ -5181,7 +5160,7 @@ [email protected], "readable-stream@>=1.1.13-1 <1.2.0-0", readable-stream@^1.0
51815160
isarray "0.0.1"
51825161
string_decoder "~0.10.x"
51835162

5184-
readable-stream@^2.0.0, "readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.1.5, readable-stream@^2.2.2:
5163+
readable-stream@^2.0.0, "readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.1.5:
51855164
version "2.2.2"
51865165
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.2.tgz#a9e6fec3c7dda85f8bb1b3ba7028604556fc825e"
51875166
dependencies:
@@ -6312,7 +6291,7 @@ type-is@~1.6.14:
63126291
media-typer "0.3.0"
63136292
mime-types "~2.1.13"
63146293

6315-
typedarray@^0.0.6, typedarray@~0.0.5:
6294+
typedarray@~0.0.5:
63166295
version "0.0.6"
63176296
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
63186297

0 commit comments

Comments
 (0)