🧙♀️ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.
99 matches across 7 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | examples/.test/monotest-app/src/vanilla-client.ts | 20 | const res = await client.router01.child.grandchild.proc.query(); |
| CRITICAL | …pgrade/test/__fixtures__/hooks/withInvalidate.snap.tsx | 17 | trpc.post.x.y.z.longPropName.pathFilter(), |
| CRITICAL | …ges/upgrade/test/__fixtures__/hooks/withInvalidate.tsx | 13 | utils.post.x.y.z.longPropName.invalidate(); |
| CRITICAL | …ade/test/__fixtures__/hooks/multipleFunctions.snap.tsx | 7 | useQuery(trpc.a.b.c.d.queryOptions()); |
| CRITICAL | …ade/test/__fixtures__/hooks/multipleFunctions.snap.tsx | 15 | useQuery(trpc.a.b.c.d.queryOptions()); |
| CRITICAL | packages/upgrade/test/__fixtures__/hooks/basic.snap.tsx | 7 | useQuery(trpc.a.b.c.d.queryOptions()); |
| CRITICAL | packages/upgrade/test/__fixtures__/hooks/basic.tsx | 6 | trpc.a.b.c.d.useQuery(); |
| CRITICAL | …/upgrade/test/__fixtures__/hooks/multipleFunctions.tsx | 5 | trpc.a.b.c.d.useQuery(); |
| CRITICAL | …/upgrade/test/__fixtures__/hooks/multipleFunctions.tsx | 12 | trpc.a.b.c.d.useQuery(); |
| CRITICAL | packages/tests/server/smoke.test.ts | 108 | expect(await ctx.client.deeply.nested.greeting.query('KATT')).toBe( |
| CRITICAL | packages/tests/server/smoke.test.ts | 132 | expect(await ctx.client.deeply.nested.greeting.query('KATT')).toBe( |
| CRITICAL | packages/tests/server/smoke.test.ts | 135 | expect(await ctx.client.deeply.nested.router.greeting.query('KATT')).toBe( |
| CRITICAL | packages/tests/server/children.test.ts | 32 | expect(await ctx.client.child.grandchild.foo.query()).toBe('grandchild'); |
| CRITICAL | packages/tests/server/children.test.ts | 33 | expect(await ctx.client.child.grandchild.mut.mutate()).toBe('mut'); |
| CRITICAL | …rc/unstable-core-do-not-import/http/resolveResponse.ts | 751 | // - `router._def._config.transformer.output.serialize()` throws |
| CRITICAL | …er/src/unstable-core-do-not-import/http/contentType.ts | 117 | opts.router._def._config.transformer.input.deserialize(inputs); |
| CRITICAL | …er/src/unstable-core-do-not-import/http/contentType.ts | 132 | opts.router._def._config.transformer.input.deserialize(input); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | www/docs/client/react/getQueryKey.md | 32 | // will match all ───────────────────────┘ |
| MEDIUM | …ersioned_docs/version-10.x/client/react/getQueryKey.md | 31 | // will match all ───────────────────────┘ |
| MEDIUM | _artifacts/domain_map.yaml | 57 | # ── Defining the API ────────────────────────────────────────────── |
| MEDIUM | _artifacts/domain_map.yaml | 636 | # ── Consuming the API ───────────────────────────────────────────── |
| MEDIUM | _artifacts/domain_map.yaml | 961 | # ── Hosting the API ─────────────────────────────────────────────── |
| MEDIUM | _artifacts/domain_map.yaml | 1146 | # ── Real-time ───────────────────────────────────────────────────── |
| MEDIUM | _artifacts/domain_map.yaml | 1272 | # ── Framework integration ───────────────────────────────────────── |
| MEDIUM | _artifacts/domain_map.yaml | 1395 | # ── Composition skills ──────────────────────────────────────────── |
| MEDIUM | _artifacts/skill_tree.yaml | 13 | # ── Router skill (entry point) ──────────────────────────────────── |
| MEDIUM | _artifacts/skill_tree.yaml | 30 | # ── Defining the API (packages/server) ──────────────────────────── |
| MEDIUM | _artifacts/skill_tree.yaml | 180 | # ── Hosting the API (packages/server — adapters) ────────────────── |
| MEDIUM | _artifacts/skill_tree.yaml | 266 | # ── Consuming the API (packages/client) ─────────────────────────── |
| MEDIUM | _artifacts/skill_tree.yaml | 336 | # ── Real-time (packages/server + packages/client) ───────────────── |
| MEDIUM | _artifacts/skill_tree.yaml | 363 | # ── Framework integration ───────────────────────────────────────── |
| MEDIUM | _artifacts/skill_tree.yaml | 449 | # ── Interop and publishing ──────────────────────────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | www/docusaurus.typedoc.js | 9 | function generateTypedocDocusaurusPlugins(directories) { |
| LOW | …es/next-sse-chat/src/app/channels/[channelId]/hooks.ts | 9 | export function useThrottledIsTypingMutation(channelId: string) { |
| LOW | examples/next-sse-chat/src/server/trpc.ts | 51 | async function artificialDelayInDevelopment(opts) { |
| LOW | …ntent-types/client/src/SendMultipartFormDataButton.tsx | 3 | export function SendMultipartFormDataButton() { |
| LOW | packages/upgrade/src/transforms/hooksToOptions.ts | 377 | function removeSuspenseDestructuring( |
| LOW | packages/upgrade/src/lib/ast/modifiers.ts | 15 | export function replaceMemberExpressionRootIndentifier( |
| LOW | packages/react-query/test/offline.test.tsx | 67 | async function simulateMutationWithoutConnection() { |
| LOW | packages/react-query/test/offline.test.tsx | 103 | async function restoreConnectionAndVerifyMutation() { |
| LOW | packages/react-query/test/polymorphism.test.tsx | 417 | function SubTypedStartExportButton(props: SubTypedStartExportButtonProps) { |
| LOW | packages/react-query/src/internals/trpcResult.ts | 30 | export async function buildQueryFromAsyncIterable( |
| LOW | packages/tests/server/errors.test.ts | 22 | function getMessageFromUnknownError(err: unknown, fallback: string): string { |
| LOW | packages/server/src/adapters/aws-lambda/getPlanner.ts | 47 | function getHeadersAndCookiesFromResponse(response: Response) { |
| LOW | …s/server/src/unstable-core-do-not-import/middleware.ts | 221 | async function outputValidatorMiddleware({ next }) { |
| LOW | …server/src/unstable-core-do-not-import/stream/jsonl.ts | 478 | function getOrCreate(chunkId: ChunkIndex) { |
| LOW | …/unstable-core-do-not-import/http/getHTTPStatusCode.ts | 96 | export function getHTTPStatusCodeFromError(error: TRPCError) { |
| LOW | …table-core-do-not-import/http/parseConnectionParams.ts | 5 | export function parseConnectionParamsFromUnknown( |
| LOW | …table-core-do-not-import/http/parseConnectionParams.ts | 35 | export function parseConnectionParamsFromString( |
| LOW | packages/openapi/test/types.ts | 255 | export function requireEnvelopeDataSchema({ |
| LOW | packages/openapi/test/types.ts | 306 | export function getResponseComponentSchema( |
| LOW | packages/openapi/test/types.ts | 313 | export function requireResponseComponentSchema( |
| LOW | packages/openapi/src/schemaExtraction.ts | 281 | export function collectRuntimeDescriptions( |
| LOW | packages/openapi/src/generate.ts | 274 | function convertPrimitiveOrLiteral( |
| LOW | packages/openapi/src/generate.ts | 422 | function detectDiscriminatorProperty(schemas: SchemaObject[]): string | null { |
| LOW | packages/openapi/src/generate.ts | 859 | function shouldIncludeProcedureInOpenAPI(type: ProcedureInfo['type']): boolean { |
| LOW | packages/openapi/src/generate.ts | 863 | function getProcedureInputTypeName(type: ts.Type, path: string): string { |
| LOW | packages/openapi/src/generate.ts | 903 | function isCollapsedProcedureInputType(type: ts.Type): boolean { |
| LOW | packages/openapi/src/generate.ts | 912 | function recoverProcedureInputType( |
| LOW | packages/openapi/src/heyapi/index.ts | 52 | export function createTRPCHeyApiTypeResolvers(): HeyAPIResolvers { |
| LOW | packages/openapi/src/heyapi/index.ts | 72 | export function createTRPCHeyApiClientConfig(opts?: TRPCHeyApiClientOptions) { |
| LOW | packages/openapi/src/heyapi/index.ts | 121 | export function createTRPCErrorInterceptor( |
| LOW | packages/openapi/src/heyapi/index.ts | 154 | export function configureTRPCHeyApiClient( |
| LOW | packages/client/src/TRPCClientError.ts | 37 | function getMessageFromUnknownError(err: unknown, fallback: string): string { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | www/og-image/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | www/og-image/pages/api/landing.tsx | 21 | const data = await ( |
| LOW | examples/next-edge-runtime/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | examples/next-formdata/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | examples/.test/ssg/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | examples/.test/diagnostics-big-router/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | examples/.test/ssg-infinite-serialization/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | examples/next-prisma-websockets-starter/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | …bsockets-starter/.github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need |
| LOW | …les/next-prisma-websockets-starter/src/pages/index.tsx | 321 | // ctx: await createContext(), |
| LOW | examples/next-websockets-encoder/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | examples/next-prisma-starter/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | examples/next-prisma-starter/src/pages/index.tsx | 161 | |
| LOW | examples/next-prisma-starter/src/pages/index.tsx | 181 | // trpcState: ssg.dehydrate(), |
| LOW | examples/next-big-router/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | examples/next-minimal-starter/next-env.d.ts | 1 | /// <reference types="next" /> |
| LOW | examples/.experimental/next-app-dir/test/client.test.ts | 21 | |
| LOW | packages/react-query/src/createTRPCReact.tsx | 141 | // TQueryFnData, |
| LOW | packages/react-query/src/createTRPCReact.tsx | 161 | // TQueryKey, |
| LOW | packages/react-query/src/createTRPCReact.tsx | 241 | // TPageParam |
| LOW | …ages/react-query/src/shared/polymorphism/routerLike.ts | 41 | // TRoot extends AnyRootTypes, |
| LOW | …kages/react-query/src/shared/hooks/createRootHooks.tsx | 1 | // NOTE: This indirection is only needed to break a circular-reference. |
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need |
| LOW | .github/workflows/notify-intent.yml | 1 | # notify-intent.yml — Drop this into your library repo's .github/workflows/ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | www/og-image/pages/index.tsx | 70 | 'The createContext() function is called for each request, and the result is propagated to all resolvers. |
| LOW | www/og-image/pages/index.tsx | 70 | 'The createContext() function is called for each request, and the result is propagated to all resolvers. |
| LOW | www/docs/server/context.md | 143 | const user = token ? { email: 'user@example.com' } : null; |
| LOW | www/docs/client/react/useMutation.md | 77 | const name = 'John Doe'; |
| LOW | www/docs/client/react/disabling-queries.md | 21 | return { name: input.name, email: 'user@example.com' }; |
| LOW | www/versioned_docs/version-9.x/reactjs/useMutation.md | 53 | const name = 'John Doe'; |
| LOW | …ersioned_docs/version-10.x/client/react/useMutation.md | 57 | const name = 'John Doe'; |
| LOW | …ntent-types/client/src/SendMultipartFormDataButton.tsx | 11 | fd.set('name', 'John Doe'); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .github/workflows/check-skills.yml | 47 | # Check if any skills need review |
| LOW | .github/workflows/semantic-pr.yml | 74 | # Check if scope is in allowed list |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packages/server/src/adapters/ws.ts | 207 | function handleRequest(msg: TRPCClientOutgoingMessage, batchIndex: number) { |