From d8eba112c27f8b1cc0b84d7f32951f2e4066a5c6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 3 Aug 2024 01:31:52 +0000 Subject: [PATCH] fix: upgrade @tinyhttp/cors from 2.0.0 to 2.0.1 Snyk has created this PR to upgrade @tinyhttp/cors from 2.0.0 to 2.0.1. See this package in npm: @tinyhttp/cors 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 | 21 +++++++-------------- package.json | 2 +- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 14d2cb24..2a71784a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "SEE LICENSE IN ./LICENSE", "dependencies": { "@tinyhttp/app": "^2.2.3", - "@tinyhttp/cors": "^2.0.0", + "@tinyhttp/cors": "^2.0.1", "chalk": "^5.3.0", "chokidar": "^3.6.0", "dot-prop": "^9.0.0", @@ -751,14 +751,15 @@ } }, "node_modules/@tinyhttp/cors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tinyhttp/cors/-/cors-2.0.0.tgz", - "integrity": "sha512-IwQsPBnK+gRrhTsPA4FPOfbNzZZt8cVsOIMNFb6HzoScaiWcoLEogL0Bz/aBSm8KM13uieVXoVT6udMqhqUS2A==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@tinyhttp/cors/-/cors-2.0.1.tgz", + "integrity": "sha512-qrmo6WJuaiCzKWagv2yA/kw6hIISfF/hOqPWwmI6w0o8apeTMmRN3DoCFvQ/wNVuWVdU5J4KU7OX8aaSOEq51A==", + "license": "MIT", "dependencies": { - "es-vary": "^0.1.1" + "@tinyhttp/vary": "^0.1.3" }, "engines": { - "node": ">=12.4 || 14.x || >=16" + "node": ">=12.20 || 14.x || >=16" } }, "node_modules/@tinyhttp/encode-url": { @@ -1660,14 +1661,6 @@ "node": ">=12.x" } }, - "node_modules/es-vary": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/es-vary/-/es-vary-0.1.2.tgz", - "integrity": "sha512-pLqqZoOutAXQXyBJrUYVNM5fZngiOJYi1Xl4svQMrluTsqDUOQlBMw9EYgLrsWL6niDYn/Yd1y2Pj6GC+j/yjA==", - "engines": { - "node": ">=12.x" - } - }, "node_modules/esbuild": { "version": "0.20.2", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.2.tgz", diff --git a/package.json b/package.json index 424daa6a..44abe211 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ }, "dependencies": { "@tinyhttp/app": "^2.2.3", - "@tinyhttp/cors": "^2.0.0", + "@tinyhttp/cors": "^2.0.1", "chalk": "^5.3.0", "chokidar": "^3.6.0", "dot-prop": "^9.0.0",