feat: implement input sanitization and rate limiting middleware #469
Annotations
20 errors and 1 warning
|
Lint backend:
backend/src/services/campaignStore.ts#L425
'pledge_count' is assigned a value but never used
|
|
Lint backend:
backend/src/services/campaignStore.ts#L343
Unexpected any. Specify a different type
|
|
Lint backend:
backend/src/middleware/cacheMiddleware.ts#L47
Unexpected any. Specify a different type
|
|
Lint backend:
backend/src/index.ts#L610
'_next' is defined but never used
|
|
Lint backend:
backend/src/index.ts#L610
Unexpected any. Specify a different type
|
|
Lint backend:
backend/src/index.ts#L111
Unexpected any. Specify a different type
|
|
Lint backend:
backend/src/index.ts#L108
Unexpected any. Specify a different type
|
|
Lint backend:
backend/src/index.ts#L37
'updateCampaign' is defined but never used
|
|
Lint backend:
backend/src/config.ts#L6
'parseOrigins' is assigned a value but never used
|
|
Lint backend:
backend/src/config.ts#L4
'DEFAULT_NETWORK_PASSPHRASE' is assigned a value but never used
|
|
Build backend
Expected 3 arguments, but got 2.
|
|
Build backend
Expected 3 arguments, but got 1.
|
|
Build backend
Cannot find name 'createServer'.
|
|
Build backend
Cannot find name 'Server'.
|
|
Build backend
Cannot find name 'Server'.
|
|
Build backend
Expected 1-2 arguments, but got 3.
|
|
Build backend
Property 'corsAllowedOrigins' does not exist on type '{ port: number; logLevel: "debug" | "info" | "warn" | "error"; allowedAssets: string[]; sorobanNetworkPassphrase: string; assetAddresses: Record<string, string>; defaultMaxPerContributor: number; keepAliveTimeoutMs: number; headersTimeoutMs: number; contractId: string; sorobanRpcUrl: string; }'.
|
|
Build backend
Property 'corsAllowedOrigins' does not exist on type '{ port: number; logLevel: "debug" | "info" | "warn" | "error"; allowedAssets: string[]; sorobanNetworkPassphrase: string; assetAddresses: Record<string, string>; defaultMaxPerContributor: number; keepAliveTimeoutMs: number; headersTimeoutMs: number; contractId: string; sorobanRpcUrl: string; }'.
|
|
Build backend
Property 'corsAllowedOrigins' does not exist on type '{ port: number; logLevel: "debug" | "info" | "warn" | "error"; allowedAssets: string[]; sorobanNetworkPassphrase: string; assetAddresses: Record<string, string>; defaultMaxPerContributor: number; keepAliveTimeoutMs: number; headersTimeoutMs: number; contractId: string; sorobanRpcUrl: string; }'.
|
|
Build backend
Module '"./services/campaignStore"' has no exported member 'updateCampaign'.
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
parallel
Loading