Skip to content

fix(eslint): revert apiToken to aPIToken in allowlist - #156

Closed
BillyOutlast wants to merge 228 commits into
developfrom
rebuild
Closed

fix(eslint): revert apiToken to aPIToken in allowlist#156
BillyOutlast wants to merge 228 commits into
developfrom
rebuild

fix(security): remediation bundle — AES-256-GCM, DOMPurify, WebSocket…

a31ea51
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 29, 2026 in 1m 27s

Quality Gate failed

Failed conditions
16.8% Coverage on New Code (required ≥ 80%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 32 in server/composables/request.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'rawRequest' may use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-lWd-tFp8FN2qbHFm2&open=AZ-lWd-tFp8FN2qbHFm2&pullRequest=156

Check warning on line 31 in server/server/internal/userlibrary/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using nullish coalescing operator (`??=`) instead of an assignment expression, as it is simpler to read.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-u-tiB4CZyFP_GjKYy&open=AZ-u-tiB4CZyFP_GjKYy&pullRequest=156

Check warning on line 3 in sites/promo/src/components/gradient.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-lWeAIFp8FN2qbHFm4&open=AZ-lWeAIFp8FN2qbHFm4&pullRequest=156

Check warning on line 148 in scripts/check-new-vulns.cjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-lWeA_Fp8FN2qbHFm8&open=AZ-lWeA_Fp8FN2qbHFm8&pullRequest=156

Check warning on line 72 in server/server/api/v1/auth/signin/simple.post.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'credentials?.at(1)' may use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-nAmR1GDwGrdqd3WQ0&open=AZ-nAmR1GDwGrdqd3WQ0&pullRequest=156

Check warning on line 55 in server/server/api/v1/client/auth/initiate.post.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected non-Promise value in a boolean conditional.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-u-tlb4CZyFP_GjKY2&open=AZ-u-tlb4CZyFP_GjKY2&pullRequest=156

Check warning on line 24 in server/server/api/v1/auth/oidc/callback.get.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'query.code' may use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-nAmUEGDwGrdqd3WQ1&open=AZ-nAmUEGDwGrdqd3WQ1&pullRequest=156

Check warning on line 522 in sites/promo/src/components/comparison.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-u-t_x4CZyFP_GjKY8&open=AZ-u-t_x4CZyFP_GjKY8&pullRequest=156

Check warning on line 34 in sites/promo/src/components/button.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Compare with `undefined` directly instead of using `typeof`.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-lWeAdFp8FN2qbHFm5&open=AZ-lWeAdFp8FN2qbHFm5&pullRequest=156

Check warning on line 110 in scripts/check-new-vulns.cjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-lWeA_Fp8FN2qbHFm6&open=AZ-lWeA_Fp8FN2qbHFm6&pullRequest=156

Check warning on line 9 in server/server/api/v1/client/auth/index.get.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'query.id' may use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-u-tl_4CZyFP_GjKY3&open=AZ-u-tl_4CZyFP_GjKY3&pullRequest=156

Check warning on line 104 in sites/promo/src/components/footer.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-u-t9r4CZyFP_GjKY6&open=AZ-u-t9r4CZyFP_GjKY6&pullRequest=156

Check warning on line 10 in server/server/api/v1/admin/import/version/index.get.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'query.id' may use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-u-ti24CZyFP_GjKY0&open=AZ-u-ti24CZyFP_GjKY0&pullRequest=156

Check warning on line 152 in server/server/internal/metadata/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using nullish coalescing operator (`??=`) instead of an assignment expression, as it is simpler to read.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-u-td54CZyFP_GjKYx&open=AZ-u-td54CZyFP_GjKYx&pullRequest=156

Check failure on line 9 in server/server/api/v1/admin/import/version/index.get.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected `await` of a non-Promise (non-"Thenable") value.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-u-ti24CZyFP_GjKYz&open=AZ-u-ti24CZyFP_GjKYz&pullRequest=156

Check warning on line 31 in server/server/api/v1/auth/oidc/callback.get.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'query.state' may use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-nAmUEGDwGrdqd3WQ2&open=AZ-nAmUEGDwGrdqd3WQ2&pullRequest=156

Check warning on line 39 in sites/promo/src/components/text.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-lWd_xFp8FN2qbHFm3&open=AZ-lWd_xFp8FN2qbHFm3&pullRequest=156

Check warning on line 12 in server/server/routes/auth/oidc.get.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'getQuery(h3).redirect' may use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-u-tpU4CZyFP_GjKY4&open=AZ-u-tpU4CZyFP_GjKY4&pullRequest=156

Check warning on line 53 in sites/promo/src/components/footer.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-u-t9r4CZyFP_GjKY5&open=AZ-u-t9r4CZyFP_GjKY5&pullRequest=156

Check warning on line 118 in sites/promo/src/components/footer.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-u-t9r4CZyFP_GjKY7&open=AZ-u-t9r4CZyFP_GjKY7&pullRequest=156

Check warning on line 9 in server/server/api/v1/client/auth/code/index.get.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'query.code' may use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-u-tkx4CZyFP_GjKY1&open=AZ-u-tkx4CZyFP_GjKY1&pullRequest=156

Check warning on line 431 in server/server/internal/metadata/pcgamingwiki.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using nullish coalescing operator (`??`) instead of a ternary expression, as it is simpler to read.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-u-tZX4CZyFP_GjKYw&open=AZ-u-tZX4CZyFP_GjKYw&pullRequest=156

Check warning on line 118 in scripts/check-new-vulns.cjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=BillyOutlast_drop&issues=AZ-lWeA_Fp8FN2qbHFm7&open=AZ-lWeA_Fp8FN2qbHFm7&pullRequest=156