@nestjs/platform-fastify 11.1.23 → 11.1.25
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 +2 -0
- package/adapters/fastify-adapter.js +1 -1
- package/package.json +2 -2
package/Readme.md
CHANGED
|
@@ -96,6 +96,8 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
|
|
|
96
96
|
</tr><tr>
|
|
97
97
|
<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>
|
|
98
98
|
<td align="center" valign="middle"><a href="https://www.fintechcrafts.com/" target="_blank"><img src="https://nestjs.com/img/logos/fintechcrafts-logo.svg" width="65" valign="middle" /></a></td>
|
|
99
|
+
<td align="center" valign="middle"><a href="https://talordata.com/?campaignid=Ya5Xpw2gmhyee6Tg&utm_source=nestjs&utm_term=nestjs" target="_blank"><img src="https://images.opencollective.com/elowen/9ccac7f/avatar/512.png" width="65" valign="middle" /></a></td>
|
|
100
|
+
<td align="center" valign="middle"><a href="https://www.rapidproxy.io/?ref=nestjs" target="_blank"><img src="https://nestjs.com/img/logos/rapid-logo.svg" width="120" valign="middle" /></a></td>
|
|
99
101
|
</tr>
|
|
100
102
|
</table>
|
|
101
103
|
|
|
@@ -400,7 +400,7 @@ class FastifyAdapter extends http_adapter_1.AbstractHttpAdapter {
|
|
|
400
400
|
? req.originalUrl.slice(0, queryParamsIndex)
|
|
401
401
|
: req.originalUrl;
|
|
402
402
|
pathname = this.sanitizeUrl(pathname);
|
|
403
|
-
if (!re.exec(pathname
|
|
403
|
+
if (!re.exec(pathname) && normalizedPath) {
|
|
404
404
|
return next();
|
|
405
405
|
}
|
|
406
406
|
return callback(req, res, next);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/platform-fastify",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.25",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@platform-fastify)",
|
|
5
5
|
"author": "Kamil Mysliwiec",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"optional": true
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "02f804159841a2771755c382832a7938b904c420"
|
|
47
47
|
}
|