Skip to content

Commit fe1803e

Browse files
committed
Bumped v10.0.0
Signed-off-by: Matteo Collina <[email protected]>
1 parent a353530 commit fe1803e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fastify/http-proxy",
3-
"version": "10.0.0-pre.fv5.2",
3+
"version": "10.0.0",
44
"description": "proxy http requests, for Fastify",
55
"main": "index.js",
66
"type": "commonjs",
@@ -37,7 +37,7 @@
3737
"express": "^4.19.2",
3838
"express-http-proxy": "^2.0.0",
3939
"fast-proxy": "^2.1.0",
40-
"fastify": "^5.0.0-alpha.3",
40+
"fastify": "^5.0.0-alpha.4",
4141
"got": "^11.8.6",
4242
"http-errors": "^2.0.0",
4343
"http-proxy": "^1.18.1",
@@ -52,9 +52,9 @@
5252
"why-is-node-running": "^3.0.0"
5353
},
5454
"dependencies": {
55-
"@fastify/reply-from": "^10.0.0-pre.fv5.1",
55+
"@fastify/reply-from": "^11.0.0",
5656
"fast-querystring": "^1.1.2",
57-
"fastify-plugin": "^5.0.0-pre.fv5.1",
57+
"fastify-plugin": "^5.0.0",
5858
"ws": "^8.16.0"
5959
},
6060
"tsd": {

test/test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async function run () {
1919
})
2020

2121
origin.get('/redirect', async (request, reply) => {
22-
return reply.redirect(302, 'https://fastify.dev')
22+
return reply.redirect('https://fastify.dev', 302)
2323
})
2424

2525
origin.post('/this-has-data', async (request, reply) => {
@@ -666,7 +666,7 @@ async function run () {
666666
upstream: `http://localhost:${origin.server.address().port}`,
667667
prefix: '/api',
668668
replyOptions: {
669-
onResponse (request, reply, stream) {
669+
onResponse (request, reply, { stream }) {
670670
return reply.send(
671671
stream.pipe(
672672
new Transform({

0 commit comments

Comments
 (0)