Skip to content

Commit 1768f56

Browse files
authored
Merge pull request #32 from fastify/prep-1x
Updates for 1x
2 parents a18e023 + b953107 commit 1768f56

File tree

4 files changed

+22
-10
lines changed

4 files changed

+22
-10
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set
2+
* text=auto
3+
4+
# Require Unix line endings
5+
* text eol=lf

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22

33
node_js:
4+
- "11"
45
- "10"
5-
- "9"
66
- "8"

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ you for single route proxying.
1414

1515
This plugin can be used in a variety of circumstances, for example if you have to proxy an internal domain to an external domain (useful to avoid CORS problems) or to implement your own API gateway for a microservices architecture.
1616

17+
## Requirements
18+
19+
Fastify ^1.8.0
20+
1721
## Install
1822

1923
```

package.json

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,23 @@
2222
},
2323
"homepage": "https://github.com/fastify/fastify-http-proxy#readme",
2424
"devDependencies": {
25-
"express": "^4.16.3",
26-
"express-http-proxy": "^1.2.0",
27-
"fastify": "^1.8.0",
28-
"got": "^9.0.0",
29-
"http-errors": "^1.6.3",
25+
"express": "^4.16.4",
26+
"express-http-proxy": "^1.5.0",
27+
"fastify": "^1.13.3",
28+
"got": "^9.5.0",
29+
"http-errors": "^1.7.1",
3030
"http-proxy": "^1.17.0",
3131
"make-promises-safe": "^4.0.0",
3232
"pre-commit": "^1.2.2",
33-
"simple-get": "^3.0.0",
33+
"simple-get": "^3.0.3",
3434
"snazzy": "^8.0.0",
35-
"standard": "^12.0.0",
36-
"tap": "^12.0.0"
35+
"standard": "^12.0.1",
36+
"tap": "^12.1.1"
37+
},
38+
"peerDependencies": {
39+
"fastify": "1.x"
3740
},
3841
"dependencies": {
39-
"fastify-reply-from": "^0.5.0"
42+
"fastify-reply-from": "^0.5.3"
4043
}
4144
}

0 commit comments

Comments
 (0)