Skip to content

refactor(@angular/build): Auto-CSP support as an index file transformation. #2197

refactor(@angular/build): Auto-CSP support as an index file transformation.

refactor(@angular/build): Auto-CSP support as an index file transformation. #2197

Re-run triggered October 17, 2024 04:04
Status Failure
Total duration 12m 38s
Artifacts 1

pr.yml

on: pull_request
analyze
6s
analyze
Matrix: e2e-package-managers
Matrix: e2e
Matrix: e2e-snapshots
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L9
`./html-rewriting-stream` import should occur after import of `parse5-html-rewriting-stream`
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L10
`parse5-sax-parser` import should occur after import of `parse5-html-rewriting-stream`
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L97
Expected blank line before this statement
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L131
'hashes' is never reassigned. Use 'const' instead
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L149
Expected blank line before this statement
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L175
Forbidden non-null assertion
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L176
Forbidden non-null assertion
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L208
Expected blank line before this statement
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L240
'strictCspTemplate' is never reassigned. Use 'const' instead
lint: packages/angular/build/src/utils/index-file/auto-csp.ts#L294
This line has a length of 151. Maximum allowed is 140

Artifacts

Produced during runtime
Name Size Digest
packages Expired
2.71 MB
sha256:2ebae0512f48091d8ff9b2daf718e8280f58907f209ea95bb76f741d100df76e