🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

trpc-to-openapi

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trpc-to-openapi - npm Package Compare versions

Comparing version

to
2.1.5

@@ -16,13 +16,3 @@ "use strict";

request.raw.url = prefixRemovedFromUrl;
return await openApiHttpHandler(request, Object.assign(reply, {
once: () => undefined,
setHeader: (key, value) => {
if (Array.isArray(value)) {
value.forEach((v) => reply.header(key, v));
return reply;
}
return reply.header(key, value);
},
end: (body) => reply.send(body),
}));
return await openApiHttpHandler(request, reply.raw);
});

@@ -29,0 +19,0 @@ done();

{
"name": "trpc-to-openapi",
"version": "2.1.4",
"version": "2.1.5",
"description": "tRPC OpenAPI",

@@ -5,0 +5,0 @@ "author": "mcampa",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet