From 8d64476d6a04c8cc693e416ae07679c6573ac2af Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 13 Aug 2024 04:09:12 +0000 Subject: [PATCH] fix: upgrade @tinyhttp/app from 2.2.3 to 2.3.0 Snyk has created this PR to upgrade @tinyhttp/app from 2.2.3 to 2.3.0. See this package in npm: @tinyhttp/app See this project in Snyk: https://app.snyk.io/org/apiiro-snyk/project/ec82d83e-070d-4b1f-a248-043bd54498f8?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 174 ++++++++++++++++++++++++++++++---------------- package.json | 2 +- 2 files changed, 114 insertions(+), 62 deletions(-) diff --git a/package-lock.json b/package-lock.json index 14d2cb249..788523c36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0-beta.1", "license": "SEE LICENSE IN ./LICENSE", "dependencies": { - "@tinyhttp/app": "^2.2.3", + "@tinyhttp/app": "^2.3.0", "@tinyhttp/cors": "^2.0.0", "chalk": "^5.3.0", "chokidar": "^3.6.0", @@ -674,9 +674,10 @@ } }, "node_modules/@tinyhttp/accepts": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@tinyhttp/accepts/-/accepts-2.2.1.tgz", - "integrity": "sha512-2DHJLSJX1gqR5F6nKuu7+hyCNoPRNOxvnQ11m0X8klkSVoBFBO2HMf3bJ8P+fmNv1e6RjHzHF+G+hJ3dxXIQXQ==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@tinyhttp/accepts/-/accepts-2.2.2.tgz", + "integrity": "sha512-DmngnwOaPgNUGgTpX1UdlNrXaGG6k5rHFzslcYlvSQIg7s0PI6bF86U0fYq3q+yhJhKbnwzFez0wU1lAP+bKvA==", + "license": "MIT", "dependencies": { "mime": "4.0.1", "negotiator": "^0.6.3" @@ -690,17 +691,18 @@ } }, "node_modules/@tinyhttp/app": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/@tinyhttp/app/-/app-2.2.3.tgz", - "integrity": "sha512-njr499Tx9BwlnIGfJjTuqfPwaUSTsjhUeRq/jVtHJpS95UgWECH7kiq8+bEx6TFRXiNKpARZ6KJUemlMyV+iCg==", - "dependencies": { - "@tinyhttp/cookie": "2.1.0", - "@tinyhttp/proxy-addr": "2.1.3", - "@tinyhttp/req": "2.2.2", - "@tinyhttp/res": "2.2.2", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@tinyhttp/app/-/app-2.3.0.tgz", + "integrity": "sha512-2jGV5Er72wywjM8HBjYszECOiIzgNcRrO/kq1gHQqOQvrLa1KzIpUD1CCvPALUXiko7ZK2zKq5WyL+yRPC50uw==", + "license": "MIT", + "dependencies": { + "@tinyhttp/cookie": "2.1.1", + "@tinyhttp/proxy-addr": "2.2.0", + "@tinyhttp/req": "2.2.3", + "@tinyhttp/res": "2.2.3", "@tinyhttp/router": "2.2.2", "header-range-parser": "1.1.3", - "regexparam": "^2.0.1" + "regexparam": "^2.0.2" }, "engines": { "node": ">=14.21.3" @@ -711,9 +713,10 @@ } }, "node_modules/@tinyhttp/content-disposition": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@tinyhttp/content-disposition/-/content-disposition-2.2.0.tgz", - "integrity": "sha512-w1dJaSAtcCinOlT/YQg35RnFCOBbCHBGDVhH4yLoiJVtecRAJ2cYMf5HP+UhfbXURa38GC8fkRXO0vODDTjmeg==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@tinyhttp/content-disposition/-/content-disposition-2.2.1.tgz", + "integrity": "sha512-PQ5IWdOn7arScqTV+usIDJvwbanoAXtaopzgxjMS9y7TFwLSIelCblihRBEVIPIkIpsdhSJFH3RF+Daosyj+Aw==", + "license": "MIT", "engines": { "node": ">=12.20.0" }, @@ -726,14 +729,16 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/@tinyhttp/content-type/-/content-type-0.1.4.tgz", "integrity": "sha512-dl6f3SHIJPYbhsW1oXdrqOmLSQF/Ctlv3JnNfXAE22kIP7FosqJHxkz/qj2gv465prG8ODKH5KEyhBkvwrueKQ==", + "license": "MIT", "engines": { "node": ">=12.4" } }, "node_modules/@tinyhttp/cookie": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@tinyhttp/cookie/-/cookie-2.1.0.tgz", - "integrity": "sha512-o56utxXvIuLTCtPm66r8lcyUufpw0RkO+u4wQrTbc6snyyGZZ9hHzGRxPyko0ks90ctOkLh0mNKn7YZaTWlvfw==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@tinyhttp/cookie/-/cookie-2.1.1.tgz", + "integrity": "sha512-h/kL9jY0e0Dvad+/QU3efKZww0aTvZJslaHj3JTPmIPC9Oan9+kYqmh3M6L5JUQRuTJYFK2nzgL2iJtH2S+6dA==", + "license": "MIT", "engines": { "node": ">=12.20.0" }, @@ -743,9 +748,10 @@ } }, "node_modules/@tinyhttp/cookie-signature": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@tinyhttp/cookie-signature/-/cookie-signature-2.1.0.tgz", - "integrity": "sha512-bpOXBGf9rKoajtEG75O7xjwW+u2I/NNPkJWJTDdr6j7Vx0lG5R9Hnl3ty80Af4jwyo90ywXVpZIxKLubPK6RzA==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@tinyhttp/cookie-signature/-/cookie-signature-2.1.1.tgz", + "integrity": "sha512-VDsSMY5OJfQJIAtUgeQYhqMPSZptehFSfvEEtxr+4nldPA8IImlp3QVcOVuK985g4AFR4Hl1sCbWCXoqBnVWnw==", + "license": "MIT", "engines": { "node": ">=12.20.0" } @@ -765,45 +771,50 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/@tinyhttp/encode-url/-/encode-url-2.1.1.tgz", "integrity": "sha512-AhY+JqdZ56qV77tzrBm0qThXORbsVjs/IOPgGCS7x/wWnsa/Bx30zDUU/jPAUcSzNOzt860x9fhdGpzdqbUeUw==", + "license": "MIT", "engines": { "node": ">=12.20.0" } }, "node_modules/@tinyhttp/etag": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@tinyhttp/etag/-/etag-2.1.1.tgz", - "integrity": "sha512-AcHGK1nMlKIHmlbg8bb8UY/KhiaAX17SAn3/6wlgwwdX4UizA8HETDfCH3KLdu2ZASokynuwVFNDJCo1DAawGw==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@tinyhttp/etag/-/etag-2.1.2.tgz", + "integrity": "sha512-j80fPKimGqdmMh6962y+BtQsnYPVCzZfJw0HXjyH70VaJBHLKGF+iYhcKqzI3yef6QBNa8DKIPsbEYpuwApXTw==", + "license": "MIT", "engines": { "node": ">=12.20.0" } }, "node_modules/@tinyhttp/forwarded": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@tinyhttp/forwarded/-/forwarded-2.1.2.tgz", - "integrity": "sha512-9H/eulJ68ElY/+zYpTpNhZ7vxGV+cnwaR6+oQSm7bVgZMyuQfgROW/qvZuhmgDTIxnGMXst+Ba4ij6w6Krcs3w==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@tinyhttp/forwarded/-/forwarded-2.1.1.tgz", + "integrity": "sha512-nO3kq0R1LRl2+CAMlnggm22zE6sT8gfvGbNvSitV6F9eaUSurHP0A8YZFMihSkugHxK+uIegh1TKrqgD8+lyGQ==", + "license": "MIT", "engines": { "node": ">=12.20.0" } }, "node_modules/@tinyhttp/proxy-addr": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@tinyhttp/proxy-addr/-/proxy-addr-2.1.3.tgz", - "integrity": "sha512-Z0Q/0wEJpvall7LlBezXDy96CXLzPZb6xJawwEgsMXXQhmjb+r3EkpCBwMrWm2GlbJFL/UxKxpdumiNW3Ne06g==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@tinyhttp/proxy-addr/-/proxy-addr-2.2.0.tgz", + "integrity": "sha512-WM/PPL9xNvrs7/8Om5nhKbke5FHrP3EfjOOR+wBnjgESfibqn0K7wdUTnzSLp1lBmemr88os1XvzwymSgaibyA==", + "license": "MIT", "dependencies": { - "@tinyhttp/forwarded": "2.1.2", - "ipaddr.js": "^2.1.0" + "@tinyhttp/forwarded": "2.1.1", + "ipaddr.js": "^2.2.0" }, "engines": { "node": ">=12.20.0" } }, "node_modules/@tinyhttp/req": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@tinyhttp/req/-/req-2.2.2.tgz", - "integrity": "sha512-LaL/RFRro0qjOQ0g3vxE6i9bWl9hhv9en7opykzLU4NimFPg2C8wl7Qkoyc0mDuoRMQmWpq730PDWXSUmLiT2A==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@tinyhttp/req/-/req-2.2.3.tgz", + "integrity": "sha512-HtIa4Gaa8QFTlmsvoif/B7yMK5H0WBUegH2kKW6scNwOpFXyxEk+VsctrIVgORrP5lybXAIRXlRhGuBBAMlVhw==", + "license": "MIT", "dependencies": { - "@tinyhttp/accepts": "2.2.1", - "@tinyhttp/type-is": "2.2.2", + "@tinyhttp/accepts": "2.2.2", + "@tinyhttp/type-is": "2.2.3", "@tinyhttp/url": "2.1.1", "header-range-parser": "^1.1.3" }, @@ -812,24 +823,40 @@ } }, "node_modules/@tinyhttp/res": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@tinyhttp/res/-/res-2.2.2.tgz", - "integrity": "sha512-YeEYFwozag2qO5xoTj1Df+d5l6MXUefxz3xbcJD6ASVqUQytTEYtOC0FjhQKLpTLjMJKlS4mkKmeIdDLFO9btg==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@tinyhttp/res/-/res-2.2.3.tgz", + "integrity": "sha512-PGl88OOdmMcOuKZaTbhGKAWPoJJf3+EfKIad8ydzjdenVjrTZZjIYJtmwYiUBeEice+YkOCO67qCIekVO5mHlw==", + "license": "MIT", "dependencies": { - "@tinyhttp/content-disposition": "2.2.0", - "@tinyhttp/cookie": "2.1.0", - "@tinyhttp/cookie-signature": "2.1.0", + "@tinyhttp/content-disposition": "2.2.1", + "@tinyhttp/cookie": "2.1.1", + "@tinyhttp/cookie-signature": "2.1.1", "@tinyhttp/encode-url": "2.1.1", - "@tinyhttp/req": "2.2.2", - "@tinyhttp/send": "2.2.1", + "@tinyhttp/req": "2.2.3", + "@tinyhttp/send": "2.2.2", "@tinyhttp/vary": "^0.1.3", "es-escape-html": "^0.1.1", - "mime": "4.0.1" + "mime": "4.0.0-beta.1" }, "engines": { "node": ">=12.20.0" } }, + "node_modules/@tinyhttp/res/node_modules/mime": { + "version": "4.0.0-beta.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.0-beta.1.tgz", + "integrity": "sha512-8/p99P1RV17prytee/A6D+8shNqdDzyvGJ/CVfiuXwh4cTsv3P3qGyaYSx2hdqnqbKKqYUfTC5zAjCtcd1BShw==", + "funding": [ + "https://github.com/sponsors/broofa" + ], + "license": "MIT", + "bin": { + "mime": "bin/cli.js" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/@tinyhttp/router": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/@tinyhttp/router/-/router-2.2.2.tgz", @@ -839,22 +866,39 @@ } }, "node_modules/@tinyhttp/send": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@tinyhttp/send/-/send-2.2.1.tgz", - "integrity": "sha512-uFW0fxmYIPpB5RKP2vpL8QuafjUrCBmBWxZMIhFb7uBQky87t7x1QdpRB0vc+w11a2kok+Nc8ClD5kc6CRJCFg==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@tinyhttp/send/-/send-2.2.2.tgz", + "integrity": "sha512-TZkGy9EdGk+vwYWQnjArQftaXAUIgp/fFlgaxlpamsCZKy7o+CNJ75xty4H3SaY3ZPgN47wv8rnJ50rDRQdFFQ==", + "license": "MIT", "dependencies": { "@tinyhttp/content-type": "^0.1.4", - "@tinyhttp/etag": "2.1.1", - "mime": "4.0.1" + "@tinyhttp/etag": "2.1.2", + "mime": "4.0.0-beta.1" }, "engines": { "node": ">=12.20.0" } }, + "node_modules/@tinyhttp/send/node_modules/mime": { + "version": "4.0.0-beta.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.0-beta.1.tgz", + "integrity": "sha512-8/p99P1RV17prytee/A6D+8shNqdDzyvGJ/CVfiuXwh4cTsv3P3qGyaYSx2hdqnqbKKqYUfTC5zAjCtcd1BShw==", + "funding": [ + "https://github.com/sponsors/broofa" + ], + "license": "MIT", + "bin": { + "mime": "bin/cli.js" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/@tinyhttp/type-is": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@tinyhttp/type-is/-/type-is-2.2.2.tgz", - "integrity": "sha512-DmTm0MkdrUxEPI2WBBoYJT0bitWx6+xeUd3lya1NGbKmYArzyUE+KVro/9y/h6Bxh+RaAKNeTCF4H/ksbe/ULQ==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@tinyhttp/type-is/-/type-is-2.2.3.tgz", + "integrity": "sha512-RsZ4+or5xI+wrTlrd+/cLZELoJDMd1HSp+1P23VOZSu1xPAsO1XLf1FgluO8GbEW9Ll/l2yC7mO6diKzjc06HA==", + "license": "MIT", "dependencies": { "@tinyhttp/content-type": "^0.1.4", "mime": "4.0.1" @@ -867,6 +911,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/@tinyhttp/url/-/url-2.1.1.tgz", "integrity": "sha512-POJeq2GQ5jI7Zrdmj22JqOijB5/GeX+LEX7DUdml1hUnGbJOTWDx7zf2b5cCERj7RoXL67zTgyzVblBJC+NJWg==", + "license": "MIT", "engines": { "node": ">=12.20.0" } @@ -875,6 +920,7 @@ "version": "0.1.3", "resolved": "https://registry.npmjs.org/@tinyhttp/vary/-/vary-0.1.3.tgz", "integrity": "sha512-SoL83sQXAGiHN1jm2VwLUWQSQeDAAl1ywOm6T0b0Cg1CZhVsjoiZadmjhxF6FHCCY7OHHVaLnTgSMxTPIDLxMg==", + "license": "MIT", "engines": { "node": ">=12.20" } @@ -1656,6 +1702,7 @@ "version": "0.1.1", "resolved": "https://registry.npmjs.org/es-escape-html/-/es-escape-html-0.1.1.tgz", "integrity": "sha512-yUx1o+8RsG7UlszmYPtks+dm6Lho2m8lgHMOsLJQsFI0R8XwUJwiMhM1M4E/S8QLeGyf6MkDV/pWgjQ0tdTSyQ==", + "license": "MIT", "engines": { "node": ">=12.x" } @@ -2226,6 +2273,7 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/header-range-parser/-/header-range-parser-1.1.3.tgz", "integrity": "sha512-B9zCFt3jH8g09LR1vHL4pcAn8yMEtlSlOUdQemzHMRKMImNIhhszdeosYFfNW0WXKQtXIlWB+O4owHJKvEJYaA==", + "license": "MIT", "engines": { "node": ">=12.22.0" } @@ -2308,9 +2356,10 @@ "peer": true }, "node_modules/ipaddr.js": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.1.0.tgz", - "integrity": "sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.2.0.tgz", + "integrity": "sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA==", + "license": "MIT", "engines": { "node": ">= 10" } @@ -2599,6 +2648,7 @@ "funding": [ "https://github.com/sponsors/broofa" ], + "license": "MIT", "bin": { "mime": "bin/cli.js" }, @@ -2674,6 +2724,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -3069,9 +3120,10 @@ "dev": true }, "node_modules/regexparam": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/regexparam/-/regexparam-2.0.1.tgz", - "integrity": "sha512-zRgSaYemnNYxUv+/5SeoHI0eJIgTL/A2pUtXUPLHQxUldagouJ9p+K6IbIZ/JiQuCEv2E2B1O11SjVQy3aMCkw==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/regexparam/-/regexparam-2.0.2.tgz", + "integrity": "sha512-A1PeDEYMrkLrfyOwv2jwihXbo9qxdGD3atBYQA9JJgreAx8/7rC6IUkWOw2NQlOxLp2wL0ifQbh1HuidDfYA6w==", + "license": "MIT", "engines": { "node": ">=8" } diff --git a/package.json b/package.json index 424daa6a7..0283c8a7a 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "typescript": "^5.4.5" }, "dependencies": { - "@tinyhttp/app": "^2.2.3", + "@tinyhttp/app": "^2.3.0", "@tinyhttp/cors": "^2.0.0", "chalk": "^5.3.0", "chokidar": "^3.6.0",