Skip to content

Commit 0907b69

Browse files
alan-agius4filipesilva
authored andcommitted
fix(@schematics/angular): use stricter semver for karma-jasmine-html-reporter
This is not the first time, that this package caused a breaking change in a minor version, were it drops support for older `jasmine-core` versions. Related to #21326
1 parent 9a04975 commit 0907b69

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
"karma-chrome-launcher": "~3.1.0",
173173
"karma-coverage": "~2.0.3",
174174
"karma-jasmine": "~4.0.0",
175-
"karma-jasmine-html-reporter": "^1.5.0",
175+
"karma-jasmine-html-reporter": "~1.7.0",
176176
"karma-source-map-support": "1.4.0",
177177
"less": "4.1.1",
178178
"less-loader": "10.0.1",

packages/schematics/angular/workspace/files/package.json.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"karma-chrome-launcher": "~3.1.0",
3333
"karma-coverage": "~2.0.3",
3434
"karma-jasmine": "~4.0.0",
35-
"karma-jasmine-html-reporter": "^1.5.0",<% } %>
35+
"karma-jasmine-html-reporter": "~1.7.0",<% } %>
3636
"typescript": "<%= latestVersions.TypeScript %>"
3737
}
3838
}

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -6802,10 +6802,10 @@ karma-coverage@~2.0.3:
68026802
istanbul-reports "^3.0.0"
68036803
minimatch "^3.0.4"
68046804

6805-
karma-jasmine-html-reporter@^1.5.0:
6806-
version "1.6.0"
6807-
resolved "https://registry.yarnpkg.com/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.6.0.tgz#586e17025a1b4128e9fba55d5f1e8921bfc3bc1e"
6808-
integrity sha512-ELO9yf0cNqpzaNLsfFgXd/wxZVYkE2+ECUwhMHUD4PZ17kcsPsYsVyjquiRqyMn2jkd2sHt0IeMyAyq1MC23Fw==
6805+
karma-jasmine-html-reporter@~1.7.0:
6806+
version "1.7.0"
6807+
resolved "https://registry.yarnpkg.com/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.7.0.tgz#52c489a74d760934a1089bfa5ea4a8fcb84cc28b"
6808+
integrity sha512-pzum1TL7j90DTE86eFt48/s12hqwQuiD+e5aXx2Dc9wDEn2LfGq6RoAxEZZjFiN0RDSCOnosEKRZWxbQ+iMpQQ==
68096809

68106810
karma-jasmine@~4.0.0:
68116811
version "4.0.1"

0 commit comments

Comments
 (0)