π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π§ͺ Tests for all the node endpoints
Alicia Sykes999bc97ac470
diff --git a/package.json b/package.jsonindex cd626fa3..2c1d95df 100644--- a/package.json+++ b/package.json@@ -54,6 +54,7 @@"vuex": "^3.6.2"},"devDependencies": {+ "@babel/eslint-parser": "^7.25.0","@babel/preset-env": "^7.26.0","@vitest/ui": "^1.6.0","@vue/cli-plugin-babel": "^5.0.8",@@ -61,7 +62,6 @@"@vue/cli-plugin-pwa": "^5.0.8","@vue/cli-plugin-typescript": "^5.0.8","@vue/cli-service": "^5.0.8",- "@babel/eslint-parser": "^7.25.0","@vue/eslint-config-standard": "^4.0.0","@vue/test-utils": "^1.3.6","copy-webpack-plugin": "6.4.0",@@ -72,6 +72,7 @@"npm-run-all": "^4.1.5","sass": "^1.77.0","sass-loader": "^12.0.0",+ "supertest": "^7.2.2","typescript": "^5.4.4","vite-plugin-vue2": "^2.0.3","vitest": "^1.6.0",diff --git a/tests/server/cors-proxy.test.js b/tests/server/cors-proxy.test.jsnew file mode 100644index 00000000..bbebd550--- /dev/null+++ b/tests/server/cors-proxy.test.js@@ -0,0 +1,88 @@+// @vitest-environment node+import { describe, it, expect } from 'vitest';+import request from 'supertest';++const app = require('../../services/app');++describe('CORS proxy', () => {+ it('rejects missing Target-URL', async () => {+ const res = await request(app).get('/cors-proxy');+ expect(res.status).toBe(400);+ expect(res.body.error).toContain('Target-URL');+ });++ it('rejects invalid URL', async () => {+ const res = await request(app).get('/cors-proxy').set('Target-URL', 'not-a-url');+ expect(res.status).toBe(400);+ });++ it('rejects file:// scheme', async () => {+ const res = await request(app).get('/cors-proxy').set('Target-URL', 'file:///etc/passwd');+ expect(res.status).toBe(400);+ expect(res.body.error).toContain('http');+ });++ it('rejects ftp:// scheme', async () => {+ const res = await request(app).get('/cors-proxy').set('Target-URL', 'ftp://x.com');+ expect(res.status).toBe(400);+ });++ it('blocks cloud metadata IPv4', async () => {+ const res = await request(app).get('/cors-proxy').set('Target-URL', 'http://169.254.169.254/');+ expect(res.status).toBe(403);+ expect(res.body.error).toContain('blocked');+ });++ it('blocks cloud metadata decimal bypass', async () => {+ const res = await request(app).get('/cors-proxy').set('Target-URL', 'http://2852039166/');+ expect(res.status).toBe(403);+ });++ it('blocks GCP metadata DNS', async () => {+ const res = await request(app).get('/cors-proxy').set('Target-URL', 'http://metadata.google.internal/');+ expect(res.status).toBe(403);+ });++ it('blocks Alibaba metadata', async () => {+ const res = await request(app).get('/cors-proxy').set('Target-URL', 'http://100.100.100.200/');+ expect(res.status).toBe(403);+ });++ it('blocks gopher:// scheme', async () => {+ const res = await request(app).get('/cors-proxy').set('Target-URL', 'gopher://evil:70/');+ expect(res.status).toBe(400);+ });++ it('blocks IPv4-mapped IPv6 metadata', async () => {+ const res = await request(app).get('/cors-proxy').set('Target-URL', 'http://[::ffff:169.254.169.254]/');+ expect(res.status).toBe(403);+ });++ it('blocks AWS IPv6 metadata', async () => {+ const res = await request(app).get('/cors-proxy').set('Target-URL', 'http://[fd00:ec2::254]/');+ expect(res.status).toBe(403);+ });++ it('accepts POST method (needed for proxying APIs)', async () => {+ const res = await request(app).post('/cors-proxy').set('Target-URL', 'http://169.254.169.254/');+ expect(res.status).toBe(403); // blocked by SSRF, but NOT by a method filter+ });++ it('rejects malformed CustomHeaders', async () => {+ const res = await request(app)+ .get('/cors-proxy')+ .set('Target-URL', 'http://example.com')+ .set('CustomHeaders', '{bad');+ expect(res.status).toBe(400);+ expect(res.body.error).toContain('malformed JSON');+ });++ it('handles OPTIONS preflight', async () => {+ const res = await request(app)+ .options('/cors-proxy')+ .set('Origin', 'http://localhost')+ .set('Access-Control-Request-Method', 'GET');+ expect(res.status).toBe(200);+ expect(res.headers['access-control-allow-origin']).toBe('*');+ });+});diff --git a/tests/server/general.test.js b/tests/server/general.test.jsnew file mode 100644index 00000000..3668761b--- /dev/null+++ b/tests/server/general.test.js@@ -0,0 +1,57 @@+// @vitest-environment node+import { describe, it, expect } from 'vitest';+import request from 'supertest';++const app = require('../../services/app');++describe('Config serving', () => {+ it('GET /conf.yml returns the config', async () => {+ const res = await request(app).get('/conf.yml');+ expect(res.status).toBe(200);+ expect(res.text).toContain('pageInfo');+ });++ it('GET /missing.yml returns 404 JSON', async () => {+ const res = await request(app).get('/nonexistent.yml');+ expect(res.status).toBe(404);+ expect(JSON.parse(res.text).success).toBe(false);+ });+});++describe('System info', () => {+ it('returns host metadata', async () => {+ const res = await request(app).get('/system-info');+ expect(res.status).toBe(200);+ const body = JSON.parse(res.text);+ expect(body.meta.hostname).toBeDefined();+ expect(body.meta.uptime).toBeGreaterThan(0);+ expect(body.memory).toBeDefined();+ });++ it('ignores POST', async () => {+ const res = await request(app).post('/system-info');+ expect(res.status).toBeLessThan(500);+ });+});++describe('Get user', () => {+ it('returns JSON', async () => {+ const res = await request(app).get('/get-user');+ expect(res.status).toBe(200);+ expect(typeof JSON.parse(res.text)).toBe('object');+ });+});++describe('Rebuild', () => {+ it('ignores POST', async () => {+ const res = await request(app).post('/config-manager/rebuild');+ expect(res.status).toBeLessThan(500);+ });+});++describe('SPA fallback', () => {+ it('serves content for unknown routes', async () => {+ const res = await request(app).get('/some/nonexistent/route');+ expect([200, 404]).toContain(res.status);+ });+});diff --git a/tests/server/save-config.test.js b/tests/server/save-config.test.jsnew file mode 100644index 00000000..f545545a--- /dev/null+++ b/tests/server/save-config.test.js@@ -0,0 +1,68 @@+// @vitest-environment node+import { describe, it, expect } from 'vitest';+import request from 'supertest';++const app = require('../../services/app');+const save = (body) => request(app).post('/config-manager/save').send(body);++describe('Save config', () => {+ it('rejects empty body', async () => {+ const res = await save({});+ expect(JSON.parse(res.text).success).toBe(false);+ expect(JSON.parse(res.text).message).toContain('config');+ });++ it('rejects non-string config', async () => {+ const res = await save({ config: 123 });+ expect(JSON.parse(res.text).success).toBe(false);+ });++ it('rejects oversized config', async () => {+ const res = await save({ config: 'x'.repeat(257 * 1024) });+ expect(JSON.parse(res.text).success).toBe(false);+ expect(JSON.parse(res.text).message).toContain('256');+ });++ it('rejects non-.yml filename', async () => {+ const res = await save({ config: 'x: 1', filename: 'evil.txt' });+ expect(JSON.parse(res.text).success).toBe(false);+ expect(JSON.parse(res.text).message).toContain('.yml');+ });++ it('rejects path traversal', async () => {+ const res = await save({ config: 'x: 1', filename: '../../etc/passwd' });+ expect(JSON.parse(res.text).success).toBe(false);+ });++ it('writes valid config to disk', async () => {+ const res = await save({ config: 'pageInfo:\n title: Test\nsections: []\n' });+ const body = JSON.parse(res.text);+ expect(body.success).toBe(true);+ expect(body.message).toContain('conf.yml');+ });++ it('writes valid sub-page config', async () => {+ const res = await save({ config: 'pageInfo:\n title: Sub\n', filename: 'test-sub.yml' });+ expect(JSON.parse(res.text).success).toBe(true);+ });++ it('defaults to conf.yml for non-string filename', async () => {+ const res = await save({ config: 'pageInfo:\n title: Test\nsections: []\n', filename: 123 });+ const body = JSON.parse(res.text);+ expect(body.success).toBe(true);+ expect(body.message).toContain('conf.yml');+ });++ it('handles concurrent saves without crashing', async () => {+ const body = { config: 'pageInfo:\n title: Concurrent\nsections: []\n' };+ const results = await Promise.all([save(body), save(body), save(body), save(body), save(body)]);+ results.forEach((res) => {+ expect(() => JSON.parse(res.text)).not.toThrow();+ });+ });++ it('ignores GET requests', async () => {+ const res = await request(app).get('/config-manager/save');+ expect(res.status).toBeLessThan(500);+ });+});diff --git a/tests/server/status-check.test.js b/tests/server/status-check.test.jsnew file mode 100644index 00000000..6a18a583--- /dev/null+++ b/tests/server/status-check.test.js@@ -0,0 +1,24 @@+// @vitest-environment node+import { describe, it, expect } from 'vitest';+import request from 'supertest';++const app = require('../../services/app');++describe('Status check', () => {+ it('returns error for missing URL param', async () => {+ const res = await request(app).get('/status-check/');+ const body = JSON.parse(res.text);+ expect(body.successStatus).toBe(false);+ });++ it('returns error for empty URL param', async () => {+ const res = await request(app).get('/status-check/?&url=');+ const body = JSON.parse(res.text);+ expect(body.successStatus).toBe(false);+ });++ it('ignores POST requests', async () => {+ const res = await request(app).post('/status-check/?&url=x');+ expect(res.status).toBeLessThan(500);+ });+});diff --git a/tests/setup.js b/tests/setup.jsindex ddcd57fe..7032241f 100644--- a/tests/setup.js+++ b/tests/setup.js@@ -40,8 +40,8 @@ const sessionStorageMock = {};global.sessionStorage = sessionStorageMock;-// Mock window.matchMedia (for responsive design tests)-Object.defineProperty(window, 'matchMedia', {+// Mock window.matchMedia (for responsive design tests, skipped in Node environment)+if (typeof window !== 'undefined') Object.defineProperty(window, 'matchMedia', {writable: true,value: vi.fn().mockImplementation(query => ({matches: false,diff --git a/yarn.lock b/yarn.lockindex ba5e0633..747df75f 100644--- a/yarn.lock+++ b/yarn.lock@@ -1194,6 +1194,11 @@dependencies:eslint-scope "5.1.1"+"@noble/hashes@^1.1.5":+ version "1.8.0"+ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.8.0.tgz#cee43d801fcef9644b11b8194857695acd5f815a"+ integrity sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==+"@node-ipc/[email protected]":version "2.0.3"resolved "https://registry.yarnpkg.com/@node-ipc/js-queue/-/js-queue-2.0.3.tgz#ac7fe33d766fa53e233ef8fedaf3443a01c5a4cd"@@ -1243,6 +1248,13 @@resolved "https://registry.yarnpkg.com/@one-ini/wasm/-/wasm-0.1.1.tgz#6013659736c9dbfccc96e8a9c2b3de317df39323"integrity sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==+"@paralleldrive/cuid2@^2.2.2":+ version "2.3.1"+ resolved "https://registry.yarnpkg.com/@paralleldrive/cuid2/-/cuid2-2.3.1.tgz#3d62ea9e7be867d3fa94b9897fab5b0ae187d784"+ integrity sha512-XO7cAxhnTZl0Yggq6jOgjiOHhbgcO4NqFqwSmQpjK3b6TEE6Uj/jfSk6wzYyemh3+I0sHirKSetjQwn5cZktFw==+ dependencies:+ "@noble/hashes" "^1.1.5"+"@parcel/[email protected]":version "2.5.6"resolved "https://registry.yarnpkg.com/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.6.tgz#5f32e0dba356f4ac9a11068d2a5c134ca3ba6564"@@ -2775,6 +2787,11 @@ arraybuffer.prototype.slice@^1.0.4:get-intrinsic "^1.2.6"is-array-buffer "^3.0.4"+asap@^2.0.0:+ version "2.0.6"+ resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"+ integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==+assertion-error@^1.1.0:version "1.1.0"resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b"@@ -2795,6 +2812,11 @@ async@^3.2.6:resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce"integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==+asynckit@^0.4.0:+ version "0.4.0"+ resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"+ integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==+at-least-node@^1.0.0:version "1.0.0"resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2"@@ -3291,6 +3313,13 @@ colorette@^2.0.10:resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a"integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==+combined-stream@^1.0.8:+ version "1.0.8"+ resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"+ integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==+ dependencies:+ delayed-stream "~1.0.0"+commander@^10.0.0:version "10.0.1"resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06"@@ -3321,6 +3350,11 @@ commondir@^1.0.1:resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==+component-emitter@^1.3.1:+ version "1.3.1"+ resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.1.tgz#ef1d5796f7d93f135ee6fb684340b26403c97d17"+ integrity sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==+compressible@~2.0.18:version "2.0.18"resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba"@@ -3414,6 +3448,11 @@ convert-source-map@^2.0.0:resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a"integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==+cookie-signature@^1.2.2:+ version "1.2.2"+ resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.2.2.tgz#57c7fc3cc293acab9fec54d73e15690ebe4a1793"+ integrity sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==+cookie-signature@~1.0.6:version "1.0.7"resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.7.tgz#ab5dd7ab757c54e60f37ef6550f481c426d10454"@@ -3424,6 +3463,11 @@ cookie@~0.7.1:resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7"integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==+cookiejar@^2.1.4:+ version "2.1.4"+ resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.4.tgz#ee669c1fea2cf42dc31585469d193fef0d65771b"+ integrity sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==+version "6.4.0"resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-6.4.0.tgz#7fd397af78e0d310dbf6575d1a0f2fe10efd4d59"@@ -3731,7 +3775,7 @@ debug@^3.2.7:dependencies:ms "^2.1.1"-debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.4, debug@^4.3.6, debug@^4.4.3:+debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.4, debug@^4.3.6, debug@^4.3.7, debug@^4.4.3:version "4.4.3"resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a"integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==@@ -3797,6 +3841,11 @@ define-properties@^1.1.3, define-properties@^1.2.1:has-property-descriptors "^1.0.0"object-keys "^1.1.1"+delayed-stream@~1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"+ integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==+[email protected], depd@~2.0.0:version "2.0.0"resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df"@@ -3822,6 +3871,14 @@ detect-node@^2.0.4:resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1"integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==+dezalgo@^1.0.4:+ version "1.0.4"+ resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81"+ integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==+ dependencies:+ asap "^2.0.0"+ wrappy "1"+diff-sequences@^29.6.3:version "29.6.3"resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921"@@ -4638,6 +4695,11 @@ fast-levenshtein@^2.0.6:resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==+fast-safe-stringify@^2.1.1:+ version "2.1.1"+ resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884"+ integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==+fast-uri@^3.0.1:version "3.1.0"resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.1.0.tgz#66eecff6c764c0df9b762e62ca7edcfb53b4edfa"@@ -4778,6 +4840,26 @@ fork-ts-checker-webpack-plugin@^6.4.0:semver "^7.3.2"tapable "^1.0.0"+form-data@^4.0.5:+ version "4.0.5"+ resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.5.tgz#b49e48858045ff4cbf6b03e1805cebcad3679053"+ integrity sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==+ dependencies:+ asynckit "^0.4.0"+ combined-stream "^1.0.8"+ es-set-tostringtag "^2.1.0"+ hasown "^2.0.2"+ mime-types "^2.1.12"++formidable@^3.5.4:+ version "3.5.4"+ resolved "https://registry.yarnpkg.com/formidable/-/formidable-3.5.4.tgz#ac9a593b951e829b3298f21aa9a2243932f32ed9"+ integrity sha512-YikH+7CUTOtP44ZTnUhR7Ic2UASBPOqmaRkRKxRbywPTe5VxF7RRCck4af9wutiZ/QKM5nME9Bie2fFaPz5Gug==+ dependencies:+ "@paralleldrive/cuid2" "^2.2.2"+ dezalgo "^1.0.4"+ once "^1.4.0"+version "0.2.0"resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"@@ -6205,7 +6287,7 @@ merge2@^1.3.0, merge2@^1.4.1:resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==-methods@~1.1.2:+methods@^1.1.2, methods@~1.1.2:version "1.1.2"resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==@@ -6228,7 +6310,7 @@ [email protected]:resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.54.0.tgz#cddb3ee4f9c64530dff640236661d42cb6a314f5"integrity sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==-mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.24, mime-types@~2.1.34, mime-types@~2.1.35:+mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.24, mime-types@~2.1.34, mime-types@~2.1.35:version "2.1.35"resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==@@ -6240,6 +6322,11 @@ [email protected]:resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==+ version "2.6.0"+ resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367"+ integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==+mimic-fn@^1.0.0:version "1.2.0"resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022"@@ -7326,6 +7413,13 @@ q@^1.1.2:resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==+qs@^6.14.1:+ version "6.15.1"+ resolved "https://registry.yarnpkg.com/qs/-/qs-6.15.1.tgz#bdb55aed06bfac257a90c44a446a73fba5575c8f"+ integrity sha512-6YHEFRL9mfgcAvql/XhwTvf5jKcOiiupt2FiJxHkiX1z4j7WL8J/jRHYLluORvc1XxB5rV20KoeK00gVJamspg==+ dependencies:+ side-channel "^1.1.0"+qs@~6.14.0:version "6.14.2"resolved "https://registry.yarnpkg.com/qs/-/qs-6.14.2.tgz#b5634cf9d9ad9898e31fba3504e866e8efb6798c"@@ -8354,6 +8448,30 @@ stylehacks@^5.1.1:browserslist "^4.21.4"postcss-selector-parser "^6.0.4"+superagent@^10.3.0:+ version "10.3.0"+ resolved "https://registry.yarnpkg.com/superagent/-/superagent-10.3.0.tgz#ff1e39e7976b63f8084291d65f5bfbbbbd156989"+ integrity sha512-B+4Ik7ROgVKrQsXTV0Jwp2u+PXYLSlqtDAhYnkkD+zn3yg8s/zjA2MeGayPoY/KICrbitwneDHrjSotxKL+0XQ==+ dependencies:+ component-emitter "^1.3.1"+ cookiejar "^2.1.4"+ debug "^4.3.7"+ fast-safe-stringify "^2.1.1"+ form-data "^4.0.5"+ formidable "^3.5.4"+ methods "^1.1.2"+ mime "2.6.0"+ qs "^6.14.1"++supertest@^7.2.2:+ version "7.2.2"+ resolved "https://registry.yarnpkg.com/supertest/-/supertest-7.2.2.tgz#dac3ee25a2aa59942a7f641e50c838a7c8819204"+ integrity sha512-oK8WG9diS3DlhdUkcFn4tkNIiIbBx9lI2ClF8K+b2/m8Eyv47LSawxUzZQSNKUrVb2KsqeTDCcjAAVPYaSLVTA==+ dependencies:+ cookie-signature "^1.2.2"+ methods "^1.1.2"+ superagent "^10.3.0"+supports-color@^5.3.0:version "5.5.0"resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"