New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@trpc/server

Package Overview
Dependencies
Maintainers
3
Versions
1136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trpc/server - npm Package Compare versions

Comparing version 11.0.0-rc.744 to 11.0.0-rc.745

40

dist/bundle-analysis.json
{
"bundleSize": 195330,
"bundleOrigSize": 226790,
"bundleReduction": 13.87,
"bundleSize": 195513,
"bundleOrigSize": 226893,
"bundleReduction": 13.83,
"modules": [

@@ -17,3 +17,3 @@ {

],
"percent": 10.79,
"percent": 10.78,
"reduction": 0

@@ -23,4 +23,4 @@ },

"id": "/src/unstable-core-do-not-import/stream/jsonl.ts",
"size": 20426,
"origSize": 17485,
"size": 20609,
"origSize": 17588,
"renderedExports": [

@@ -36,3 +36,3 @@ "isPromise",

],
"percent": 10.46,
"percent": 10.54,
"reduction": 0

@@ -53,3 +53,3 @@ },

],
"percent": 10.33,
"percent": 10.32,
"reduction": 0

@@ -113,3 +113,3 @@ },

],
"percent": 3.98,
"percent": 3.97,
"reduction": 0

@@ -167,3 +167,3 @@ },

],
"percent": 2.97,
"percent": 2.96,
"reduction": 65.01

@@ -202,3 +202,3 @@ },

],
"percent": 2.48,
"percent": 2.47,
"reduction": 0

@@ -441,3 +441,3 @@ },

],
"percent": 1.09,
"percent": 1.08,
"reduction": 5.4

@@ -612,3 +612,3 @@ },

],
"percent": 0.57,
"percent": 0.56,
"reduction": 15.08

@@ -641,3 +641,3 @@ },

],
"percent": 0.5,
"percent": 0.49,
"reduction": 32.89

@@ -890,5 +890,5 @@ },

{
"id": "/src/rpc.ts",
"id": "/src/shared.ts",
"size": 0,
"origSize": 36,
"origSize": 653,
"renderedExports": [],

@@ -901,5 +901,5 @@ "removedExports": [],

{
"id": "/src/shared.ts",
"id": "/src/rpc.ts",
"size": 0,
"origSize": 653,
"origSize": 36,
"renderedExports": [],

@@ -919,4 +919,4 @@ "removedExports": [],

"/src/adapters/express.ts",
"/src/adapters/next.ts",
"/src/adapters/standalone.ts",
"/src/adapters/next.ts",
"/src/adapters/ws.ts",

@@ -980,4 +980,4 @@ "/src/adapters/node-http/nodeHTTPRequestHandler.ts",

"/src/adapters/express.ts",
"/src/adapters/next.ts",
"/src/adapters/standalone.ts",
"/src/adapters/next.ts",
"/src/adapters/ws.ts",

@@ -984,0 +984,0 @@ "/src/adapters/fastify/fastifyRequestHandler.ts"

@@ -257,2 +257,9 @@ 'use strict';

}
if (Object.prototype.toString.call(value) !== '[object Object]') {
return [
[
value
]
];
}
const newObj = {};

@@ -259,0 +266,0 @@ const asyncValues = [];

{
"name": "@trpc/server",
"version": "11.0.0-rc.744+972d78b51",
"version": "11.0.0-rc.745+6ab0f06e2",
"description": "The tRPC server library",

@@ -155,3 +155,3 @@ "author": "KATT",

},
"gitHead": "972d78b5142405cabf3ed52db3927a9fd1b031e4"
"gitHead": "6ab0f06e288b19b2d40ff0fe483c15365a7699f0"
}

@@ -236,2 +236,3 @@ import { isAsyncIterable, isFunction, isObject, run } from '../utils';

}
const reg = encodeAsync(value, path);

@@ -241,2 +242,6 @@ if (reg) {

}
if (Object.prototype.toString.call(value) !== '[object Object]') {
return [[value]];
}
const newObj = {} as Record<string, unknown>;

@@ -243,0 +248,0 @@ const asyncValues: ChunkDefinition[] = [];

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc