Socket
Socket
Sign inDemoInstall

@nestjs/platform-fastify

Package Overview
Dependencies
Maintainers
2
Versions
242
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/platform-fastify - npm Package Compare versions

Comparing version 10.3.3 to 10.3.4

5

adapters/fastify-adapter.js

@@ -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

6

package.json
{
"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>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc