Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Oct 9, 2024
1 parent f2f8cb2 commit f145b09
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"ky"
],
"dependencies": {
"@sindresorhus/is": "^7.0.0",
"@sindresorhus/is": "^7.0.1",
"@szmarczak/http-timer": "^5.0.1",
"cacheable-lookup": "^7.0.0",
"cacheable-request": "^12.0.1",
Expand All @@ -58,50 +58,50 @@
"lowercase-keys": "^3.0.0",
"p-cancelable": "^4.0.1",
"responselike": "^3.0.0",
"type-fest": "^4.19.0"
"type-fest": "^4.26.1"
},
"devDependencies": {
"@hapi/bourne": "^3.0.0",
"@sindresorhus/tsconfig": "^5.0.0",
"@sindresorhus/tsconfig": "^6.0.0",
"@sinonjs/fake-timers": "^11.2.2",
"@types/benchmark": "^2.1.5",
"@types/express": "^4.17.21",
"@types/node": "^20.12.12",
"@types/express": "^5.0.0",
"@types/node": "^22.7.5",
"@types/pem": "^1.14.4",
"@types/readable-stream": "^4.0.14",
"@types/request": "^2.48.12",
"@types/sinon": "^17.0.2",
"@types/sinonjs__fake-timers": "^8.1.5",
"ava": "^5.3.1",
"axios": "^1.6.8",
"axios": "^1.7.7",
"benchmark": "^2.1.4",
"bluebird": "^3.7.2",
"body-parser": "^1.20.2",
"body-parser": "^1.20.3",
"create-cert": "^1.0.6",
"create-test-server": "^3.0.1",
"del-cli": "^5.1.0",
"del-cli": "^6.0.0",
"delay": "^6.0.0",
"expect-type": "^0.19.0",
"express": "^4.19.2",
"expect-type": "^1.0.0",
"express": "^4.21.1",
"form-data": "^4.0.0",
"formdata-node": "^6.0.3",
"get-stream": "^9.0.1",
"nock": "^13.5.4",
"nock": "^13.5.5",
"node-fetch": "^3.3.2",
"np": "^10.0.5",
"nyc": "^15.1.0",
"nyc": "^17.1.0",
"p-event": "^6.0.1",
"pem": "^1.14.8",
"pify": "^6.1.0",
"readable-stream": "^4.4.2",
"request": "^2.88.2",
"sinon": "^18.0.0",
"sinon": "^19.0.2",
"slow-stream": "0.0.4",
"tempy": "^3.1.0",
"then-busboy": "^5.2.1",
"tough-cookie": "^4.1.4",
"tsx": "^4.16.2",
"typescript": "^5.4.5",
"tsx": "^4.19.1",
"typescript": "^5.6.3",
"xo": "^0.56.0"
},
"ava": {
Expand Down
4 changes: 3 additions & 1 deletion test/redirects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,9 @@ test('redirects on 303 if GET or HEAD', withServer, async (t, server, got) => {
});

test('removes body on GET redirect', withServer, async (t, server, got) => {
server.get('/', (request, response) => request.pipe(response));
server.get('/', (request, response) => {
request.pipe(response);
});

server.post('/seeOther', (_request, response) => {
response.writeHead(303, {
Expand Down

0 comments on commit f145b09

Please sign in to comment.