@trpc/server 11.0.0-rc.743 → 11.0.0-rc.744
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-analysis.json +27 -26
- package/dist/unstable-core-do-not-import.d.ts +2 -0
- package/dist/unstable-core-do-not-import.d.ts.map +1 -1
- package/dist/unstable-core-do-not-import.js +6 -0
- package/dist/unstable-core-do-not-import.mjs +2 -0
- package/package.json +2 -2
- package/src/unstable-core-do-not-import.ts +2 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bundleSize": 195330,
|
|
3
|
-
"bundleOrigSize":
|
|
4
|
-
"bundleReduction": 13.
|
|
3
|
+
"bundleOrigSize": 226790,
|
|
4
|
+
"bundleReduction": 13.87,
|
|
5
5
|
"modules": [
|
|
6
6
|
{
|
|
7
7
|
"id": "/src/unstable-core-do-not-import/http/resolveResponse.ts",
|
|
@@ -138,6 +138,7 @@
|
|
|
138
138
|
],
|
|
139
139
|
"removedExports": [],
|
|
140
140
|
"dependents": [
|
|
141
|
+
"/src/unstable-core-do-not-import.ts",
|
|
141
142
|
"/src/adapters/ws.ts",
|
|
142
143
|
"/src/unstable-core-do-not-import/stream/jsonl.ts",
|
|
143
144
|
"/src/unstable-core-do-not-import/stream/sse.ts",
|
|
@@ -356,10 +357,10 @@
|
|
|
356
357
|
"/src/unstable-core-do-not-import/transformer.ts",
|
|
357
358
|
"/src/unstable-core-do-not-import/middleware.ts",
|
|
358
359
|
"/src/unstable-core-do-not-import/router.ts",
|
|
360
|
+
"/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts",
|
|
359
361
|
"/src/unstable-core-do-not-import/http/contentType.ts",
|
|
360
362
|
"/src/unstable-core-do-not-import/http/isAbortError.ts",
|
|
361
363
|
"/src/unstable-core-do-not-import/procedureBuilder.ts",
|
|
362
|
-
"/src/unstable-core-do-not-import/rpc/parseTRPCMessage.ts",
|
|
363
364
|
"/src/unstable-core-do-not-import/stream/jsonl.ts",
|
|
364
365
|
"/src/unstable-core-do-not-import/stream/sse.ts"
|
|
365
366
|
],
|
|
@@ -875,6 +876,16 @@
|
|
|
875
876
|
"percent": 0,
|
|
876
877
|
"reduction": 100
|
|
877
878
|
},
|
|
879
|
+
{
|
|
880
|
+
"id": "/src/rpc.ts",
|
|
881
|
+
"size": 0,
|
|
882
|
+
"origSize": 36,
|
|
883
|
+
"renderedExports": [],
|
|
884
|
+
"removedExports": [],
|
|
885
|
+
"dependents": [],
|
|
886
|
+
"percent": 0,
|
|
887
|
+
"reduction": 100
|
|
888
|
+
},
|
|
878
889
|
{
|
|
879
890
|
"id": "/src/shared.ts",
|
|
880
891
|
"size": 0,
|
|
@@ -888,13 +899,13 @@
|
|
|
888
899
|
{
|
|
889
900
|
"id": "/src/unstable-core-do-not-import.ts",
|
|
890
901
|
"size": 0,
|
|
891
|
-
"origSize":
|
|
902
|
+
"origSize": 2586,
|
|
892
903
|
"renderedExports": [],
|
|
893
904
|
"removedExports": [],
|
|
894
905
|
"dependents": [
|
|
895
906
|
"/src/adapters/express.ts",
|
|
896
|
-
"/src/adapters/next.ts",
|
|
897
907
|
"/src/adapters/standalone.ts",
|
|
908
|
+
"/src/adapters/next.ts",
|
|
898
909
|
"/src/adapters/ws.ts",
|
|
899
910
|
"/src/adapters/node-http/nodeHTTPRequestHandler.ts",
|
|
900
911
|
"/src/adapters/next-app-dir/nextAppDirCaller.ts",
|
|
@@ -903,16 +914,6 @@
|
|
|
903
914
|
"percent": 0,
|
|
904
915
|
"reduction": 100
|
|
905
916
|
},
|
|
906
|
-
{
|
|
907
|
-
"id": "/src/rpc.ts",
|
|
908
|
-
"size": 0,
|
|
909
|
-
"origSize": 36,
|
|
910
|
-
"renderedExports": [],
|
|
911
|
-
"removedExports": [],
|
|
912
|
-
"dependents": [],
|
|
913
|
-
"percent": 0,
|
|
914
|
-
"reduction": 100
|
|
915
|
-
},
|
|
916
917
|
{
|
|
917
918
|
"id": "/src/adapters/next-app-dir.ts",
|
|
918
919
|
"size": 0,
|
|
@@ -945,6 +946,16 @@
|
|
|
945
946
|
"percent": 0,
|
|
946
947
|
"reduction": 100
|
|
947
948
|
},
|
|
949
|
+
{
|
|
950
|
+
"id": "/src/adapters/fetch/index.ts",
|
|
951
|
+
"size": 0,
|
|
952
|
+
"origSize": 64,
|
|
953
|
+
"renderedExports": [],
|
|
954
|
+
"removedExports": [],
|
|
955
|
+
"dependents": [],
|
|
956
|
+
"percent": 0,
|
|
957
|
+
"reduction": 100
|
|
958
|
+
},
|
|
948
959
|
{
|
|
949
960
|
"id": "/src/adapters/node-http/index.ts",
|
|
950
961
|
"size": 0,
|
|
@@ -953,23 +964,13 @@
|
|
|
953
964
|
"removedExports": [],
|
|
954
965
|
"dependents": [
|
|
955
966
|
"/src/adapters/express.ts",
|
|
956
|
-
"/src/adapters/next.ts",
|
|
957
967
|
"/src/adapters/standalone.ts",
|
|
968
|
+
"/src/adapters/next.ts",
|
|
958
969
|
"/src/adapters/ws.ts",
|
|
959
970
|
"/src/adapters/fastify/fastifyRequestHandler.ts"
|
|
960
971
|
],
|
|
961
972
|
"percent": 0,
|
|
962
973
|
"reduction": 100
|
|
963
|
-
},
|
|
964
|
-
{
|
|
965
|
-
"id": "/src/adapters/fetch/index.ts",
|
|
966
|
-
"size": 0,
|
|
967
|
-
"origSize": 64,
|
|
968
|
-
"renderedExports": [],
|
|
969
|
-
"removedExports": [],
|
|
970
|
-
"dependents": [],
|
|
971
|
-
"percent": 0,
|
|
972
|
-
"reduction": 100
|
|
973
974
|
}
|
|
974
975
|
],
|
|
975
976
|
"moduleCount": 63
|
|
@@ -37,9 +37,11 @@ export * from './unstable-core-do-not-import/stream/sse';
|
|
|
37
37
|
export * from './unstable-core-do-not-import/stream/tracked';
|
|
38
38
|
export * from './unstable-core-do-not-import/stream/utils/createDeferred';
|
|
39
39
|
export * from './unstable-core-do-not-import/stream/utils/disposable';
|
|
40
|
+
export * from './unstable-core-do-not-import/stream/utils/asyncIterable';
|
|
40
41
|
export * from './unstable-core-do-not-import/transformer';
|
|
41
42
|
export * from './unstable-core-do-not-import/types';
|
|
42
43
|
export * from './unstable-core-do-not-import/utils';
|
|
43
44
|
export * from './vendor/standard-schema-v1/error';
|
|
44
45
|
export * from './vendor/standard-schema-v1/spec';
|
|
46
|
+
export * from './vendor/unpromise';
|
|
45
47
|
//# sourceMappingURL=unstable-core-do-not-import.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unstable-core-do-not-import.d.ts","sourceRoot":"","sources":["../src/unstable-core-do-not-import.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,mDAAmD,CAAC;AAClE,cAAc,oDAAoD,CAAC;AACnE,cAAc,mDAAmD,CAAC;AAClE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mDAAmD,CAAC;AAClE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,uDAAuD,CAAC;AACtE,cAAc,qDAAqD,CAAC;AACpE,cAAc,sDAAsD,CAAC;AACrE,cAAc,iDAAiD,CAAC;AAChE,cAAc,0DAA0D,CAAC;AACzE,cAAc,oDAAoD,CAAC;AACnE,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AACxD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AACzD,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,uDAAuD,CAAC;AACtE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC"}
|
|
1
|
+
{"version":3,"file":"unstable-core-do-not-import.d.ts","sourceRoot":"","sources":["../src/unstable-core-do-not-import.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,mDAAmD,CAAC;AAClE,cAAc,oDAAoD,CAAC;AACnE,cAAc,mDAAmD,CAAC;AAClE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mDAAmD,CAAC;AAClE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,uDAAuD,CAAC;AACtE,cAAc,qDAAqD,CAAC;AACpE,cAAc,sDAAsD,CAAC;AACrE,cAAc,iDAAiD,CAAC;AAChE,cAAc,0DAA0D,CAAC;AACzE,cAAc,oDAAoD,CAAC;AACnE,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AACxD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AACzD,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,uDAAuD,CAAC;AACtE,cAAc,0DAA0D,CAAC;AACzE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oBAAoB,CAAC"}
|
|
@@ -25,9 +25,11 @@ var sse = require('./unstable-core-do-not-import/stream/sse.js');
|
|
|
25
25
|
var tracked = require('./unstable-core-do-not-import/stream/tracked.js');
|
|
26
26
|
var createDeferred = require('./unstable-core-do-not-import/stream/utils/createDeferred.js');
|
|
27
27
|
var disposable = require('./unstable-core-do-not-import/stream/utils/disposable.js');
|
|
28
|
+
var asyncIterable = require('./unstable-core-do-not-import/stream/utils/asyncIterable.js');
|
|
28
29
|
var transformer = require('./unstable-core-do-not-import/transformer.js');
|
|
29
30
|
var utils = require('./unstable-core-do-not-import/utils.js');
|
|
30
31
|
var error = require('./vendor/standard-schema-v1/error.js');
|
|
32
|
+
var unpromise = require('./vendor/unpromise/unpromise.js');
|
|
31
33
|
|
|
32
34
|
|
|
33
35
|
|
|
@@ -80,6 +82,9 @@ exports.tracked = tracked.tracked;
|
|
|
80
82
|
exports.createDeferred = createDeferred.createDeferred;
|
|
81
83
|
exports.makeAsyncResource = disposable.makeAsyncResource;
|
|
82
84
|
exports.makeResource = disposable.makeResource;
|
|
85
|
+
exports.iteratorResource = asyncIterable.iteratorResource;
|
|
86
|
+
exports.takeWithGrace = asyncIterable.takeWithGrace;
|
|
87
|
+
exports.withMaxDuration = asyncIterable.withMaxDuration;
|
|
83
88
|
exports.defaultTransformer = transformer.defaultTransformer;
|
|
84
89
|
exports.getDataTransformer = transformer.getDataTransformer;
|
|
85
90
|
exports.transformResult = transformer.transformResult;
|
|
@@ -97,3 +102,4 @@ exports.run = utils.run;
|
|
|
97
102
|
exports.sleep = utils.sleep;
|
|
98
103
|
exports.unsetMarker = utils.unsetMarker;
|
|
99
104
|
exports.StandardSchemaV1Error = error.StandardSchemaV1Error;
|
|
105
|
+
exports.Unpromise = unpromise.Unpromise;
|
|
@@ -23,6 +23,8 @@ export { sseHeaders, sseStreamConsumer, sseStreamProducer } from './unstable-cor
|
|
|
23
23
|
export { isTrackedEnvelope, sse, tracked } from './unstable-core-do-not-import/stream/tracked.mjs';
|
|
24
24
|
export { createDeferred } from './unstable-core-do-not-import/stream/utils/createDeferred.mjs';
|
|
25
25
|
export { makeAsyncResource, makeResource } from './unstable-core-do-not-import/stream/utils/disposable.mjs';
|
|
26
|
+
export { iteratorResource, takeWithGrace, withMaxDuration } from './unstable-core-do-not-import/stream/utils/asyncIterable.mjs';
|
|
26
27
|
export { defaultTransformer, getDataTransformer, transformResult, transformTRPCResponse } from './unstable-core-do-not-import/transformer.mjs';
|
|
27
28
|
export { abortSignalsAnyPonyfill, assert, identity, isAsyncIterable, isFunction, isObject, mergeWithoutOverrides, noop, omitPrototype, run, sleep, unsetMarker } from './unstable-core-do-not-import/utils.mjs';
|
|
28
29
|
export { StandardSchemaV1Error } from './vendor/standard-schema-v1/error.mjs';
|
|
30
|
+
export { Unpromise } from './vendor/unpromise/unpromise.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trpc/server",
|
|
3
|
-
"version": "11.0.0-rc.
|
|
3
|
+
"version": "11.0.0-rc.744+972d78b51",
|
|
4
4
|
"description": "The tRPC server library",
|
|
5
5
|
"author": "KATT",
|
|
6
6
|
"license": "MIT",
|
|
@@ -152,5 +152,5 @@
|
|
|
152
152
|
"peerDependencies": {
|
|
153
153
|
"typescript": ">=5.7.2"
|
|
154
154
|
},
|
|
155
|
-
"gitHead": "
|
|
155
|
+
"gitHead": "972d78b5142405cabf3ed52db3927a9fd1b031e4"
|
|
156
156
|
}
|
|
@@ -37,8 +37,10 @@ export * from './unstable-core-do-not-import/stream/sse';
|
|
|
37
37
|
export * from './unstable-core-do-not-import/stream/tracked';
|
|
38
38
|
export * from './unstable-core-do-not-import/stream/utils/createDeferred';
|
|
39
39
|
export * from './unstable-core-do-not-import/stream/utils/disposable';
|
|
40
|
+
export * from './unstable-core-do-not-import/stream/utils/asyncIterable';
|
|
40
41
|
export * from './unstable-core-do-not-import/transformer';
|
|
41
42
|
export * from './unstable-core-do-not-import/types';
|
|
42
43
|
export * from './unstable-core-do-not-import/utils';
|
|
43
44
|
export * from './vendor/standard-schema-v1/error';
|
|
44
45
|
export * from './vendor/standard-schema-v1/spec';
|
|
46
|
+
export * from './vendor/unpromise';
|