@nestjs/platform-fastify 10.4.2 → 10.4.4
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 +1 -1
- package/adapters/fastify-adapter.js +8 -8
- package/package.json +2 -2
package/Readme.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
|
|
11
11
|
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
|
|
12
12
|
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a>
|
|
13
|
-
<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/
|
|
13
|
+
<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
|
|
14
14
|
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
|
|
15
15
|
<a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
|
|
16
16
|
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
|
|
@@ -126,28 +126,28 @@ class FastifyAdapter extends http_adapter_1.AbstractHttpAdapter {
|
|
|
126
126
|
return this.instance.listen(options, callback);
|
|
127
127
|
}
|
|
128
128
|
get(...args) {
|
|
129
|
-
return this.injectRouteOptions('
|
|
129
|
+
return this.injectRouteOptions('GET', ...args);
|
|
130
130
|
}
|
|
131
131
|
post(...args) {
|
|
132
|
-
return this.injectRouteOptions('
|
|
132
|
+
return this.injectRouteOptions('POST', ...args);
|
|
133
133
|
}
|
|
134
134
|
head(...args) {
|
|
135
|
-
return this.injectRouteOptions('
|
|
135
|
+
return this.injectRouteOptions('HEAD', ...args);
|
|
136
136
|
}
|
|
137
137
|
delete(...args) {
|
|
138
|
-
return this.injectRouteOptions('
|
|
138
|
+
return this.injectRouteOptions('DELETE', ...args);
|
|
139
139
|
}
|
|
140
140
|
put(...args) {
|
|
141
|
-
return this.injectRouteOptions('
|
|
141
|
+
return this.injectRouteOptions('PUT', ...args);
|
|
142
142
|
}
|
|
143
143
|
patch(...args) {
|
|
144
|
-
return this.injectRouteOptions('
|
|
144
|
+
return this.injectRouteOptions('PATCH', ...args);
|
|
145
145
|
}
|
|
146
146
|
options(...args) {
|
|
147
|
-
return this.injectRouteOptions('
|
|
147
|
+
return this.injectRouteOptions('OPTIONS', ...args);
|
|
148
148
|
}
|
|
149
149
|
search(...args) {
|
|
150
|
-
return this.injectRouteOptions('
|
|
150
|
+
return this.injectRouteOptions('SEARCH', ...args);
|
|
151
151
|
}
|
|
152
152
|
applyVersionFilter(handler, version, versioningOptions) {
|
|
153
153
|
if (!this.versioningOptions) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/platform-fastify",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.4",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@platform-fastify)",
|
|
5
5
|
"author": "Kamil Mysliwiec",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@fastify/cors": "9.0.1",
|
|
22
22
|
"@fastify/formbody": "7.4.0",
|
|
23
|
-
"@fastify/middie": "8.3.
|
|
23
|
+
"@fastify/middie": "8.3.3",
|
|
24
24
|
"fastify": "4.28.1",
|
|
25
25
|
"light-my-request": "6.0.0",
|
|
26
26
|
"path-to-regexp": "3.3.0",
|