@nestjs/platform-fastify 11.1.7 → 11.1.9

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
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <a href="https://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
2
+ <a href="https://nestjs.com/" target="_blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
3
3
  </p>
4
4
 
5
5
  [circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
@@ -49,7 +49,7 @@ Please make sure to read the [Issue Reporting Checklist](https://github.com/nest
49
49
 
50
50
  ## Consulting
51
51
 
52
- With official support, you can get expert help straight from Nest core team. We provide dedicated technical support, migration strategies, advice on best practices (and design decisions), PR reviews, and team augmentation. Read more about [support here](https://enterprise.nestjs.com).
52
+ With official support, you can get expert help straight from the Nest core team. We provide dedicated technical support, migration strategies, advice on best practices (and design decisions), PR reviews, and team augmentation. Read more about [support here](https://enterprise.nestjs.com).
53
53
 
54
54
  ## Support
55
55
 
@@ -92,6 +92,8 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
92
92
  <td align="center" valign="middle"><a href="https://www.itflashcards.com/" target="_blank"><img src="https://nestjs.com/img/logos/it_flashcards-logo.png" width="170" valign="middle" /></a></td>
93
93
  <td align="center" valign="middle"><a href="https://arcjet.com/?ref=nestjs" target="_blank"><img src="https://nestjs.com/img/logos/arcjet-logo.svg" width="170" valign="middle" /></a></td>
94
94
  <td align="center" valign="middle"><a href="https://crawljobs.com" target="_blank"><img src="https://nestjs.com/img/logos/crawljobs-logo.svg" width="130" valign="middle" /></a></td>
95
+ </tr><tr>
96
+ <td align="center" valign="middle"><a href="https://pandektes.com" target="_blank"><img src="https://nestjs.com/img/logos/pandektes-logo.png" width="65" valign="middle" /></a></td>
95
97
  </tr>
96
98
  </table>
97
99
 
@@ -91,10 +91,13 @@ class FastifyAdapter extends http_adapter_1.AbstractHttpAdapter {
91
91
  const instance = instanceOrOptions && instanceOrOptions.server
92
92
  ? instanceOrOptions
93
93
  : (0, fastify_1.fastify)({
94
- constraints: {
95
- version: this.versionConstraint,
96
- },
97
94
  ...instanceOrOptions,
95
+ routerOptions: {
96
+ ...instanceOrOptions?.routerOptions,
97
+ constraints: {
98
+ version: this.versionConstraint,
99
+ },
100
+ },
98
101
  });
99
102
  this.setInstance(instance);
100
103
  if (instanceOrOptions?.skipMiddie) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/platform-fastify",
3
- "version": "11.1.7",
3
+ "version": "11.1.9",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@platform-fastify)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",
@@ -22,7 +22,7 @@
22
22
  "@fastify/formbody": "8.0.2",
23
23
  "@fastify/middie": "9.0.3",
24
24
  "fast-querystring": "1.1.2",
25
- "fastify": "5.6.1",
25
+ "fastify": "5.6.2",
26
26
  "light-my-request": "6.6.0",
27
27
  "path-to-regexp": "8.3.0",
28
28
  "tslib": "2.8.1"