Skip to content

Commit e8240d7

Browse files
angular-robotalan-agius4
authored andcommitted
build: update dependency jasmine to v5
1 parent d9651da commit e8240d7

File tree

3 files changed

+22
-9
lines changed

3 files changed

+22
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
"husky": "8.0.3",
155155
"ini": "4.1.1",
156156
"inquirer": "8.2.6",
157-
"jasmine": "^4.0.0",
157+
"jasmine": "^5.0.0",
158158
"jasmine-core": "~5.1.0",
159159
"jasmine-spec-reporter": "~7.0.0",
160160
"jquery": "^3.3.1",
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/node_modules/@bazel/jasmine/jasmine_runner.js b/node_modules/@bazel/jasmine/jasmine_runner.js
2+
index 097eb92..bd55c2d 100755
3+
--- a/node_modules/@bazel/jasmine/jasmine_runner.js
4+
+++ b/node_modules/@bazel/jasmine/jasmine_runner.js
5+
@@ -147,7 +147,7 @@ async function main(args) {
6+
// TODO(6.0): remove support for deprecated versions of Jasmine that use the old API &
7+
// remember to update the `peerDependencies` as well.
8+
// Jasmine versions prior to 4.0.0 should use the old API.
9+
- if (jrunner.coreVersion().charAt(0) !== '4') {
10+
+ if (+jrunner.coreVersion().charAt(0) < 4) {
11+
console.warn(`DEPRECATED: Support for Jasmine versions prior to '4.0.x' is deprecated in '@bazel/jasmine'.`);
12+
13+
// Old Jasmine API.

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7071,7 +7071,7 @@ glob@^6.0.1:
70717071
once "^1.3.0"
70727072
path-is-absolute "^1.0.0"
70737073

7074-
glob@^7.0.0, glob@^7.0.3, glob@^7.0.6, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.1.7:
7074+
glob@^7.0.0, glob@^7.0.3, glob@^7.0.6, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.7:
70757075
version "7.2.3"
70767076
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
70777077
integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
@@ -8025,7 +8025,7 @@ jackspeak@^2.0.3:
80258025
optionalDependencies:
80268026
"@pkgjs/parseargs" "^0.11.0"
80278027

8028-
jasmine-core@^4.1.0, jasmine-core@^4.6.0:
8028+
jasmine-core@^4.1.0:
80298029
version "4.6.0"
80308030
resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-4.6.0.tgz#6884fc3d5b66bf293e422751eed6d6da217c38f5"
80318031
integrity sha512-O236+gd0ZXS8YAjFx8xKaJ94/erqUliEkJTDedyE7iHvv4ZVqi+q+8acJxu05/WJDKm512EUNn809In37nWlAQ==
@@ -8064,13 +8064,13 @@ [email protected]:
80648064
glob "^7.0.6"
80658065
jasmine-core "~2.8.0"
80668066

8067-
jasmine@^4.0.0:
8068-
version "4.6.0"
8069-
resolved "https://registry.yarnpkg.com/jasmine/-/jasmine-4.6.0.tgz#2ecde288da25815c67897bb9b9b91f6709880ce1"
8070-
integrity sha512-iq7HQ5M8ydNUspjd9vbFW9Lu+6lQ1QLDIqjl0WysEllF5EJZy8XaUyNlhCJVwOx2YFzqTtARWbS56F/f0PzRFw==
8067+
jasmine@^5.0.0:
8068+
version "5.1.0"
8069+
resolved "https://registry.yarnpkg.com/jasmine/-/jasmine-5.1.0.tgz#a3218fd425ff35aec12f3dc6cf70d8cebbf0042a"
8070+
integrity sha512-prmJlC1dbLhti4nE4XAPDWmfJesYO15sjGXVp7Cs7Ym5I9Xtwa/hUHxxJXjnpfLO72+ySttA0Ztf8g/RiVnUKw==
80718071
dependencies:
8072-
glob "^7.1.6"
8073-
jasmine-core "^4.6.0"
8072+
glob "^10.2.2"
8073+
jasmine-core "~5.1.0"
80748074

80758075
jasminewd2@^2.1.0:
80768076
version "2.2.0"

0 commit comments

Comments
 (0)