CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 05:26:54 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/angular/angular-cli.git
etag: W/"2c26c9a4e922aa68dd310c27620f8a5e"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=EmzwkowU7yst83aFpYHkQ0QnCPvZh1YfUJDivZ6iuCzxYyVXiMLXMEE5HPB8XNHr79d%2FDpdYqxz6GL5ZGu5feN7pGQWWXVtA7BsZ3uaPSkajlVF8Bj11PDFrT6nSHsOMBmvmzTfnvlKpZzqbZgxeTKzrvniHZ00Cdt%2B%2FaRKbedvjb3FZmqnjiuJLkmXowWLGCAlT5o95lz1DGb9J00k9x0nBe7yh1%2FwrRnTndDp25jlAH4l8AiNuInOUz02ImI3gYxlLVkZk31znU%2FryNAn9YA%3D%3D--UuA99AFDYmbMczp1--Su0wsSBSQ6M6XAN2Rdd1PA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.616156400.1753248413; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 05:26:53 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 05:26:53 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 90F2:3B93B0:419F17:578430:6880729D
fix(@schematics/angular): only issue a warning for addDependency exis… · angular/angular-cli@b8bf3b4 · GitHub
Copy file name to clipboardExpand all lines: packages/schematics/angular/utility/dependency.ts
Copy file name to clipboardExpand all lines: packages/schematics/angular/utility/dependency_spec.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit b8bf3b4
fix(@schematics/angular): only issue a warning for addDependency existing specifier
When using the `addDependency` helper rule, a package specifier mismatch will
now result in a warning instead of an error. This prevents the potential
for breaking changes in schematics that previously allowed the behavior.
The warning will also display the existing and new specifiers to better inform
the schematic user of the outcome of the schematic.1 parent 5708ac3 commit b8bf3b4Copy full SHA for b8bf3b4
File tree
Expand file treeCollapse file tree
2 files changed
+53
-24
lines changedFilter options
- packages/schematics/angular/utility
Expand file treeCollapse file tree
2 files changed
+53
-24
lines changedpackages/schematics/angular/utility/dependency.ts
Copy file name to clipboardExpand all lines: packages/schematics/angular/utility/dependency.ts+16-6Lines changed: 16 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 | 106 |
| |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
113 | 123 |
| |
114 | 124 |
| |
115 | 125 |
| |
|
packages/schematics/angular/utility/dependency_spec.ts
Copy file name to clipboardExpand all lines: packages/schematics/angular/utility/dependency_spec.ts+37-18Lines changed: 37 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
21 | 29 |
| |
| 30 | + | |
22 | 31 |
| |
23 | 32 |
| |
24 | 33 |
| |
25 | 34 |
| |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
26 | 40 |
| |
27 | 41 |
| |
28 | 42 |
| |
29 | 43 |
| |
30 |
| - | |
| 44 | + | |
31 | 45 |
| |
32 | 46 |
| |
33 | 47 |
| |
| |||
49 | 63 |
| |
50 | 64 |
| |
51 | 65 |
| |
52 |
| - | |
| 66 | + | |
53 | 67 |
| |
54 | 68 |
| |
55 | 69 |
| |
| |||
60 | 74 |
| |
61 | 75 |
| |
62 | 76 |
| |
63 |
| - | |
64 |
| - | |
65 |
| - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
66 | 85 |
| |
67 | 86 |
| |
68 | 87 |
| |
| |||
164 | 183 |
| |
165 | 184 |
| |
166 | 185 |
| |
167 |
| - | |
| 186 | + | |
168 | 187 |
| |
169 | 188 |
| |
170 | 189 |
| |
| |||
182 | 201 |
| |
183 | 202 |
| |
184 | 203 |
| |
185 |
| - | |
| 204 | + | |
186 | 205 |
| |
187 | 206 |
| |
188 | 207 |
| |
| |||
201 | 220 |
| |
202 | 221 |
| |
203 | 222 |
| |
204 |
| - | |
| 223 | + | |
205 | 224 |
| |
206 | 225 |
| |
207 | 226 |
| |
| |||
220 | 239 |
| |
221 | 240 |
| |
222 | 241 |
| |
223 |
| - | |
| 242 | + | |
224 | 243 |
| |
225 | 244 |
| |
226 | 245 |
| |
| |||
239 | 258 |
| |
240 | 259 |
| |
241 | 260 |
| |
242 |
| - | |
| 261 | + | |
243 | 262 |
| |
244 | 263 |
| |
245 | 264 |
| |
| |||
255 | 274 |
| |
256 | 275 |
| |
257 | 276 |
| |
258 |
| - | |
| 277 | + | |
259 | 278 |
| |
260 | 279 |
| |
261 | 280 |
| |
| |||
269 | 288 |
| |
270 | 289 |
| |
271 | 290 |
| |
272 |
| - | |
| 291 | + | |
273 | 292 |
| |
274 | 293 |
| |
275 | 294 |
| |
| |||
288 | 307 |
| |
289 | 308 |
| |
290 | 309 |
| |
291 |
| - | |
| 310 | + | |
292 | 311 |
| |
293 | 312 |
| |
294 | 313 |
| |
| |||
307 | 326 |
| |
308 | 327 |
| |
309 | 328 |
| |
310 |
| - | |
| 329 | + | |
311 | 330 |
| |
312 | 331 |
| |
313 | 332 |
| |
| |||
326 | 345 |
| |
327 | 346 |
| |
328 | 347 |
| |
329 |
| - | |
| 348 | + | |
330 | 349 |
| |
331 | 350 |
| |
332 | 351 |
| |
| |||
345 | 364 |
| |
346 | 365 |
| |
347 | 366 |
| |
348 |
| - | |
| 367 | + | |
349 | 368 |
| |
350 | 369 |
| |
351 | 370 |
| |
| |||
369 | 388 |
| |
370 | 389 |
| |
371 | 390 |
| |
372 |
| - | |
| 391 | + | |
373 | 392 |
| |
374 | 393 |
| |
375 | 394 |
| |
|
You can’t perform that action at this time.
0 commit comments