@nestjs/platform-fastify 12.0.0-alpha.3 → 12.0.0-alpha.5
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.md
CHANGED
|
@@ -129,6 +129,7 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
|
|
|
129
129
|
<tr>
|
|
130
130
|
<td align="center" valign="middle"><a href="https://solcellsforetag.se/" target="_blank"><img src="https://nestjs.com/img/logos/solcellsforetag-logo.svg" width="140" valign="middle" /></a></td>
|
|
131
131
|
<td align="center" valign="middle"><a href="https://www.route4me.com/" target="_blank"><img src="https://nestjs.com/img/logos/route4me-logo.svg" width="100" valign="middle" /></a></td>
|
|
132
|
+
<td align="center" valign="middle"><a href="https://memory2.co/" target="_blank"><img src="https://images.opencollective.com/memory-squared/bbe37f5/avatar/256.png?height=50" width="50" valign="middle" /></a></td>
|
|
132
133
|
</tr>
|
|
133
134
|
</table>
|
|
134
135
|
|
|
@@ -107,6 +107,7 @@ export declare class FastifyAdapter<TServer extends RawServerBase = RawServerDef
|
|
|
107
107
|
useBodyParser(type: string | string[] | RegExp, rawBody: boolean, options?: NestFastifyBodyParserOptions, parser?: FastifyBodyParser<Buffer, TServer>): void;
|
|
108
108
|
createMiddlewareFactory(requestMethod: RequestMethod): Promise<(path: string, callback: Function) => any>;
|
|
109
109
|
getType(): string;
|
|
110
|
+
isRouteOrderSensitive(): boolean;
|
|
110
111
|
use(...args: any[]): any;
|
|
111
112
|
mapException(error: unknown): unknown;
|
|
112
113
|
private isHttpFastifyError;
|
|
@@ -421,6 +421,9 @@ export class FastifyAdapter extends AbstractHttpAdapter {
|
|
|
421
421
|
getType() {
|
|
422
422
|
return 'fastify';
|
|
423
423
|
}
|
|
424
|
+
isRouteOrderSensitive() {
|
|
425
|
+
return false;
|
|
426
|
+
}
|
|
424
427
|
use(...args) {
|
|
425
428
|
// Fastify requires @fastify/middie plugin to be registered before middleware can be used.
|
|
426
429
|
// If middie is not registered yet, we queue the middleware and register it later during init.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/platform-fastify",
|
|
3
|
-
"version": "12.0.0-alpha.
|
|
3
|
+
"version": "12.0.0-alpha.5",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@platform-fastify)",
|
|
5
5
|
"author": "Kamil Mysliwiec",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"optional": true
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "d91b72cc9567e6a09e3ad6075b2fb801e71adfc8"
|
|
54
54
|
}
|