From b7dd72274fb76417e1ae43f764996fd5b3006fb0 Mon Sep 17 00:00:00 2001 From: JR40159 <126243293+JR40159@users.noreply.github.com> Date: Wed, 12 Feb 2025 14:59:10 +0000 Subject: [PATCH 1/2] Update Mongoose to v7 --- backend/package-lock.json | 239 +++++++++++++++++++++++++--- backend/package.json | 2 +- backend/src/models/AccessRequest.ts | 11 +- backend/src/models/File.ts | 10 +- backend/src/models/Release.ts | 10 +- backend/src/models/Review.ts | 10 +- backend/src/models/Token.ts | 10 +- backend/src/services/schema.ts | 2 +- backend/src/services/token.ts | 2 +- 9 files changed, 243 insertions(+), 53 deletions(-) diff --git a/backend/package-lock.json b/backend/package-lock.json index 52706beab..007fddafd 100644 --- a/backend/package-lock.json +++ b/backend/package-lock.json @@ -42,7 +42,7 @@ "lodash-es": "^4.17.21", "mjml": "^4.15.3", "mongodb": "^6.13.0", - "mongoose": "^6.13.8", + "mongoose": "7.8.6", "mongoose-delete": "^1.0.2", "morgan": "^1.10.0", "nanoid": "^5.0.9", @@ -345,6 +345,7 @@ "integrity": "sha512-Z6NAl6pXSOO+9XYh3yWmvrzsE2qbc3abD9LDWNwj1j08fNF0gcKTMZol90dz7J3edaEbt2DBAze/I1cU/QgQCQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", @@ -464,6 +465,7 @@ "integrity": "sha512-mzJxPQ9mcnNY50pi7+pxB34/Dt7PUn0OgkashHdJPTnavoriLWvPcaQCG1NEVAtyzxNdowhpi4KjC+aN1EwAeA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", @@ -514,6 +516,7 @@ "integrity": "sha512-R0XLfDDq7MAXYyDf7tPb+m0R7gmzTRRDtPNQ5jvuq8dbkefph5gFMkxZ2zSx7dfTsfYHhBPuTBsQ0c5Xjal3Vg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/core": "^3.1.2", @@ -537,6 +540,7 @@ "integrity": "sha512-hyjC7xqzAeERorYYjhQG1ivcr1XlxgfBpa+r4pG29toFG60mACyVzaR7+og3kgzjRFAB7D1imMxPQyEvQ1QokA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/core": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -554,6 +558,7 @@ "integrity": "sha512-k+P1Tl5ewBvVByR6hB726qFIzANgQVf2cY87hZ/e09pQYlH4bfBcyY16VJhkqYnKmv6HMdWxKHX7D8nwlc8Obg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/core": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -576,6 +581,7 @@ "integrity": "sha512-hjEWgkF86tkvg8PIsDiB3KkTj7z8ZFGR0v0OLQYD47o17q1qfoMzZmg9wae3wXp9KzU+lZETo+8oMqX9a+7aVQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/core": "3.744.0", "@aws-sdk/credential-provider-env": "3.744.0", @@ -601,6 +607,7 @@ "integrity": "sha512-4oUfRd6pe/VGmKoav17pPoOO0WP0L6YXmHqtJHSDmFUOAa+Vh0ZRljTj/yBdleRgdO6rOfdWqoGLFSFiAZDrsQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/credential-provider-env": "3.744.0", "@aws-sdk/credential-provider-http": "3.744.0", @@ -625,6 +632,7 @@ "integrity": "sha512-m0d/pDBIaiEAAxWXt/c79RHsKkUkyPOvF2SAMRddVhhOt1GFZI4ml+3f4drmAZfXldIyJmvJTJJqWluVPwTIqQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/core": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -643,6 +651,7 @@ "integrity": "sha512-xdMufTZOvpbDoDPI2XLu0/Rg3qJ/txpS8IJR63NsCGotHJZ/ucLNKwTcGS40hllZB8qSHTlvmlOzElDahTtx/A==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/client-sso": "3.744.0", "@aws-sdk/core": "3.744.0", @@ -663,6 +672,7 @@ "integrity": "sha512-cNk93GZxORzqEojWfXdrPBF6a7Nu3LpPCWG5mV+lH2tbuGsmw6XhKkwpt7o+OiIP4tKCpHlvqOD8f1nmhe1KDA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/core": "3.744.0", "@aws-sdk/nested-clients": "3.744.0", @@ -681,6 +691,7 @@ "integrity": "sha512-LW7RRgSOHHBzWZnigNsDIzu3AiwtjeI2X66v+Wn1P1u+eXssy1+up4ZY/h+t2sU4LU36UvEf+jrZti9c6vRnFw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/protocol-http": "^5.0.1", @@ -697,6 +708,7 @@ "integrity": "sha512-mUMFITpJUW3LcKvFok176eI5zXAUomVtahb9IQBwLzkqFYOrMJvWAvoV4yuxrJ8TlQBG8gyEnkb9SnhZvjg67w==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/types": "^4.1.0", @@ -712,6 +724,7 @@ "integrity": "sha512-CUat2d9ITsFc2XsmeiRQO96iWpxSKYFjxvj27Hc7vo87YUHRnfMfnc8jw1EpxEwMcvBD7LsRa6vDNky6AjcrFA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/protocol-http": "^5.0.1", @@ -728,6 +741,7 @@ "integrity": "sha512-ROUbDQHfVWiBHXd4m9E9mKj1Azby8XCs8RC8OCf9GVH339GSE6aMrPJSzMlsV1LmzPdPIypgp5qqh5NfSrKztg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/core": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -747,6 +761,7 @@ "integrity": "sha512-Lvj1kPRC5IuJBr9DyJ9T9/plkh+EfKLy+12s/mykOy1JaKHDpvj+XGy2YO6YgYVOb8JFtaqloid+5COtje4JTQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/node-config-provider": "^4.0.1", @@ -765,6 +780,7 @@ "integrity": "sha512-v/1+lWkDCd60Ei6oyhJqli6mTsPEVepLoSMB50vHUVlJP0fzXu/3FMje90/RzeUoh/VugZQJCEv/NNpuC6wztg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/nested-clients": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -783,6 +799,7 @@ "integrity": "sha512-o11tSPTT70nAkGV1fN9wm/hAIiLPyWX6SuGf+9JyTp7S/rC2cFWhR26MvA69nplcjNaXVzB0f+QFrLXXjOqCrg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -797,6 +814,7 @@ "integrity": "sha512-sN1l559zrixeh5x+pttrnd0A3+r34r0tmPkJ/eaaMaAzXqsmKU/xYre9K3FNnsSS1J1k4PEfk/nHDTVUgFYjnw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/types": "^4.1.0", @@ -813,6 +831,7 @@ "integrity": "sha512-xQTCus6Q9LwUuALW+S76OL0jcWtMOVu14q+GoLnWPUM7QeUw963oQcLhF7oq0CtaLLKyl4GOUfcwc773Zmwwng==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/types": "^4.1.0", @@ -826,6 +845,7 @@ "integrity": "sha512-BJURjwIXhNa4heXkLC0+GcL+8wVXaU7JoyW6ckdvp93LL+sVHeR1d5FxXZHQW/pMI4E3gNlKyBqjKaT75tObNQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/middleware-user-agent": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -851,6 +871,7 @@ "integrity": "sha512-Igfg8lKu3dRVkTSEm98QpZUvKEOa71jDX4vKRcvJVyRc3UgN3j7vFMf0s7xLQhYmKa8kyJGQgUJDOV5V3neVlQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/node-config-provider": "^4.0.1", "@smithy/types": "^4.1.0", @@ -868,6 +889,7 @@ "integrity": "sha512-htwQXkbdF13uwwDevz9BEzL5ABK+1sJpVQXywwGSH973AVOvisHNfpcB8A8761G6XgHoS2kHPqc9DqHJ2gp+/Q==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/middleware-serde": "^4.0.2", "@smithy/protocol-http": "^5.0.1", @@ -888,6 +910,7 @@ "integrity": "sha512-l/qdInaDq1Zpznpmev/+52QomsJNZ3JkTl5yrTl02V6NBgJOQ4LY0SFw/8zsMwj3tLe8vqiIuwF6nxaEwgf6mg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/node-config-provider": "^4.0.1", "@smithy/property-provider": "^4.0.1", @@ -905,6 +928,7 @@ "integrity": "sha512-3aS+fP28urrMW2KTjb6z9iFow6jO8n3MFfineGbndvzGZit3taZhKWtTorf+Gp5RpFDDafeHlhfsGlDCXvUnJA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/protocol-http": "^5.0.1", "@smithy/querystring-builder": "^4.0.1", @@ -922,6 +946,7 @@ "integrity": "sha512-TJ6oZS+3r2Xu4emVse1YPB3Dq3d8RkZDKcPr71Nj/lJsdAP1c7oFzYqEn1IBc915TsgLl2xIJNuxCz+gLbLE0w==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "@smithy/util-buffer-from": "^4.0.0", @@ -938,6 +963,7 @@ "integrity": "sha512-gdudFPf4QRQ5pzj7HEnu6FhKRi61BfH/Gk5Yf6O0KiSbr1LlVhgjThcvjdu658VE6Nve8vaIWB8/fodmS1rBPQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -952,6 +978,7 @@ "integrity": "sha512-saYhF8ZZNoJDTvJBEWgeBccCg+yvp1CX+ed12yORU3NilJScfc6gfch2oVb4QgxZrGUx3/ZJlb+c/dJbyupxlw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -965,6 +992,7 @@ "integrity": "sha512-OGXo7w5EkB5pPiac7KNzVtfCW2vKBTZNuCctn++TTSOMpe6RZO/n6WEC1AxJINn3+vWLKW49uad3lo/u0WJ9oQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/protocol-http": "^5.0.1", "@smithy/types": "^4.1.0", @@ -980,6 +1008,7 @@ "integrity": "sha512-YdbmWhQF5kIxZjWqPIgboVfi8i5XgiYMM7GGKFMTvBei4XjNQfNv8sukT50ITvgnWKKKpOtp0C0h7qixLgb77Q==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/core": "^3.1.2", "@smithy/middleware-serde": "^4.0.2", @@ -1000,6 +1029,7 @@ "integrity": "sha512-wmxyUBGHaYUqul0wZiset4M39SMtDBOtUr2KpDuftKNN74Do9Y36Go6Eqzj9tL0mIPpr31ulB5UUtxcsCeGXsQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/node-config-provider": "^4.0.1", "@smithy/protocol-http": "^5.0.1", @@ -1021,6 +1051,7 @@ "integrity": "sha512-Sdr5lOagCn5tt+zKsaW+U2/iwr6bI9p08wOkCp6/eL6iMbgdtc2R5Ety66rf87PeohR0ExI84Txz9GYv5ou3iQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -1035,6 +1066,7 @@ "integrity": "sha512-dHwDmrtR/ln8UTHpaIavRSzeIk5+YZTBtLnKwDW3G2t6nAupCiQUvNzNoHBpik63fwUaJPtlnMzXbQrNFWssIA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -1049,6 +1081,7 @@ "integrity": "sha512-8mRTjvCtVET8+rxvmzRNRR0hH2JjV0DFOmwXPrISmTIJEfnCBugpYYGAsCj8t41qd+RB5gbheSQ/6aKZCQvFLQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/property-provider": "^4.0.1", "@smithy/shared-ini-file-loader": "^4.0.1", @@ -1065,6 +1098,7 @@ "integrity": "sha512-o+VRiwC2cgmk/WFV0jaETGOtX16VNPp2bSQEzu0whbReqE1BMqsP2ami2Vi3cbGVdKu1kq9gQkDAGKbt0WOHAQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -1079,6 +1113,7 @@ "integrity": "sha512-TE4cpj49jJNB/oHyh/cRVEgNZaoPaxd4vteJNB0yGidOCVR0jCw/hjPVsT8Q8FRmj8Bd3bFZt8Dh7xGCT+xMBQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -1093,6 +1128,7 @@ "integrity": "sha512-wU87iWZoCbcqrwszsOewEIuq+SU2mSoBE2CcsLwE0I19m0B2gOJr1MVjxWcDQYOzHbR1xCk7AcOBbGFUYOKvdg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "@smithy/util-uri-escape": "^4.0.0", @@ -1108,6 +1144,7 @@ "integrity": "sha512-Ma2XC7VS9aV77+clSFylVUnPZRindhB7BbmYiNOdr+CHt/kZNJoPP0cd3QxCnCFyPXC4eybmyE98phEHkqZ5Jw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -1122,6 +1159,7 @@ "integrity": "sha512-3JNjBfOWpj/mYfjXJHB4Txc/7E4LVq32bwzE7m28GN79+M1f76XHflUaSUkhOriprPDzev9cX/M+dEB80DNDKA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0" }, @@ -1135,6 +1173,7 @@ "integrity": "sha512-hC8F6qTBbuHRI/uqDgqqi6J0R4GtEZcgrZPhFQnMhfJs3MnUTGSnR1NSJCJs5VWlMydu0kJz15M640fJlRsIOw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -1149,6 +1188,7 @@ "integrity": "sha512-nCe6fQ+ppm1bQuw5iKoeJ0MJfz2os7Ic3GBjOkLOPtavbD1ONoyE3ygjBfz2ythFWm4YnRm6OxW+8p/m9uCoIA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/is-array-buffer": "^4.0.0", "@smithy/protocol-http": "^5.0.1", @@ -1169,6 +1209,7 @@ "integrity": "sha512-A2Hz85pu8BJJaYFdX8yb1yocqigyqBzn+OVaVgm+Kwi/DkN8vhN2kbDVEfADo6jXf5hPKquMLGA3UINA64UZ7A==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/core": "^3.1.2", "@smithy/middleware-endpoint": "^4.0.3", @@ -1188,6 +1229,7 @@ "integrity": "sha512-enhjdwp4D7CXmwLtD6zbcDMbo6/T6WtuuKCY49Xxc6OMOmUWlBEBDREsxxgV2LIdeQPW756+f97GzcgAwp3iLw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -1201,6 +1243,7 @@ "integrity": "sha512-gPXcIEUtw7VlK8f/QcruNXm7q+T5hhvGu9tl63LsJPZ27exB6dtNwvh2HIi0v7JcXJ5emBxB+CJxwaLEdJfA+g==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/querystring-parser": "^4.0.1", "@smithy/types": "^4.1.0", @@ -1216,6 +1259,7 @@ "integrity": "sha512-CvHfCmO2mchox9kjrtzoHkWHxjHZzaFojLc8quxXY7WAAMAg43nuxwv95tATVgQFNDwd4M9S1qFzj40Ul41Kmg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/util-buffer-from": "^4.0.0", "@smithy/util-utf8": "^4.0.0", @@ -1231,6 +1275,7 @@ "integrity": "sha512-sNi3DL0/k64/LO3A256M+m3CDdG6V7WKWHdAiBBMUN8S3hK3aMPhwnPik2A/a2ONN+9doY9UxaLfgqsIRg69QA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -1244,6 +1289,7 @@ "integrity": "sha512-q0iDP3VsZzqJyje8xJWEJCNIu3lktUGVoSy1KB0UWym2CL1siV3artm+u1DFYTLejpsrdGyCSWBdGNjJzfDPjg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -1257,6 +1303,7 @@ "integrity": "sha512-9TOQ7781sZvddgO8nxueKi3+yGvkY35kotA0Y6BWRajAv8jjmigQ1sBwz0UX47pQMYXJPahSKEKYFgt+rXdcug==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/is-array-buffer": "^4.0.0", "tslib": "^2.6.2" @@ -1271,6 +1318,7 @@ "integrity": "sha512-L1RBVzLyfE8OXH+1hsJ8p+acNUSirQnWQ6/EgpchV88G6zGBTDPdXiiExei6Z1wR2RxYvxY/XLw6AMNCCt8H3w==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -1284,6 +1332,7 @@ "integrity": "sha512-Ej1bV5sbrIfH++KnWxjjzFNq9nyP3RIUq2c9Iqq7SmMO/idUR24sqvKH2LUQFTSPy/K7G4sB2m8n7YYlEAfZaw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/property-provider": "^4.0.1", "@smithy/smithy-client": "^4.1.3", @@ -1301,6 +1350,7 @@ "integrity": "sha512-HE1I7gxa6yP7ZgXPCFfZSDmVmMtY7SHqzFF55gM/GPegzZKaQWZZ+nYn9C2Cc3JltCMyWe63VPR3tSFDEvuGjw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/config-resolver": "^4.0.1", "@smithy/credential-provider-imds": "^4.0.1", @@ -1320,6 +1370,7 @@ "integrity": "sha512-zVdUENQpdtn9jbpD9SCFK4+aSiavRb9BxEtw9ZGUR1TYo6bBHbIoi7VkrFQ0/RwZlzx0wRBaRmPclj8iAoJCLA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/node-config-provider": "^4.0.1", "@smithy/types": "^4.1.0", @@ -1335,6 +1386,7 @@ "integrity": "sha512-Yk5mLhHtfIgW2W2WQZWSg5kuMZCVbvhFmC7rV4IO2QqnZdbEFPmQnCcGMAX2z/8Qj3B9hYYNjZOhWym+RwhePw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -1348,6 +1400,7 @@ "integrity": "sha512-HiLAvlcqhbzhuiOa0Lyct5IIlyIz0PQO5dnMlmQ/ubYM46dPInB+3yQGkfxsk6Q24Y0n3/JmcA1v5iEhmOF5mA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -1362,6 +1415,7 @@ "integrity": "sha512-WmRHqNVwn3kI3rKk1LsKcVgPBG6iLTBGC1iYOV3GQegwJ3E8yjzHytPt26VNzOWr1qu0xE03nK0Ug8S7T7oufw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/service-error-classification": "^4.0.1", "@smithy/types": "^4.1.0", @@ -1377,6 +1431,7 @@ "integrity": "sha512-0eZ4G5fRzIoewtHtwaYyl8g2C+osYOT4KClXgfdNEDAgkbe2TYPqcnw4GAWabqkZCax2ihRGPe9LZnsPdIUIHA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/fetch-http-handler": "^5.0.1", "@smithy/node-http-handler": "^4.0.2", @@ -1397,6 +1452,7 @@ "integrity": "sha512-77yfbCbQMtgtTylO9itEAdpPXSog3ZxMe09AEhm0dU0NLTalV70ghDZFR+Nfi1C60jnJoh/Re4090/DuZh2Omg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -1410,6 +1466,7 @@ "integrity": "sha512-b+zebfKCfRdgNJDknHCob3O7FpeYQN6ZG6YLExMcasDHsCXlsXCEuiPZeLnJLpwa5dvPetGlnGCiMHuLwGvFow==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/util-buffer-from": "^4.0.0", "tslib": "^2.6.2" @@ -1428,6 +1485,7 @@ ], "license": "MIT", "optional": true, + "peer": true, "bin": { "uuid": "dist/bin/uuid" } @@ -1814,6 +1872,7 @@ "integrity": "sha512-NUxBVFzoVBmS6JH1sK8nzw8AAOI5hCM+lMLa0Dtwxk+dRIe6XRpU9wHkIbaA6Adwp8qvvyYZsgymuMvoAzGmcQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/client-cognito-identity": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -1831,6 +1890,7 @@ "integrity": "sha512-o11tSPTT70nAkGV1fN9wm/hAIiLPyWX6SuGf+9JyTp7S/rC2cFWhR26MvA69nplcjNaXVzB0f+QFrLXXjOqCrg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -1845,6 +1905,7 @@ "integrity": "sha512-o+VRiwC2cgmk/WFV0jaETGOtX16VNPp2bSQEzu0whbReqE1BMqsP2ami2Vi3cbGVdKu1kq9gQkDAGKbt0WOHAQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -1859,6 +1920,7 @@ "integrity": "sha512-enhjdwp4D7CXmwLtD6zbcDMbo6/T6WtuuKCY49Xxc6OMOmUWlBEBDREsxxgV2LIdeQPW756+f97GzcgAwp3iLw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -2023,6 +2085,7 @@ "integrity": "sha512-8vXnKA/TklSx6HdF88RVohtsvYNuGP9nm5RTCSGbWVR7+xEU/Eh15B+EKoGasCjZW7/9GxnSULp0DN1msCR23A==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/client-cognito-identity": "3.744.0", "@aws-sdk/core": "3.744.0", @@ -2052,6 +2115,7 @@ "integrity": "sha512-mzJxPQ9mcnNY50pi7+pxB34/Dt7PUn0OgkashHdJPTnavoriLWvPcaQCG1NEVAtyzxNdowhpi4KjC+aN1EwAeA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", @@ -2102,6 +2166,7 @@ "integrity": "sha512-R0XLfDDq7MAXYyDf7tPb+m0R7gmzTRRDtPNQ5jvuq8dbkefph5gFMkxZ2zSx7dfTsfYHhBPuTBsQ0c5Xjal3Vg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/core": "^3.1.2", @@ -2125,6 +2190,7 @@ "integrity": "sha512-hyjC7xqzAeERorYYjhQG1ivcr1XlxgfBpa+r4pG29toFG60mACyVzaR7+og3kgzjRFAB7D1imMxPQyEvQ1QokA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/core": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -2142,6 +2208,7 @@ "integrity": "sha512-k+P1Tl5ewBvVByR6hB726qFIzANgQVf2cY87hZ/e09pQYlH4bfBcyY16VJhkqYnKmv6HMdWxKHX7D8nwlc8Obg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/core": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -2164,6 +2231,7 @@ "integrity": "sha512-hjEWgkF86tkvg8PIsDiB3KkTj7z8ZFGR0v0OLQYD47o17q1qfoMzZmg9wae3wXp9KzU+lZETo+8oMqX9a+7aVQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/core": "3.744.0", "@aws-sdk/credential-provider-env": "3.744.0", @@ -2189,6 +2257,7 @@ "integrity": "sha512-4oUfRd6pe/VGmKoav17pPoOO0WP0L6YXmHqtJHSDmFUOAa+Vh0ZRljTj/yBdleRgdO6rOfdWqoGLFSFiAZDrsQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/credential-provider-env": "3.744.0", "@aws-sdk/credential-provider-http": "3.744.0", @@ -2213,6 +2282,7 @@ "integrity": "sha512-m0d/pDBIaiEAAxWXt/c79RHsKkUkyPOvF2SAMRddVhhOt1GFZI4ml+3f4drmAZfXldIyJmvJTJJqWluVPwTIqQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/core": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -2231,6 +2301,7 @@ "integrity": "sha512-xdMufTZOvpbDoDPI2XLu0/Rg3qJ/txpS8IJR63NsCGotHJZ/ucLNKwTcGS40hllZB8qSHTlvmlOzElDahTtx/A==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/client-sso": "3.744.0", "@aws-sdk/core": "3.744.0", @@ -2251,6 +2322,7 @@ "integrity": "sha512-cNk93GZxORzqEojWfXdrPBF6a7Nu3LpPCWG5mV+lH2tbuGsmw6XhKkwpt7o+OiIP4tKCpHlvqOD8f1nmhe1KDA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/core": "3.744.0", "@aws-sdk/nested-clients": "3.744.0", @@ -2269,6 +2341,7 @@ "integrity": "sha512-LW7RRgSOHHBzWZnigNsDIzu3AiwtjeI2X66v+Wn1P1u+eXssy1+up4ZY/h+t2sU4LU36UvEf+jrZti9c6vRnFw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/protocol-http": "^5.0.1", @@ -2285,6 +2358,7 @@ "integrity": "sha512-mUMFITpJUW3LcKvFok176eI5zXAUomVtahb9IQBwLzkqFYOrMJvWAvoV4yuxrJ8TlQBG8gyEnkb9SnhZvjg67w==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/types": "^4.1.0", @@ -2300,6 +2374,7 @@ "integrity": "sha512-CUat2d9ITsFc2XsmeiRQO96iWpxSKYFjxvj27Hc7vo87YUHRnfMfnc8jw1EpxEwMcvBD7LsRa6vDNky6AjcrFA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/protocol-http": "^5.0.1", @@ -2316,6 +2391,7 @@ "integrity": "sha512-ROUbDQHfVWiBHXd4m9E9mKj1Azby8XCs8RC8OCf9GVH339GSE6aMrPJSzMlsV1LmzPdPIypgp5qqh5NfSrKztg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/core": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -2335,6 +2411,7 @@ "integrity": "sha512-Lvj1kPRC5IuJBr9DyJ9T9/plkh+EfKLy+12s/mykOy1JaKHDpvj+XGy2YO6YgYVOb8JFtaqloid+5COtje4JTQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/node-config-provider": "^4.0.1", @@ -2353,6 +2430,7 @@ "integrity": "sha512-v/1+lWkDCd60Ei6oyhJqli6mTsPEVepLoSMB50vHUVlJP0fzXu/3FMje90/RzeUoh/VugZQJCEv/NNpuC6wztg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/nested-clients": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -2371,6 +2449,7 @@ "integrity": "sha512-o11tSPTT70nAkGV1fN9wm/hAIiLPyWX6SuGf+9JyTp7S/rC2cFWhR26MvA69nplcjNaXVzB0f+QFrLXXjOqCrg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -2385,6 +2464,7 @@ "integrity": "sha512-sN1l559zrixeh5x+pttrnd0A3+r34r0tmPkJ/eaaMaAzXqsmKU/xYre9K3FNnsSS1J1k4PEfk/nHDTVUgFYjnw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/types": "^4.1.0", @@ -2401,6 +2481,7 @@ "integrity": "sha512-xQTCus6Q9LwUuALW+S76OL0jcWtMOVu14q+GoLnWPUM7QeUw963oQcLhF7oq0CtaLLKyl4GOUfcwc773Zmwwng==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/types": "^4.1.0", @@ -2414,6 +2495,7 @@ "integrity": "sha512-BJURjwIXhNa4heXkLC0+GcL+8wVXaU7JoyW6ckdvp93LL+sVHeR1d5FxXZHQW/pMI4E3gNlKyBqjKaT75tObNQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/middleware-user-agent": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -2439,6 +2521,7 @@ "integrity": "sha512-Igfg8lKu3dRVkTSEm98QpZUvKEOa71jDX4vKRcvJVyRc3UgN3j7vFMf0s7xLQhYmKa8kyJGQgUJDOV5V3neVlQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/node-config-provider": "^4.0.1", "@smithy/types": "^4.1.0", @@ -2456,6 +2539,7 @@ "integrity": "sha512-htwQXkbdF13uwwDevz9BEzL5ABK+1sJpVQXywwGSH973AVOvisHNfpcB8A8761G6XgHoS2kHPqc9DqHJ2gp+/Q==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/middleware-serde": "^4.0.2", "@smithy/protocol-http": "^5.0.1", @@ -2476,6 +2560,7 @@ "integrity": "sha512-l/qdInaDq1Zpznpmev/+52QomsJNZ3JkTl5yrTl02V6NBgJOQ4LY0SFw/8zsMwj3tLe8vqiIuwF6nxaEwgf6mg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/node-config-provider": "^4.0.1", "@smithy/property-provider": "^4.0.1", @@ -2493,6 +2578,7 @@ "integrity": "sha512-3aS+fP28urrMW2KTjb6z9iFow6jO8n3MFfineGbndvzGZit3taZhKWtTorf+Gp5RpFDDafeHlhfsGlDCXvUnJA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/protocol-http": "^5.0.1", "@smithy/querystring-builder": "^4.0.1", @@ -2510,6 +2596,7 @@ "integrity": "sha512-TJ6oZS+3r2Xu4emVse1YPB3Dq3d8RkZDKcPr71Nj/lJsdAP1c7oFzYqEn1IBc915TsgLl2xIJNuxCz+gLbLE0w==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "@smithy/util-buffer-from": "^4.0.0", @@ -2526,6 +2613,7 @@ "integrity": "sha512-gdudFPf4QRQ5pzj7HEnu6FhKRi61BfH/Gk5Yf6O0KiSbr1LlVhgjThcvjdu658VE6Nve8vaIWB8/fodmS1rBPQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -2540,6 +2628,7 @@ "integrity": "sha512-saYhF8ZZNoJDTvJBEWgeBccCg+yvp1CX+ed12yORU3NilJScfc6gfch2oVb4QgxZrGUx3/ZJlb+c/dJbyupxlw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -2553,6 +2642,7 @@ "integrity": "sha512-OGXo7w5EkB5pPiac7KNzVtfCW2vKBTZNuCctn++TTSOMpe6RZO/n6WEC1AxJINn3+vWLKW49uad3lo/u0WJ9oQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/protocol-http": "^5.0.1", "@smithy/types": "^4.1.0", @@ -2568,6 +2658,7 @@ "integrity": "sha512-YdbmWhQF5kIxZjWqPIgboVfi8i5XgiYMM7GGKFMTvBei4XjNQfNv8sukT50ITvgnWKKKpOtp0C0h7qixLgb77Q==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/core": "^3.1.2", "@smithy/middleware-serde": "^4.0.2", @@ -2588,6 +2679,7 @@ "integrity": "sha512-wmxyUBGHaYUqul0wZiset4M39SMtDBOtUr2KpDuftKNN74Do9Y36Go6Eqzj9tL0mIPpr31ulB5UUtxcsCeGXsQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/node-config-provider": "^4.0.1", "@smithy/protocol-http": "^5.0.1", @@ -2609,6 +2701,7 @@ "integrity": "sha512-Sdr5lOagCn5tt+zKsaW+U2/iwr6bI9p08wOkCp6/eL6iMbgdtc2R5Ety66rf87PeohR0ExI84Txz9GYv5ou3iQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -2623,6 +2716,7 @@ "integrity": "sha512-dHwDmrtR/ln8UTHpaIavRSzeIk5+YZTBtLnKwDW3G2t6nAupCiQUvNzNoHBpik63fwUaJPtlnMzXbQrNFWssIA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -2637,6 +2731,7 @@ "integrity": "sha512-8mRTjvCtVET8+rxvmzRNRR0hH2JjV0DFOmwXPrISmTIJEfnCBugpYYGAsCj8t41qd+RB5gbheSQ/6aKZCQvFLQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/property-provider": "^4.0.1", "@smithy/shared-ini-file-loader": "^4.0.1", @@ -2653,6 +2748,7 @@ "integrity": "sha512-o+VRiwC2cgmk/WFV0jaETGOtX16VNPp2bSQEzu0whbReqE1BMqsP2ami2Vi3cbGVdKu1kq9gQkDAGKbt0WOHAQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -2667,6 +2763,7 @@ "integrity": "sha512-TE4cpj49jJNB/oHyh/cRVEgNZaoPaxd4vteJNB0yGidOCVR0jCw/hjPVsT8Q8FRmj8Bd3bFZt8Dh7xGCT+xMBQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -2681,6 +2778,7 @@ "integrity": "sha512-wU87iWZoCbcqrwszsOewEIuq+SU2mSoBE2CcsLwE0I19m0B2gOJr1MVjxWcDQYOzHbR1xCk7AcOBbGFUYOKvdg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "@smithy/util-uri-escape": "^4.0.0", @@ -2696,6 +2794,7 @@ "integrity": "sha512-Ma2XC7VS9aV77+clSFylVUnPZRindhB7BbmYiNOdr+CHt/kZNJoPP0cd3QxCnCFyPXC4eybmyE98phEHkqZ5Jw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -2710,6 +2809,7 @@ "integrity": "sha512-3JNjBfOWpj/mYfjXJHB4Txc/7E4LVq32bwzE7m28GN79+M1f76XHflUaSUkhOriprPDzev9cX/M+dEB80DNDKA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0" }, @@ -2723,6 +2823,7 @@ "integrity": "sha512-hC8F6qTBbuHRI/uqDgqqi6J0R4GtEZcgrZPhFQnMhfJs3MnUTGSnR1NSJCJs5VWlMydu0kJz15M640fJlRsIOw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -2737,6 +2838,7 @@ "integrity": "sha512-nCe6fQ+ppm1bQuw5iKoeJ0MJfz2os7Ic3GBjOkLOPtavbD1ONoyE3ygjBfz2ythFWm4YnRm6OxW+8p/m9uCoIA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/is-array-buffer": "^4.0.0", "@smithy/protocol-http": "^5.0.1", @@ -2757,6 +2859,7 @@ "integrity": "sha512-A2Hz85pu8BJJaYFdX8yb1yocqigyqBzn+OVaVgm+Kwi/DkN8vhN2kbDVEfADo6jXf5hPKquMLGA3UINA64UZ7A==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/core": "^3.1.2", "@smithy/middleware-endpoint": "^4.0.3", @@ -2776,6 +2879,7 @@ "integrity": "sha512-enhjdwp4D7CXmwLtD6zbcDMbo6/T6WtuuKCY49Xxc6OMOmUWlBEBDREsxxgV2LIdeQPW756+f97GzcgAwp3iLw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -2789,6 +2893,7 @@ "integrity": "sha512-gPXcIEUtw7VlK8f/QcruNXm7q+T5hhvGu9tl63LsJPZ27exB6dtNwvh2HIi0v7JcXJ5emBxB+CJxwaLEdJfA+g==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/querystring-parser": "^4.0.1", "@smithy/types": "^4.1.0", @@ -2804,6 +2909,7 @@ "integrity": "sha512-CvHfCmO2mchox9kjrtzoHkWHxjHZzaFojLc8quxXY7WAAMAg43nuxwv95tATVgQFNDwd4M9S1qFzj40Ul41Kmg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/util-buffer-from": "^4.0.0", "@smithy/util-utf8": "^4.0.0", @@ -2819,6 +2925,7 @@ "integrity": "sha512-sNi3DL0/k64/LO3A256M+m3CDdG6V7WKWHdAiBBMUN8S3hK3aMPhwnPik2A/a2ONN+9doY9UxaLfgqsIRg69QA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -2832,6 +2939,7 @@ "integrity": "sha512-q0iDP3VsZzqJyje8xJWEJCNIu3lktUGVoSy1KB0UWym2CL1siV3artm+u1DFYTLejpsrdGyCSWBdGNjJzfDPjg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -2845,6 +2953,7 @@ "integrity": "sha512-9TOQ7781sZvddgO8nxueKi3+yGvkY35kotA0Y6BWRajAv8jjmigQ1sBwz0UX47pQMYXJPahSKEKYFgt+rXdcug==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/is-array-buffer": "^4.0.0", "tslib": "^2.6.2" @@ -2859,6 +2968,7 @@ "integrity": "sha512-L1RBVzLyfE8OXH+1hsJ8p+acNUSirQnWQ6/EgpchV88G6zGBTDPdXiiExei6Z1wR2RxYvxY/XLw6AMNCCt8H3w==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -2872,6 +2982,7 @@ "integrity": "sha512-Ej1bV5sbrIfH++KnWxjjzFNq9nyP3RIUq2c9Iqq7SmMO/idUR24sqvKH2LUQFTSPy/K7G4sB2m8n7YYlEAfZaw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/property-provider": "^4.0.1", "@smithy/smithy-client": "^4.1.3", @@ -2889,6 +3000,7 @@ "integrity": "sha512-HE1I7gxa6yP7ZgXPCFfZSDmVmMtY7SHqzFF55gM/GPegzZKaQWZZ+nYn9C2Cc3JltCMyWe63VPR3tSFDEvuGjw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/config-resolver": "^4.0.1", "@smithy/credential-provider-imds": "^4.0.1", @@ -2908,6 +3020,7 @@ "integrity": "sha512-zVdUENQpdtn9jbpD9SCFK4+aSiavRb9BxEtw9ZGUR1TYo6bBHbIoi7VkrFQ0/RwZlzx0wRBaRmPclj8iAoJCLA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/node-config-provider": "^4.0.1", "@smithy/types": "^4.1.0", @@ -2923,6 +3036,7 @@ "integrity": "sha512-Yk5mLhHtfIgW2W2WQZWSg5kuMZCVbvhFmC7rV4IO2QqnZdbEFPmQnCcGMAX2z/8Qj3B9hYYNjZOhWym+RwhePw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -2936,6 +3050,7 @@ "integrity": "sha512-HiLAvlcqhbzhuiOa0Lyct5IIlyIz0PQO5dnMlmQ/ubYM46dPInB+3yQGkfxsk6Q24Y0n3/JmcA1v5iEhmOF5mA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -2950,6 +3065,7 @@ "integrity": "sha512-WmRHqNVwn3kI3rKk1LsKcVgPBG6iLTBGC1iYOV3GQegwJ3E8yjzHytPt26VNzOWr1qu0xE03nK0Ug8S7T7oufw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/service-error-classification": "^4.0.1", "@smithy/types": "^4.1.0", @@ -2965,6 +3081,7 @@ "integrity": "sha512-0eZ4G5fRzIoewtHtwaYyl8g2C+osYOT4KClXgfdNEDAgkbe2TYPqcnw4GAWabqkZCax2ihRGPe9LZnsPdIUIHA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/fetch-http-handler": "^5.0.1", "@smithy/node-http-handler": "^4.0.2", @@ -2985,6 +3102,7 @@ "integrity": "sha512-77yfbCbQMtgtTylO9itEAdpPXSog3ZxMe09AEhm0dU0NLTalV70ghDZFR+Nfi1C60jnJoh/Re4090/DuZh2Omg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -2998,6 +3116,7 @@ "integrity": "sha512-b+zebfKCfRdgNJDknHCob3O7FpeYQN6ZG6YLExMcasDHsCXlsXCEuiPZeLnJLpwa5dvPetGlnGCiMHuLwGvFow==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/util-buffer-from": "^4.0.0", "tslib": "^2.6.2" @@ -3016,6 +3135,7 @@ ], "license": "MIT", "optional": true, + "peer": true, "bin": { "uuid": "dist/bin/uuid" } @@ -3217,6 +3337,7 @@ "integrity": "sha512-Mnrlh4lRY1gZQnKvN2Lh/5WXcGkzC41NM93mtn2uaqOh+DZLCXCttNCfbUesUvYJLOo3lYaOpiDsjTkPVB1yjw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", @@ -3267,6 +3388,7 @@ "integrity": "sha512-R0XLfDDq7MAXYyDf7tPb+m0R7gmzTRRDtPNQ5jvuq8dbkefph5gFMkxZ2zSx7dfTsfYHhBPuTBsQ0c5Xjal3Vg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/core": "^3.1.2", @@ -3290,6 +3412,7 @@ "integrity": "sha512-LW7RRgSOHHBzWZnigNsDIzu3AiwtjeI2X66v+Wn1P1u+eXssy1+up4ZY/h+t2sU4LU36UvEf+jrZti9c6vRnFw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/protocol-http": "^5.0.1", @@ -3306,6 +3429,7 @@ "integrity": "sha512-mUMFITpJUW3LcKvFok176eI5zXAUomVtahb9IQBwLzkqFYOrMJvWAvoV4yuxrJ8TlQBG8gyEnkb9SnhZvjg67w==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/types": "^4.1.0", @@ -3321,6 +3445,7 @@ "integrity": "sha512-CUat2d9ITsFc2XsmeiRQO96iWpxSKYFjxvj27Hc7vo87YUHRnfMfnc8jw1EpxEwMcvBD7LsRa6vDNky6AjcrFA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/protocol-http": "^5.0.1", @@ -3337,6 +3462,7 @@ "integrity": "sha512-ROUbDQHfVWiBHXd4m9E9mKj1Azby8XCs8RC8OCf9GVH339GSE6aMrPJSzMlsV1LmzPdPIypgp5qqh5NfSrKztg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/core": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -3356,6 +3482,7 @@ "integrity": "sha512-Lvj1kPRC5IuJBr9DyJ9T9/plkh+EfKLy+12s/mykOy1JaKHDpvj+XGy2YO6YgYVOb8JFtaqloid+5COtje4JTQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/node-config-provider": "^4.0.1", @@ -3374,6 +3501,7 @@ "integrity": "sha512-o11tSPTT70nAkGV1fN9wm/hAIiLPyWX6SuGf+9JyTp7S/rC2cFWhR26MvA69nplcjNaXVzB0f+QFrLXXjOqCrg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -3388,6 +3516,7 @@ "integrity": "sha512-sN1l559zrixeh5x+pttrnd0A3+r34r0tmPkJ/eaaMaAzXqsmKU/xYre9K3FNnsSS1J1k4PEfk/nHDTVUgFYjnw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/types": "^4.1.0", @@ -3404,6 +3533,7 @@ "integrity": "sha512-xQTCus6Q9LwUuALW+S76OL0jcWtMOVu14q+GoLnWPUM7QeUw963oQcLhF7oq0CtaLLKyl4GOUfcwc773Zmwwng==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.734.0", "@smithy/types": "^4.1.0", @@ -3417,6 +3547,7 @@ "integrity": "sha512-BJURjwIXhNa4heXkLC0+GcL+8wVXaU7JoyW6ckdvp93LL+sVHeR1d5FxXZHQW/pMI4E3gNlKyBqjKaT75tObNQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/middleware-user-agent": "3.744.0", "@aws-sdk/types": "3.734.0", @@ -3442,6 +3573,7 @@ "integrity": "sha512-Igfg8lKu3dRVkTSEm98QpZUvKEOa71jDX4vKRcvJVyRc3UgN3j7vFMf0s7xLQhYmKa8kyJGQgUJDOV5V3neVlQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/node-config-provider": "^4.0.1", "@smithy/types": "^4.1.0", @@ -3459,6 +3591,7 @@ "integrity": "sha512-htwQXkbdF13uwwDevz9BEzL5ABK+1sJpVQXywwGSH973AVOvisHNfpcB8A8761G6XgHoS2kHPqc9DqHJ2gp+/Q==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/middleware-serde": "^4.0.2", "@smithy/protocol-http": "^5.0.1", @@ -3479,6 +3612,7 @@ "integrity": "sha512-l/qdInaDq1Zpznpmev/+52QomsJNZ3JkTl5yrTl02V6NBgJOQ4LY0SFw/8zsMwj3tLe8vqiIuwF6nxaEwgf6mg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/node-config-provider": "^4.0.1", "@smithy/property-provider": "^4.0.1", @@ -3496,6 +3630,7 @@ "integrity": "sha512-3aS+fP28urrMW2KTjb6z9iFow6jO8n3MFfineGbndvzGZit3taZhKWtTorf+Gp5RpFDDafeHlhfsGlDCXvUnJA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/protocol-http": "^5.0.1", "@smithy/querystring-builder": "^4.0.1", @@ -3513,6 +3648,7 @@ "integrity": "sha512-TJ6oZS+3r2Xu4emVse1YPB3Dq3d8RkZDKcPr71Nj/lJsdAP1c7oFzYqEn1IBc915TsgLl2xIJNuxCz+gLbLE0w==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "@smithy/util-buffer-from": "^4.0.0", @@ -3529,6 +3665,7 @@ "integrity": "sha512-gdudFPf4QRQ5pzj7HEnu6FhKRi61BfH/Gk5Yf6O0KiSbr1LlVhgjThcvjdu658VE6Nve8vaIWB8/fodmS1rBPQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -3543,6 +3680,7 @@ "integrity": "sha512-saYhF8ZZNoJDTvJBEWgeBccCg+yvp1CX+ed12yORU3NilJScfc6gfch2oVb4QgxZrGUx3/ZJlb+c/dJbyupxlw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -3556,6 +3694,7 @@ "integrity": "sha512-OGXo7w5EkB5pPiac7KNzVtfCW2vKBTZNuCctn++TTSOMpe6RZO/n6WEC1AxJINn3+vWLKW49uad3lo/u0WJ9oQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/protocol-http": "^5.0.1", "@smithy/types": "^4.1.0", @@ -3571,6 +3710,7 @@ "integrity": "sha512-YdbmWhQF5kIxZjWqPIgboVfi8i5XgiYMM7GGKFMTvBei4XjNQfNv8sukT50ITvgnWKKKpOtp0C0h7qixLgb77Q==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/core": "^3.1.2", "@smithy/middleware-serde": "^4.0.2", @@ -3591,6 +3731,7 @@ "integrity": "sha512-wmxyUBGHaYUqul0wZiset4M39SMtDBOtUr2KpDuftKNN74Do9Y36Go6Eqzj9tL0mIPpr31ulB5UUtxcsCeGXsQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/node-config-provider": "^4.0.1", "@smithy/protocol-http": "^5.0.1", @@ -3612,6 +3753,7 @@ "integrity": "sha512-Sdr5lOagCn5tt+zKsaW+U2/iwr6bI9p08wOkCp6/eL6iMbgdtc2R5Ety66rf87PeohR0ExI84Txz9GYv5ou3iQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -3626,6 +3768,7 @@ "integrity": "sha512-dHwDmrtR/ln8UTHpaIavRSzeIk5+YZTBtLnKwDW3G2t6nAupCiQUvNzNoHBpik63fwUaJPtlnMzXbQrNFWssIA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -3640,6 +3783,7 @@ "integrity": "sha512-8mRTjvCtVET8+rxvmzRNRR0hH2JjV0DFOmwXPrISmTIJEfnCBugpYYGAsCj8t41qd+RB5gbheSQ/6aKZCQvFLQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/property-provider": "^4.0.1", "@smithy/shared-ini-file-loader": "^4.0.1", @@ -3656,6 +3800,7 @@ "integrity": "sha512-o+VRiwC2cgmk/WFV0jaETGOtX16VNPp2bSQEzu0whbReqE1BMqsP2ami2Vi3cbGVdKu1kq9gQkDAGKbt0WOHAQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -3670,6 +3815,7 @@ "integrity": "sha512-TE4cpj49jJNB/oHyh/cRVEgNZaoPaxd4vteJNB0yGidOCVR0jCw/hjPVsT8Q8FRmj8Bd3bFZt8Dh7xGCT+xMBQ==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -3684,6 +3830,7 @@ "integrity": "sha512-wU87iWZoCbcqrwszsOewEIuq+SU2mSoBE2CcsLwE0I19m0B2gOJr1MVjxWcDQYOzHbR1xCk7AcOBbGFUYOKvdg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "@smithy/util-uri-escape": "^4.0.0", @@ -3699,6 +3846,7 @@ "integrity": "sha512-Ma2XC7VS9aV77+clSFylVUnPZRindhB7BbmYiNOdr+CHt/kZNJoPP0cd3QxCnCFyPXC4eybmyE98phEHkqZ5Jw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -3713,6 +3861,7 @@ "integrity": "sha512-3JNjBfOWpj/mYfjXJHB4Txc/7E4LVq32bwzE7m28GN79+M1f76XHflUaSUkhOriprPDzev9cX/M+dEB80DNDKA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0" }, @@ -3726,6 +3875,7 @@ "integrity": "sha512-hC8F6qTBbuHRI/uqDgqqi6J0R4GtEZcgrZPhFQnMhfJs3MnUTGSnR1NSJCJs5VWlMydu0kJz15M640fJlRsIOw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -3740,6 +3890,7 @@ "integrity": "sha512-nCe6fQ+ppm1bQuw5iKoeJ0MJfz2os7Ic3GBjOkLOPtavbD1ONoyE3ygjBfz2ythFWm4YnRm6OxW+8p/m9uCoIA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/is-array-buffer": "^4.0.0", "@smithy/protocol-http": "^5.0.1", @@ -3760,6 +3911,7 @@ "integrity": "sha512-A2Hz85pu8BJJaYFdX8yb1yocqigyqBzn+OVaVgm+Kwi/DkN8vhN2kbDVEfADo6jXf5hPKquMLGA3UINA64UZ7A==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/core": "^3.1.2", "@smithy/middleware-endpoint": "^4.0.3", @@ -3779,6 +3931,7 @@ "integrity": "sha512-enhjdwp4D7CXmwLtD6zbcDMbo6/T6WtuuKCY49Xxc6OMOmUWlBEBDREsxxgV2LIdeQPW756+f97GzcgAwp3iLw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -3792,6 +3945,7 @@ "integrity": "sha512-gPXcIEUtw7VlK8f/QcruNXm7q+T5hhvGu9tl63LsJPZ27exB6dtNwvh2HIi0v7JcXJ5emBxB+CJxwaLEdJfA+g==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/querystring-parser": "^4.0.1", "@smithy/types": "^4.1.0", @@ -3807,6 +3961,7 @@ "integrity": "sha512-CvHfCmO2mchox9kjrtzoHkWHxjHZzaFojLc8quxXY7WAAMAg43nuxwv95tATVgQFNDwd4M9S1qFzj40Ul41Kmg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/util-buffer-from": "^4.0.0", "@smithy/util-utf8": "^4.0.0", @@ -3822,6 +3977,7 @@ "integrity": "sha512-sNi3DL0/k64/LO3A256M+m3CDdG6V7WKWHdAiBBMUN8S3hK3aMPhwnPik2A/a2ONN+9doY9UxaLfgqsIRg69QA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -3835,6 +3991,7 @@ "integrity": "sha512-q0iDP3VsZzqJyje8xJWEJCNIu3lktUGVoSy1KB0UWym2CL1siV3artm+u1DFYTLejpsrdGyCSWBdGNjJzfDPjg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -3848,6 +4005,7 @@ "integrity": "sha512-9TOQ7781sZvddgO8nxueKi3+yGvkY35kotA0Y6BWRajAv8jjmigQ1sBwz0UX47pQMYXJPahSKEKYFgt+rXdcug==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/is-array-buffer": "^4.0.0", "tslib": "^2.6.2" @@ -3862,6 +4020,7 @@ "integrity": "sha512-L1RBVzLyfE8OXH+1hsJ8p+acNUSirQnWQ6/EgpchV88G6zGBTDPdXiiExei6Z1wR2RxYvxY/XLw6AMNCCt8H3w==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -3875,6 +4034,7 @@ "integrity": "sha512-Ej1bV5sbrIfH++KnWxjjzFNq9nyP3RIUq2c9Iqq7SmMO/idUR24sqvKH2LUQFTSPy/K7G4sB2m8n7YYlEAfZaw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/property-provider": "^4.0.1", "@smithy/smithy-client": "^4.1.3", @@ -3892,6 +4052,7 @@ "integrity": "sha512-HE1I7gxa6yP7ZgXPCFfZSDmVmMtY7SHqzFF55gM/GPegzZKaQWZZ+nYn9C2Cc3JltCMyWe63VPR3tSFDEvuGjw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/config-resolver": "^4.0.1", "@smithy/credential-provider-imds": "^4.0.1", @@ -3911,6 +4072,7 @@ "integrity": "sha512-zVdUENQpdtn9jbpD9SCFK4+aSiavRb9BxEtw9ZGUR1TYo6bBHbIoi7VkrFQ0/RwZlzx0wRBaRmPclj8iAoJCLA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/node-config-provider": "^4.0.1", "@smithy/types": "^4.1.0", @@ -3926,6 +4088,7 @@ "integrity": "sha512-Yk5mLhHtfIgW2W2WQZWSg5kuMZCVbvhFmC7rV4IO2QqnZdbEFPmQnCcGMAX2z/8Qj3B9hYYNjZOhWym+RwhePw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -3939,6 +4102,7 @@ "integrity": "sha512-HiLAvlcqhbzhuiOa0Lyct5IIlyIz0PQO5dnMlmQ/ubYM46dPInB+3yQGkfxsk6Q24Y0n3/JmcA1v5iEhmOF5mA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^4.1.0", "tslib": "^2.6.2" @@ -3953,6 +4117,7 @@ "integrity": "sha512-WmRHqNVwn3kI3rKk1LsKcVgPBG6iLTBGC1iYOV3GQegwJ3E8yjzHytPt26VNzOWr1qu0xE03nK0Ug8S7T7oufw==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/service-error-classification": "^4.0.1", "@smithy/types": "^4.1.0", @@ -3968,6 +4133,7 @@ "integrity": "sha512-0eZ4G5fRzIoewtHtwaYyl8g2C+osYOT4KClXgfdNEDAgkbe2TYPqcnw4GAWabqkZCax2ihRGPe9LZnsPdIUIHA==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/fetch-http-handler": "^5.0.1", "@smithy/node-http-handler": "^4.0.2", @@ -3988,6 +4154,7 @@ "integrity": "sha512-77yfbCbQMtgtTylO9itEAdpPXSog3ZxMe09AEhm0dU0NLTalV70ghDZFR+Nfi1C60jnJoh/Re4090/DuZh2Omg==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.6.2" }, @@ -4001,6 +4168,7 @@ "integrity": "sha512-b+zebfKCfRdgNJDknHCob3O7FpeYQN6ZG6YLExMcasDHsCXlsXCEuiPZeLnJLpwa5dvPetGlnGCiMHuLwGvFow==", "license": "Apache-2.0", "optional": true, + "peer": true, "dependencies": { "@smithy/util-buffer-from": "^4.0.0", "tslib": "^2.6.2" @@ -4019,6 +4187,7 @@ ], "license": "MIT", "optional": true, + "peer": true, "bin": { "uuid": "dist/bin/uuid" } @@ -12919,21 +13088,21 @@ } }, "node_modules/mongoose": { - "version": "6.13.8", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.13.8.tgz", - "integrity": "sha512-JHKco/533CyVrqCbyQsnqMpLn8ZCiKrPDTd2mvo2W7ygIvhygWjX2wj+RPjn6upZZgw0jC6U51RD7kUsyK8NBg==", + "version": "7.8.6", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-7.8.6.tgz", + "integrity": "sha512-1oVPRHvcmPVwk/zeSTEzayzQEVeYQM1D5zrkLsttfNNB7pPRUmkKeFu6gpbvyEswOuZLrWJjqB8kSTY+k2AZOA==", "license": "MIT", "dependencies": { - "bson": "^4.7.2", + "bson": "^5.5.0", "kareem": "2.5.1", - "mongodb": "4.17.2", + "mongodb": "5.9.2", "mpath": "0.9.0", - "mquery": "4.0.3", + "mquery": "5.0.0", "ms": "2.1.3", "sift": "16.0.1" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.20.1" }, "funding": { "type": "opencollective", @@ -12960,33 +13129,53 @@ } }, "node_modules/mongoose/node_modules/bson": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/bson/-/bson-4.7.2.tgz", - "integrity": "sha512-Ry9wCtIZ5kGqkJoi6aD8KjxFZEx78guTQDnpXWiNthsxzrxAK/i8E6pCHAIZTbaEFWcOCvbecMukfK7XUvyLpQ==", + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/bson/-/bson-5.5.1.tgz", + "integrity": "sha512-ix0EwukN2EpC0SRWIj/7B5+A6uQMQy6KMREI9qQqvgpkV2frH63T0UDVd1SYedL6dNCmDBYB3QtXi4ISk9YT+g==", "license": "Apache-2.0", - "dependencies": { - "buffer": "^5.6.0" - }, "engines": { - "node": ">=6.9.0" + "node": ">=14.20.1" } }, "node_modules/mongoose/node_modules/mongodb": { - "version": "4.17.2", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.17.2.tgz", - "integrity": "sha512-mLV7SEiov2LHleRJPMPrK2PMyhXFZt2UQLC4VD4pnth3jMjYKHhtqfwwkkvS/NXuo/Fp3vbhaNcXrIDaLRb9Tg==", + "version": "5.9.2", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-5.9.2.tgz", + "integrity": "sha512-H60HecKO4Bc+7dhOv4sJlgvenK4fQNqqUIlXxZYQNbfEWSALGAwGoyJd/0Qwk4TttFXUOHJ2ZJQe/52ScaUwtQ==", "license": "Apache-2.0", "dependencies": { - "bson": "^4.7.2", + "bson": "^5.5.0", "mongodb-connection-string-url": "^2.6.0", "socks": "^2.7.1" }, "engines": { - "node": ">=12.9.0" + "node": ">=14.20.1" }, "optionalDependencies": { - "@aws-sdk/credential-providers": "^3.186.0", "@mongodb-js/saslprep": "^1.1.0" + }, + "peerDependencies": { + "@aws-sdk/credential-providers": "^3.188.0", + "@mongodb-js/zstd": "^1.0.0", + "kerberos": "^1.0.0 || ^2.0.0", + "mongodb-client-encryption": ">=2.3.0 <3", + "snappy": "^7.2.2" + }, + "peerDependenciesMeta": { + "@aws-sdk/credential-providers": { + "optional": true + }, + "@mongodb-js/zstd": { + "optional": true + }, + "kerberos": { + "optional": true + }, + "mongodb-client-encryption": { + "optional": true + }, + "snappy": { + "optional": true + } } }, "node_modules/mongoose/node_modules/mongodb-connection-string-url": { @@ -13077,15 +13266,15 @@ } }, "node_modules/mquery": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/mquery/-/mquery-4.0.3.tgz", - "integrity": "sha512-J5heI+P08I6VJ2Ky3+33IpCdAvlYGTSUjwTPxkAr8i8EoduPMBX2OY/wa3IKZIQl7MU4SbFk8ndgSKyB/cl1zA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/mquery/-/mquery-5.0.0.tgz", + "integrity": "sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==", "license": "MIT", "dependencies": { "debug": "4.x" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" } }, "node_modules/ms": { diff --git a/backend/package.json b/backend/package.json index f789fb828..b1730da26 100644 --- a/backend/package.json +++ b/backend/package.json @@ -53,7 +53,7 @@ "lodash-es": "^4.17.21", "mjml": "^4.15.3", "mongodb": "^6.13.0", - "mongoose": "^6.13.8", + "mongoose": "7.8.6", "mongoose-delete": "^1.0.2", "morgan": "^1.10.0", "nanoid": "^5.0.9", diff --git a/backend/src/models/AccessRequest.ts b/backend/src/models/AccessRequest.ts index c8638be10..ad8c8efde 100644 --- a/backend/src/models/AccessRequest.ts +++ b/backend/src/models/AccessRequest.ts @@ -1,5 +1,5 @@ -import { Document, model, Schema } from 'mongoose' -import MongooseDelete from 'mongoose-delete' +import { model, Schema } from 'mongoose' +import MongooseDelete, { SoftDeleteDocument } from 'mongoose-delete' export interface AccessRequestMetadata { overview: { @@ -33,9 +33,10 @@ export interface AccessRequestInterface { // The doc type includes all values in the plain interface, as well as all the // properties and functions that Mongoose provides. If a function takes in an // object from Mongoose it should use this interface -export type AccessRequestDoc = AccessRequestInterface & Document -const AccessRequestSchema = new Schema( +export type AccessRequestDoc = AccessRequestInterface & SoftDeleteDocument + +const AccessRequestSchema = new Schema( { id: { type: String, unique: true, required: true }, modelId: { type: String, required: true }, @@ -58,6 +59,6 @@ AccessRequestSchema.plugin(MongooseDelete, { deletedAt: true, }) -const AccessRequestModel = model('v2_Access_Request', AccessRequestSchema) +const AccessRequestModel = model('v2_Access_Request', AccessRequestSchema) export default AccessRequestModel diff --git a/backend/src/models/File.ts b/backend/src/models/File.ts index ed8a98ad4..1ac70f77f 100644 --- a/backend/src/models/File.ts +++ b/backend/src/models/File.ts @@ -1,5 +1,5 @@ -import { Document, model, ObjectId, Schema } from 'mongoose' -import MongooseDelete from 'mongoose-delete' +import { model, ObjectId, Schema } from 'mongoose' +import MongooseDelete, { SoftDeleteDocument } from 'mongoose-delete' import { FileScanResult, ScanState } from '../connectors/fileScanning/Base.js' @@ -28,9 +28,9 @@ export interface FileInterface { // The doc type includes all values in the plain interface, as well as all the // properties and functions that Mongoose provides. If a function takes in an // object from Mongoose it should use this interface -export type FileInterfaceDoc = FileInterface & Document +export type FileInterfaceDoc = FileInterface & SoftDeleteDocument -const FileSchema = new Schema( +const FileSchema = new Schema( { modelId: { type: String, required: true }, @@ -68,6 +68,6 @@ FileSchema.plugin(MongooseDelete, { deletedAt: true, }) -const FileModel = model('v2_File', FileSchema) +const FileModel = model('v2_File', FileSchema) export default FileModel diff --git a/backend/src/models/Release.ts b/backend/src/models/Release.ts index 0fb93d674..19b082001 100644 --- a/backend/src/models/Release.ts +++ b/backend/src/models/Release.ts @@ -1,5 +1,5 @@ -import { Document, model, Schema } from 'mongoose' -import MongooseDelete from 'mongoose-delete' +import { model, Schema } from 'mongoose' +import MongooseDelete, { SoftDeleteDocument } from 'mongoose-delete' import { semverObjectToString, semverStringToObject } from '../services/release.js' @@ -35,7 +35,7 @@ export interface ImageRef { // The doc type includes all values in the plain interface, as well as all the // properties and functions that Mongoose provides. If a function takes in an // object from Mongoose it should use this interface -export type ReleaseDoc = ReleaseInterface & Document +export type ReleaseDoc = ReleaseInterface & SoftDeleteDocument export interface SemverObject { major: number @@ -44,7 +44,7 @@ export interface SemverObject { metadata?: string } -const ReleaseSchema = new Schema( +const ReleaseSchema = new Schema( { modelId: { type: String, required: true }, modelCardVersion: { type: Number, required: true }, @@ -94,6 +94,6 @@ ReleaseSchema.plugin(MongooseDelete, { }) ReleaseSchema.index({ modelId: 1, semver: 1 }, { unique: true }) -const ReleaseModel = model('v2_Release', ReleaseSchema) +const ReleaseModel = model('v2_Release', ReleaseSchema) export default ReleaseModel diff --git a/backend/src/models/Review.ts b/backend/src/models/Review.ts index 7fae882af..9dae5eaa8 100644 --- a/backend/src/models/Review.ts +++ b/backend/src/models/Review.ts @@ -1,5 +1,5 @@ -import { Document, model, Schema } from 'mongoose' -import MongooseDelete from 'mongoose-delete' +import { model, Schema } from 'mongoose' +import MongooseDelete, { SoftDeleteDocument } from 'mongoose-delete' import { ReviewKind, ReviewKindKeys } from '../types/enums.js' @@ -21,9 +21,9 @@ export interface ReviewInterface { // The doc type includes all values in the plain interface, as well as all the // properties and functions that Mongoose provides. If a function takes in an // object from Mongoose it should use this interface -export type ReviewDoc = ReviewInterface & Document +export type ReviewDoc = ReviewInterface & SoftDeleteDocument -const ReviewSchema = new Schema( +const ReviewSchema = new Schema( { semver: { type: String, @@ -67,6 +67,6 @@ ReviewSchema.plugin(MongooseDelete, { deletedAt: true, }) -const ReviewModel = model('v2_Review', ReviewSchema) +const ReviewModel = model('v2_Review', ReviewSchema) export default ReviewModel diff --git a/backend/src/models/Token.ts b/backend/src/models/Token.ts index 7591f90d2..189f4fdd2 100644 --- a/backend/src/models/Token.ts +++ b/backend/src/models/Token.ts @@ -1,7 +1,7 @@ import bcrypt from 'bcryptjs' import { createHash } from 'crypto' -import { Document, model, Schema } from 'mongoose' -import MongooseDelete from 'mongoose-delete' +import { model, Schema } from 'mongoose' +import MongooseDelete, { SoftDeleteDocument } from 'mongoose-delete' export const TokenScope = { All: 'all', @@ -73,9 +73,9 @@ export interface TokenInterface { // The doc type includes all values in the plain interface, as well as all the // properties and functions that Mongoose provides. If a function takes in an // object from Mongoose it should use this interface -export type TokenDoc = TokenInterface & Document +export type TokenDoc = TokenInterface & SoftDeleteDocument -const TokenSchema = new Schema( +const TokenSchema = new Schema( { user: { type: String, required: true }, description: { type: String, required: true }, @@ -154,6 +154,6 @@ TokenSchema.methods.compareToken = function compareToken(candidateToken: string) TokenSchema.plugin(MongooseDelete, { overrideMethods: 'all', deletedAt: true }) -const TokenModel = model('v2_Token', TokenSchema) +const TokenModel = model('v2_Token', TokenSchema) export default TokenModel diff --git a/backend/src/services/schema.ts b/backend/src/services/schema.ts index e2e98e690..8757f5b99 100644 --- a/backend/src/services/schema.ts +++ b/backend/src/services/schema.ts @@ -54,7 +54,7 @@ export async function deleteSchemaById(user: UserInterface, schemaId: string): P }) } - await schema.delete() + await schema.deleteOne() return schema.id } diff --git a/backend/src/services/token.ts b/backend/src/services/token.ts index 896c865bc..9a742c58c 100644 --- a/backend/src/services/token.ts +++ b/backend/src/services/token.ts @@ -63,7 +63,7 @@ export async function removeToken(user: UserInterface, accessKey: string) { throw Forbidden('Only the token owner can remove the token', { accessKey }) } - await token.remove() + await token.delete() return { success: true } } From ebac0279d588817a6de8a6e0af5243eeb807e760 Mon Sep 17 00:00:00 2001 From: JR40159 <126243293+JR40159@users.noreply.github.com> Date: Wed, 12 Feb 2025 16:47:29 +0000 Subject: [PATCH 2/2] Mongoose update changes --- backend/src/models/Model.ts | 10 +++++----- backend/src/models/Response.ts | 10 +++++----- backend/src/models/Webhook.ts | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/backend/src/models/Model.ts b/backend/src/models/Model.ts index a6c67edc4..9ed4abe7c 100644 --- a/backend/src/models/Model.ts +++ b/backend/src/models/Model.ts @@ -1,5 +1,5 @@ -import { Document, model, Schema } from 'mongoose' -import MongooseDelete from 'mongoose-delete' +import { model, Schema } from 'mongoose' +import MongooseDelete, { SoftDeleteDocument } from 'mongoose-delete' export const EntryVisibility = { Private: 'private', @@ -68,9 +68,9 @@ export interface ModelInterface { // The doc type includes all values in the plain interface, as well as all the // properties and functions that Mongoose provides. If a function takes in an // object from Mongoose it should use this interface -export type ModelDoc = ModelInterface & Document +export type ModelDoc = ModelInterface & SoftDeleteDocument -const ModelSchema = new Schema( +const ModelSchema = new Schema( { id: { type: String, required: true, unique: true, index: true }, @@ -113,6 +113,6 @@ ModelSchema.plugin(MongooseDelete, { }) ModelSchema.index({ '$**': 'text' }, { weights: { name: 10, description: 5 } }) -const ModelModel = model('v2_Model', ModelSchema) +const ModelModel = model('v2_Model', ModelSchema) export default ModelModel diff --git a/backend/src/models/Response.ts b/backend/src/models/Response.ts index d168be490..153f3a85d 100644 --- a/backend/src/models/Response.ts +++ b/backend/src/models/Response.ts @@ -1,5 +1,5 @@ -import { Document, model, Schema } from 'mongoose' -import MongooseDelete from 'mongoose-delete' +import { model, Schema } from 'mongoose' +import MongooseDelete, { SoftDeleteDocument } from 'mongoose-delete' export const Decision = { RequestChanges: 'request_changes', @@ -44,9 +44,9 @@ export type ReactionKindKeys = (typeof ReactionKind)[keyof typeof ReactionKind] // The doc type includes all values in the plain interface, as well as all the // properties and functions that Mongoose provides. If a function takes in an // object from Mongoose it should use this interface -export type ResponseDoc = ResponseInterface & Document +export type ResponseDoc = ResponseInterface & SoftDeleteDocument -const ResponseSchema = new Schema( +const ResponseSchema = new Schema( { entity: { type: String, required: true }, kind: { type: String, enum: Object.values(ResponseKind), required: true }, @@ -75,6 +75,6 @@ ResponseSchema.plugin(MongooseDelete, { deletedAt: true, }) -const ResponseModel = model('v2_response', ResponseSchema) +const ResponseModel = model('v2_response', ResponseSchema) export default ResponseModel diff --git a/backend/src/models/Webhook.ts b/backend/src/models/Webhook.ts index 5647af09f..0c4e68b0a 100644 --- a/backend/src/models/Webhook.ts +++ b/backend/src/models/Webhook.ts @@ -1,5 +1,5 @@ -import { Document, model, Schema } from 'mongoose' -import MongooseDelete from 'mongoose-delete' +import { model, Schema } from 'mongoose' +import MongooseDelete, { SoftDeleteDocument } from 'mongoose-delete' export const WebhookEvent = { CreateRelease: 'createRelease', @@ -20,9 +20,9 @@ export interface WebhookInterface { active?: boolean } -export type WebhookDoc = WebhookInterface & Document +export type WebhookDoc = WebhookInterface & SoftDeleteDocument -const WebhookSchema = new Schema( +const WebhookSchema = new Schema( { id: { type: String, required: true, unique: true, index: true }, modelId: { type: String, required: true }, @@ -48,6 +48,6 @@ WebhookSchema.plugin(MongooseDelete, { deletedAt: true, }) -const WebhookModel = model('v2_Webhook', WebhookSchema) +const WebhookModel = model('v3_Webhook', WebhookSchema) export default WebhookModel