@trpc/server
Advanced tools
Comparing version 11.0.0-rc.678 to 11.0.0-rc.682
{ | ||
"bundleSize": 187045, | ||
"bundleOrigSize": 219372, | ||
"bundleReduction": 14.74, | ||
"bundleSize": 187210, | ||
"bundleOrigSize": 219494, | ||
"bundleReduction": 14.71, | ||
"modules": [ | ||
@@ -20,3 +20,3 @@ { | ||
], | ||
"percent": 11.72, | ||
"percent": 11.71, | ||
"reduction": 0 | ||
@@ -35,3 +35,3 @@ }, | ||
], | ||
"percent": 11.3, | ||
"percent": 11.29, | ||
"reduction": 0 | ||
@@ -52,3 +52,3 @@ }, | ||
], | ||
"percent": 10.76, | ||
"percent": 10.75, | ||
"reduction": 0 | ||
@@ -58,4 +58,4 @@ }, | ||
"id": "/src/unstable-core-do-not-import/stream/sse.ts", | ||
"size": 12425, | ||
"origSize": 12246, | ||
"size": 12590, | ||
"origSize": 12368, | ||
"renderedExports": [ | ||
@@ -71,3 +71,3 @@ "sseStreamProducer", | ||
], | ||
"percent": 6.64, | ||
"percent": 6.73, | ||
"reduction": 0 | ||
@@ -85,3 +85,3 @@ }, | ||
"dependents": [], | ||
"percent": 6.5, | ||
"percent": 6.49, | ||
"reduction": 11.62 | ||
@@ -138,3 +138,3 @@ }, | ||
], | ||
"percent": 3.12, | ||
"percent": 3.11, | ||
"reduction": 0 | ||
@@ -154,3 +154,3 @@ }, | ||
], | ||
"percent": 3.1, | ||
"percent": 3.09, | ||
"reduction": 65.01 | ||
@@ -189,3 +189,3 @@ }, | ||
], | ||
"percent": 2.59, | ||
"percent": 2.58, | ||
"reduction": 0 | ||
@@ -268,3 +268,3 @@ }, | ||
], | ||
"percent": 1.47, | ||
"percent": 1.46, | ||
"reduction": 16.3 | ||
@@ -361,3 +361,3 @@ }, | ||
], | ||
"percent": 1.32, | ||
"percent": 1.31, | ||
"reduction": 17.51 | ||
@@ -450,3 +450,3 @@ }, | ||
], | ||
"percent": 1.12, | ||
"percent": 1.11, | ||
"reduction": 18.54 | ||
@@ -858,5 +858,5 @@ }, | ||
{ | ||
"id": "/src/rpc.ts", | ||
"id": "/src/shared.ts", | ||
"size": 0, | ||
"origSize": 36, | ||
"origSize": 653, | ||
"renderedExports": [], | ||
@@ -869,5 +869,5 @@ "removedExports": [], | ||
{ | ||
"id": "/src/shared.ts", | ||
"id": "/src/rpc.ts", | ||
"size": 0, | ||
"origSize": 653, | ||
"origSize": 36, | ||
"renderedExports": [], | ||
@@ -887,4 +887,4 @@ "removedExports": [], | ||
"/src/adapters/express.ts", | ||
"/src/adapters/standalone.ts", | ||
"/src/adapters/next.ts", | ||
"/src/adapters/standalone.ts", | ||
"/src/adapters/ws.ts", | ||
@@ -921,5 +921,5 @@ "/src/adapters/node-http/nodeHTTPRequestHandler.ts", | ||
{ | ||
"id": "/src/adapters/fetch/index.ts", | ||
"id": "/src/adapters/fastify/index.ts", | ||
"size": 0, | ||
"origSize": 64, | ||
"origSize": 78, | ||
"renderedExports": [], | ||
@@ -932,5 +932,5 @@ "removedExports": [], | ||
{ | ||
"id": "/src/adapters/fastify/index.ts", | ||
"id": "/src/adapters/fetch/index.ts", | ||
"size": 0, | ||
"origSize": 78, | ||
"origSize": 64, | ||
"renderedExports": [], | ||
@@ -950,4 +950,4 @@ "removedExports": [], | ||
"/src/adapters/express.ts", | ||
"/src/adapters/standalone.ts", | ||
"/src/adapters/next.ts", | ||
"/src/adapters/standalone.ts", | ||
"/src/adapters/ws.ts", | ||
@@ -954,0 +954,0 @@ "/src/adapters/fastify/fastifyRequestHandler.ts" |
@@ -273,4 +273,8 @@ 'use strict'; | ||
const onAbort = ()=>{ | ||
controller.close(); | ||
eventSource.close(); | ||
try { | ||
eventSource.close(); | ||
controller.close(); | ||
} catch { | ||
// ignore errors in case the controller is already closed | ||
} | ||
}; | ||
@@ -277,0 +281,0 @@ if (signal.aborted) { |
{ | ||
"name": "@trpc/server", | ||
"version": "11.0.0-rc.678+29a2f0d18", | ||
"version": "11.0.0-rc.682+8650a22e8", | ||
"description": "The tRPC server library", | ||
@@ -155,3 +155,3 @@ "author": "KATT", | ||
}, | ||
"gitHead": "29a2f0d1802a4fe286ae56715ac1a06315f8f858" | ||
"gitHead": "8650a22e8631ae04091209daf09830563d8dcac1" | ||
} |
@@ -364,4 +364,8 @@ import { Unpromise } from '../../vendor/unpromise'; | ||
const onAbort = () => { | ||
controller.close(); | ||
eventSource.close(); | ||
try { | ||
eventSource.close(); | ||
controller.close(); | ||
} catch { | ||
// ignore errors in case the controller is already closed | ||
} | ||
}; | ||
@@ -368,0 +372,0 @@ if (signal.aborted) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
911084
23256
10
1
433