Skip to content

perf: avoid cheerio in favor of regex #653

perf: avoid cheerio in favor of regex

perf: avoid cheerio in favor of regex #653

Triggered via pull request May 10, 2024 08:42
Status Failure
Total duration 1m 39s
Artifacts

ci.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
test/perRoute.test.ts > [nuxt-security] Per-route Configuration > does not inject CSP hashes on a deeply-disabled route: test/perRoute.test.ts#L851
AssertionError: expected undefined not to be undefined ❯ test/perRoute.test.ts:851:21
test/perRoute.test.ts > [nuxt-security] Per-route Configuration > injects CSP hashes on a deeply-enabled route: test/perRoute.test.ts#L871
AssertionError: expected undefined not to be undefined ❯ test/perRoute.test.ts:871:21
test/perRoute.test.ts > [nuxt-security] Per-route Configuration > injects CSP meta on a deeply-enabled route: test/perRoute.test.ts#L910
AssertionError: expected undefined not to be undefined ❯ test/perRoute.test.ts:910:21
test/ssgHashes.test.ts > [nuxt-security] SSG support of CSP > sets CSP in SSG mode: test/ssgHashes.test.ts#L42
AssertionError: expected undefined not to be undefined ❯ test/ssgHashes.test.ts:42:17
test/ssgHashes.test.ts > [nuxt-security] SSG support of CSP > sets script-src for inline scripts: test/ssgHashes.test.ts#L60
AssertionError: expected undefined not to be undefined ❯ test/ssgHashes.test.ts:60:17
test/ssgHashes.test.ts > [nuxt-security] SSG support of CSP > sets style-src for inline styles: test/ssgHashes.test.ts#L78
AssertionError: expected undefined not to be undefined ❯ test/ssgHashes.test.ts:78:17
test/ssgHashes.test.ts > [nuxt-security] SSG support of CSP > sets script-src for external scripts: test/ssgHashes.test.ts#L97
AssertionError: expected undefined not to be undefined ❯ test/ssgHashes.test.ts:97:17
test/ssgHashes.test.ts > [nuxt-security] SSG support of CSP > sets style-src for external stylesheets: test/ssgHashes.test.ts#L116
AssertionError: expected undefined not to be undefined ❯ test/ssgHashes.test.ts:116:17
test/ssgHashes.test.ts > [nuxt-security] SSG support of CSP > does not set policy for unsupported links: test/ssgHashes.test.ts#L135
AssertionError: expected undefined not to be undefined ❯ test/ssgHashes.test.ts:135:17
test/ssgHashes.test.ts > [nuxt-security] SSG support of CSP > does not deliver frame-ancestors via meta: test/ssgHashes.test.ts#L196
AssertionError: expected undefined not to be undefined ❯ test/ssgHashes.test.ts:196:21
ci (ubuntu-latest, 18)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ci (ubuntu-latest, 18): src/runtime/nitro/plugins/40-preprocessHtml.ts#L2
'cheerio' is defined but never used