@fluojs/runtime 2.0.1 → 3.0.0
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/README.ko.md +278 -20
- package/README.md +278 -20
- package/dist/adapters/internal-request-response-factory.d.ts +1 -1
- package/dist/adapters/internal-request-response-factory.d.ts.map +1 -1
- package/dist/adapters/internal-request-response-factory.js +1 -1
- package/dist/adapters/request-response-factory.d.ts +20 -1
- package/dist/adapters/request-response-factory.d.ts.map +1 -1
- package/dist/adapters/request-response-factory.js +75 -22
- package/dist/bootstrap.d.ts +3 -9
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/bootstrap.js +179 -75
- package/dist/devtools/contracts.d.ts +3 -135
- package/dist/devtools/contracts.d.ts.map +1 -1
- package/dist/devtools/index.d.ts +2 -3
- package/dist/devtools/index.d.ts.map +1 -1
- package/dist/devtools/index.js +1 -2
- package/dist/devtools/snapshot.d.ts +1 -1
- package/dist/devtools/snapshot.d.ts.map +1 -1
- package/dist/devtools/snapshot.js +18 -17
- package/dist/devtools/studio-request-observer.d.ts +14 -0
- package/dist/devtools/studio-request-observer.d.ts.map +1 -0
- package/dist/devtools/studio-request-observer.js +112 -0
- package/dist/devtools/studio-runtime-config.d.ts +25 -0
- package/dist/devtools/studio-runtime-config.d.ts.map +1 -0
- package/dist/devtools/studio-runtime-config.js +59 -0
- package/dist/devtools/studio-runtime.d.ts +12 -18
- package/dist/devtools/studio-runtime.d.ts.map +1 -1
- package/dist/devtools/studio-runtime.js +25 -169
- package/dist/errors.d.ts +26 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +38 -0
- package/dist/health/health.d.ts +6 -2
- package/dist/health/health.d.ts.map +1 -1
- package/dist/health/health.js +3 -2
- package/dist/http-adapter-shared.d.ts +1 -1
- package/dist/http-adapter-shared.d.ts.map +1 -1
- package/dist/http-adapter-shared.js +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/internal/route-inspection-metadata.d.ts +30 -0
- package/dist/internal/route-inspection-metadata.d.ts.map +1 -0
- package/dist/internal/route-inspection-metadata.js +68 -0
- package/dist/internal.d.ts +6 -1
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +4 -1
- package/dist/module-definition.d.ts +10 -0
- package/dist/module-definition.d.ts.map +1 -0
- package/dist/module-definition.js +12 -0
- package/dist/module-graph.d.ts +41 -0
- package/dist/module-graph.d.ts.map +1 -1
- package/dist/module-graph.js +108 -13
- package/dist/multipart.d.ts +67 -3
- package/dist/multipart.d.ts.map +1 -1
- package/dist/multipart.js +665 -103
- package/dist/platform-component-registry.d.ts +9 -0
- package/dist/platform-component-registry.d.ts.map +1 -0
- package/dist/platform-component-registry.js +70 -0
- package/dist/platform-diagnostic-retention.d.ts +13 -0
- package/dist/platform-diagnostic-retention.d.ts.map +1 -0
- package/dist/platform-diagnostic-retention.js +43 -0
- package/dist/platform-shell-probe-reports.d.ts +8 -0
- package/dist/platform-shell-probe-reports.d.ts.map +1 -0
- package/dist/platform-shell-probe-reports.js +95 -0
- package/dist/platform-shell-probes.d.ts +16 -0
- package/dist/platform-shell-probes.d.ts.map +1 -0
- package/dist/platform-shell-probes.js +141 -0
- package/dist/platform-shell.d.ts +7 -13
- package/dist/platform-shell.d.ts.map +1 -1
- package/dist/platform-shell.js +58 -310
- package/dist/retryable-shutdown.d.ts +7 -0
- package/dist/retryable-shutdown.d.ts.map +1 -0
- package/dist/retryable-shutdown.js +20 -0
- package/dist/route-inspection.d.ts +56 -0
- package/dist/route-inspection.d.ts.map +1 -0
- package/dist/route-inspection.js +80 -0
- package/dist/tokens.d.ts +6 -4
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +5 -0
- package/dist/types.d.ts +53 -8
- package/dist/types.d.ts.map +1 -1
- package/dist/web.d.ts +22 -3
- package/dist/web.d.ts.map +1 -1
- package/dist/web.js +80 -34
- package/package.json +13 -26
- package/dist/internal-node.d.ts +0 -2
- package/dist/internal-node.d.ts.map +0 -1
- package/dist/internal-node.js +0 -1
- package/dist/logging/json-logger.d.ts +0 -8
- package/dist/logging/json-logger.d.ts.map +0 -1
- package/dist/logging/json-logger.js +0 -45
- package/dist/logging/logger.d.ts +0 -37
- package/dist/logging/logger.d.ts.map +0 -1
- package/dist/logging/logger.js +0 -103
- package/dist/node/internal-node-compression.d.ts +0 -22
- package/dist/node/internal-node-compression.d.ts.map +0 -1
- package/dist/node/internal-node-compression.js +0 -84
- package/dist/node/internal-node-request.d.ts +0 -162
- package/dist/node/internal-node-request.d.ts.map +0 -1
- package/dist/node/internal-node-request.js +0 -478
- package/dist/node/internal-node-response.d.ts +0 -28
- package/dist/node/internal-node-response.d.ts.map +0 -1
- package/dist/node/internal-node-response.js +0 -205
- package/dist/node/internal-node-shutdown.d.ts +0 -34
- package/dist/node/internal-node-shutdown.d.ts.map +0 -1
- package/dist/node/internal-node-shutdown.js +0 -83
- package/dist/node/internal-node.d.ts +0 -111
- package/dist/node/internal-node.d.ts.map +0 -1
- package/dist/node/internal-node.js +0 -283
- package/dist/node/node-compression.d.ts +0 -2
- package/dist/node/node-compression.d.ts.map +0 -1
- package/dist/node/node-compression.js +0 -1
- package/dist/node/node-request.d.ts +0 -2
- package/dist/node/node-request.d.ts.map +0 -1
- package/dist/node/node-request.js +0 -1
- package/dist/node/node-response.d.ts +0 -2
- package/dist/node/node-response.d.ts.map +0 -1
- package/dist/node/node-response.js +0 -1
- package/dist/node/node-shutdown.d.ts +0 -2
- package/dist/node/node-shutdown.d.ts.map +0 -1
- package/dist/node/node-shutdown.js +0 -1
- package/dist/node/node.d.ts +0 -2
- package/dist/node/node.d.ts.map +0 -1
- package/dist/node/node.js +0 -1
- package/dist/node.d.ts +0 -5
- package/dist/node.d.ts.map +0 -1
- package/dist/node.js +0 -3
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
import { createServer as createHttpServer } from 'node:http';
|
|
2
|
-
import { createServer as createHttpsServer } from 'node:https';
|
|
3
|
-
import { createServerBackedHttpAdapterRealtimeCapability } from '@fluojs/http';
|
|
4
|
-
import { dispatchWithRequestResponseFactory } from '../adapters/request-response-factory.js';
|
|
5
|
-
import { bootstrapHttpAdapterApplication, runHttpAdapterApplication } from '../http-adapter-shared.js';
|
|
6
|
-
import { createConsoleApplicationLogger } from '../logging/logger.js';
|
|
7
|
-
import { compressNodeResponse, createNodeResponseCompression } from './internal-node-compression.js';
|
|
8
|
-
import { cloneHeaderValue, cloneRequestHeaders, createDeferredFrameworkRequest, createDeferredFrameworkRequestShell, createMemoizedAsyncValue, createMemoizedValue, createRequestSignal, materializeFrameworkRequestBody, NodeRequestPayloadTooLargeException, normalizePrimaryContentType, parseCookieHeader, parseQueryParamsFromSearch, readPrimaryHeaderValue, resolveAbsoluteRequestUrl, resolveRequestIdFromHeaders, snapshotSimpleQueryRecord, splitRawRequestUrl } from './internal-node-request.js';
|
|
9
|
-
import { createFrameworkResponse, writeNodeAdapterErrorResponse } from './internal-node-response.js';
|
|
10
|
-
import { createNodeShutdownSignalRegistration, defaultNodeShutdownSignals, registerShutdownSignals } from './internal-node-shutdown.js';
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Describes the node http adapter options contract.
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Defines the node application signal type.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Defines the cors input type.
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
const DEFAULT_SHUTDOWN_TIMEOUT_MS = 10_000;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Describes the bootstrap node application options contract.
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Describes the run node application options contract.
|
|
32
|
-
*/
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Represents the node http application adapter.
|
|
36
|
-
*/
|
|
37
|
-
export class NodeHttpApplicationAdapter {
|
|
38
|
-
server;
|
|
39
|
-
dispatcher;
|
|
40
|
-
requestResponseFactory;
|
|
41
|
-
sockets = new Set();
|
|
42
|
-
constructor(port, host, retryDelayMs = 150, retryLimit = 20, compression = false, httpsOptions, multipartOptions, maxBodySize = 1 * 1024 * 1024, preserveRawBody = false, shutdownTimeoutMs = DEFAULT_SHUTDOWN_TIMEOUT_MS) {
|
|
43
|
-
this.port = port;
|
|
44
|
-
this.host = host;
|
|
45
|
-
this.retryDelayMs = retryDelayMs;
|
|
46
|
-
this.retryLimit = retryLimit;
|
|
47
|
-
this.httpsOptions = httpsOptions;
|
|
48
|
-
this.shutdownTimeoutMs = shutdownTimeoutMs;
|
|
49
|
-
validateNodeLifecycleOptions({
|
|
50
|
-
retryDelayMs: this.retryDelayMs,
|
|
51
|
-
retryLimit: this.retryLimit,
|
|
52
|
-
shutdownTimeoutMs: this.shutdownTimeoutMs
|
|
53
|
-
});
|
|
54
|
-
this.requestResponseFactory = createNodeRequestResponseFactory(compression, multipartOptions, maxBodySize, preserveRawBody);
|
|
55
|
-
this.server = createNodeServer(this.httpsOptions, (request, response) => {
|
|
56
|
-
void this.handleRequest(request, response);
|
|
57
|
-
});
|
|
58
|
-
this.server.on('connection', socket => {
|
|
59
|
-
this.sockets.add(socket);
|
|
60
|
-
socket.once('close', () => {
|
|
61
|
-
this.sockets.delete(socket);
|
|
62
|
-
});
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
getServer() {
|
|
66
|
-
return this.server;
|
|
67
|
-
}
|
|
68
|
-
getRealtimeCapability() {
|
|
69
|
-
return createServerBackedHttpAdapterRealtimeCapability(this.server);
|
|
70
|
-
}
|
|
71
|
-
getListenTarget() {
|
|
72
|
-
return resolveNodeListenTarget(this.server.address() ?? null, this.port, this.host, this.httpsOptions !== undefined);
|
|
73
|
-
}
|
|
74
|
-
async listen(dispatcher) {
|
|
75
|
-
this.dispatcher = dispatcher;
|
|
76
|
-
await listenNodeServerWithRetry(this.server, {
|
|
77
|
-
host: this.host,
|
|
78
|
-
port: this.port,
|
|
79
|
-
retryDelayMs: this.retryDelayMs,
|
|
80
|
-
retryLimit: this.retryLimit
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
async close() {
|
|
84
|
-
const server = this.server;
|
|
85
|
-
if (!server.listening) {
|
|
86
|
-
this.dispatcher = undefined;
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
|
-
await closeNodeServerWithDrain(server, this.sockets, this.shutdownTimeoutMs);
|
|
90
|
-
this.dispatcher = undefined;
|
|
91
|
-
}
|
|
92
|
-
async handleRequest(request, response) {
|
|
93
|
-
await dispatchWithRequestResponseFactory({
|
|
94
|
-
dispatcher: this.dispatcher,
|
|
95
|
-
dispatcherNotReadyMessage: 'Node HTTP adapter received a request before dispatcher binding completed.',
|
|
96
|
-
factory: this.requestResponseFactory,
|
|
97
|
-
rawRequest: request,
|
|
98
|
-
rawResponse: response
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
function createNodeRequestResponseFactory(compression, multipartOptions, maxBodySize, preserveRawBody) {
|
|
103
|
-
return {
|
|
104
|
-
async createRequest(request, signal) {
|
|
105
|
-
return createDeferredFrameworkRequest(request, signal, multipartOptions, maxBodySize, preserveRawBody);
|
|
106
|
-
},
|
|
107
|
-
materializeRequest(request) {
|
|
108
|
-
return materializeFrameworkRequestBody(request);
|
|
109
|
-
},
|
|
110
|
-
createRequestSignal(response) {
|
|
111
|
-
return createRequestSignal(response);
|
|
112
|
-
},
|
|
113
|
-
createResponse(response, request) {
|
|
114
|
-
return createFrameworkResponse(response, compression ? () => createNodeResponseCompression(response, request.headers['accept-encoding']) : undefined);
|
|
115
|
-
},
|
|
116
|
-
resolveRequestId(request) {
|
|
117
|
-
return resolveRequestIdFromHeaders(request.headers);
|
|
118
|
-
},
|
|
119
|
-
async writeErrorResponse(error, response, requestId) {
|
|
120
|
-
if (error instanceof NodeRequestPayloadTooLargeException) {
|
|
121
|
-
error.prepareResponse(response.raw);
|
|
122
|
-
}
|
|
123
|
-
await writeNodeAdapterErrorResponse(error, response, requestId);
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Create node http adapter.
|
|
130
|
-
*
|
|
131
|
-
* @param options The options.
|
|
132
|
-
* @param compression The compression.
|
|
133
|
-
* @param multipartOptions The multipart options.
|
|
134
|
-
* @returns The create node http adapter result.
|
|
135
|
-
*/
|
|
136
|
-
export function createNodeHttpAdapter(options = {}, compression = false, multipartOptions) {
|
|
137
|
-
return new NodeHttpApplicationAdapter(resolveNodePort(options.port), options.host, options.retryDelayMs, options.retryLimit, compression, options.https, multipartOptions, resolveNodeMaxBodySize(options.maxBodySize), options.rawBody, options.shutdownTimeoutMs);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Bootstrap node application.
|
|
142
|
-
*
|
|
143
|
-
* @param rootModule The root module.
|
|
144
|
-
* @param options The options.
|
|
145
|
-
* @returns The bootstrap node application result.
|
|
146
|
-
*/
|
|
147
|
-
export async function bootstrapNodeApplication(rootModule, options) {
|
|
148
|
-
const logger = options.logger ?? createConsoleApplicationLogger();
|
|
149
|
-
return bootstrapHttpAdapterApplication(rootModule, options, createNodeHttpAdapter(options, options.compression ?? false, options.multipart), logger);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* Run node application.
|
|
154
|
-
*
|
|
155
|
-
* @param rootModule The root module.
|
|
156
|
-
* @param options The options.
|
|
157
|
-
* @returns The run node application result.
|
|
158
|
-
*/
|
|
159
|
-
export async function runNodeApplication(rootModule, options) {
|
|
160
|
-
const logger = options.logger ?? createConsoleApplicationLogger();
|
|
161
|
-
const adapter = createNodeHttpAdapter(options, options.compression ?? false, options.multipart);
|
|
162
|
-
return runHttpAdapterApplication(rootModule, {
|
|
163
|
-
...options,
|
|
164
|
-
shutdownRegistration: createNodeShutdownSignalRegistration(options.shutdownSignals ?? defaultNodeShutdownSignals())
|
|
165
|
-
}, adapter, logger);
|
|
166
|
-
}
|
|
167
|
-
export { cloneHeaderValue, cloneRequestHeaders, compressNodeResponse, createDeferredFrameworkRequestShell, createMemoizedAsyncValue, createMemoizedValue, createNodeResponseCompression, createNodeShutdownSignalRegistration, createRequestSignal, defaultNodeShutdownSignals, normalizePrimaryContentType, parseCookieHeader, parseQueryParamsFromSearch, readPrimaryHeaderValue, registerShutdownSignals, resolveAbsoluteRequestUrl, resolveRequestIdFromHeaders, snapshotSimpleQueryRecord, splitRawRequestUrl };
|
|
168
|
-
function createNodeServer(httpsOptions, handler) {
|
|
169
|
-
return httpsOptions ? createHttpsServer(httpsOptions, handler) : createHttpServer(handler);
|
|
170
|
-
}
|
|
171
|
-
function listenNodeServerWithRetry(server, options) {
|
|
172
|
-
return new Promise((resolve, reject) => {
|
|
173
|
-
const tryListen = attempt => {
|
|
174
|
-
const onError = error => {
|
|
175
|
-
server.off('listening', onListening);
|
|
176
|
-
if (error.code === 'EADDRINUSE' && attempt < options.retryLimit) {
|
|
177
|
-
scheduleNodeListenRetry(server, attempt, options.retryDelayMs, tryListen);
|
|
178
|
-
return;
|
|
179
|
-
}
|
|
180
|
-
reject(error);
|
|
181
|
-
};
|
|
182
|
-
const onListening = () => {
|
|
183
|
-
server.off('error', onError);
|
|
184
|
-
resolve();
|
|
185
|
-
};
|
|
186
|
-
server.once('error', onError);
|
|
187
|
-
server.once('listening', onListening);
|
|
188
|
-
server.listen({
|
|
189
|
-
host: options.host,
|
|
190
|
-
port: options.port
|
|
191
|
-
});
|
|
192
|
-
};
|
|
193
|
-
tryListen(0);
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
function scheduleNodeListenRetry(server, attempt, retryDelayMs, tryListen) {
|
|
197
|
-
server.close(() => {
|
|
198
|
-
setTimeout(() => {
|
|
199
|
-
tryListen(attempt + 1);
|
|
200
|
-
}, retryDelayMs);
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
function closeNodeServerWithDrain(server, sockets, shutdownTimeoutMs) {
|
|
204
|
-
return new Promise((resolve, reject) => {
|
|
205
|
-
let settled = false;
|
|
206
|
-
const timeout = setTimeout(() => {
|
|
207
|
-
forceCloseConnections(server, sockets);
|
|
208
|
-
}, shutdownTimeoutMs);
|
|
209
|
-
const finish = error => {
|
|
210
|
-
if (settled) {
|
|
211
|
-
return;
|
|
212
|
-
}
|
|
213
|
-
settled = true;
|
|
214
|
-
clearTimeout(timeout);
|
|
215
|
-
if (error) {
|
|
216
|
-
reject(error);
|
|
217
|
-
return;
|
|
218
|
-
}
|
|
219
|
-
resolve();
|
|
220
|
-
};
|
|
221
|
-
server.close(error => {
|
|
222
|
-
finish(error);
|
|
223
|
-
});
|
|
224
|
-
closeIdleConnections(server);
|
|
225
|
-
});
|
|
226
|
-
}
|
|
227
|
-
function resolveNodeListenTarget(address, port, host, useHttps) {
|
|
228
|
-
const protocol = useHttps ? 'https' : 'http';
|
|
229
|
-
const resolvedPort = typeof address === 'object' && address !== null ? address.port : port;
|
|
230
|
-
const bindHost = typeof address === 'object' && address !== null ? address.address : host ?? '0.0.0.0';
|
|
231
|
-
const publicHost = resolvePublicHost(host ?? bindHost);
|
|
232
|
-
const bindTarget = `${formatHostForAuthority(bindHost)}:${String(resolvedPort)}`;
|
|
233
|
-
const url = `${protocol}://${formatHostForAuthority(publicHost)}:${String(resolvedPort)}`;
|
|
234
|
-
return {
|
|
235
|
-
bindTarget,
|
|
236
|
-
url
|
|
237
|
-
};
|
|
238
|
-
}
|
|
239
|
-
function resolvePublicHost(host) {
|
|
240
|
-
return isWildcardHost(host) ? 'localhost' : host;
|
|
241
|
-
}
|
|
242
|
-
function isWildcardHost(host) {
|
|
243
|
-
return host === '0.0.0.0' || host === '::' || host === '[::]';
|
|
244
|
-
}
|
|
245
|
-
function formatHostForAuthority(host) {
|
|
246
|
-
return host.includes(':') && !host.startsWith('[') ? `[${host}]` : host;
|
|
247
|
-
}
|
|
248
|
-
function closeIdleConnections(server) {
|
|
249
|
-
server.closeIdleConnections?.();
|
|
250
|
-
}
|
|
251
|
-
function validateNodeLifecycleOptions(options) {
|
|
252
|
-
validateNonNegativeIntegerOption('retryDelayMs', options.retryDelayMs);
|
|
253
|
-
validateNonNegativeIntegerOption('retryLimit', options.retryLimit);
|
|
254
|
-
validateNonNegativeIntegerOption('shutdownTimeoutMs', options.shutdownTimeoutMs);
|
|
255
|
-
}
|
|
256
|
-
function validateNonNegativeIntegerOption(name, value) {
|
|
257
|
-
if (!Number.isInteger(value) || value < 0) {
|
|
258
|
-
throw new Error(`Invalid ${name} value: ${String(value)}. Expected a non-negative integer.`);
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
function forceCloseConnections(server, sockets) {
|
|
262
|
-
if (typeof server.closeAllConnections === 'function') {
|
|
263
|
-
server.closeAllConnections();
|
|
264
|
-
return;
|
|
265
|
-
}
|
|
266
|
-
for (const socket of sockets) {
|
|
267
|
-
socket.destroy();
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
function resolveNodePort(value) {
|
|
271
|
-
const port = value ?? 3000;
|
|
272
|
-
if (!Number.isInteger(port) || port < 0 || port > 65535) {
|
|
273
|
-
throw new Error(`Invalid PORT value: ${String(value ?? 3000)}.`);
|
|
274
|
-
}
|
|
275
|
-
return port;
|
|
276
|
-
}
|
|
277
|
-
function resolveNodeMaxBodySize(value) {
|
|
278
|
-
const maxBodySize = value ?? 1 * 1024 * 1024;
|
|
279
|
-
if (!Number.isInteger(maxBodySize) || maxBodySize < 0) {
|
|
280
|
-
throw new Error(`Invalid maxBodySize value: ${String(value ?? 1 * 1024 * 1024)}. Expected a non-negative integer number of bytes.`);
|
|
281
|
-
}
|
|
282
|
-
return maxBodySize;
|
|
283
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node-compression.d.ts","sourceRoot":"","sources":["../../src/node/node-compression.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,6BAA6B,GAC9B,MAAM,gCAAgC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { compressNodeResponse, createNodeResponseCompression } from './internal-node-compression.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node-request.d.ts","sourceRoot":"","sources":["../../src/node/node-request.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,sBAAsB,EACtB,mBAAmB,EACnB,+BAA+B,EAC/B,2BAA2B,GAC5B,MAAM,4BAA4B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { createDeferredFrameworkRequest, createFrameworkRequest, createRequestSignal, materializeFrameworkRequestBody, resolveRequestIdFromHeaders } from './internal-node-request.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node-response.d.ts","sourceRoot":"","sources":["../../src/node/node-response.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,KAAK,wBAAwB,EAC7B,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { createFrameworkResponse, writeNodeAdapterErrorResponse } from './internal-node-response.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node-shutdown.d.ts","sourceRoot":"","sources":["../../src/node/node-shutdown.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oCAAoC,EACpC,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,6BAA6B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { createNodeShutdownSignalRegistration, defaultNodeShutdownSignals, registerShutdownSignals } from './internal-node-shutdown.js';
|
package/dist/node/node.d.ts
DELETED
package/dist/node/node.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/node/node.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
package/dist/node/node.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './internal-node.js';
|
package/dist/node.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from './logging/json-logger.js';
|
|
2
|
-
export * from './logging/logger.js';
|
|
3
|
-
export { bootstrapNodeApplication, createNodeHttpAdapter, NodeHttpApplicationAdapter, createNodeShutdownSignalRegistration, defaultNodeShutdownSignals, registerShutdownSignals, runNodeApplication, } from './node/internal-node.js';
|
|
4
|
-
export type { BootstrapNodeApplicationOptions, CorsInput, NodeApplicationSignal, NodeHttpAdapterOptions, RunNodeApplicationOptions, } from './node/internal-node.js';
|
|
5
|
-
//# sourceMappingURL=node.d.ts.map
|
package/dist/node.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,OAAO,EACL,wBAAwB,EACxB,qBAAqB,EACrB,0BAA0B,EAC1B,oCAAoC,EACpC,0BAA0B,EAC1B,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,+BAA+B,EAC/B,SAAS,EACT,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,yBAAyB,CAAC"}
|
package/dist/node.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './logging/json-logger.js';
|
|
2
|
-
export * from './logging/logger.js';
|
|
3
|
-
export { bootstrapNodeApplication, createNodeHttpAdapter, NodeHttpApplicationAdapter, createNodeShutdownSignalRegistration, defaultNodeShutdownSignals, registerShutdownSignals, runNodeApplication } from './node/internal-node.js';
|