Benign javascript Download

@trpc/server 11.18.1-canary.30

“The tRPC server library”

Agent Skills SKILL.md definition file
SHA-256c902af418ff449e40e420479d46f2ff644f3bd6fc625f0e9ed08ce3502bf8835
MaleculeK(Am)

Evidence

CommonJS local-module require call initTRPC-B7UdX-c3.cjs · lines 1–6
1const require_codes = require("./codes-C6ZIq69A.cjs");
2const require_getErrorShape = require("./getErrorShape-DeIapApr.cjs");
3const require_tracked = require("./tracked-BQJb0ANk.cjs");
4//#region src/unstable-core-do-not-import/middleware.ts
5/** @internal */
6const middlewareMa …
Env references outside npm diagnostic helpers initTRPC-B7UdX-c3.cjs · lines 279–283
279:18… rocess3;
280/**
281* The default check to see if we're in a server
282*/
283const isServerDefault = typeof window === "undefined" || "Deno" in window || ((_globalThis$process = globalThis.process) === null || _globalThis$process === void 0 || (_globalThis$process = _globalThis$process.env) === null || _globalThis$process === void 0 ? void 0 : _globalThis$process["NODE_ENV"]) === "test" || !!((_globalThis$process2 = globalThis.process) === null || _globalThis$process2 === void 0 || (_globalThis$process2 = _globalThis$process2.env) === null || _globalThis$process2 === void 0 ? void 0 : _globalThis$process2["JEST_WORKER_ID"]) || !!((_globalThis$process3 = globalThis.process) === …
References an MDN documentation URL codes-C6ZIq69A.cjs · lines 50–60
50:48… r: ${msg}`);
51}
52function sleep(ms = 0) {
53 return new Promise((res) => setTimeout(res, ms));
54}
55/**
56* Ponyfill for
57* [`AbortSignal.any`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/any_static).
58*/
59function abortSignalsAnyPonyfill(signals) {
60 if (typeof AbortSignal.any === "func …
Agent skill frontmatter fields SKILL.md · lines 1–5
1---
2name: adapter-fastify
3description: >
4 Mount tRPC as a Fastify plugin with fastifyTRPCPlugin from
5 @trpc/server/adapters/fastify. Configure prefix, trpcOptions (router,
At least four Markdown section headings SKILL.md · lines 16–30
⋯4 lines
20# tRPC — Adapter: Fastify
21
22## Setup
23
24```ts
25// server.ts
26import { initTRPC } from '@trpc/server';
⋯4 lines

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.