@nestjs/platform-fastify
Advanced tools
Comparing version 10.3.3 to 10.3.4
@@ -309,2 +309,4 @@ "use strict"; | ||
return (path, callback) => { | ||
const hasEndOfStringCharacter = path.endsWith('$'); | ||
path = hasEndOfStringCharacter ? path.slice(0, -1) : path; | ||
let normalizedPath = path.endsWith('/*') | ||
@@ -315,3 +317,4 @@ ? `${path.slice(0, -1)}(.*)` | ||
normalizedPath = normalizedPath === '/(.*)' ? '(.*)' : normalizedPath; | ||
const re = pathToRegexp(normalizedPath); | ||
let re = pathToRegexp(normalizedPath); | ||
re = hasEndOfStringCharacter ? new RegExp(re.source + '$', re.flags) : re; | ||
// The following type assertion is valid as we use import('@fastify/middie') rather than require('@fastify/middie') | ||
@@ -318,0 +321,0 @@ // ref https://github.com/fastify/middie/pull/55 |
{ | ||
"name": "@nestjs/platform-fastify", | ||
"version": "10.3.3", | ||
"version": "10.3.4", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@platform-fastify)", | ||
@@ -24,4 +24,4 @@ "author": "Kamil Mysliwiec", | ||
"@fastify/middie": "8.3.0", | ||
"fastify": "4.26.0", | ||
"light-my-request": "5.11.0", | ||
"fastify": "4.26.2", | ||
"light-my-request": "5.12.0", | ||
"path-to-regexp": "3.2.0", | ||
@@ -28,0 +28,0 @@ "tslib": "2.6.2" |
@@ -28,8 +28,8 @@ <p align="center"> | ||
<p>Under the hood, Nest makes use of <a href="https://expressjs.com/" target="_blank">Express</a>, but also, provides compatibility with a wide range of other libraries, like e.g. <a href="https://github.com/fastify/fastify" target="_blank">Fastify</a>, allowing for easy use of the myriad third-party plugins which are available.</p> | ||
<p>Under the hood, Nest makes use of <a href="https://expressjs.com/" target="_blank">Express</a>, but also provides compatibility with a wide range of other libraries, like <a href="https://github.com/fastify/fastify" target="_blank">Fastify</a>, allowing for easy use of the myriad of third-party plugins which are available.</p> | ||
## Philosophy | ||
<p>In recent years, thanks to Node.js, JavaScript has become the “lingua franca” of the web for both front and backend applications, giving rise to awesome projects like <a href="https://angular.io/" target="_blank">Angular</a>, <a href="https://github.com/facebook/react" target="_blank">React</a> and <a href="https://github.com/vuejs/vue" target="_blank">Vue</a> which improve developer productivity and enable the construction of fast, testable, extensible frontend applications. However, on the server-side, while there are a lot of superb libraries, helpers and tools for Node, none of them effectively solve the main problem - the architecture.</p> | ||
<p>Nest aims to provide an application architecture out of the box which allows for effortless creation of highly testable, scalable, loosely coupled and easily maintainable applications. The architecture is heavily inspired by Angular.</p> | ||
<p>In recent years, thanks to Node.js, JavaScript has become the “lingua franca” of the web for both front and backend applications, giving rise to awesome projects like <a href="https://angular.io/" target="_blank">Angular</a>, <a href="https://github.com/facebook/react" target="_blank">React</a>, and <a href="https://github.com/vuejs/vue" target="_blank">Vue</a>, which improve developer productivity and enable the construction of fast, testable, and extensible frontend applications. However, on the server-side, while there are a lot of superb libraries, helpers, and tools for Node, none of them effectively solve the main problem - the architecture.</p> | ||
<p>Nest aims to provide an application architecture out of the box which allows for effortless creation of highly testable, scalable, and loosely coupled and easily maintainable applications. The architecture is heavily inspired by Angular.</p> | ||
@@ -97,3 +97,2 @@ ## Getting started | ||
<td><a href="https://twistag.com/" target="_blank"><img src="https://nestjs.com/img/twistag-logo.png" width="120" valign="middle" /></td> | ||
<td><a href="https://immediateedgeapp.org/" target="_blank"><img src="https://nestjs.com/img/immediate-edge-logo.png" width="120" valign="middle" /></td> | ||
</tr> | ||
@@ -100,0 +99,0 @@ </table> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51295
831
139
+ Addedcookie@0.6.0(transitive)
+ Addedfastify@4.26.2(transitive)
+ Addedlight-my-request@5.12.0(transitive)
- Removedcookie@0.5.0(transitive)
- Removedfastify@4.26.0(transitive)
- Removedlight-my-request@5.11.0(transitive)
- Removedprocess-warning@2.3.2(transitive)
Updatedfastify@4.26.2
Updatedlight-my-request@5.12.0