diff --git a/examples/express-helmet/package.json b/examples/express-helmet/package.json index 8356ba19c7..a4dbae6ff7 100644 --- a/examples/express-helmet/package.json +++ b/examples/express-helmet/package.json @@ -11,7 +11,7 @@ "express": "^4.17.1", "graphql-yoga": "5.3.1", "helmet": "^7.0.0", - "supertest": "^6.1.6" + "supertest": "^7.0.0" }, "devDependencies": { "ts-node": "10.9.1" diff --git a/examples/express/package.json b/examples/express/package.json index 9f37a395c3..56cffc4325 100644 --- a/examples/express/package.json +++ b/examples/express/package.json @@ -10,7 +10,7 @@ "@types/express": "^4.17.13", "express": "^4.17.1", "graphql-yoga": "5.3.1", - "supertest": "^6.1.6" + "supertest": "^7.0.0" }, "devDependencies": { "ts-node": "10.9.1" diff --git a/examples/koa/package.json b/examples/koa/package.json index cda4d5adf4..315f69bafb 100644 --- a/examples/koa/package.json +++ b/examples/koa/package.json @@ -10,7 +10,7 @@ "@types/koa": "2.13.6", "graphql-yoga": "5.3.1", "koa": "2.14.2", - "supertest": "^6.1.6" + "supertest": "^7.0.0" }, "devDependencies": { "ts-node": "10.9.1", diff --git a/package.json b/package.json index 4943d2cbd8..bcfc9c02f3 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "prettier": "^3.0.0", "pretty-quick": "^3.1.2", "rimraf": "^5.0.0", - "supertest": "^6.1.6", + "supertest": "^7.0.0", "ts-jest": "^29.0.0", "typescript": "5.1.6", "weak-napi": "2.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b54a460c62..b53fa16fc8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -113,8 +113,8 @@ importers: specifier: ^5.0.0 version: 5.0.0 supertest: - specifier: ^6.1.6 - version: 6.3.0 + specifier: ^7.0.0 + version: 7.0.0 ts-jest: specifier: ^29.0.0 version: 29.0.3(@babel/core@7.22.1)(@jest/types@29.5.0)(babel-jest@29.2.0(@babel/core@7.22.1))(esbuild@0.17.19)(jest@29.2.0(@types/node@18.16.16)(ts-node@10.9.2(@types/node@18.16.16)(typescript@5.1.6)))(typescript@5.1.6) @@ -484,8 +484,8 @@ importers: specifier: 5.3.1 version: 5.3.1(graphql@16.8.1) supertest: - specifier: ^6.1.6 - version: 6.3.0 + specifier: ^7.0.0 + version: 7.0.0 devDependencies: ts-node: specifier: 10.9.1 @@ -506,8 +506,8 @@ importers: specifier: ^7.0.0 version: 7.0.0 supertest: - specifier: ^6.1.6 - version: 6.3.0 + specifier: ^7.0.0 + version: 7.0.0 devDependencies: ts-node: specifier: 10.9.1 @@ -905,8 +905,8 @@ importers: specifier: 2.14.2 version: 2.14.2 supertest: - specifier: ^6.1.6 - version: 6.3.0 + specifier: ^7.0.0 + version: 7.0.0 devDependencies: ts-node: specifier: 10.9.1 @@ -9719,8 +9719,8 @@ packages: resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==} engines: {node: '>= 0.6'} - cookiejar@2.1.3: - resolution: {integrity: sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ==} + cookiejar@2.1.4: + resolution: {integrity: sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==} cookies@0.8.0: resolution: {integrity: sha512-8aPsApQfebXnuI+537McwYsDtjVxGm8gTIzQI3FDW6t5t/DAhERxtnbEPN/8RX+uZthoz4eCOgloXaE5cYyNow==} @@ -10300,8 +10300,8 @@ packages: devtools-protocol@0.0.1082910: resolution: {integrity: sha512-RqoZ2GmqaNxyx+99L/RemY5CkwG9D0WEfOKxekwCRXOGrDCep62ngezEJUVMq6rISYQ+085fJnWDQqGHlxVNww==} - dezalgo@1.0.3: - resolution: {integrity: sha512-K7i4zNfT2kgQz3GylDw40ot9GAE47sFZ9EXHFSPP6zONLgH6kWXE0KWJchkbQJLBkRazq4APwZ4OwiFFlT95OQ==} + dezalgo@1.0.4: + resolution: {integrity: sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==} didyoumean@1.2.2: resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} @@ -11307,8 +11307,8 @@ packages: resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==} engines: {node: '>=12.20.0'} - formidable@2.0.1: - resolution: {integrity: sha512-rjTMNbp2BpfQShhFbR3Ruk3qk2y9jKpvMW78nJgx8QKtxjDVrwbZG+wvDOmVbifHyOUOQJXxqEy6r0faRrPzTQ==} + formidable@3.5.1: + resolution: {integrity: sha512-WJWKelbRHN41m5dumb0/k8TeAx7Id/y3a+Z7QfhxP/htI9Js5zYaEDtG8uMgG0vM0lOlqnmjE99/kfpOYi/0Og==} forwarded@0.2.0: resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} @@ -15674,10 +15674,6 @@ packages: resolution: {integrity: sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==} engines: {node: '>=0.6'} - qs@6.9.3: - resolution: {integrity: sha512-EbZYNarm6138UKKq46tdx08Yo/q9ZhFoAXAI1meAFd2GtbRDhbZY2WQSICskT0c5q99aFzLG1D4nvTk9tqfXIw==} - engines: {node: '>=0.6'} - querystring@0.2.0: resolution: {integrity: sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==} engines: {node: '>=0.4.x'} @@ -16906,19 +16902,18 @@ packages: engines: {node: '>=8'} hasBin: true - superagent@8.0.2: - resolution: {integrity: sha512-QtYZ9uaNAMexI7XWl2vAXAh0j4q9H7T0WVEI/y5qaUB3QLwxo+voUgCQ217AokJzUTIVOp0RTo7fhZrwhD7A2Q==} - engines: {node: '>=6.4.0 <13 || >=14'} - deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net + superagent@9.0.2: + resolution: {integrity: sha512-xuW7dzkUpcJq7QnhOsnNUgtYp3xRwpt2F7abdRYIpCsAt0hhUqia0EdxyXZQQpNmGtsCzYHryaKSV3q3GJnq7w==} + engines: {node: '>=14.18.0'} superstatic@9.0.3: resolution: {integrity: sha512-e/tmW0bsnQ/33ivK6y3CapJT0Ovy4pk/ohNPGhIAGU2oasoNLRQ1cv6enua09NU9w6Y0H/fBu07cjzuiWvLXxw==} engines: {node: ^14.18.0 || >=16.4.0} hasBin: true - supertest@6.3.0: - resolution: {integrity: sha512-QgWju1cNoacP81Rv88NKkQ4oXTzGg0eNZtOoxp1ROpbS4OHY/eK5b8meShuFtdni161o5X0VQvgo7ErVyKK+Ow==} - engines: {node: '>=6.4.0'} + supertest@7.0.0: + resolution: {integrity: sha512-qlsr7fIC0lSddmA3tzojvzubYxvlGtzumcdHgPwbFWMISQwL22MhM2Y3LNt+6w9Yyx7559VW5ab70dgphm8qQA==} + engines: {node: '>=14.18.0'} supports-color@2.0.0: resolution: {integrity: sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==} @@ -28605,7 +28600,7 @@ snapshots: cookie@0.5.0: {} - cookiejar@2.1.3: {} + cookiejar@2.1.4: {} cookies@0.8.0: dependencies: @@ -29238,7 +29233,7 @@ snapshots: devtools-protocol@0.0.1082910: {} - dezalgo@1.0.3: + dezalgo@1.0.4: dependencies: asap: 2.0.6 wrappy: 1.0.2 @@ -30916,12 +30911,11 @@ snapshots: dependencies: fetch-blob: 3.2.0 - formidable@2.0.1: + formidable@3.5.1: dependencies: - dezalgo: 1.0.3 + dezalgo: 1.0.4 hexoid: 1.0.0 once: 1.4.0 - qs: 6.9.3 forwarded@0.2.0: {} @@ -36955,8 +36949,6 @@ snapshots: qs@6.5.3: {} - qs@6.9.3: {} - querystring@0.2.0: {} querystringify@2.2.0: {} @@ -38444,18 +38436,17 @@ snapshots: pirates: 4.0.5 ts-interface-checker: 0.1.13 - superagent@8.0.2: + superagent@9.0.2: dependencies: component-emitter: 1.3.0 - cookiejar: 2.1.3 + cookiejar: 2.1.4 debug: 4.3.4(supports-color@9.2.3) fast-safe-stringify: 2.1.1 form-data: 4.0.0 - formidable: 2.0.1 + formidable: 3.5.1 methods: 1.1.2 mime: 2.6.0 qs: 6.11.0 - semver: 7.5.4 transitivePeerDependencies: - supports-color @@ -38486,10 +38477,10 @@ snapshots: - encoding - supports-color - supertest@6.3.0: + supertest@7.0.0: dependencies: methods: 1.1.2 - superagent: 8.0.2 + superagent: 9.0.2 transitivePeerDependencies: - supports-color