Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus authored and sevteen committed Oct 28, 2024
1 parent cf4d3fb commit ae0688c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
32 changes: 14 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"got-cjs"
],
"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 @@ -83,50 +83,46 @@
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@sindresorhus/tsconfig": "^5.1.1",
"@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",
"glob": "^11.0.0",
"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",
"rollup": "^4.19.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.1.1",
"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 ae0688c

Please sign in to comment.