diff --git a/.yarn/cache/@aws-crypto-sha256-browser-npm-5.2.0-5e8b02b82a-773f12f202.zip b/.yarn/cache/@aws-crypto-sha256-browser-npm-5.2.0-5e8b02b82a-773f12f202.zip new file mode 100644 index 000000000..6b73b76b0 Binary files /dev/null and b/.yarn/cache/@aws-crypto-sha256-browser-npm-5.2.0-5e8b02b82a-773f12f202.zip differ diff --git a/.yarn/cache/@aws-crypto-sha256-js-npm-5.2.0-fbe0f9fbf6-007fbe0436.zip b/.yarn/cache/@aws-crypto-sha256-js-npm-5.2.0-fbe0f9fbf6-007fbe0436.zip new file mode 100644 index 000000000..a03c0152b Binary files /dev/null and b/.yarn/cache/@aws-crypto-sha256-js-npm-5.2.0-fbe0f9fbf6-007fbe0436.zip differ diff --git a/.yarn/cache/@aws-crypto-supports-web-crypto-npm-5.2.0-37acf6e569-6ffc21de48.zip b/.yarn/cache/@aws-crypto-supports-web-crypto-npm-5.2.0-37acf6e569-6ffc21de48.zip new file mode 100644 index 000000000..ab216e2cb Binary files /dev/null and b/.yarn/cache/@aws-crypto-supports-web-crypto-npm-5.2.0-37acf6e569-6ffc21de48.zip differ diff --git a/.yarn/cache/@aws-crypto-util-npm-5.2.0-67e90fb04c-f0f81d9d27.zip b/.yarn/cache/@aws-crypto-util-npm-5.2.0-67e90fb04c-f0f81d9d27.zip new file mode 100644 index 000000000..c6ae7971f Binary files /dev/null and b/.yarn/cache/@aws-crypto-util-npm-5.2.0-67e90fb04c-f0f81d9d27.zip differ diff --git a/.yarn/cache/@aws-lambda-invoke-store-npm-0.2.3-fd576d458e-8fd9e329a9.zip b/.yarn/cache/@aws-lambda-invoke-store-npm-0.2.3-fd576d458e-8fd9e329a9.zip new file mode 100644 index 000000000..c556d93dd Binary files /dev/null and b/.yarn/cache/@aws-lambda-invoke-store-npm-0.2.3-fd576d458e-8fd9e329a9.zip differ diff --git a/.yarn/cache/@aws-sdk-client-cognito-identity-npm-3.998.0-e3f18c5e8a-d5c5f41c2e.zip b/.yarn/cache/@aws-sdk-client-cognito-identity-npm-3.998.0-e3f18c5e8a-d5c5f41c2e.zip new file mode 100644 index 000000000..e37fa31d5 Binary files /dev/null and b/.yarn/cache/@aws-sdk-client-cognito-identity-npm-3.998.0-e3f18c5e8a-d5c5f41c2e.zip differ diff --git a/.yarn/cache/@aws-sdk-core-npm-3.973.14-18ad95bead-335a1bb9bb.zip b/.yarn/cache/@aws-sdk-core-npm-3.973.14-18ad95bead-335a1bb9bb.zip new file mode 100644 index 000000000..925d98887 Binary files /dev/null and b/.yarn/cache/@aws-sdk-core-npm-3.973.14-18ad95bead-335a1bb9bb.zip differ diff --git a/.yarn/cache/@aws-sdk-credential-provider-cognito-identity-npm-3.972.5-861cfbd644-2d70ecbf33.zip b/.yarn/cache/@aws-sdk-credential-provider-cognito-identity-npm-3.972.5-861cfbd644-2d70ecbf33.zip new file mode 100644 index 000000000..0b1196cb9 Binary files /dev/null and b/.yarn/cache/@aws-sdk-credential-provider-cognito-identity-npm-3.972.5-861cfbd644-2d70ecbf33.zip differ diff --git a/.yarn/cache/@aws-sdk-credential-provider-env-npm-3.972.12-b9b52d8e70-accd70e48b.zip b/.yarn/cache/@aws-sdk-credential-provider-env-npm-3.972.12-b9b52d8e70-accd70e48b.zip new file mode 100644 index 000000000..d5c234782 Binary files /dev/null and b/.yarn/cache/@aws-sdk-credential-provider-env-npm-3.972.12-b9b52d8e70-accd70e48b.zip differ diff --git a/.yarn/cache/@aws-sdk-credential-provider-http-npm-3.972.14-6f63bab0c9-b6504bf48a.zip b/.yarn/cache/@aws-sdk-credential-provider-http-npm-3.972.14-6f63bab0c9-b6504bf48a.zip new file mode 100644 index 000000000..ed4ce726d Binary files /dev/null and b/.yarn/cache/@aws-sdk-credential-provider-http-npm-3.972.14-6f63bab0c9-b6504bf48a.zip differ diff --git a/.yarn/cache/@aws-sdk-credential-provider-ini-npm-3.972.12-81c1f09207-9beb911494.zip b/.yarn/cache/@aws-sdk-credential-provider-ini-npm-3.972.12-81c1f09207-9beb911494.zip new file mode 100644 index 000000000..9d1b1a928 Binary files /dev/null and b/.yarn/cache/@aws-sdk-credential-provider-ini-npm-3.972.12-81c1f09207-9beb911494.zip differ diff --git a/.yarn/cache/@aws-sdk-credential-provider-login-npm-3.972.12-681ccdedce-5281e4853c.zip b/.yarn/cache/@aws-sdk-credential-provider-login-npm-3.972.12-681ccdedce-5281e4853c.zip new file mode 100644 index 000000000..c67353aef Binary files /dev/null and b/.yarn/cache/@aws-sdk-credential-provider-login-npm-3.972.12-681ccdedce-5281e4853c.zip differ diff --git a/.yarn/cache/@aws-sdk-credential-provider-node-npm-3.972.13-6f975f7982-6bd1921bda.zip b/.yarn/cache/@aws-sdk-credential-provider-node-npm-3.972.13-6f975f7982-6bd1921bda.zip new file mode 100644 index 000000000..344531480 Binary files /dev/null and b/.yarn/cache/@aws-sdk-credential-provider-node-npm-3.972.13-6f975f7982-6bd1921bda.zip differ diff --git a/.yarn/cache/@aws-sdk-credential-provider-process-npm-3.972.12-08acb1eadb-c446e3b1f9.zip b/.yarn/cache/@aws-sdk-credential-provider-process-npm-3.972.12-08acb1eadb-c446e3b1f9.zip new file mode 100644 index 000000000..ac396485a Binary files /dev/null and b/.yarn/cache/@aws-sdk-credential-provider-process-npm-3.972.12-08acb1eadb-c446e3b1f9.zip differ diff --git a/.yarn/cache/@aws-sdk-credential-provider-sso-npm-3.972.12-95e4080a34-0a20b77a10.zip b/.yarn/cache/@aws-sdk-credential-provider-sso-npm-3.972.12-95e4080a34-0a20b77a10.zip new file mode 100644 index 000000000..1e0f7df33 Binary files /dev/null and b/.yarn/cache/@aws-sdk-credential-provider-sso-npm-3.972.12-95e4080a34-0a20b77a10.zip differ diff --git a/.yarn/cache/@aws-sdk-credential-provider-web-identity-npm-3.972.12-a0b9e684a9-38db653b49.zip b/.yarn/cache/@aws-sdk-credential-provider-web-identity-npm-3.972.12-a0b9e684a9-38db653b49.zip new file mode 100644 index 000000000..8a0380144 Binary files /dev/null and b/.yarn/cache/@aws-sdk-credential-provider-web-identity-npm-3.972.12-a0b9e684a9-38db653b49.zip differ diff --git a/.yarn/cache/@aws-sdk-credential-providers-npm-3.998.0-0f7cc862ed-26cc86b468.zip b/.yarn/cache/@aws-sdk-credential-providers-npm-3.998.0-0f7cc862ed-26cc86b468.zip new file mode 100644 index 000000000..6bc5b9644 Binary files /dev/null and b/.yarn/cache/@aws-sdk-credential-providers-npm-3.998.0-0f7cc862ed-26cc86b468.zip differ diff --git a/.yarn/cache/@aws-sdk-middleware-host-header-npm-3.972.5-0533d11294-16822cec33.zip b/.yarn/cache/@aws-sdk-middleware-host-header-npm-3.972.5-0533d11294-16822cec33.zip new file mode 100644 index 000000000..0f6251afd Binary files /dev/null and b/.yarn/cache/@aws-sdk-middleware-host-header-npm-3.972.5-0533d11294-16822cec33.zip differ diff --git a/.yarn/cache/@aws-sdk-middleware-logger-npm-3.972.5-99adeec434-6d7dbebdb3.zip b/.yarn/cache/@aws-sdk-middleware-logger-npm-3.972.5-99adeec434-6d7dbebdb3.zip new file mode 100644 index 000000000..4f52a9ee8 Binary files /dev/null and b/.yarn/cache/@aws-sdk-middleware-logger-npm-3.972.5-99adeec434-6d7dbebdb3.zip differ diff --git a/.yarn/cache/@aws-sdk-middleware-recursion-detection-npm-3.972.5-1ce598b40e-600566aafd.zip b/.yarn/cache/@aws-sdk-middleware-recursion-detection-npm-3.972.5-1ce598b40e-600566aafd.zip new file mode 100644 index 000000000..e4deb66da Binary files /dev/null and b/.yarn/cache/@aws-sdk-middleware-recursion-detection-npm-3.972.5-1ce598b40e-600566aafd.zip differ diff --git a/.yarn/cache/@aws-sdk-middleware-user-agent-npm-3.972.14-7691052538-9119b68abd.zip b/.yarn/cache/@aws-sdk-middleware-user-agent-npm-3.972.14-7691052538-9119b68abd.zip new file mode 100644 index 000000000..edb36e0a9 Binary files /dev/null and b/.yarn/cache/@aws-sdk-middleware-user-agent-npm-3.972.14-7691052538-9119b68abd.zip differ diff --git a/.yarn/cache/@aws-sdk-nested-clients-npm-3.996.2-744cb04528-f69a30f7a3.zip b/.yarn/cache/@aws-sdk-nested-clients-npm-3.996.2-744cb04528-f69a30f7a3.zip new file mode 100644 index 000000000..628c4e61c Binary files /dev/null and b/.yarn/cache/@aws-sdk-nested-clients-npm-3.996.2-744cb04528-f69a30f7a3.zip differ diff --git a/.yarn/cache/@aws-sdk-region-config-resolver-npm-3.972.5-55c1ab05ad-fc58111311.zip b/.yarn/cache/@aws-sdk-region-config-resolver-npm-3.972.5-55c1ab05ad-fc58111311.zip new file mode 100644 index 000000000..9e2a5f7d4 Binary files /dev/null and b/.yarn/cache/@aws-sdk-region-config-resolver-npm-3.972.5-55c1ab05ad-fc58111311.zip differ diff --git a/.yarn/cache/@aws-sdk-token-providers-npm-3.998.0-dab00d928a-4a9a9e4b1a.zip b/.yarn/cache/@aws-sdk-token-providers-npm-3.998.0-dab00d928a-4a9a9e4b1a.zip new file mode 100644 index 000000000..7db498253 Binary files /dev/null and b/.yarn/cache/@aws-sdk-token-providers-npm-3.998.0-dab00d928a-4a9a9e4b1a.zip differ diff --git a/.yarn/cache/@aws-sdk-types-npm-3.973.3-0be3a08c87-01e7702fe2.zip b/.yarn/cache/@aws-sdk-types-npm-3.973.3-0be3a08c87-01e7702fe2.zip new file mode 100644 index 000000000..82b0248ae Binary files /dev/null and b/.yarn/cache/@aws-sdk-types-npm-3.973.3-0be3a08c87-01e7702fe2.zip differ diff --git a/.yarn/cache/@aws-sdk-util-endpoints-npm-3.996.2-61af50fda4-4db599a8bd.zip b/.yarn/cache/@aws-sdk-util-endpoints-npm-3.996.2-61af50fda4-4db599a8bd.zip new file mode 100644 index 000000000..7fd82c194 Binary files /dev/null and b/.yarn/cache/@aws-sdk-util-endpoints-npm-3.996.2-61af50fda4-4db599a8bd.zip differ diff --git a/.yarn/cache/@aws-sdk-util-locate-window-npm-3.965.4-39e8c129fe-ec8d3653f6.zip b/.yarn/cache/@aws-sdk-util-locate-window-npm-3.965.4-39e8c129fe-ec8d3653f6.zip new file mode 100644 index 000000000..5e2be2c68 Binary files /dev/null and b/.yarn/cache/@aws-sdk-util-locate-window-npm-3.965.4-39e8c129fe-ec8d3653f6.zip differ diff --git a/.yarn/cache/@aws-sdk-util-user-agent-browser-npm-3.972.5-f6486843b3-29c4357762.zip b/.yarn/cache/@aws-sdk-util-user-agent-browser-npm-3.972.5-f6486843b3-29c4357762.zip new file mode 100644 index 000000000..7e4015a56 Binary files /dev/null and b/.yarn/cache/@aws-sdk-util-user-agent-browser-npm-3.972.5-f6486843b3-29c4357762.zip differ diff --git a/.yarn/cache/@aws-sdk-util-user-agent-node-npm-3.972.13-cf383700c3-0f2a27df70.zip b/.yarn/cache/@aws-sdk-util-user-agent-node-npm-3.972.13-cf383700c3-0f2a27df70.zip new file mode 100644 index 000000000..7dc231f54 Binary files /dev/null and b/.yarn/cache/@aws-sdk-util-user-agent-node-npm-3.972.13-cf383700c3-0f2a27df70.zip differ diff --git a/.yarn/cache/@aws-sdk-xml-builder-npm-3.972.7-fb24f1c125-8be2e16852.zip b/.yarn/cache/@aws-sdk-xml-builder-npm-3.972.7-fb24f1c125-8be2e16852.zip new file mode 100644 index 000000000..909efb7a2 Binary files /dev/null and b/.yarn/cache/@aws-sdk-xml-builder-npm-3.972.7-fb24f1c125-8be2e16852.zip differ diff --git a/.yarn/cache/@mongodb-js-saslprep-npm-1.4.6-99b4f1fb35-a062ccaa32.zip b/.yarn/cache/@mongodb-js-saslprep-npm-1.4.6-99b4f1fb35-a062ccaa32.zip new file mode 100644 index 000000000..4f36f05ce Binary files /dev/null and b/.yarn/cache/@mongodb-js-saslprep-npm-1.4.6-99b4f1fb35-a062ccaa32.zip differ diff --git a/.yarn/cache/@smithy-abort-controller-npm-4.2.10-2dc2de6d53-320329c315.zip b/.yarn/cache/@smithy-abort-controller-npm-4.2.10-2dc2de6d53-320329c315.zip new file mode 100644 index 000000000..6b3c39370 Binary files /dev/null and b/.yarn/cache/@smithy-abort-controller-npm-4.2.10-2dc2de6d53-320329c315.zip differ diff --git a/.yarn/cache/@smithy-config-resolver-npm-4.4.9-4e4a398c6d-4b374e1542.zip b/.yarn/cache/@smithy-config-resolver-npm-4.4.9-4e4a398c6d-4b374e1542.zip new file mode 100644 index 000000000..7183aad9c Binary files /dev/null and b/.yarn/cache/@smithy-config-resolver-npm-4.4.9-4e4a398c6d-4b374e1542.zip differ diff --git a/.yarn/cache/@smithy-core-npm-3.23.6-0a34df610a-69e08c553f.zip b/.yarn/cache/@smithy-core-npm-3.23.6-0a34df610a-69e08c553f.zip new file mode 100644 index 000000000..88b87e8c1 Binary files /dev/null and b/.yarn/cache/@smithy-core-npm-3.23.6-0a34df610a-69e08c553f.zip differ diff --git a/.yarn/cache/@smithy-credential-provider-imds-npm-4.2.10-d386a615cc-92f00d2e0a.zip b/.yarn/cache/@smithy-credential-provider-imds-npm-4.2.10-d386a615cc-92f00d2e0a.zip new file mode 100644 index 000000000..4fd4b6ac6 Binary files /dev/null and b/.yarn/cache/@smithy-credential-provider-imds-npm-4.2.10-d386a615cc-92f00d2e0a.zip differ diff --git a/.yarn/cache/@smithy-fetch-http-handler-npm-5.3.11-821474699a-008c8161b8.zip b/.yarn/cache/@smithy-fetch-http-handler-npm-5.3.11-821474699a-008c8161b8.zip new file mode 100644 index 000000000..86861b1c5 Binary files /dev/null and b/.yarn/cache/@smithy-fetch-http-handler-npm-5.3.11-821474699a-008c8161b8.zip differ diff --git a/.yarn/cache/@smithy-hash-node-npm-4.2.10-b2b5a17d42-02810c5557.zip b/.yarn/cache/@smithy-hash-node-npm-4.2.10-b2b5a17d42-02810c5557.zip new file mode 100644 index 000000000..842c071ea Binary files /dev/null and b/.yarn/cache/@smithy-hash-node-npm-4.2.10-b2b5a17d42-02810c5557.zip differ diff --git a/.yarn/cache/@smithy-invalid-dependency-npm-4.2.10-7bfc46db73-cbbfdbbd9b.zip b/.yarn/cache/@smithy-invalid-dependency-npm-4.2.10-7bfc46db73-cbbfdbbd9b.zip new file mode 100644 index 000000000..72a737ec5 Binary files /dev/null and b/.yarn/cache/@smithy-invalid-dependency-npm-4.2.10-7bfc46db73-cbbfdbbd9b.zip differ diff --git a/.yarn/cache/@smithy-is-array-buffer-npm-2.2.0-108320772d-cd12c2e278.zip b/.yarn/cache/@smithy-is-array-buffer-npm-2.2.0-108320772d-cd12c2e278.zip new file mode 100644 index 000000000..8b514d6bb Binary files /dev/null and b/.yarn/cache/@smithy-is-array-buffer-npm-2.2.0-108320772d-cd12c2e278.zip differ diff --git a/.yarn/cache/@smithy-is-array-buffer-npm-4.2.1-4cf7e1b368-c35658a46d.zip b/.yarn/cache/@smithy-is-array-buffer-npm-4.2.1-4cf7e1b368-c35658a46d.zip new file mode 100644 index 000000000..c2a58c68a Binary files /dev/null and b/.yarn/cache/@smithy-is-array-buffer-npm-4.2.1-4cf7e1b368-c35658a46d.zip differ diff --git a/.yarn/cache/@smithy-middleware-content-length-npm-4.2.10-d391f7172d-861784afb3.zip b/.yarn/cache/@smithy-middleware-content-length-npm-4.2.10-d391f7172d-861784afb3.zip new file mode 100644 index 000000000..78154ba8a Binary files /dev/null and b/.yarn/cache/@smithy-middleware-content-length-npm-4.2.10-d391f7172d-861784afb3.zip differ diff --git a/.yarn/cache/@smithy-middleware-endpoint-npm-4.4.20-820559d6e1-c968e9e7d8.zip b/.yarn/cache/@smithy-middleware-endpoint-npm-4.4.20-820559d6e1-c968e9e7d8.zip new file mode 100644 index 000000000..242471480 Binary files /dev/null and b/.yarn/cache/@smithy-middleware-endpoint-npm-4.4.20-820559d6e1-c968e9e7d8.zip differ diff --git a/.yarn/cache/@smithy-middleware-retry-npm-4.4.37-ed91ea9f59-a807e9d93d.zip b/.yarn/cache/@smithy-middleware-retry-npm-4.4.37-ed91ea9f59-a807e9d93d.zip new file mode 100644 index 000000000..3ee31fa6e Binary files /dev/null and b/.yarn/cache/@smithy-middleware-retry-npm-4.4.37-ed91ea9f59-a807e9d93d.zip differ diff --git a/.yarn/cache/@smithy-middleware-serde-npm-4.2.11-0de3b180cd-1fc22839ee.zip b/.yarn/cache/@smithy-middleware-serde-npm-4.2.11-0de3b180cd-1fc22839ee.zip new file mode 100644 index 000000000..5f782a53e Binary files /dev/null and b/.yarn/cache/@smithy-middleware-serde-npm-4.2.11-0de3b180cd-1fc22839ee.zip differ diff --git a/.yarn/cache/@smithy-middleware-stack-npm-4.2.10-6c5c459138-1958574c52.zip b/.yarn/cache/@smithy-middleware-stack-npm-4.2.10-6c5c459138-1958574c52.zip new file mode 100644 index 000000000..fa84e238f Binary files /dev/null and b/.yarn/cache/@smithy-middleware-stack-npm-4.2.10-6c5c459138-1958574c52.zip differ diff --git a/.yarn/cache/@smithy-node-config-provider-npm-4.3.10-f6e3512cc1-e56700bed0.zip b/.yarn/cache/@smithy-node-config-provider-npm-4.3.10-f6e3512cc1-e56700bed0.zip new file mode 100644 index 000000000..76d966d2b Binary files /dev/null and b/.yarn/cache/@smithy-node-config-provider-npm-4.3.10-f6e3512cc1-e56700bed0.zip differ diff --git a/.yarn/cache/@smithy-node-http-handler-npm-4.4.12-09aae732b4-79c8813c1e.zip b/.yarn/cache/@smithy-node-http-handler-npm-4.4.12-09aae732b4-79c8813c1e.zip new file mode 100644 index 000000000..21dd12e4e Binary files /dev/null and b/.yarn/cache/@smithy-node-http-handler-npm-4.4.12-09aae732b4-79c8813c1e.zip differ diff --git a/.yarn/cache/@smithy-property-provider-npm-4.2.10-ff866908f5-1c6ed1551a.zip b/.yarn/cache/@smithy-property-provider-npm-4.2.10-ff866908f5-1c6ed1551a.zip new file mode 100644 index 000000000..55f02d6e7 Binary files /dev/null and b/.yarn/cache/@smithy-property-provider-npm-4.2.10-ff866908f5-1c6ed1551a.zip differ diff --git a/.yarn/cache/@smithy-protocol-http-npm-5.3.10-bd6cd5c11c-ba7d6d92b5.zip b/.yarn/cache/@smithy-protocol-http-npm-5.3.10-bd6cd5c11c-ba7d6d92b5.zip new file mode 100644 index 000000000..a30f7f92f Binary files /dev/null and b/.yarn/cache/@smithy-protocol-http-npm-5.3.10-bd6cd5c11c-ba7d6d92b5.zip differ diff --git a/.yarn/cache/@smithy-querystring-builder-npm-4.2.10-6e34d4b6da-299e1b0733.zip b/.yarn/cache/@smithy-querystring-builder-npm-4.2.10-6e34d4b6da-299e1b0733.zip new file mode 100644 index 000000000..d4cd4cbed Binary files /dev/null and b/.yarn/cache/@smithy-querystring-builder-npm-4.2.10-6e34d4b6da-299e1b0733.zip differ diff --git a/.yarn/cache/@smithy-querystring-parser-npm-4.2.10-329f02436f-00b234a467.zip b/.yarn/cache/@smithy-querystring-parser-npm-4.2.10-329f02436f-00b234a467.zip new file mode 100644 index 000000000..600afc7d3 Binary files /dev/null and b/.yarn/cache/@smithy-querystring-parser-npm-4.2.10-329f02436f-00b234a467.zip differ diff --git a/.yarn/cache/@smithy-service-error-classification-npm-4.2.10-2ac3263c0d-5bf90eef3b.zip b/.yarn/cache/@smithy-service-error-classification-npm-4.2.10-2ac3263c0d-5bf90eef3b.zip new file mode 100644 index 000000000..b78042b70 Binary files /dev/null and b/.yarn/cache/@smithy-service-error-classification-npm-4.2.10-2ac3263c0d-5bf90eef3b.zip differ diff --git a/.yarn/cache/@smithy-shared-ini-file-loader-npm-4.4.5-4898a14079-044d073f79.zip b/.yarn/cache/@smithy-shared-ini-file-loader-npm-4.4.5-4898a14079-044d073f79.zip new file mode 100644 index 000000000..dcba4d22a Binary files /dev/null and b/.yarn/cache/@smithy-shared-ini-file-loader-npm-4.4.5-4898a14079-044d073f79.zip differ diff --git a/.yarn/cache/@smithy-signature-v4-npm-5.3.10-5e84948e03-5150eea257.zip b/.yarn/cache/@smithy-signature-v4-npm-5.3.10-5e84948e03-5150eea257.zip new file mode 100644 index 000000000..985ad071c Binary files /dev/null and b/.yarn/cache/@smithy-signature-v4-npm-5.3.10-5e84948e03-5150eea257.zip differ diff --git a/.yarn/cache/@smithy-smithy-client-npm-4.12.0-3582cb9619-d7b6044a14.zip b/.yarn/cache/@smithy-smithy-client-npm-4.12.0-3582cb9619-d7b6044a14.zip new file mode 100644 index 000000000..a05625d5c Binary files /dev/null and b/.yarn/cache/@smithy-smithy-client-npm-4.12.0-3582cb9619-d7b6044a14.zip differ diff --git a/.yarn/cache/@smithy-types-npm-4.13.0-523734326d-dd17710ea5.zip b/.yarn/cache/@smithy-types-npm-4.13.0-523734326d-dd17710ea5.zip new file mode 100644 index 000000000..5047b8df3 Binary files /dev/null and b/.yarn/cache/@smithy-types-npm-4.13.0-523734326d-dd17710ea5.zip differ diff --git a/.yarn/cache/@smithy-url-parser-npm-4.2.10-458de1715f-0442a1d5bd.zip b/.yarn/cache/@smithy-url-parser-npm-4.2.10-458de1715f-0442a1d5bd.zip new file mode 100644 index 000000000..3148065c9 Binary files /dev/null and b/.yarn/cache/@smithy-url-parser-npm-4.2.10-458de1715f-0442a1d5bd.zip differ diff --git a/.yarn/cache/@smithy-util-base64-npm-4.3.1-c2c9d87575-b106b6e86d.zip b/.yarn/cache/@smithy-util-base64-npm-4.3.1-c2c9d87575-b106b6e86d.zip new file mode 100644 index 000000000..14cec085e Binary files /dev/null and b/.yarn/cache/@smithy-util-base64-npm-4.3.1-c2c9d87575-b106b6e86d.zip differ diff --git a/.yarn/cache/@smithy-util-body-length-browser-npm-4.2.1-6f28b05c87-6cabbd1875.zip b/.yarn/cache/@smithy-util-body-length-browser-npm-4.2.1-6f28b05c87-6cabbd1875.zip new file mode 100644 index 000000000..9e57604ff Binary files /dev/null and b/.yarn/cache/@smithy-util-body-length-browser-npm-4.2.1-6f28b05c87-6cabbd1875.zip differ diff --git a/.yarn/cache/@smithy-util-body-length-node-npm-4.2.2-32b3365aef-51b8a36dc6.zip b/.yarn/cache/@smithy-util-body-length-node-npm-4.2.2-32b3365aef-51b8a36dc6.zip new file mode 100644 index 000000000..c60926567 Binary files /dev/null and b/.yarn/cache/@smithy-util-body-length-node-npm-4.2.2-32b3365aef-51b8a36dc6.zip differ diff --git a/.yarn/cache/@smithy-util-buffer-from-npm-2.2.0-0ef5989125-424c5b7368.zip b/.yarn/cache/@smithy-util-buffer-from-npm-2.2.0-0ef5989125-424c5b7368.zip new file mode 100644 index 000000000..07ca3d219 Binary files /dev/null and b/.yarn/cache/@smithy-util-buffer-from-npm-2.2.0-0ef5989125-424c5b7368.zip differ diff --git a/.yarn/cache/@smithy-util-buffer-from-npm-4.2.1-e059548913-eb3980aee8.zip b/.yarn/cache/@smithy-util-buffer-from-npm-4.2.1-e059548913-eb3980aee8.zip new file mode 100644 index 000000000..7247610de Binary files /dev/null and b/.yarn/cache/@smithy-util-buffer-from-npm-4.2.1-e059548913-eb3980aee8.zip differ diff --git a/.yarn/cache/@smithy-util-config-provider-npm-4.2.1-7abc08cc3c-d0b35d424a.zip b/.yarn/cache/@smithy-util-config-provider-npm-4.2.1-7abc08cc3c-d0b35d424a.zip new file mode 100644 index 000000000..1ed1dd613 Binary files /dev/null and b/.yarn/cache/@smithy-util-config-provider-npm-4.2.1-7abc08cc3c-d0b35d424a.zip differ diff --git a/.yarn/cache/@smithy-util-defaults-mode-browser-npm-4.3.36-9486568fa6-a4f4671296.zip b/.yarn/cache/@smithy-util-defaults-mode-browser-npm-4.3.36-9486568fa6-a4f4671296.zip new file mode 100644 index 000000000..7c467f226 Binary files /dev/null and b/.yarn/cache/@smithy-util-defaults-mode-browser-npm-4.3.36-9486568fa6-a4f4671296.zip differ diff --git a/.yarn/cache/@smithy-util-defaults-mode-node-npm-4.2.39-572135568d-ac2f0c5af2.zip b/.yarn/cache/@smithy-util-defaults-mode-node-npm-4.2.39-572135568d-ac2f0c5af2.zip new file mode 100644 index 000000000..c3bdb8234 Binary files /dev/null and b/.yarn/cache/@smithy-util-defaults-mode-node-npm-4.2.39-572135568d-ac2f0c5af2.zip differ diff --git a/.yarn/cache/@smithy-util-endpoints-npm-3.3.1-40616dd3c9-197613d930.zip b/.yarn/cache/@smithy-util-endpoints-npm-3.3.1-40616dd3c9-197613d930.zip new file mode 100644 index 000000000..180a2baf1 Binary files /dev/null and b/.yarn/cache/@smithy-util-endpoints-npm-3.3.1-40616dd3c9-197613d930.zip differ diff --git a/.yarn/cache/@smithy-util-hex-encoding-npm-4.2.1-4b55a2eb86-aa570f9460.zip b/.yarn/cache/@smithy-util-hex-encoding-npm-4.2.1-4b55a2eb86-aa570f9460.zip new file mode 100644 index 000000000..2345ba2c3 Binary files /dev/null and b/.yarn/cache/@smithy-util-hex-encoding-npm-4.2.1-4b55a2eb86-aa570f9460.zip differ diff --git a/.yarn/cache/@smithy-util-middleware-npm-4.2.10-ba4c48c8ef-e74b020d12.zip b/.yarn/cache/@smithy-util-middleware-npm-4.2.10-ba4c48c8ef-e74b020d12.zip new file mode 100644 index 000000000..68d343876 Binary files /dev/null and b/.yarn/cache/@smithy-util-middleware-npm-4.2.10-ba4c48c8ef-e74b020d12.zip differ diff --git a/.yarn/cache/@smithy-util-retry-npm-4.2.10-9dc67222dd-1751c4f9ee.zip b/.yarn/cache/@smithy-util-retry-npm-4.2.10-9dc67222dd-1751c4f9ee.zip new file mode 100644 index 000000000..4bf29bfb3 Binary files /dev/null and b/.yarn/cache/@smithy-util-retry-npm-4.2.10-9dc67222dd-1751c4f9ee.zip differ diff --git a/.yarn/cache/@smithy-util-stream-npm-4.5.15-8d3869837a-c4030dc3f7.zip b/.yarn/cache/@smithy-util-stream-npm-4.5.15-8d3869837a-c4030dc3f7.zip new file mode 100644 index 000000000..557337413 Binary files /dev/null and b/.yarn/cache/@smithy-util-stream-npm-4.5.15-8d3869837a-c4030dc3f7.zip differ diff --git a/.yarn/cache/@smithy-util-uri-escape-npm-4.2.1-c995226753-1046718328.zip b/.yarn/cache/@smithy-util-uri-escape-npm-4.2.1-c995226753-1046718328.zip new file mode 100644 index 000000000..c32914228 Binary files /dev/null and b/.yarn/cache/@smithy-util-uri-escape-npm-4.2.1-c995226753-1046718328.zip differ diff --git a/.yarn/cache/@smithy-util-utf8-npm-2.3.0-9dcba0d35f-00e55d4b4e.zip b/.yarn/cache/@smithy-util-utf8-npm-2.3.0-9dcba0d35f-00e55d4b4e.zip new file mode 100644 index 000000000..754531dd6 Binary files /dev/null and b/.yarn/cache/@smithy-util-utf8-npm-2.3.0-9dcba0d35f-00e55d4b4e.zip differ diff --git a/.yarn/cache/@smithy-util-utf8-npm-4.2.1-e8f10ea8d0-8260212eb2.zip b/.yarn/cache/@smithy-util-utf8-npm-4.2.1-e8f10ea8d0-8260212eb2.zip new file mode 100644 index 000000000..bb26749d2 Binary files /dev/null and b/.yarn/cache/@smithy-util-utf8-npm-4.2.1-e8f10ea8d0-8260212eb2.zip differ diff --git a/.yarn/cache/@smithy-uuid-npm-1.1.1-0ca3804a5a-02c382f3b5.zip b/.yarn/cache/@smithy-uuid-npm-1.1.1-0ca3804a5a-02c382f3b5.zip new file mode 100644 index 000000000..476e512d9 Binary files /dev/null and b/.yarn/cache/@smithy-uuid-npm-1.1.1-0ca3804a5a-02c382f3b5.zip differ diff --git a/.yarn/cache/@types-whatwg-url-npm-8.2.2-54c5c24e6c-5dc5afe078.zip b/.yarn/cache/@types-whatwg-url-npm-8.2.2-54c5c24e6c-5dc5afe078.zip new file mode 100644 index 000000000..cc6d5fd22 Binary files /dev/null and b/.yarn/cache/@types-whatwg-url-npm-8.2.2-54c5c24e6c-5dc5afe078.zip differ diff --git a/.yarn/cache/bluebird-npm-3.5.1-f0d1499f67-0c4b4b93c1.zip b/.yarn/cache/bluebird-npm-3.5.1-f0d1499f67-0c4b4b93c1.zip deleted file mode 100644 index c223d26aa..000000000 Binary files a/.yarn/cache/bluebird-npm-3.5.1-f0d1499f67-0c4b4b93c1.zip and /dev/null differ diff --git a/.yarn/cache/bowser-npm-2.14.1-41eaeb0dd6-5a8b6272c5.zip b/.yarn/cache/bowser-npm-2.14.1-41eaeb0dd6-5a8b6272c5.zip new file mode 100644 index 000000000..947aa4009 Binary files /dev/null and b/.yarn/cache/bowser-npm-2.14.1-41eaeb0dd6-5a8b6272c5.zip differ diff --git a/.yarn/cache/bson-npm-4.7.2-77a08a4d01-f357d12c56.zip b/.yarn/cache/bson-npm-4.7.2-77a08a4d01-f357d12c56.zip new file mode 100644 index 000000000..1bf785838 Binary files /dev/null and b/.yarn/cache/bson-npm-4.7.2-77a08a4d01-f357d12c56.zip differ diff --git a/.yarn/cache/debug-npm-3.1.0-9f0accb99b-0b52718ab9.zip b/.yarn/cache/debug-npm-3.1.0-9f0accb99b-0b52718ab9.zip deleted file mode 100644 index f371b6125..000000000 Binary files a/.yarn/cache/debug-npm-3.1.0-9f0accb99b-0b52718ab9.zip and /dev/null differ diff --git a/.yarn/cache/fast-xml-parser-npm-5.3.6-2edf3ddf0f-62363dfe99.zip b/.yarn/cache/fast-xml-parser-npm-5.3.6-2edf3ddf0f-62363dfe99.zip new file mode 100644 index 000000000..270899349 Binary files /dev/null and b/.yarn/cache/fast-xml-parser-npm-5.3.6-2edf3ddf0f-62363dfe99.zip differ diff --git a/.yarn/cache/kareem-npm-2.3.2-b3c6b60e2e-61ee3adb27.zip b/.yarn/cache/kareem-npm-2.3.2-b3c6b60e2e-61ee3adb27.zip deleted file mode 100644 index 943283a7d..000000000 Binary files a/.yarn/cache/kareem-npm-2.3.2-b3c6b60e2e-61ee3adb27.zip and /dev/null differ diff --git a/.yarn/cache/kareem-npm-2.5.1-79134fb43e-b019a960a7.zip b/.yarn/cache/kareem-npm-2.5.1-79134fb43e-b019a960a7.zip new file mode 100644 index 000000000..3ca67b77f Binary files /dev/null and b/.yarn/cache/kareem-npm-2.5.1-79134fb43e-b019a960a7.zip differ diff --git a/.yarn/cache/mongodb-connection-string-url-npm-2.6.0-af011ba17f-1d662f0ecf.zip b/.yarn/cache/mongodb-connection-string-url-npm-2.6.0-af011ba17f-1d662f0ecf.zip new file mode 100644 index 000000000..6f9e3d5da Binary files /dev/null and b/.yarn/cache/mongodb-connection-string-url-npm-2.6.0-af011ba17f-1d662f0ecf.zip differ diff --git a/.yarn/cache/mongodb-npm-4.17.2-40d1286d70-483d91b9b7.zip b/.yarn/cache/mongodb-npm-4.17.2-40d1286d70-483d91b9b7.zip new file mode 100644 index 000000000..4e9319c5a Binary files /dev/null and b/.yarn/cache/mongodb-npm-4.17.2-40d1286d70-483d91b9b7.zip differ diff --git a/.yarn/cache/mongoose-legacy-pluralize-npm-1.0.2-2fbdda9a5a-8312c20882.zip b/.yarn/cache/mongoose-legacy-pluralize-npm-1.0.2-2fbdda9a5a-8312c20882.zip deleted file mode 100644 index e5def26e0..000000000 Binary files a/.yarn/cache/mongoose-legacy-pluralize-npm-1.0.2-2fbdda9a5a-8312c20882.zip and /dev/null differ diff --git a/.yarn/cache/mongoose-npm-5.13.23-bdb3046e15-229e8a50b0.zip b/.yarn/cache/mongoose-npm-5.13.23-bdb3046e15-229e8a50b0.zip deleted file mode 100644 index b66f907e4..000000000 Binary files a/.yarn/cache/mongoose-npm-5.13.23-bdb3046e15-229e8a50b0.zip and /dev/null differ diff --git a/.yarn/cache/mongoose-npm-6.13.9-418abadb5b-00688058e8.zip b/.yarn/cache/mongoose-npm-6.13.9-418abadb5b-00688058e8.zip new file mode 100644 index 000000000..b7cbf9368 Binary files /dev/null and b/.yarn/cache/mongoose-npm-6.13.9-418abadb5b-00688058e8.zip differ diff --git a/.yarn/cache/mpath-npm-0.8.4-52eedb1889-06ad1d4437.zip b/.yarn/cache/mpath-npm-0.9.0-e79cc94aea-1052f1f926.zip similarity index 55% rename from .yarn/cache/mpath-npm-0.8.4-52eedb1889-06ad1d4437.zip rename to .yarn/cache/mpath-npm-0.9.0-e79cc94aea-1052f1f926.zip index 3578c50c4..573b68f61 100644 Binary files a/.yarn/cache/mpath-npm-0.8.4-52eedb1889-06ad1d4437.zip and b/.yarn/cache/mpath-npm-0.9.0-e79cc94aea-1052f1f926.zip differ diff --git a/.yarn/cache/mquery-npm-3.2.5-4305c5382a-3f8c80c361.zip b/.yarn/cache/mquery-npm-3.2.5-4305c5382a-3f8c80c361.zip deleted file mode 100644 index d90dbdb9d..000000000 Binary files a/.yarn/cache/mquery-npm-3.2.5-4305c5382a-3f8c80c361.zip and /dev/null differ diff --git a/.yarn/cache/mquery-npm-4.0.3-993368e4d5-16a6887ba7.zip b/.yarn/cache/mquery-npm-4.0.3-993368e4d5-16a6887ba7.zip new file mode 100644 index 000000000..1015a07df Binary files /dev/null and b/.yarn/cache/mquery-npm-4.0.3-993368e4d5-16a6887ba7.zip differ diff --git a/.yarn/cache/optional-require-npm-1.0.3-2f124b03f7-113d376ee2.zip b/.yarn/cache/optional-require-npm-1.0.3-2f124b03f7-113d376ee2.zip deleted file mode 100644 index f9af0d780..000000000 Binary files a/.yarn/cache/optional-require-npm-1.0.3-2f124b03f7-113d376ee2.zip and /dev/null differ diff --git a/.yarn/cache/regexp-clone-npm-1.0.0-969a61b0d1-ca4960bbdc.zip b/.yarn/cache/regexp-clone-npm-1.0.0-969a61b0d1-ca4960bbdc.zip deleted file mode 100644 index 78f2c7785..000000000 Binary files a/.yarn/cache/regexp-clone-npm-1.0.0-969a61b0d1-ca4960bbdc.zip and /dev/null differ diff --git a/.yarn/cache/regexp-clone-npm-1.2.0-2a7b6cc4a1-5d6a40a11c.zip b/.yarn/cache/regexp-clone-npm-1.2.0-2a7b6cc4a1-5d6a40a11c.zip deleted file mode 100644 index 9b9dc3410..000000000 Binary files a/.yarn/cache/regexp-clone-npm-1.2.0-2a7b6cc4a1-5d6a40a11c.zip and /dev/null differ diff --git a/.yarn/cache/sift-npm-13.5.2-5c93d55c77-31951836c4.zip b/.yarn/cache/sift-npm-13.5.2-5c93d55c77-31951836c4.zip deleted file mode 100644 index aa35e590e..000000000 Binary files a/.yarn/cache/sift-npm-13.5.2-5c93d55c77-31951836c4.zip and /dev/null differ diff --git a/.yarn/cache/sift-npm-16.0.1-ad548f4923-5fe18a517a.zip b/.yarn/cache/sift-npm-16.0.1-ad548f4923-5fe18a517a.zip new file mode 100644 index 000000000..02309a02b Binary files /dev/null and b/.yarn/cache/sift-npm-16.0.1-ad548f4923-5fe18a517a.zip differ diff --git a/.yarn/cache/sliced-npm-1.0.1-5537b02c49-84528d2327.zip b/.yarn/cache/sliced-npm-1.0.1-5537b02c49-84528d2327.zip deleted file mode 100644 index 3caa1dc54..000000000 Binary files a/.yarn/cache/sliced-npm-1.0.1-5537b02c49-84528d2327.zip and /dev/null differ diff --git a/.yarn/cache/strnum-npm-2.1.2-ab87a75952-755e8327ee.zip b/.yarn/cache/strnum-npm-2.1.2-ab87a75952-755e8327ee.zip new file mode 100644 index 000000000..723fe4669 Binary files /dev/null and b/.yarn/cache/strnum-npm-2.1.2-ab87a75952-755e8327ee.zip differ diff --git a/.yarn/cache/tr46-npm-3.0.0-e1ae1ea7c9-44c3cc6767.zip b/.yarn/cache/tr46-npm-3.0.0-e1ae1ea7c9-44c3cc6767.zip new file mode 100644 index 000000000..e272ccb85 Binary files /dev/null and b/.yarn/cache/tr46-npm-3.0.0-e1ae1ea7c9-44c3cc6767.zip differ diff --git a/.yarn/cache/whatwg-url-npm-11.0.0-073529d93a-ed4826aaa5.zip b/.yarn/cache/whatwg-url-npm-11.0.0-073529d93a-ed4826aaa5.zip new file mode 100644 index 000000000..8da3cb7aa Binary files /dev/null and b/.yarn/cache/whatwg-url-npm-11.0.0-073529d93a-ed4826aaa5.zip differ diff --git a/config.development.yaml b/config.development.yaml index dccaf61c4..78ee6d2a1 100644 --- a/config.development.yaml +++ b/config.development.yaml @@ -2,7 +2,7 @@ services: - name: service-aletheia conf: port: 3000 - cors: '*' + cors: "*" debug: true websocketUrl: wss://testws.aletheiafact.org baseUrl: https://test.aletheiafact.org @@ -14,8 +14,6 @@ services: connection_uri: MONGODB_URI atlas: true options: - useUnifiedTopology: true - useNewUrlParser: true retryWrites: true w: majority throttle: @@ -25,7 +23,7 @@ services: ory: url: ORY_SDK_URL admin_url: ORY_SDK_URL - admin_endpoint: api/kratos/admin + admin_endpoint: api/kratos/admin access_token: ORY_ACCESS_TOKEN schema_id: ALETHEIA_SCHEMA_ID feature_flag: @@ -46,4 +44,3 @@ services: api_token: ZENVIA_API_TOKEN agencia: access_token: AGENCIA_ACCESS_TOKEN - diff --git a/config.example.yaml b/config.example.yaml index 1a8971098..588621017 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -15,8 +15,6 @@ services: connection_uri: mongodb://localhost/Aletheia type: mongodb options: - useUnifiedTopology: true - useNewUrlParser: true retryWrites: true w: majority throttle: diff --git a/config.production.yaml b/config.production.yaml index 2d5c66de9..4fea9bd00 100644 --- a/config.production.yaml +++ b/config.production.yaml @@ -2,7 +2,7 @@ services: - name: service-aletheia conf: port: 3000 - cors: '*' + cors: "*" websocketUrl: wss://ws.aletheiafact.org baseUrl: "https://aletheiafact.org" automatedFactCheckingAPIUrl: AGENTS_API_URL @@ -12,8 +12,6 @@ services: atlas: true connection_uri: MONGODB_URI options: - useUnifiedTopology: true - useNewUrlParser: true retryWrites: true w: majority throttle: @@ -23,7 +21,7 @@ services: ory: url: ORY_SDK_URL admin_url: ORY_SDK_URL - admin_endpoint: admin + admin_endpoint: admin access_token: ORY_ACCESS_TOKEN schema_id: ALETHEIA_SCHEMA_ID feature_flag: diff --git a/config.seed.example.yaml b/config.seed.example.yaml index 642452fb6..42d1c495b 100644 --- a/config.seed.example.yaml +++ b/config.seed.example.yaml @@ -3,16 +3,14 @@ services: conf: app_affiliation: aletheia web_url: https://test.aletheiafact.org - smtp_host: {env(SMTP_CLIENT_HOST)} - smtp_port: {env(SMTP_CLIENT_PORT)} + smtp_host: { env(SMTP_CLIENT_HOST) } + smtp_port: { env(SMTP_CLIENT_PORT) } smtp_secure: true - smtp_email_user: {env(SMTP_EMAIL_USER)} + smtp_email_user: { env(SMTP_EMAIL_USER) } db: connection_uri: MONGODB_URI type: mongodb options: - useUnifiedTopology: true - useNewUrlParser: true retryWrites: true w: majority users: diff --git a/config.seed.test.ci.yaml b/config.seed.test.ci.yaml index e0dc08826..175d0d76b 100644 --- a/config.seed.test.ci.yaml +++ b/config.seed.test.ci.yaml @@ -3,25 +3,21 @@ services: conf: disable_smtp: true db: - connection_uri: {env(CI_MONGODB_URI)} + connection_uri: { env(CI_MONGODB_URI) } type: mongodb options: - useUnifiedTopology: true - useNewUrlParser: true retryWrites: true w: majority users: - name: Test User email: test-cypress@aletheiafact.org - password: {env(CI_ORY_USER_PASSWORD)} + password: { env(CI_ORY_USER_PASSWORD) } sendAuthDetails: false isTestUser: true - # If running locally and the seed fails, + # If running locally and the seed fails, # check the user's oryId at the link below. http://localhost:4434/admin/identities # oryId: {env(CI_ORY_USERID)} - role: { - main: super-admin - } + role: { main: super-admin } throttle: ttl: 60 limit: 1000 @@ -34,11 +30,11 @@ services: # access_token: {env(ORY_ACCESS_TOKEN)} # schema_id: {env(ALETHEIA_SCHEMA_ID)} feature_flag: - url: {env(GITLAB_FEATURE_FLAG_URL)} + url: { env(GITLAB_FEATURE_FLAG_URL) } appName: Staging - instanceId: {env(GITLAB_FEATURE_FLAG_INSTANCE_ID)} + instanceId: { env(GITLAB_FEATURE_FLAG_INSTANCE_ID) } openai: - api_key: {env(OPENAI_API_KEY)} + api_key: { env(OPENAI_API_KEY) } zenvia: - api_url: {env(ZENVIA_API_URL)} - api_token: {env(ZENVIA_API_TOKEN)} + api_url: { env(ZENVIA_API_URL) } + api_token: { env(ZENVIA_API_TOKEN) } diff --git a/config.test.ci.yaml b/config.test.ci.yaml index 22c7d75e6..41f38136a 100644 --- a/config.test.ci.yaml +++ b/config.test.ci.yaml @@ -2,17 +2,15 @@ services: - name: ci-aletheia-server conf: port: 3000 - cors: '*' + cors: "*" debug: true websocketUrl: ws://localhost:5001 - recaptcha_secret: {env(TEST_RECAPTCHA_SECRET)} - recaptcha_sitekey: {env(TEST_RECAPTCHA_SITEKEY)} + recaptcha_secret: { env(TEST_RECAPTCHA_SECRET) } + recaptcha_sitekey: { env(TEST_RECAPTCHA_SITEKEY) } db: - connection_uri: {env(CI_MONGODB_URI)} + connection_uri: { env(CI_MONGODB_URI) } type: mongodb options: - useUnifiedTopology: true - useNewUrlParser: true retryWrites: true w: majority throttle: @@ -27,17 +25,17 @@ services: # access_token: {env(ORY_ACCESS_TOKEN)} # schema_id: {env(ALETHEIA_SCHEMA_ID)} feature_flag: - url: {env(GITLAB_FEATURE_FLAG_URL)} + url: { env(GITLAB_FEATURE_FLAG_URL) } appName: Staging - instanceId: {env(GITLAB_FEATURE_FLAG_INSTANCE_ID)} + instanceId: { env(GITLAB_FEATURE_FLAG_INSTANCE_ID) } aws: - bucket: {env(AWS_SDK_BUCKET)} - accessKeyId: {env(AWS_ACCESS_KEY_ID)} - secretAccessKey: {env(AWS_SECRET_ACCESS_KEY)} + bucket: { env(AWS_SDK_BUCKET) } + accessKeyId: { env(AWS_ACCESS_KEY_ID) } + secretAccessKey: { env(AWS_SECRET_ACCESS_KEY) } openai: - api_key: {env(OPENAI_API_KEY)} + api_key: { env(OPENAI_API_KEY) } zenvia: - api_url: {env(ZENVIA_API_URL)} - api_token: {env(ZENVIA_API_TOKEN)} + api_url: { env(ZENVIA_API_URL) } + api_token: { env(ZENVIA_API_TOKEN) } agencia: - access_token: {env(AGENCIA_ACCESS_TOKEN)} + access_token: { env(AGENCIA_ACCESS_TOKEN) } diff --git a/deployment/config/config-file/modules/database/mongodb.pkl b/deployment/config/config-file/modules/database/mongodb.pkl index 5b895ac4c..9a89c977b 100644 --- a/deployment/config/config-file/modules/database/mongodb.pkl +++ b/deployment/config/config-file/modules/database/mongodb.pkl @@ -2,8 +2,6 @@ atlas = false type = "mongodb" connection_uri = read("env:MONGODB_URI") options = new { - useUnifiedTopology = true - useNewUrlParser = true retryWrites = true w = "majority" } diff --git a/migrate-mongo-config-example.ts b/migrate-mongo-config-example.ts index 9dd49b7df..414edb9f5 100644 --- a/migrate-mongo-config-example.ts +++ b/migrate-mongo-config-example.ts @@ -8,8 +8,6 @@ const config = { databaseName: "MONGODB_NAME", options: { - useNewUrlParser: true, // removes a deprecation warning when connecting - useUnifiedTopology: true, // removes a deprecating warning when connecting // connectTimeoutMS: 3600000, // increase connection timeout to 1 hour // socketTimeoutMS: 3600000, // increase socket timeout to 1 hour }, diff --git a/package.json b/package.json index 822efb117..ca56e3245 100644 --- a/package.json +++ b/package.json @@ -144,7 +144,7 @@ "moment": "^2.30.1", "mongodb": "^6.8.0", "mongodb-memory-server": "^10.0.0", - "mongoose": "^ 5.13.15", + "mongoose": "6.13.9", "mongoose-softdelete-typescript": "^0.0.3", "nestjs-unleash": "^2.2.3", "newrelic": "^11.5.0", diff --git a/server/auth/name-space/name-space.controller.ts b/server/auth/name-space/name-space.controller.ts index 697062929..8ed1ffd0a 100644 --- a/server/auth/name-space/name-space.controller.ts +++ b/server/auth/name-space/name-space.controller.ts @@ -18,7 +18,7 @@ import { ViewService } from "../../view/view.service"; import { CreateNameSpaceDTO } from "./dto/create-namespace.dto"; import { UpdateNameSpaceDTO } from "./dto/update-name-space.dto"; import { AdminOnly } from "../decorators/auth.decorator"; -import { Types } from "mongoose"; +import { Types, UpdateWriteOpResult } from "mongoose"; import { Roles } from "../../auth/ability/ability.factory"; import { NotificationService } from "../../notifications/notifications.service"; import slugify from "slugify"; @@ -31,7 +31,7 @@ export class NameSpaceController { private usersService: UsersService, private viewService: ViewService, private notificationService: NotificationService, - private configService: ConfigService, + private configService: ConfigService ) {} @AdminOnly() @@ -85,9 +85,7 @@ export class NameSpaceController { @AdminOnly() @ApiTags("name-space") @Get("api/name-space") - async findAllOrFiltered( - @Query("userId") userId?: string, - ) { + async findAllOrFiltered(@Query("userId") userId?: string) { if (userId) { return this.nameSpaceService.findByUser(userId); } @@ -103,21 +101,18 @@ export class NameSpaceController { const users = await this.usersService.findAll({}); const parsedUrl = parse(req.url, true); - const query = Object.assign( - parsedUrl.query, - { - sitekey: this.configService.get("recaptcha_sitekey"), - nameSpaces, - users - } - ); + const query = Object.assign(parsedUrl.query, { + sitekey: this.configService.get("recaptcha_sitekey"), + nameSpaces, + users, + }); await this.viewService.render(req, res, "/admin-namespaces", query); } private async updateNameSpaceUsers(users, newKey, oldKey = null) { const promises = users.map(async (user) => { - const userId = Types.ObjectId(user._id); + const userId = new Types.ObjectId(user._id); const existingUser = await this.usersService.getById(userId); let updatedRoles = { ...existingUser.role }; @@ -163,7 +158,7 @@ export class NameSpaceController { private async deleteUsersNameSpace(usersId, key) { const updatePromises = usersId.map(async (userId) => { - const id = Types.ObjectId(userId); + const id = new Types.ObjectId(userId); const user = await this.usersService.getById(id); delete user.role[key]; return this.usersService.updateUser(user._id, { role: user.role }); diff --git a/server/auth/name-space/name-space.service.ts b/server/auth/name-space/name-space.service.ts index a11ea813b..6c13e9b5a 100644 --- a/server/auth/name-space/name-space.service.ts +++ b/server/auth/name-space/name-space.service.ts @@ -38,7 +38,10 @@ export class NameSpaceService { return newNameSpace; } - async update(id, newNameSpace: UpdateNameSpaceDTO) { + async update( + id, + newNameSpace: UpdateNameSpaceDTO + ): Promise { const isNameSpaceTopic = await this.notificationService.getTopic( newNameSpace._id ); @@ -50,7 +53,7 @@ export class NameSpaceService { isNameSpaceTopic ); - return await this.NameSpaceModel.updateOne( + return await this.NameSpaceModel.findByIdAndUpdate( { _id: newNameSpace._id }, newNameSpace ); diff --git a/server/badge/badge.controller.ts b/server/badge/badge.controller.ts index 8490f40d0..e13aeb3d9 100644 --- a/server/badge/badge.controller.ts +++ b/server/badge/badge.controller.ts @@ -1,12 +1,4 @@ -import { - Body, - Controller, - Get, - Post, - Put, - Req, - Res, -} from "@nestjs/common"; +import { Body, Controller, Get, Post, Put, Req, Res } from "@nestjs/common"; import type { Request, Response } from "express"; import { ImageService } from "../claim/types/image/image.service"; import { parse } from "url"; @@ -30,7 +22,7 @@ export class BadgeController { private imageService: ImageService, private usersService: UsersService, private util: UtilService, - private configService: ConfigService, + private configService: ConfigService ) {} @AdminOnly() @@ -70,14 +62,14 @@ export class BadgeController { if (!rest.image._id) { const image = await this.imageService.create(rest.image); - rest.image = Types.ObjectId(image._id); + rest.image = new Types.ObjectId(image._id); } const updatedBadge = await this.badgeService.update(rest); updatedBadge.image = rest.image; const usersWithBadge = await this.usersService.findAll({ - badges: Types.ObjectId(updatedBadge._id), + badges: new Types.ObjectId(updatedBadge._id), }); // Remove badge from users that no longer have it @@ -116,7 +108,8 @@ export class BadgeController { if ( !user.badges?.some( (userBadge) => - userBadge._id !== Types.ObjectId(updatedBadge._id) + userBadge._id !== + new Types.ObjectId(updatedBadge._id) ) ) { this.usersService.updateUser(user._id, { diff --git a/server/badge/badge.service.ts b/server/badge/badge.service.ts index 169293fb4..004408c9d 100644 --- a/server/badge/badge.service.ts +++ b/server/badge/badge.service.ts @@ -13,7 +13,7 @@ export class BadgeService { async create(badge) { const newBadge = new this.BadgeModel({ ...badge, - image: Types.ObjectId(badge.image._id), + image: new Types.ObjectId(badge.image._id), }); return await newBadge.save(); } @@ -22,7 +22,7 @@ export class BadgeService { const { image, ...updatedFields } = badge; const controlledBadge = { ...updatedFields, - image: Types.ObjectId(badge.image._id), + image: new Types.ObjectId(badge.image._id), }; const updatedBadge = this.BadgeModel.findByIdAndUpdate( badge._id, diff --git a/server/chat-bot-state/chat-bot-state.service.ts b/server/chat-bot-state/chat-bot-state.service.ts index 71275506a..b7fc956c1 100644 --- a/server/chat-bot-state/chat-bot-state.service.ts +++ b/server/chat-bot-state/chat-bot-state.service.ts @@ -29,7 +29,7 @@ export class ChatBotStateService { return await this.ChatBotStateModel.findByIdAndUpdate( id, { machine: snapshot }, - { new: true, useFindAndModify: false } + { new: true } ).exec(); } diff --git a/server/claim-review/claim-review.service.ts b/server/claim-review/claim-review.service.ts index 9e1b37462..df669f9ea 100644 --- a/server/claim-review/claim-review.service.ts +++ b/server/claim-review/claim-review.service.ts @@ -247,17 +247,19 @@ export class ClaimReviewService { */ async create(claimReview, data_hash, reportModel) { if (claimReview.personality) { - claimReview.personality = Types.ObjectId(claimReview.personality); + claimReview.personality = new Types.ObjectId( + claimReview.personality + ); } if (claimReview.target) { - claimReview.target = Types.ObjectId(claimReview.target); + claimReview.target = new Types.ObjectId(claimReview.target); } claimReview.usersId = claimReview.report.usersId.map((userId) => { - return Types.ObjectId(userId); + return new Types.ObjectId(userId); }); - claimReview.report = Types.ObjectId(claimReview.report._id); + claimReview.report = new Types.ObjectId(claimReview.report._id); claimReview.data_hash = data_hash; claimReview.reportModel = reportModel; claimReview.date = new Date(); @@ -334,10 +336,14 @@ export class ClaimReviewService { return this.ClaimReviewModel.softDelete({ _id: claimReviewId }); } - async hideOrUnhideReview(_id, hide, description) { + async hideOrUnhideReview( + _id, + hide, + description + ): Promise { const review = await this.getById(_id); const newReview = { - ...review.toObject(), + ...review, ...{ report: review?.report?._id, isHidden: hide, @@ -360,7 +366,10 @@ export class ClaimReviewService { ); this.historyService.createHistory(history); - return this.ClaimReviewModel.updateOne({ _id: review._id }, newReview); + return this.ClaimReviewModel.findByIdAndUpdate( + { _id: review._id }, + newReview + ); } private async postProcess(review) { diff --git a/server/claim-review/schemas/claim-review.schema.ts b/server/claim-review/schemas/claim-review.schema.ts index 18fb99475..1e2bdc21b 100644 --- a/server/claim-review/schemas/claim-review.schema.ts +++ b/server/claim-review/schemas/claim-review.schema.ts @@ -1,17 +1,18 @@ import { Prop, Schema, SchemaFactory } from "@nestjs/mongoose"; import { Personality } from "../../personality/mongo/schemas/personality.schema"; import * as mongoose from "mongoose"; -import { Claim } from "../../claim/schemas/claim.schema"; import { softDeletePlugin } from "mongoose-softdelete-typescript"; import type { ReportDocument } from "../../report/schemas/report.schema"; -import { User } from "../../users/schemas/user.schema"; import { ReportModelEnum } from "../../types/enums"; import { NameSpaceEnum } from "../../auth/name-space/schemas/name-space.schema"; -import { Source } from "../../source/schemas/source.schema"; export type ClaimReviewDocument = ClaimReview & mongoose.Document; -@Schema({ toObject: { virtuals: true }, toJSON: { virtuals: true }, timestamps: true }) +@Schema({ + toObject: { virtuals: true }, + toJSON: { virtuals: true }, + timestamps: true, +}) export class ClaimReview { @Prop({ type: mongoose.Types.ObjectId, @@ -28,11 +29,11 @@ export class ClaimReview { target: mongoose.Types.ObjectId; @Prop({ - type: mongoose.Types.ObjectId, + type: [mongoose.Schema.Types.ObjectId], required: true, ref: "User", }) - usersId: User[]; + usersId: mongoose.Types.ObjectId[]; @Prop({ required: true }) data_hash: string; diff --git a/server/claim/claim-revision/claim-revision.service.ts b/server/claim/claim-revision/claim-revision.service.ts index 0adc82c68..52b82e79c 100644 --- a/server/claim/claim-revision/claim-revision.service.ts +++ b/server/claim/claim-revision/claim-revision.service.ts @@ -70,7 +70,7 @@ export class ClaimRevisionService { strict: true, // strip special characters except replacement, defaults to `false` }); const newClaimRevision = new this.ClaimRevisionModel(claim); - const newclaimRevisionId = Types.ObjectId(newClaimRevision._id); + const newclaimRevisionId = new Types.ObjectId(newClaimRevision._id); newClaimRevision.contentId = await this._createContentModel( claim, diff --git a/server/claim/claim.controller.ts b/server/claim/claim.controller.ts index b342970b1..1c8aed139 100644 --- a/server/claim/claim.controller.ts +++ b/server/claim/claim.controller.ts @@ -224,10 +224,10 @@ export class ClaimController { let newSpeech; const claimRevision = await this.claimRevisionService.getByContentId( - Types.ObjectId(debateId) + new Types.ObjectId(debateId) ); - const claimRevisionId = Types.ObjectId(claimRevision._id); + const claimRevisionId = new Types.ObjectId(claimRevision._id); if (content && personality) { newSpeech = await this.parserService.parse( diff --git a/server/claim/claim.service.ts b/server/claim/claim.service.ts index abd8dba5d..547136cfc 100644 --- a/server/claim/claim.service.ts +++ b/server/claim/claim.service.ts @@ -55,7 +55,7 @@ export class ClaimService { async listAll(page, pageSize, order, query) { if (!query.isHidden && query.personalities) { // Modify query.personalities only if isHidden is false - query.personalities = Types.ObjectId(query.personalities); + query.personalities = new Types.ObjectId(query.personalities); } const claims = await this.ClaimModel.find(query) @@ -133,11 +133,11 @@ export class ClaimService { */ async create(claim) { claim.personalities = claim.personalities.map((personality) => { - return Types.ObjectId(personality); + return new Types.ObjectId(personality); }); if (claim.group) { - claim.group = Types.ObjectId(claim.group); + claim.group = new Types.ObjectId(claim.group); } const newClaim = new this.ClaimModel(claim); @@ -240,7 +240,11 @@ export class ClaimService { return this.ClaimModel.softDelete({ _id: claimId }); } - async hideOrUnhideClaim(claimId, isHidden, description) { + async hideOrUnhideClaim( + claimId, + isHidden, + description + ): Promise { try { const claim = await this.ClaimModel.findById(claimId); @@ -249,7 +253,7 @@ export class ClaimService { } const newClaim = { - ...claim.toObject(), + ...claim, isHidden, }; @@ -266,7 +270,7 @@ export class ClaimService { ); this.historyService.createHistory(history); - return await this.ClaimModel.updateOne( + return await this.ClaimModel.findByIdAndUpdate( { _id: claim._id }, newClaim ); diff --git a/server/claim/parser/parser.service.spec.ts b/server/claim/parser/parser.service.spec.ts index a66b84242..f970f2433 100644 --- a/server/claim/parser/parser.service.spec.ts +++ b/server/claim/parser/parser.service.spec.ts @@ -14,21 +14,21 @@ import { CleanupDatabase } from "../../tests/utils/CleanupDatabase"; /** * ParserService Unit Test Suite - * + * * Tests the claim text parsing service that converts unstructured text into * structured speech components (paragraphs and sentences) for fact-checking analysis. - * + * * Business Context: * The parser service is responsible for breaking down claim text into analyzable * components. It handles various text structures including multi-paragraph content, * music lyrics with complex punctuation, and academic text with abbreviations. - * + * * Core Functionality: * - Text segmentation into paragraphs and sentences * - Sentence boundary detection with abbreviation handling * - Speech object creation with nested content structure * - Database integration for persistent storage - * + * * Data Flow: * 1. Raw claim text → paragraph splitting → sentence tokenization * 2. Speech object creation → paragraph/sentence entities → database persistence @@ -42,7 +42,7 @@ describe("ParserService", () => { beforeAll(async () => { // Use shared MongoDB instance from global setup const mongoUri = process.env.MONGO_URI!; - + // Update the test config with the actual MongoDB URI const testConfig = { ...TestConfigOptions.config, @@ -73,19 +73,19 @@ describe("ParserService", () => { describe("parse()", () => { /** * Test: Basic Claim Parsing - Multi-paragraph Text Structure - * + * * Purpose: Validates parsing of standard multi-paragraph claim text * Business Logic: * - Splits text on double newlines to identify paragraphs * - Tokenizes each paragraph into individual sentences * - Creates hierarchical speech → paragraphs → sentences structure * - Persists entities to database with proper relationships - * + * * Test Data: * - 2 paragraphs separated by \n\n * - First paragraph: 3 sentences (with Latin text) * - Second paragraph: 4 sentences (with Latin text) - * + * * Validates: * - Correct paragraph count (2) * - Correct sentence count per paragraph (3, 4) @@ -96,16 +96,17 @@ describe("ParserService", () => { const claimText = "Pellentesque auctor neque nec urna. Nulla facilisi. Praesent nec nisl a purus blandit viverra." + "\n\nNam at tortor in tellus interdum sagittis. Ut leo. Praesent adipiscing. Curabitur nisi."; - const parseOutput = await ( - await parserService.parse(claimText, claimRevisionIdMock) - ) - .populate({ + const parseOutput: any = await parserService.parse( + claimText, + claimRevisionIdMock + ); + + await parseOutput.populate({ + path: "content", + populate: { path: "content", - populate: { - path: "content", - }, - }) - .execPopulate(); + }, + }); const paragraphs = parseOutput.content; expect(Array.isArray(paragraphs)).toBe(true); @@ -116,19 +117,19 @@ describe("ParserService", () => { /** * Test: Complex Music Text Parsing - Lyrics with Dense Punctuation - * + * * Purpose: Validates parsing of complex text with irregular punctuation patterns * Business Logic: * - Handles text with dense punctuation (music lyrics, poetry) * - Manages complex sentence boundaries in artistic content * - Maintains parser robustness with non-standard text structures * - Processes long continuous text blocks - * + * * Test Data: * - Music lyrics from external file (claim_music.txt) * - Complex punctuation patterns and line breaks * - Single paragraph with 46 sentences - * + * * Validates: * - Parser doesn't fail on complex punctuation * - Correct paragraph segmentation (1 paragraph) @@ -140,18 +141,18 @@ describe("ParserService", () => { `${__dirname}/test-fixtures/claim_music.txt`, "utf-8" ); - const parseOutput = ( - await ( - await parserService.parse(claimText, claimRevisionIdMock) - ) - .populate({ - path: "content", - populate: { - path: "content", - }, - }) - .execPopulate() - ).toObject(); + const parseOutput: any = await parserService.parse( + claimText, + claimRevisionIdMock + ); + + await parseOutput.populate({ + path: "content", + populate: { + path: "content", + }, + }); + const paragraphs = parseOutput.content; expect(paragraphs.length).toEqual(1); expect(paragraphs[0].content.length).toEqual(46); @@ -159,18 +160,18 @@ describe("ParserService", () => { /** * Test: Schema Compliance - Speech Object Structure Validation - * + * * Purpose: Validates that parsed output conforms to expected data schema * Business Logic: * - Ensures consistent object structure across all parsing operations * - Validates required properties and data types * - Confirms proper speech object classification * - Maintains API contract for downstream consumers - * + * * Test Data: * - Simple text with paragraph break ("Nulla facilisi.\n\nUt leo.") * - Minimal content to focus on structure validation - * + * * Validates: * - Required properties present (content, type) * - Correct type classification ("speech") @@ -179,18 +180,18 @@ describe("ParserService", () => { */ it("parsed object conforms to schema", async () => { const claimText = "Nulla facilisi.\n\nUt leo."; - const parseOutput = ( - await ( - await parserService.parse(claimText, claimRevisionIdMock) - ) - .populate({ - path: "content", - populate: { - path: "content", - }, - }) - .execPopulate() - ).toObject(); + const parseOutput: any = await parserService.parse( + claimText, + claimRevisionIdMock + ); + + await parseOutput.populate({ + path: "content", + populate: { + path: "content", + }, + }); + expect(Object.keys(parseOutput)).toEqual( expect.arrayContaining(["content", "type"]) ); @@ -199,19 +200,19 @@ describe("ParserService", () => { /** * Test: Abbreviation Handling - Ph.D. Degree Title Recognition - * + * * Purpose: Validates proper handling of academic abbreviations with periods * Business Logic: * - Recognizes "Ph.D." as abbreviation, not sentence terminator * - Prevents incorrect sentence segmentation on academic titles * - Maintains text cohesion for educational and professional content * - Handles multiple abbreviation instances in single sentence - * + * * Test Data: * - Text with multiple "Ph.D." instances * - "Jose is Ph.D. and Maria is a Ph.D." * - Expected: single sentence, not multiple sentences - * + * * Validates: * - Single paragraph creation (1) * - Single sentence preservation (1) @@ -220,16 +221,18 @@ describe("ParserService", () => { */ it("Ph.D word is not confused with end of sentence", async () => { const claimText = "Jose is Ph.D. and Maria is a Ph.D."; - const parseOutput = await ( - await parserService.parse(claimText, claimRevisionIdMock) - ) - .populate({ + const parseOutput: any = await parserService.parse( + claimText, + claimRevisionIdMock + ); + + await parseOutput.populate({ + path: "content", + populate: { path: "content", - populate: { - path: "content", - }, - }) - .execPopulate(); + }, + }); + const paragraphs = parseOutput.content; expect(paragraphs.length).toEqual(1); expect(paragraphs[0].content.length).toEqual(1); @@ -237,19 +240,19 @@ describe("ParserService", () => { /** * Test: Title Prefix Handling - Common Honorifics and Abbreviations - * + * * Purpose: Validates recognition of common title prefixes and abbreviations * Business Logic: * - Recognizes Mr., Mrs., Ms., Dr., St. as abbreviations * - Prevents sentence fragmentation on common titles * - Maintains natural text flow in formal content * - Handles multiple prefixes in complex sentences - * + * * Test Data: * - Text with multiple title prefixes * - "Mr. Jose and Mrs. Maria lives in St. Monica with Ms. Butterfly their Dr. of the year" * - Expected: single coherent sentence - * + * * Validates: * - Single paragraph creation (1) * - Single sentence preservation (1) @@ -259,16 +262,18 @@ describe("ParserService", () => { it("Prefixes are not confused with end of sentence", async () => { const claimText = "Mr. Jose and Mrs. Maria lives in St. Monica with Ms. Butterfly their Dr. of the year"; - const parseOutput = await ( - await parserService.parse(claimText, claimRevisionIdMock) - ) - .populate({ + const parseOutput: any = await parserService.parse( + claimText, + claimRevisionIdMock + ); + + await parseOutput.populate({ + path: "content", + populate: { path: "content", - populate: { - path: "content", - }, - }) - .execPopulate(); + }, + }); + const paragraphs = parseOutput.content; expect(paragraphs.length).toEqual(1); expect(paragraphs[0].content.length).toEqual(1); diff --git a/server/claim/parser/parser.service.ts b/server/claim/parser/parser.service.ts index fa91b83eb..ed688dd54 100644 --- a/server/claim/parser/parser.service.ts +++ b/server/claim/parser/parser.service.ts @@ -66,7 +66,7 @@ export class ParserService { }); if (personality) { - personality = Types.ObjectId(personality); + personality = new Types.ObjectId(personality); } return await Promise.all(result).then( diff --git a/server/claim/types/image/image.service.ts b/server/claim/types/image/image.service.ts index 554b69300..0defffb7e 100644 --- a/server/claim/types/image/image.service.ts +++ b/server/claim/types/image/image.service.ts @@ -76,7 +76,11 @@ export class ImageService { } } - async updateImageWithTopics(topics, data_hash) { + async updateImageWithTopics(topics, data_hash): Promise { + if (!Array.isArray(topics)) { + throw new BadRequestException("Invalid topics array."); + } + const image = await this.getByDataHash(data_hash); const newImage = { @@ -84,6 +88,6 @@ export class ImageService { topics, }; - return this.ImageModel.updateOne({ _id: image._id }, newImage); + return this.ImageModel.findByIdAndUpdate({ _id: image._id }, newImage); } } diff --git a/server/claim/types/sentence/sentence.service.ts b/server/claim/types/sentence/sentence.service.ts index 607a40575..42617cbea 100644 --- a/server/claim/types/sentence/sentence.service.ts +++ b/server/claim/types/sentence/sentence.service.ts @@ -3,7 +3,7 @@ import { Injectable, NotFoundException, } from "@nestjs/common"; -import { Model } from "mongoose"; +import { Model, PipelineStage } from "mongoose"; import { SentenceDocument, Sentence } from "./schemas/sentence.schema"; import { InjectModel } from "@nestjs/mongoose"; import { ReportService } from "../../../report/report.service"; @@ -105,13 +105,16 @@ export class SentenceService { } } - async updateSentenceWithTopics(topics, data_hash) { + async updateSentenceWithTopics( + topics, + data_hash + ): Promise { const sentence = await this.getByDataHash(data_hash); if (!Array.isArray(topics)) { throw new BadRequestException("Invalid topics array."); } - return this.SentenceModel.updateOne( + return this.SentenceModel.findByIdAndUpdate( { _id: sentence._id }, { $set: { topics } } ); @@ -124,7 +127,7 @@ export class SentenceService { filter, nameSpace, }: FindAllOptionsFilters) { - let pipeline: object[] = []; + let pipeline: PipelineStage[] = []; if (searchText) { pipeline.push({ diff --git a/server/editor/editor.service.ts b/server/editor/editor.service.ts index 587bb74ac..78c93ff8c 100644 --- a/server/editor/editor.service.ts +++ b/server/editor/editor.service.ts @@ -19,8 +19,8 @@ export class EditorService { } async updateByReference(reference, editorContentObject) { - const editor = await this.EditorModel.updateOne( - { reference: Types.ObjectId(reference) }, + const editor = await this.EditorModel.findByIdAndUpdate( + { reference: new Types.ObjectId(reference) }, { $set: { editorContentObject } } ); return editor; diff --git a/server/group/group.service.ts b/server/group/group.service.ts index 7dd278065..9ccb397cc 100644 --- a/server/group/group.service.ts +++ b/server/group/group.service.ts @@ -72,7 +72,7 @@ export class GroupService { return this.GroupModel.findByIdAndUpdate( group._id, - { targetId: Types.ObjectId(targetId) }, + { targetId: new Types.ObjectId(targetId) }, { new: true } ); } diff --git a/server/history/history.service.ts b/server/history/history.service.ts index 8bf051cf6..24110a6d2 100644 --- a/server/history/history.service.ts +++ b/server/history/history.service.ts @@ -1,7 +1,12 @@ import { Injectable, Logger } from "@nestjs/common"; import { InjectModel } from "@nestjs/mongoose"; import { Model, Types, isValidObjectId } from "mongoose"; -import { History, HistoryDocument, HistoryType, TargetModel } from "./schema/history.schema"; +import { + History, + HistoryDocument, + HistoryType, + TargetModel, +} from "./schema/history.schema"; import { AfterAndBeforeType, HEX24, @@ -55,16 +60,15 @@ export class HistoryService { } const date = new Date(); - const targetId = Types.ObjectId(dataId); + const targetId = new Types.ObjectId(dataId); let currentPerformedBy = null; if (typeof performedBy === "string" && HEX24.test(performedBy)) { - currentPerformedBy = Types.ObjectId(performedBy); + currentPerformedBy = new Types.ObjectId(performedBy); } else { currentPerformedBy = performedBy; } - return { targetId: targetId, targetModel, @@ -100,7 +104,7 @@ export class HistoryService { const order = query.order === "desc" ? -1 : 1; const mongoQuery: HistoryItem = { - targetId: Types.ObjectId(targetId), + targetId: new Types.ObjectId(targetId), targetModel, }; if (query.type && query.type.length > 0) { @@ -144,11 +148,16 @@ export class HistoryService { $match: { $expr: { $and: [ - { $eq: [{ $type: "$$userId" }, "objectId"] }, - { $eq: ["$_id", "$$userId"] } - ] - } - } + { + $eq: [ + { $type: "$$userId" }, + "objectId", + ], + }, + { $eq: ["$_id", "$$userId"] }, + ], + }, + }, }, { $project: { _id: 1, name: 1 } }, ], @@ -177,12 +186,16 @@ export class HistoryService { if (!content?._id || !content?.isHidden) { return ""; } - const { history } = await this.getHistoryForTarget(content._id, target, { - page: 0, - pageSize: 1, - order: "desc", - type: [HistoryType.Hide], - }); + const { history } = await this.getHistoryForTarget( + content._id, + target, + { + page: 0, + pageSize: 1, + order: "desc", + type: [HistoryType.Hide], + } + ); return history[0]?.details?.after?.description || ""; } diff --git a/server/main.ts b/server/main.ts index adfa0d7d3..d2427d6bc 100644 --- a/server/main.ts +++ b/server/main.ts @@ -77,8 +77,6 @@ async function initApp() { const document = SwaggerModule.createDocument(app, config); SwaggerModule.setup("api", app, document); - mongoose.set("useCreateIndex", true); - app.useGlobalPipes( new ValidationPipe({ transform: true, diff --git a/server/personality/mongo/personality.service.ts b/server/personality/mongo/personality.service.ts index 076096baa..25a32df7c 100644 --- a/server/personality/mongo/personality.service.ts +++ b/server/personality/mongo/personality.service.ts @@ -436,7 +436,11 @@ export class MongoPersonalityService { return personalityUpdate; } - async hideOrUnhidePersonality(personalityId, isHidden, description) { + async hideOrUnhidePersonality( + personalityId, + isHidden, + description + ): Promise { const personality = await this.getById(personalityId); const newPersonality = { @@ -457,7 +461,7 @@ export class MongoPersonalityService { ); this.historyService.createHistory(history); - return this.PersonalityModel.updateOne( + return this.PersonalityModel.findByIdAndUpdate( { _id: personality._id }, newPersonality ); diff --git a/server/review-task/comment/comment.service.ts b/server/review-task/comment/comment.service.ts index 2cee64483..7049828b6 100644 --- a/server/review-task/comment/comment.service.ts +++ b/server/review-task/comment/comment.service.ts @@ -13,7 +13,7 @@ export class CommentService { ) {} async create(comment) { - comment.user = Types.ObjectId(comment.user); + comment.user = new Types.ObjectId(comment.user); const [user, newComment] = await Promise.all([ this.usersService.getById(comment.user), new this.CommentModel(comment).save(), @@ -37,7 +37,7 @@ export class CommentService { comment.user || existingComment.user ); const replies = comment.replies - ? comment?.replies?.map((reply) => Types.ObjectId(reply?._id)) + ? comment?.replies?.map((reply) => new Types.ObjectId(reply?._id)) : existingComment.replies; const updatedComment = await this.CommentModel.findByIdAndUpdate( @@ -64,7 +64,7 @@ export class CommentService { targetId: existingComment._id, }); - existingComment.replies.push(newComment._id); + existingComment.replies.push(newComment._id as Types.ObjectId); await this.CommentModel.updateOne( { _id: existingComment._id }, diff --git a/server/review-task/comment/schema/comment.schema.ts b/server/review-task/comment/schema/comment.schema.ts index 7a528fe36..4eb69593c 100644 --- a/server/review-task/comment/schema/comment.schema.ts +++ b/server/review-task/comment/schema/comment.schema.ts @@ -9,7 +9,11 @@ export enum CommentEnum { review = "review", } -@Schema({ toObject: { virtuals: true }, toJSON: { virtuals: true }, timestamps: true }) +@Schema({ + toObject: { virtuals: true }, + toJSON: { virtuals: true }, + timestamps: true, +}) export class Comment { @Prop({ type: Number }) from: number; @@ -41,7 +45,7 @@ export class Comment { resolved: boolean; @Prop({ required: true, default: [] }) - replies: Comment[]; + replies: mongoose.Types.ObjectId[]; @Prop({ required: true, default: false }) isReply: boolean; diff --git a/server/review-task/review-task.controller.ts b/server/review-task/review-task.controller.ts index 99838e6e6..ad138b8bc 100644 --- a/server/review-task/review-task.controller.ts +++ b/server/review-task/review-task.controller.ts @@ -22,6 +22,8 @@ import { ConfigService } from "@nestjs/config"; import { FeatureFlagService } from "../feature-flag/feature-flag.service"; import { ApiTags } from "@nestjs/swagger"; import { NameSpaceEnum } from "../auth/name-space/schemas/name-space.schema"; +import { ReviewTaskDocument } from "./schemas/review-task.schema"; +import { UpdateWriteOpResult } from "mongoose"; @Controller(":namespace?") export class ReviewTaskController { @@ -85,7 +87,9 @@ export class ReviewTaskController { @ApiTags("review-task") @Post("api/reviewtask") @Header("Cache-Control", "no-cache") - async create(@Body() createReviewTask: CreateReviewTaskDTO) { + async create( + @Body() createReviewTask: CreateReviewTaskDTO + ): Promise { const validateCaptcha = await this.captchaService.validate( createReviewTask.recaptcha ); diff --git a/server/review-task/review-task.service.ts b/server/review-task/review-task.service.ts index c8a361a19..d0d02bd7e 100644 --- a/server/review-task/review-task.service.ts +++ b/server/review-task/review-task.service.ts @@ -5,7 +5,7 @@ import { Scope, Logger, } from "@nestjs/common"; -import { Model, Types } from "mongoose"; +import { Model, Types, UpdateWriteOpResult } from "mongoose"; import { ReviewTask, ReviewTaskDocument } from "./schemas/review-task.schema"; import { InjectModel } from "@nestjs/mongoose"; import { CreateReviewTaskDTO, Machine } from "./dto/create-review-task.dto"; @@ -34,6 +34,7 @@ import { User } from "../users/schemas/user.schema"; import { Image } from "../claim/types/image/schemas/image.schema"; import { Sentence } from "../claim/types/sentence/schemas/sentence.schema"; import { Source } from "../source/schemas/source.schema"; +import { Update } from "aws-sdk/clients/dynamodb"; interface IListAllQuery { value: any; @@ -94,7 +95,7 @@ export class ReviewTaskService { const filterValue = filterUser[key]; if (filterValue === true || filterValue === "true") { const queryPath = this.fieldMap[key]; - query[queryPath] = Types.ObjectId(this.req.user._id); + query[queryPath] = new Types.ObjectId(this.req.user._id); } }); @@ -428,7 +429,7 @@ export class ReviewTaskService { } const stateEvent = this.stateEventService.getStateEventParams( - Types.ObjectId(newReviewTask.machine.context.review.target), + new Types.ObjectId(newReviewTask.machine.context.review.target), typeModel || TypeModel.Published, draft, newReviewTask._id @@ -470,7 +471,9 @@ export class ReviewTaskService { _returnObjectId(data): any { if (Array.isArray(data)) { return data.map((item) => - item._id ? Types.ObjectId(item._id) || "" : Types.ObjectId(item) + item._id + ? new Types.ObjectId(item._id) || "" + : new Types.ObjectId(item) ); } } @@ -486,7 +489,9 @@ export class ReviewTaskService { return this.commentService.create(newCrossCheckingComment); } - async create(reviewTaskBody: CreateReviewTaskDTO) { + async create( + reviewTaskBody: CreateReviewTaskDTO + ): Promise { const reviewDataBody = reviewTaskBody.machine.context.reviewData; const reviewTask = await this.getReviewTaskByDataHash( reviewTaskBody.data_hash @@ -506,12 +511,12 @@ export class ReviewTaskService { if (reviewDataBody.reviewerId) { reviewTaskBody.machine.context.reviewData.reviewerId = - Types.ObjectId(reviewDataBody.reviewerId) || ""; + new Types.ObjectId(reviewDataBody.reviewerId) || ""; } if (reviewDataBody.crossCheckerId) { reviewTaskBody.machine.context.reviewData.crossCheckerId = - Types.ObjectId(reviewDataBody.crossCheckerId) || ""; + new Types.ObjectId(reviewDataBody.crossCheckerId) || ""; } if (reviewDataBody.reviewComments) { @@ -560,7 +565,7 @@ export class ReviewTaskService { nameSpace: string, reportModel: string, history: boolean = true - ) { + ): Promise { // This line may cause a false positive in sonarCloud because if we remove the await, we cannot iterate through the results const reviewTask = await this.getReviewTaskByDataHash(data_hash); @@ -587,7 +592,7 @@ export class ReviewTaskService { this._createStateEvent(newReviewTask); } - return this.ReviewTaskModel.updateOne( + return this.ReviewTaskModel.findByIdAndUpdate( { _id: newReviewTask._id }, newReviewTask ); @@ -785,7 +790,7 @@ export class ReviewTaskService { reviewData.reviewComments = []; } - reviewData.reviewComments.push(Types.ObjectId(newComment?._id)); + reviewData.reviewComments.push(newComment?._id as Types.ObjectId); const { machine } = await this.ReviewTaskModel.findOneAndUpdate( { _id: reviewTask._id }, @@ -800,7 +805,7 @@ export class ReviewTaskService { } async deleteComment(data_hash, commentId) { - const commentIdObject = Types.ObjectId(commentId); + const commentIdObject = new Types.ObjectId(commentId); const reviewTask = await this.getReviewTaskByDataHash(data_hash); const reviewData = reviewTask.machine.context.reviewData; reviewData.reviewComments = reviewData.reviewComments.filter( diff --git a/server/source/source.service.ts b/server/source/source.service.ts index 37d76e65c..6e9710f20 100644 --- a/server/source/source.service.ts +++ b/server/source/source.service.ts @@ -36,7 +36,7 @@ export class SourceService { async create(data) { if (data?.targetId) { - data.targetId = [Types.ObjectId(data.targetId)]; + data.targetId = [new Types.ObjectId(data.targetId)]; } if (data?.props?.date) { data.props.date = new Date(data.props.date); @@ -49,7 +49,7 @@ export class SourceService { } data.data_hash = md5(data.href); - data.user = Types.ObjectId(data.user); + data.user = new Types.ObjectId(data.user); const existingSource = await this.SourceModel.findOne({ data_hash: { $eq: data.data_hash }, @@ -70,13 +70,13 @@ export class SourceService { return source; } - async getByTargetId(targetId, page, pageSize, order = "asc") { - targetId = Types.ObjectId(targetId); + async getByTargetId(targetId, page, pageSize, order) { + targetId = new Types.ObjectId(targetId); return this.SourceModel.find({ targetId }) .skip(page * pageSize) .limit(pageSize) - .sort({ _id: order }); + .sort({ _id: order, field: "asc" }); } find(match) { diff --git a/server/tests/utils/TestConfigOptions.ts b/server/tests/utils/TestConfigOptions.ts index f3f5ffa7b..a0914befc 100644 --- a/server/tests/utils/TestConfigOptions.ts +++ b/server/tests/utils/TestConfigOptions.ts @@ -18,10 +18,7 @@ export const TestConfigOptions = { db: { connection_uri: process.env.CI_MONGODB_URI, type: "mongodb", - options: { - useUnifiedTopology: true, - useNewUrlParser: true, - }, + options: {}, }, feature_flag: { url: process.env.GITLAB_FEATURE_FLAG_URL, diff --git a/server/topic/topic.service.ts b/server/topic/topic.service.ts index c00b62194..b1f84629d 100644 --- a/server/topic/topic.service.ts +++ b/server/topic/topic.service.ts @@ -39,7 +39,7 @@ export class TopicService { query: string, language = "pt", limit = 10 - ): Promise { + ): Promise { if (typeof language !== "string") { throw new TypeError("Invalid language"); } @@ -103,7 +103,7 @@ export class TopicService { data_hash?: string; }, language: string = "pt" - ) { + ): Promise { try { const createdTopics = await Promise.all( topics.map(async (topic) => { diff --git a/server/users/users.controller.ts b/server/users/users.controller.ts index af0d60bcf..fade0d48d 100644 --- a/server/users/users.controller.ts +++ b/server/users/users.controller.ts @@ -122,7 +122,7 @@ export class UsersController { async changePassword(@Req() req: BaseRequest, @Res() res) { try { this.usersService - .registerPasswordChange(Types.ObjectId(req.user._id)) + .registerPasswordChange(new Types.ObjectId(req.user._id)) .then(() => { res.status(200).json({ success: true, @@ -153,7 +153,7 @@ export class UsersController { if (shouldEdit) { this.usersService - .updateUser(Types.ObjectId(userId), updates) + .updateUser(new Types.ObjectId(userId), updates) .then(() => { res.status(200).json({ success: true, @@ -209,7 +209,7 @@ export class UsersController { @Auth() @Header("Cache-Control", "max-age=60, must-revalidate") public async getUser(@Param("id") userId) { - const value = Types.ObjectId(userId); + const value = new Types.ObjectId(userId); return this.usersService.getById(value); } } diff --git a/server/users/users.service.ts b/server/users/users.service.ts index 7f4823b01..b9cbc0221 100644 --- a/server/users/users.service.ts +++ b/server/users/users.service.ts @@ -43,7 +43,7 @@ export class UsersService { ...(badges ? { badges } : {}), } : { - _id: Types.ObjectId(userId), + _id: new Types.ObjectId(userId), }; pipeline.match(matchCondition); diff --git a/server/verification-request/verification-request.service.ts b/server/verification-request/verification-request.service.ts index 65a350786..14ffc87e5 100644 --- a/server/verification-request/verification-request.service.ts +++ b/server/verification-request/verification-request.service.ts @@ -1,4 +1,4 @@ -import { isValidObjectId, Model, Types } from "mongoose"; +import { isValidObjectId, Model, Types, UpdateQuery } from "mongoose"; import { SourceService } from "../source/source.service"; import { VerificationRequest, @@ -118,7 +118,7 @@ export class VerificationRequestService { ); fieldsToPopulate.forEach((field) => { - query = query.populate(field); + query.populate(field); }); return query.exec(); @@ -174,7 +174,7 @@ export class VerificationRequestService { topics: topicWikidataEntities, }); - vr.impactArea = Types.ObjectId(createdTopic[0].id); + vr.impactArea = new Types.ObjectId(createdTopic[0].id); await vr.save(); } @@ -685,13 +685,14 @@ export class VerificationRequestService { const latestVerificationRequest = verificationRequest.toObject(); - const updatedVerificationRequestData = { - ...latestVerificationRequest, - ...verificationRequestBodyUpdate, - publicationDate: - verificationRequestBodyUpdate.publicationDate ?? - verificationRequest.publicationDate, - }; + const updatedVerificationRequestData: UpdateQuery = + { + ...latestVerificationRequest, + ...verificationRequestBodyUpdate, + publicationDate: + verificationRequestBodyUpdate.publicationDate ?? + verificationRequest.publicationDate, + }; if (verificationRequestBodyUpdate.source?.length) { const newSourceIds = await Promise.all( @@ -704,7 +705,9 @@ export class VerificationRequestService { return src._id; }) ); - updatedVerificationRequestData.source = newSourceIds.map((id) => Types.ObjectId(id)); + updatedVerificationRequestData.source = newSourceIds.map( + (id) => new Types.ObjectId(id) + ); } if ( @@ -735,8 +738,9 @@ export class VerificationRequestService { verificationRequest._id, updatedVerificationRequestData, { new: true, upsert: true } - ).populate("source") - .populate("impactArea"); + ) + .populate("source") + .populate("impactArea"); } catch (error) { this.logger.error("Failed to update verification request:", error); throw error; @@ -807,8 +811,8 @@ export class VerificationRequestService { updatedVerificationRequest ) { const contentIds = - updatedVerificationRequest?.group?.map((item) => - Types.ObjectId(item?._id || item) + updatedVerificationRequest?.group?.map( + (item) => new Types.ObjectId(item?._id || item) ) || []; const groupId = ( @@ -859,8 +863,8 @@ export class VerificationRequestService { if (!queryEmbedding || queryEmbedding.length === 0) { return []; } - const filterIds = filter.map((verificationRequestId) => - Types.ObjectId(verificationRequestId) + const filterIds = filter.map( + (verificationRequestId) => new Types.ObjectId(verificationRequestId) ); return await this.VerificationRequestModel.aggregate([ @@ -917,7 +921,10 @@ export class VerificationRequestService { ]); } - async updateVerificationRequestWithTopics(topics, data_hash) { + async updateVerificationRequestWithTopics( + topics, + data_hash + ): Promise { const verificationRequest = await this.findByDataHash(data_hash, false); const foundTopics = await this.topicService.findByWikidataIds( topics.map((topic) => topic.value || topic.wikidataId) @@ -944,7 +951,7 @@ export class VerificationRequestService { await this.historyService.createHistory(history); - return this.VerificationRequestModel.updateOne( + return this.VerificationRequestModel.findByIdAndUpdate( { _id: verificationRequest._id }, newVerificationRequest ); @@ -980,8 +987,8 @@ export class VerificationRequestService { ]); const topicIds = topicsObj.map((topics) => topics._id); - const impactAreaIds = impactAreasObj.map((impactArea) => - Types.ObjectId(impactArea._id) + const impactAreaIds = impactAreasObj.map( + (impactArea) => new Types.ObjectId(impactArea._id) ); if (topicIds.length) orConditions.push({ topics: { $in: topicIds } }); diff --git a/yarn.lock b/yarn.lock index c95818c68..1d57a82ea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -239,6 +239,500 @@ __metadata: languageName: node linkType: hard +"@aws-crypto/sha256-browser@npm:5.2.0": + version: 5.2.0 + resolution: "@aws-crypto/sha256-browser@npm:5.2.0" + dependencies: + "@aws-crypto/sha256-js": ^5.2.0 + "@aws-crypto/supports-web-crypto": ^5.2.0 + "@aws-crypto/util": ^5.2.0 + "@aws-sdk/types": ^3.222.0 + "@aws-sdk/util-locate-window": ^3.0.0 + "@smithy/util-utf8": ^2.0.0 + tslib: ^2.6.2 + checksum: 773f12f2026d82a6bb4a23a8f491894a6d32525bd9b8bfbc12896526cf11882a7607a671c478c45f9cd7d6ba1caaed48a62b67c6f725244bd83a1275108f46c7 + languageName: node + linkType: hard + +"@aws-crypto/sha256-js@npm:5.2.0, @aws-crypto/sha256-js@npm:^5.2.0": + version: 5.2.0 + resolution: "@aws-crypto/sha256-js@npm:5.2.0" + dependencies: + "@aws-crypto/util": ^5.2.0 + "@aws-sdk/types": ^3.222.0 + tslib: ^2.6.2 + checksum: 007fbe0436d714d0d0d282e2b61c90e45adcb9ad75eac9ac7ba03d32b56624afd09b2a9ceb4d659661cf17c51d74d1900ab6b00eacafc002da1101664955ca53 + languageName: node + linkType: hard + +"@aws-crypto/supports-web-crypto@npm:^5.2.0": + version: 5.2.0 + resolution: "@aws-crypto/supports-web-crypto@npm:5.2.0" + dependencies: + tslib: ^2.6.2 + checksum: 6ffc21de48b2b2c3e918193101d7e8fe949d47b37688892e1c39eaedaa938be80c0f404fe1c874c30cce16781026777a53bf47d5d90143ca91d0feb7c4a6f830 + languageName: node + linkType: hard + +"@aws-crypto/util@npm:^5.2.0": + version: 5.2.0 + resolution: "@aws-crypto/util@npm:5.2.0" + dependencies: + "@aws-sdk/types": ^3.222.0 + "@smithy/util-utf8": ^2.0.0 + tslib: ^2.6.2 + checksum: f0f81d9d2771c59946cfec48b86cb23d39f78a966c4a1f89d4753abdc3cb38de06f907d1e6450059b121d48ac65d612ab88bdb70014553a077fc3dabddfbf8d6 + languageName: node + linkType: hard + +"@aws-sdk/client-cognito-identity@npm:3.998.0": + version: 3.998.0 + resolution: "@aws-sdk/client-cognito-identity@npm:3.998.0" + dependencies: + "@aws-crypto/sha256-browser": 5.2.0 + "@aws-crypto/sha256-js": 5.2.0 + "@aws-sdk/core": ^3.973.14 + "@aws-sdk/credential-provider-node": ^3.972.13 + "@aws-sdk/middleware-host-header": ^3.972.5 + "@aws-sdk/middleware-logger": ^3.972.5 + "@aws-sdk/middleware-recursion-detection": ^3.972.5 + "@aws-sdk/middleware-user-agent": ^3.972.14 + "@aws-sdk/region-config-resolver": ^3.972.5 + "@aws-sdk/types": ^3.973.3 + "@aws-sdk/util-endpoints": ^3.996.2 + "@aws-sdk/util-user-agent-browser": ^3.972.5 + "@aws-sdk/util-user-agent-node": ^3.972.13 + "@smithy/config-resolver": ^4.4.9 + "@smithy/core": ^3.23.6 + "@smithy/fetch-http-handler": ^5.3.11 + "@smithy/hash-node": ^4.2.10 + "@smithy/invalid-dependency": ^4.2.10 + "@smithy/middleware-content-length": ^4.2.10 + "@smithy/middleware-endpoint": ^4.4.20 + "@smithy/middleware-retry": ^4.4.37 + "@smithy/middleware-serde": ^4.2.11 + "@smithy/middleware-stack": ^4.2.10 + "@smithy/node-config-provider": ^4.3.10 + "@smithy/node-http-handler": ^4.4.12 + "@smithy/protocol-http": ^5.3.10 + "@smithy/smithy-client": ^4.12.0 + "@smithy/types": ^4.13.0 + "@smithy/url-parser": ^4.2.10 + "@smithy/util-base64": ^4.3.1 + "@smithy/util-body-length-browser": ^4.2.1 + "@smithy/util-body-length-node": ^4.2.2 + "@smithy/util-defaults-mode-browser": ^4.3.36 + "@smithy/util-defaults-mode-node": ^4.2.39 + "@smithy/util-endpoints": ^3.3.1 + "@smithy/util-middleware": ^4.2.10 + "@smithy/util-retry": ^4.2.10 + "@smithy/util-utf8": ^4.2.1 + tslib: ^2.6.2 + checksum: d5c5f41c2e58b9b90cd3059a9f5c38d6c4e3ca8fea90c36b826bd1b23b693b9f98ab2825bea8a3df488caf170dc6dd36e70699f3dde3a989d805185a836cdb4a + languageName: node + linkType: hard + +"@aws-sdk/core@npm:^3.973.14": + version: 3.973.14 + resolution: "@aws-sdk/core@npm:3.973.14" + dependencies: + "@aws-sdk/types": ^3.973.3 + "@aws-sdk/xml-builder": ^3.972.7 + "@smithy/core": ^3.23.6 + "@smithy/node-config-provider": ^4.3.10 + "@smithy/property-provider": ^4.2.10 + "@smithy/protocol-http": ^5.3.10 + "@smithy/signature-v4": ^5.3.10 + "@smithy/smithy-client": ^4.12.0 + "@smithy/types": ^4.13.0 + "@smithy/util-base64": ^4.3.1 + "@smithy/util-middleware": ^4.2.10 + "@smithy/util-utf8": ^4.2.1 + tslib: ^2.6.2 + checksum: 335a1bb9bb2d53d06f4a2b2b37eccc384601191591d1c8d5db17ec4cf99385f19fb603289a8cdef879257fbf9295009bb52cb0817d4fbb251346a2c5b5b73f58 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-cognito-identity@npm:^3.972.5": + version: 3.972.5 + resolution: "@aws-sdk/credential-provider-cognito-identity@npm:3.972.5" + dependencies: + "@aws-sdk/nested-clients": ^3.996.2 + "@aws-sdk/types": ^3.973.3 + "@smithy/property-provider": ^4.2.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 2d70ecbf33c78acd922f6746265c8e34858fdf13a7d9d9f96e90d8da83a3f8b374c2e15641a4771019abbcc1ff7076cb80feaac6498b90a439d4be8fe7ed8995 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-env@npm:^3.972.12": + version: 3.972.12 + resolution: "@aws-sdk/credential-provider-env@npm:3.972.12" + dependencies: + "@aws-sdk/core": ^3.973.14 + "@aws-sdk/types": ^3.973.3 + "@smithy/property-provider": ^4.2.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: accd70e48bea7809150b9ee0cc604e5dc214a1afa1758a0098c8b12d02a498bd6bca001aab2ca6f7c6d3ec6fbc7209152da41cf68fcf98f74199a11b60cb558c + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-http@npm:^3.972.14": + version: 3.972.14 + resolution: "@aws-sdk/credential-provider-http@npm:3.972.14" + dependencies: + "@aws-sdk/core": ^3.973.14 + "@aws-sdk/types": ^3.973.3 + "@smithy/fetch-http-handler": ^5.3.11 + "@smithy/node-http-handler": ^4.4.12 + "@smithy/property-provider": ^4.2.10 + "@smithy/protocol-http": ^5.3.10 + "@smithy/smithy-client": ^4.12.0 + "@smithy/types": ^4.13.0 + "@smithy/util-stream": ^4.5.15 + tslib: ^2.6.2 + checksum: b6504bf48ab3d33aebae2433efa96693d12217de3c02a492c7e34e070268248a0d4a37b2058811200a8ccb433b5a880e9d8cfb8b072c9686330fe695b2b40932 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-ini@npm:^3.972.12": + version: 3.972.12 + resolution: "@aws-sdk/credential-provider-ini@npm:3.972.12" + dependencies: + "@aws-sdk/core": ^3.973.14 + "@aws-sdk/credential-provider-env": ^3.972.12 + "@aws-sdk/credential-provider-http": ^3.972.14 + "@aws-sdk/credential-provider-login": ^3.972.12 + "@aws-sdk/credential-provider-process": ^3.972.12 + "@aws-sdk/credential-provider-sso": ^3.972.12 + "@aws-sdk/credential-provider-web-identity": ^3.972.12 + "@aws-sdk/nested-clients": ^3.996.2 + "@aws-sdk/types": ^3.973.3 + "@smithy/credential-provider-imds": ^4.2.10 + "@smithy/property-provider": ^4.2.10 + "@smithy/shared-ini-file-loader": ^4.4.5 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 9beb9114949cd47d40883e96ecb0faf69b06e41603db545d1bc85099342479acc832a59a0f45f728d2cb65bae9721c4154aa6f7e3efda4c558b2aa698a016372 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-login@npm:^3.972.12": + version: 3.972.12 + resolution: "@aws-sdk/credential-provider-login@npm:3.972.12" + dependencies: + "@aws-sdk/core": ^3.973.14 + "@aws-sdk/nested-clients": ^3.996.2 + "@aws-sdk/types": ^3.973.3 + "@smithy/property-provider": ^4.2.10 + "@smithy/protocol-http": ^5.3.10 + "@smithy/shared-ini-file-loader": ^4.4.5 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 5281e4853c958dcede855c437b07cb5a96cbd320d9d20ea016d2a352ac0a41a63c72a9ef3d6dae83944335a1b1617c55e703773c127c10e74c370b77a0e1474d + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-node@npm:^3.972.13": + version: 3.972.13 + resolution: "@aws-sdk/credential-provider-node@npm:3.972.13" + dependencies: + "@aws-sdk/credential-provider-env": ^3.972.12 + "@aws-sdk/credential-provider-http": ^3.972.14 + "@aws-sdk/credential-provider-ini": ^3.972.12 + "@aws-sdk/credential-provider-process": ^3.972.12 + "@aws-sdk/credential-provider-sso": ^3.972.12 + "@aws-sdk/credential-provider-web-identity": ^3.972.12 + "@aws-sdk/types": ^3.973.3 + "@smithy/credential-provider-imds": ^4.2.10 + "@smithy/property-provider": ^4.2.10 + "@smithy/shared-ini-file-loader": ^4.4.5 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 6bd1921bda9143394f5ff0ccb266b3e8db795aa4c5731e85ebcdd9d87217bfd8e1c7d40a11da3b00fff68a21e0b05e375efe9d4846350fffd020231adaee7e5e + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-process@npm:^3.972.12": + version: 3.972.12 + resolution: "@aws-sdk/credential-provider-process@npm:3.972.12" + dependencies: + "@aws-sdk/core": ^3.973.14 + "@aws-sdk/types": ^3.973.3 + "@smithy/property-provider": ^4.2.10 + "@smithy/shared-ini-file-loader": ^4.4.5 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: c446e3b1f952bac9525d829da97de3eb8b1aea255af058f9404013d953a09ef055170ea09c3ab2e738c9149fb4fc3b21fa3cafbe0f0dd5d6d0850df42c187fea + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-sso@npm:^3.972.12": + version: 3.972.12 + resolution: "@aws-sdk/credential-provider-sso@npm:3.972.12" + dependencies: + "@aws-sdk/core": ^3.973.14 + "@aws-sdk/nested-clients": ^3.996.2 + "@aws-sdk/token-providers": 3.998.0 + "@aws-sdk/types": ^3.973.3 + "@smithy/property-provider": ^4.2.10 + "@smithy/shared-ini-file-loader": ^4.4.5 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 0a20b77a1089c83bb722435ecf572ffa70c5a95a6791a8894e8ba420d18d573e638730a475d5875a5d4109784829ebecd553192e5b9f04b8c547c3fb2472059e + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-web-identity@npm:^3.972.12": + version: 3.972.12 + resolution: "@aws-sdk/credential-provider-web-identity@npm:3.972.12" + dependencies: + "@aws-sdk/core": ^3.973.14 + "@aws-sdk/nested-clients": ^3.996.2 + "@aws-sdk/types": ^3.973.3 + "@smithy/property-provider": ^4.2.10 + "@smithy/shared-ini-file-loader": ^4.4.5 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 38db653b499b16a1ae2cceaf97a9411a4578650777b99eac0e21c1ac1c818f2333afd66c9fd3079b8fc49b957b873e2345cc22b78de7a34cd9847a97e691cbd6 + languageName: node + linkType: hard + +"@aws-sdk/credential-providers@npm:^3.186.0": + version: 3.998.0 + resolution: "@aws-sdk/credential-providers@npm:3.998.0" + dependencies: + "@aws-sdk/client-cognito-identity": 3.998.0 + "@aws-sdk/core": ^3.973.14 + "@aws-sdk/credential-provider-cognito-identity": ^3.972.5 + "@aws-sdk/credential-provider-env": ^3.972.12 + "@aws-sdk/credential-provider-http": ^3.972.14 + "@aws-sdk/credential-provider-ini": ^3.972.12 + "@aws-sdk/credential-provider-login": ^3.972.12 + "@aws-sdk/credential-provider-node": ^3.972.13 + "@aws-sdk/credential-provider-process": ^3.972.12 + "@aws-sdk/credential-provider-sso": ^3.972.12 + "@aws-sdk/credential-provider-web-identity": ^3.972.12 + "@aws-sdk/nested-clients": ^3.996.2 + "@aws-sdk/types": ^3.973.3 + "@smithy/config-resolver": ^4.4.9 + "@smithy/core": ^3.23.6 + "@smithy/credential-provider-imds": ^4.2.10 + "@smithy/node-config-provider": ^4.3.10 + "@smithy/property-provider": ^4.2.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 26cc86b46878f2016b60a12bc39796b2a984fab37055eebaf7f862776607f9b320808d426c013ae15e00a38abb4a56a8a561636d074566ce0ae866c08e6d8cf3 + languageName: node + linkType: hard + +"@aws-sdk/middleware-host-header@npm:^3.972.5": + version: 3.972.5 + resolution: "@aws-sdk/middleware-host-header@npm:3.972.5" + dependencies: + "@aws-sdk/types": ^3.973.3 + "@smithy/protocol-http": ^5.3.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 16822cec33f7dede839fde869b0ead13b12e12331cd2c9c6bb6a36256a68f15e0831e7a86fae7a884a712695daca5ce05cf18471a21f6d9a313751495526ec1d + languageName: node + linkType: hard + +"@aws-sdk/middleware-logger@npm:^3.972.5": + version: 3.972.5 + resolution: "@aws-sdk/middleware-logger@npm:3.972.5" + dependencies: + "@aws-sdk/types": ^3.973.3 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 6d7dbebdb302037cc818b5c47bc4d32ba56e538723e27edffa66696fbdefa5b4512c0adeb8a5c0106473f400eba9817fdacc574fe18dec9f7b49d8106b19dbe3 + languageName: node + linkType: hard + +"@aws-sdk/middleware-recursion-detection@npm:^3.972.5": + version: 3.972.5 + resolution: "@aws-sdk/middleware-recursion-detection@npm:3.972.5" + dependencies: + "@aws-sdk/types": ^3.973.3 + "@aws/lambda-invoke-store": ^0.2.2 + "@smithy/protocol-http": ^5.3.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 600566aafdead7c8a34d2b73a24f2b84f76eda2b09e6ca974f1d05d18eeb73eae39529f2437b04cc9ec3eac6d078a74d79b39510e74570bb036d1d496e7eab89 + languageName: node + linkType: hard + +"@aws-sdk/middleware-user-agent@npm:^3.972.14": + version: 3.972.14 + resolution: "@aws-sdk/middleware-user-agent@npm:3.972.14" + dependencies: + "@aws-sdk/core": ^3.973.14 + "@aws-sdk/types": ^3.973.3 + "@aws-sdk/util-endpoints": ^3.996.2 + "@smithy/core": ^3.23.6 + "@smithy/protocol-http": ^5.3.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 9119b68abdc36789e53011b3c310dfda385d2683726a0112b9fe985100de974c79a0341c96cd66b72a7785fd3f288c04ad972ba9c0e8450ece18c8e7ba694650 + languageName: node + linkType: hard + +"@aws-sdk/nested-clients@npm:^3.996.2": + version: 3.996.2 + resolution: "@aws-sdk/nested-clients@npm:3.996.2" + dependencies: + "@aws-crypto/sha256-browser": 5.2.0 + "@aws-crypto/sha256-js": 5.2.0 + "@aws-sdk/core": ^3.973.14 + "@aws-sdk/middleware-host-header": ^3.972.5 + "@aws-sdk/middleware-logger": ^3.972.5 + "@aws-sdk/middleware-recursion-detection": ^3.972.5 + "@aws-sdk/middleware-user-agent": ^3.972.14 + "@aws-sdk/region-config-resolver": ^3.972.5 + "@aws-sdk/types": ^3.973.3 + "@aws-sdk/util-endpoints": ^3.996.2 + "@aws-sdk/util-user-agent-browser": ^3.972.5 + "@aws-sdk/util-user-agent-node": ^3.972.13 + "@smithy/config-resolver": ^4.4.9 + "@smithy/core": ^3.23.6 + "@smithy/fetch-http-handler": ^5.3.11 + "@smithy/hash-node": ^4.2.10 + "@smithy/invalid-dependency": ^4.2.10 + "@smithy/middleware-content-length": ^4.2.10 + "@smithy/middleware-endpoint": ^4.4.20 + "@smithy/middleware-retry": ^4.4.37 + "@smithy/middleware-serde": ^4.2.11 + "@smithy/middleware-stack": ^4.2.10 + "@smithy/node-config-provider": ^4.3.10 + "@smithy/node-http-handler": ^4.4.12 + "@smithy/protocol-http": ^5.3.10 + "@smithy/smithy-client": ^4.12.0 + "@smithy/types": ^4.13.0 + "@smithy/url-parser": ^4.2.10 + "@smithy/util-base64": ^4.3.1 + "@smithy/util-body-length-browser": ^4.2.1 + "@smithy/util-body-length-node": ^4.2.2 + "@smithy/util-defaults-mode-browser": ^4.3.36 + "@smithy/util-defaults-mode-node": ^4.2.39 + "@smithy/util-endpoints": ^3.3.1 + "@smithy/util-middleware": ^4.2.10 + "@smithy/util-retry": ^4.2.10 + "@smithy/util-utf8": ^4.2.1 + tslib: ^2.6.2 + checksum: f69a30f7a3f9c8621f749c99a77e0beb6e85d8e5723430c0b2f425addada77a641b9109a553915208c98666465632e90f574392a0572eae1efc10a2b9970031b + languageName: node + linkType: hard + +"@aws-sdk/region-config-resolver@npm:^3.972.5": + version: 3.972.5 + resolution: "@aws-sdk/region-config-resolver@npm:3.972.5" + dependencies: + "@aws-sdk/types": ^3.973.3 + "@smithy/config-resolver": ^4.4.9 + "@smithy/node-config-provider": ^4.3.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: fc581113111d8b31ed48838715f16568d9b619bba4eee6c64b94f57229eec55ec6c1071db8c6a275e1f7a4f39c8b0016a2b48597665e4fd3247be2fcf3016540 + languageName: node + linkType: hard + +"@aws-sdk/token-providers@npm:3.998.0": + version: 3.998.0 + resolution: "@aws-sdk/token-providers@npm:3.998.0" + dependencies: + "@aws-sdk/core": ^3.973.14 + "@aws-sdk/nested-clients": ^3.996.2 + "@aws-sdk/types": ^3.973.3 + "@smithy/property-provider": ^4.2.10 + "@smithy/shared-ini-file-loader": ^4.4.5 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 4a9a9e4b1a107e9e9358396a5382d0a9c0a6d133c0c54e5091c6207ae6bd155c39e990f3593212e536f491bfad82ee26446d86ff022f08393441666feefd8772 + languageName: node + linkType: hard + +"@aws-sdk/types@npm:^3.222.0, @aws-sdk/types@npm:^3.973.3": + version: 3.973.3 + resolution: "@aws-sdk/types@npm:3.973.3" + dependencies: + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 01e7702fe2faebc25e4c144469e57923817a0eb46c589b4e7aac24beb21278679e9ee88725ff92b22e192d10a82507835cba2d4a47c10b188bf5ac758465bd1d + languageName: node + linkType: hard + +"@aws-sdk/util-endpoints@npm:^3.996.2": + version: 3.996.2 + resolution: "@aws-sdk/util-endpoints@npm:3.996.2" + dependencies: + "@aws-sdk/types": ^3.973.3 + "@smithy/types": ^4.13.0 + "@smithy/url-parser": ^4.2.10 + "@smithy/util-endpoints": ^3.3.1 + tslib: ^2.6.2 + checksum: 4db599a8bde08441243b40590ce0c4961689e48d2ba72bd8bfbdcb0bfb9dfbf154e0e818f9d62275216a0668b7877df8a71dde7371f5bbbc0a9430b380aa6b77 + languageName: node + linkType: hard + +"@aws-sdk/util-locate-window@npm:^3.0.0": + version: 3.965.4 + resolution: "@aws-sdk/util-locate-window@npm:3.965.4" + dependencies: + tslib: ^2.6.2 + checksum: ec8d3653f6aa2f3743d9a14dc2f19c7221d08a8b34d929d4259c5477f5d1d8c2bd0785927b2e6ad909459cc7cf0127e68093440a928aade9b5063fc213daf507 + languageName: node + linkType: hard + +"@aws-sdk/util-user-agent-browser@npm:^3.972.5": + version: 3.972.5 + resolution: "@aws-sdk/util-user-agent-browser@npm:3.972.5" + dependencies: + "@aws-sdk/types": ^3.973.3 + "@smithy/types": ^4.13.0 + bowser: ^2.11.0 + tslib: ^2.6.2 + checksum: 29c435776288b2905fbe3352ea307fe6c7850d92cc71196648e46c24922ff5bd3416be8c4043a46044a5cf5afd26bd7cdd039ac901490ff60608f1ceaa7ff628 + languageName: node + linkType: hard + +"@aws-sdk/util-user-agent-node@npm:^3.972.13": + version: 3.972.13 + resolution: "@aws-sdk/util-user-agent-node@npm:3.972.13" + dependencies: + "@aws-sdk/middleware-user-agent": ^3.972.14 + "@aws-sdk/types": ^3.973.3 + "@smithy/node-config-provider": ^4.3.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + peerDependencies: + aws-crt: ">=1.0.0" + peerDependenciesMeta: + aws-crt: + optional: true + checksum: 0f2a27df70f20ea815a1e74e0459740a713d1b2fc0a06454fe46220102b54c5d695a2db4b10dac82df516ee633a9d082d21c8b5ad93e0704c11c1a89e0e5b09a + languageName: node + linkType: hard + +"@aws-sdk/xml-builder@npm:^3.972.7": + version: 3.972.7 + resolution: "@aws-sdk/xml-builder@npm:3.972.7" + dependencies: + "@smithy/types": ^4.13.0 + fast-xml-parser: 5.3.6 + tslib: ^2.6.2 + checksum: 8be2e16852136b71ac4e624fcba700aa03018722dcd66cd0b4faa33985a9e082c295f4ade61fc2145c58c3e4beace5194103c6c59ce6bd73027aa371a4a4e721 + languageName: node + linkType: hard + +"@aws/lambda-invoke-store@npm:^0.2.2": + version: 0.2.3 + resolution: "@aws/lambda-invoke-store@npm:0.2.3" + checksum: 8fd9e329a95386ebfdc232b2c59d1a1c76b22db5cf58c5da0f133bea5345e096c2200279d33b0b4ad5182db46f9df214a0ce651b80239e7c47109343ffd67321 + languageName: node + linkType: hard + "@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.27.1": version: 7.27.1 resolution: "@babel/code-frame@npm:7.27.1" @@ -3943,6 +4437,15 @@ __metadata: languageName: node linkType: hard +"@mongodb-js/saslprep@npm:^1.1.0": + version: 1.4.6 + resolution: "@mongodb-js/saslprep@npm:1.4.6" + dependencies: + sparse-bitfield: ^3.0.3 + checksum: a062ccaa3238317425b16e2ff0d38dbf204c9198b165ca91e3efd9f564e26291de225733bd63e5e6d96b5933706df5aed528b10c2cd046a700174a18f0bbafec + languageName: node + linkType: hard + "@mongodb-js/saslprep@npm:^1.1.9": version: 1.3.0 resolution: "@mongodb-js/saslprep@npm:1.3.0" @@ -7577,6 +8080,495 @@ __metadata: languageName: node linkType: hard +"@smithy/abort-controller@npm:^4.2.10": + version: 4.2.10 + resolution: "@smithy/abort-controller@npm:4.2.10" + dependencies: + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 320329c315eb666b3d9833288f969ecc8f66e4e8c3912ac43ef033052d949b2154fddfb3085ad57fb5a888628edfc9ddae27c4e5e598427eccb3a512e12e0bf1 + languageName: node + linkType: hard + +"@smithy/config-resolver@npm:^4.4.9": + version: 4.4.9 + resolution: "@smithy/config-resolver@npm:4.4.9" + dependencies: + "@smithy/node-config-provider": ^4.3.10 + "@smithy/types": ^4.13.0 + "@smithy/util-config-provider": ^4.2.1 + "@smithy/util-endpoints": ^3.3.1 + "@smithy/util-middleware": ^4.2.10 + tslib: ^2.6.2 + checksum: 4b374e1542639fdd2ff88f1b8b017d2674743651de78fbd670225a32a7a580cec59e10e6294c5e1f6754a953a229966233aa0c72949852e21d4f054a1dc75bc7 + languageName: node + linkType: hard + +"@smithy/core@npm:^3.23.6": + version: 3.23.6 + resolution: "@smithy/core@npm:3.23.6" + dependencies: + "@smithy/middleware-serde": ^4.2.11 + "@smithy/protocol-http": ^5.3.10 + "@smithy/types": ^4.13.0 + "@smithy/util-base64": ^4.3.1 + "@smithy/util-body-length-browser": ^4.2.1 + "@smithy/util-middleware": ^4.2.10 + "@smithy/util-stream": ^4.5.15 + "@smithy/util-utf8": ^4.2.1 + "@smithy/uuid": ^1.1.1 + tslib: ^2.6.2 + checksum: 69e08c553f275597e045c7a373221cc28b3781989c49ab79ca9f8272913c50531fff66e3f3aff9aa997983922daa1388f6f17db315195bc8e8b5fefb6836dd19 + languageName: node + linkType: hard + +"@smithy/credential-provider-imds@npm:^4.2.10": + version: 4.2.10 + resolution: "@smithy/credential-provider-imds@npm:4.2.10" + dependencies: + "@smithy/node-config-provider": ^4.3.10 + "@smithy/property-provider": ^4.2.10 + "@smithy/types": ^4.13.0 + "@smithy/url-parser": ^4.2.10 + tslib: ^2.6.2 + checksum: 92f00d2e0a843f9b071eb724a2f96ab418666ea68b861cf11c57530d87584fc5ad317c8a6066fee17ea5b2d3dda78416c9fe3370bbe8b396a97db6c902ab3f65 + languageName: node + linkType: hard + +"@smithy/fetch-http-handler@npm:^5.3.11": + version: 5.3.11 + resolution: "@smithy/fetch-http-handler@npm:5.3.11" + dependencies: + "@smithy/protocol-http": ^5.3.10 + "@smithy/querystring-builder": ^4.2.10 + "@smithy/types": ^4.13.0 + "@smithy/util-base64": ^4.3.1 + tslib: ^2.6.2 + checksum: 008c8161b831ead2964291a947cccbbf4ea64e27aa98ed5ceadf638a63c9a541798a8f1418b128476fd66c241a3e1eb30c6aaa33dfcfa047693c96a5b116b4e7 + languageName: node + linkType: hard + +"@smithy/hash-node@npm:^4.2.10": + version: 4.2.10 + resolution: "@smithy/hash-node@npm:4.2.10" + dependencies: + "@smithy/types": ^4.13.0 + "@smithy/util-buffer-from": ^4.2.1 + "@smithy/util-utf8": ^4.2.1 + tslib: ^2.6.2 + checksum: 02810c5557c5aac152336082aa0ea4ec5d3527cb34e8ba1aca762ccd5d2bf2d5c536c8ee70ac547b78f5e95f94e6c6342028a570c9851d87eedc35aee73c1b43 + languageName: node + linkType: hard + +"@smithy/invalid-dependency@npm:^4.2.10": + version: 4.2.10 + resolution: "@smithy/invalid-dependency@npm:4.2.10" + dependencies: + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: cbbfdbbd9b10a32ba42361deb63bb6a6bea6a8d180c2803bf3811be195e2280038c4a7c7f2c70bd49d7d6ab35215e3e4c7d8906f7403b09686ecc530f1f16a2f + languageName: node + linkType: hard + +"@smithy/is-array-buffer@npm:^2.2.0": + version: 2.2.0 + resolution: "@smithy/is-array-buffer@npm:2.2.0" + dependencies: + tslib: ^2.6.2 + checksum: cd12c2e27884fec89ca8966d33c9dc34d3234efe89b33a9b309c61ebcde463e6f15f6a02d31d4fddbfd6e5904743524ca5b95021b517b98fe10957c2da0cd5fc + languageName: node + linkType: hard + +"@smithy/is-array-buffer@npm:^4.2.1": + version: 4.2.1 + resolution: "@smithy/is-array-buffer@npm:4.2.1" + dependencies: + tslib: ^2.6.2 + checksum: c35658a46d17cfd413fdaa55cfc5dc793bbed709a5da1bc1a303695fb0b0798b6e11c524cac302c7ecf1b93fe4b14486307ff4ec1258dc7b1f3677fff3c30483 + languageName: node + linkType: hard + +"@smithy/middleware-content-length@npm:^4.2.10": + version: 4.2.10 + resolution: "@smithy/middleware-content-length@npm:4.2.10" + dependencies: + "@smithy/protocol-http": ^5.3.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 861784afb38cf2682d6b1cc22d1735e7c13b3f7aed8a159a43ac770da494138b71d4aba0aaeb7e21856771ad5102d5cd3df0c2e8332f600f08c833e1ea6a6614 + languageName: node + linkType: hard + +"@smithy/middleware-endpoint@npm:^4.4.20": + version: 4.4.20 + resolution: "@smithy/middleware-endpoint@npm:4.4.20" + dependencies: + "@smithy/core": ^3.23.6 + "@smithy/middleware-serde": ^4.2.11 + "@smithy/node-config-provider": ^4.3.10 + "@smithy/shared-ini-file-loader": ^4.4.5 + "@smithy/types": ^4.13.0 + "@smithy/url-parser": ^4.2.10 + "@smithy/util-middleware": ^4.2.10 + tslib: ^2.6.2 + checksum: c968e9e7d830796b1205668ff1f2eeda633201db3220e0290f16b4661a7454ea23165fa157696a78b3e1ee11c9c9731d6ceb431c3d063d78f34b2c80dc18365c + languageName: node + linkType: hard + +"@smithy/middleware-retry@npm:^4.4.37": + version: 4.4.37 + resolution: "@smithy/middleware-retry@npm:4.4.37" + dependencies: + "@smithy/node-config-provider": ^4.3.10 + "@smithy/protocol-http": ^5.3.10 + "@smithy/service-error-classification": ^4.2.10 + "@smithy/smithy-client": ^4.12.0 + "@smithy/types": ^4.13.0 + "@smithy/util-middleware": ^4.2.10 + "@smithy/util-retry": ^4.2.10 + "@smithy/uuid": ^1.1.1 + tslib: ^2.6.2 + checksum: a807e9d93d5de9f1542f29c28ab2b9b6206e64912fc8ea7a1e209eb264b0a395ef1155c2f46197e047141851973c1d988028092c8848f94fb2ed357988b7f700 + languageName: node + linkType: hard + +"@smithy/middleware-serde@npm:^4.2.11": + version: 4.2.11 + resolution: "@smithy/middleware-serde@npm:4.2.11" + dependencies: + "@smithy/protocol-http": ^5.3.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 1fc22839eef69e5ce2243cd4d1507b5c7ef9dff208586cba9fb1bdda8d7cd01e8a633c1f49b4e3622d3b12793b2a3d0d83463c71f5e07afaca42f97170b69fdf + languageName: node + linkType: hard + +"@smithy/middleware-stack@npm:^4.2.10": + version: 4.2.10 + resolution: "@smithy/middleware-stack@npm:4.2.10" + dependencies: + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 1958574c520f17a84325eb72159e9d8560840ca046dcdd065d4a29a7ebf29c01fefd9a1f15b153a0d71d35c702fd06276c8cb5ab587ee12fe2ef5d2da7b731ed + languageName: node + linkType: hard + +"@smithy/node-config-provider@npm:^4.3.10": + version: 4.3.10 + resolution: "@smithy/node-config-provider@npm:4.3.10" + dependencies: + "@smithy/property-provider": ^4.2.10 + "@smithy/shared-ini-file-loader": ^4.4.5 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: e56700bed0156ca88cde0c0c6616ce8d1e3872c3e7dd2c4b288f627d2b43ea6046ac6a18211de61199b3c5d3a1bac12f2e5145c8bca5ed930a4e7f3022eef308 + languageName: node + linkType: hard + +"@smithy/node-http-handler@npm:^4.4.12": + version: 4.4.12 + resolution: "@smithy/node-http-handler@npm:4.4.12" + dependencies: + "@smithy/abort-controller": ^4.2.10 + "@smithy/protocol-http": ^5.3.10 + "@smithy/querystring-builder": ^4.2.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 79c8813c1e61550cb9943b3d8cfc8f9cbf540b222888bc516c13d35e89420c438fd41160badc00e94aab79932dbdb5bc444a89866e5439e7d76b353c278c2d3e + languageName: node + linkType: hard + +"@smithy/property-provider@npm:^4.2.10": + version: 4.2.10 + resolution: "@smithy/property-provider@npm:4.2.10" + dependencies: + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 1c6ed1551a94fad6fc1e247f08120820e92f39f52fa1783a12c078b77a8971533749f18a7ddbd7dd5d4e2f305403bf24bd70d953df6225a0e62797b127524f32 + languageName: node + linkType: hard + +"@smithy/protocol-http@npm:^5.3.10": + version: 5.3.10 + resolution: "@smithy/protocol-http@npm:5.3.10" + dependencies: + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: ba7d6d92b5b40225870021e7812409b73ee53efb5e6defd2041675a036e3e99c5af2a1f1cb863dcead7beb1cb9ee466244aa3d8a0facc7e08ec1025a420862fe + languageName: node + linkType: hard + +"@smithy/querystring-builder@npm:^4.2.10": + version: 4.2.10 + resolution: "@smithy/querystring-builder@npm:4.2.10" + dependencies: + "@smithy/types": ^4.13.0 + "@smithy/util-uri-escape": ^4.2.1 + tslib: ^2.6.2 + checksum: 299e1b0733d3d3efa0e7554071c70ca512aec3be2f6ae3db1e0220631e5142df49a0a8fc9c85ab13d3b84821449c3f447fdd86bf8faf08c0d756759c967801f1 + languageName: node + linkType: hard + +"@smithy/querystring-parser@npm:^4.2.10": + version: 4.2.10 + resolution: "@smithy/querystring-parser@npm:4.2.10" + dependencies: + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 00b234a4678437ca7ec3cb2e3f143f7c320775a1885f649099b224146313f9483205ab7ad045c4aea67136a2b74e61952a2bdabe9a817ac8d413bd52c7314cae + languageName: node + linkType: hard + +"@smithy/service-error-classification@npm:^4.2.10": + version: 4.2.10 + resolution: "@smithy/service-error-classification@npm:4.2.10" + dependencies: + "@smithy/types": ^4.13.0 + checksum: 5bf90eef3be005c102b6c7ae6e1e8ea43b8e72d229ec671697be8cac36af0238e7ed6b83652cdc3525415d1517f881865cdb1f7aa579c1813a28a9c988da0e66 + languageName: node + linkType: hard + +"@smithy/shared-ini-file-loader@npm:^4.4.5": + version: 4.4.5 + resolution: "@smithy/shared-ini-file-loader@npm:4.4.5" + dependencies: + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 044d073f7941687e8ca371884fd9f8b372b80d532d6427c744097320f0a51cf5841661e65880e328b1828d28e968079a8a2f5671ff0476a5a632fce1d88739d5 + languageName: node + linkType: hard + +"@smithy/signature-v4@npm:^5.3.10": + version: 5.3.10 + resolution: "@smithy/signature-v4@npm:5.3.10" + dependencies: + "@smithy/is-array-buffer": ^4.2.1 + "@smithy/protocol-http": ^5.3.10 + "@smithy/types": ^4.13.0 + "@smithy/util-hex-encoding": ^4.2.1 + "@smithy/util-middleware": ^4.2.10 + "@smithy/util-uri-escape": ^4.2.1 + "@smithy/util-utf8": ^4.2.1 + tslib: ^2.6.2 + checksum: 5150eea257c8fe518e9b6c4dd98d317567ea09224f70a8d56b7ea50adc4d4a6a45473b9cd6aa3f323f3d194d9cdf31726e2c24e0aae86994e0ede9b981ce9eb4 + languageName: node + linkType: hard + +"@smithy/smithy-client@npm:^4.12.0": + version: 4.12.0 + resolution: "@smithy/smithy-client@npm:4.12.0" + dependencies: + "@smithy/core": ^3.23.6 + "@smithy/middleware-endpoint": ^4.4.20 + "@smithy/middleware-stack": ^4.2.10 + "@smithy/protocol-http": ^5.3.10 + "@smithy/types": ^4.13.0 + "@smithy/util-stream": ^4.5.15 + tslib: ^2.6.2 + checksum: d7b6044a14a26f0c4a10de27f85c199ebfd473fcc10faca1a29f7eb7df726f31a3779137b94f22dc18a5c5c4ead31ad5af6643c3d8e30e7870e143cf1f6d462b + languageName: node + linkType: hard + +"@smithy/types@npm:^4.13.0": + version: 4.13.0 + resolution: "@smithy/types@npm:4.13.0" + dependencies: + tslib: ^2.6.2 + checksum: dd17710ea5feef27eb2975fd15a83004fbe685482940eb01af8953ca94820ec95ba62d9c7ccd383e669d85de0a5e57b00082e0d53c6a92add91fe7199905e3a6 + languageName: node + linkType: hard + +"@smithy/url-parser@npm:^4.2.10": + version: 4.2.10 + resolution: "@smithy/url-parser@npm:4.2.10" + dependencies: + "@smithy/querystring-parser": ^4.2.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 0442a1d5bd97ba42af68fed4291f04ea2eaf0439d50d74e358ae52fb15b5419a5a0b06bc6bde8b5fadc50433b68fb72d9a11632d7172335654a2c10476502678 + languageName: node + linkType: hard + +"@smithy/util-base64@npm:^4.3.1": + version: 4.3.1 + resolution: "@smithy/util-base64@npm:4.3.1" + dependencies: + "@smithy/util-buffer-from": ^4.2.1 + "@smithy/util-utf8": ^4.2.1 + tslib: ^2.6.2 + checksum: b106b6e86d2e98b123a55299b3bd644118b57b0fe64835ca6083601475b33a5ace7d7616112b96202eb5deffe8a35a24ef7ec5c8c5d62758e4361e10923bb327 + languageName: node + linkType: hard + +"@smithy/util-body-length-browser@npm:^4.2.1": + version: 4.2.1 + resolution: "@smithy/util-body-length-browser@npm:4.2.1" + dependencies: + tslib: ^2.6.2 + checksum: 6cabbd1875bf44b13c6f4d3ca2098ba3d2353889b1dafb75050b3bf1cc9afb659cd4aaabe1c01c16f95e191485ca4047332fa0a4c003c3cbbc0134759e9ce668 + languageName: node + linkType: hard + +"@smithy/util-body-length-node@npm:^4.2.2": + version: 4.2.2 + resolution: "@smithy/util-body-length-node@npm:4.2.2" + dependencies: + tslib: ^2.6.2 + checksum: 51b8a36dc697c34834b1324a0d8b4324d9e937b47489852a3d1a8bb50075a78b00da3ed15a674a47180ed6e20196ab8643b8a5b93ca3aab3c5bfc0d24e4bedb0 + languageName: node + linkType: hard + +"@smithy/util-buffer-from@npm:^2.2.0": + version: 2.2.0 + resolution: "@smithy/util-buffer-from@npm:2.2.0" + dependencies: + "@smithy/is-array-buffer": ^2.2.0 + tslib: ^2.6.2 + checksum: 424c5b7368ae5880a8f2732e298d17879a19ca925f24ca45e1c6c005f717bb15b76eb28174d308d81631ad457ea0088aab0fd3255dd42f45a535c81944ad64d3 + languageName: node + linkType: hard + +"@smithy/util-buffer-from@npm:^4.2.1": + version: 4.2.1 + resolution: "@smithy/util-buffer-from@npm:4.2.1" + dependencies: + "@smithy/is-array-buffer": ^4.2.1 + tslib: ^2.6.2 + checksum: eb3980aee85f54edcd4b361028af0c1a8429f1fa6e15d22ccc303fcc5f79723795c26f450754e90dc841be51b395394c5ed4250ae5e557ee7ad956d00863ed3f + languageName: node + linkType: hard + +"@smithy/util-config-provider@npm:^4.2.1": + version: 4.2.1 + resolution: "@smithy/util-config-provider@npm:4.2.1" + dependencies: + tslib: ^2.6.2 + checksum: d0b35d424a612c9b2f01404ed994432c84ebec73105155a56e7ffda6e28bcd330e69e6a8a32494c61891a1faa268c9f68070020990d17d53268ac2f94e5d875b + languageName: node + linkType: hard + +"@smithy/util-defaults-mode-browser@npm:^4.3.36": + version: 4.3.36 + resolution: "@smithy/util-defaults-mode-browser@npm:4.3.36" + dependencies: + "@smithy/property-provider": ^4.2.10 + "@smithy/smithy-client": ^4.12.0 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: a4f4671296e70f075325d0e7a2d0c456a0685488eae272dadae1fd1c207793f359faf0a38c2e70aa9895b165855ad88fe22fc6c4ecd805a420cfa2af5d07288c + languageName: node + linkType: hard + +"@smithy/util-defaults-mode-node@npm:^4.2.39": + version: 4.2.39 + resolution: "@smithy/util-defaults-mode-node@npm:4.2.39" + dependencies: + "@smithy/config-resolver": ^4.4.9 + "@smithy/credential-provider-imds": ^4.2.10 + "@smithy/node-config-provider": ^4.3.10 + "@smithy/property-provider": ^4.2.10 + "@smithy/smithy-client": ^4.12.0 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: ac2f0c5af232da193bb56f189282d654b8d763c18543ec6013141284fd0a60b6e5462461e635695aed997b698d126a7c0c600fe8c2c2b0d7c4341b35fac6c109 + languageName: node + linkType: hard + +"@smithy/util-endpoints@npm:^3.3.1": + version: 3.3.1 + resolution: "@smithy/util-endpoints@npm:3.3.1" + dependencies: + "@smithy/node-config-provider": ^4.3.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 197613d9300bfe263f5e015002186740088aee7536a2a859207cc80b2c82b299277ff1f1cba6a55abc11f35aac5b31477865ce6b7e91bb7c887698297becb468 + languageName: node + linkType: hard + +"@smithy/util-hex-encoding@npm:^4.2.1": + version: 4.2.1 + resolution: "@smithy/util-hex-encoding@npm:4.2.1" + dependencies: + tslib: ^2.6.2 + checksum: aa570f9460c74b8a0f61be87da90f6aa5ee4378006245742d8ddca5f34ab087cbe02909239de229b4b0243d72152a4965ccd5b6c5b3e778557bbaecc744cec14 + languageName: node + linkType: hard + +"@smithy/util-middleware@npm:^4.2.10": + version: 4.2.10 + resolution: "@smithy/util-middleware@npm:4.2.10" + dependencies: + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: e74b020d1205639178ecd23bcb39dd295e63165f79fdacb9539fa6d171aeceb060ff25c66ec41554fab3a46fc952fe3591dbde830cd17b61238516b32edac8ef + languageName: node + linkType: hard + +"@smithy/util-retry@npm:^4.2.10": + version: 4.2.10 + resolution: "@smithy/util-retry@npm:4.2.10" + dependencies: + "@smithy/service-error-classification": ^4.2.10 + "@smithy/types": ^4.13.0 + tslib: ^2.6.2 + checksum: 1751c4f9eef4f7d2a1cbf6371763179427aaa1cb433a1ddd9a1dfb060b38aa4bd0718ea7471549d964c6457a7929f043eaa9cbab0c9e9e1909f00ee3affdbb63 + languageName: node + linkType: hard + +"@smithy/util-stream@npm:^4.5.15": + version: 4.5.15 + resolution: "@smithy/util-stream@npm:4.5.15" + dependencies: + "@smithy/fetch-http-handler": ^5.3.11 + "@smithy/node-http-handler": ^4.4.12 + "@smithy/types": ^4.13.0 + "@smithy/util-base64": ^4.3.1 + "@smithy/util-buffer-from": ^4.2.1 + "@smithy/util-hex-encoding": ^4.2.1 + "@smithy/util-utf8": ^4.2.1 + tslib: ^2.6.2 + checksum: c4030dc3f7cc2378216d055767344e2aaa6a1324558a53d696bdb2416ee97f6d5182e2bddef354c66ca56178d5bd735b89ece5f2dfff88c574ccb9e27c187e57 + languageName: node + linkType: hard + +"@smithy/util-uri-escape@npm:^4.2.1": + version: 4.2.1 + resolution: "@smithy/util-uri-escape@npm:4.2.1" + dependencies: + tslib: ^2.6.2 + checksum: 104671832839f5a62a176da06c6d3b661d1c69ab5a6701dce8793e65c496d7022c0f279f03d8680856b957ca987e3152e04d81cd66cdf451cd3378dd172758a7 + languageName: node + linkType: hard + +"@smithy/util-utf8@npm:^2.0.0": + version: 2.3.0 + resolution: "@smithy/util-utf8@npm:2.3.0" + dependencies: + "@smithy/util-buffer-from": ^2.2.0 + tslib: ^2.6.2 + checksum: 00e55d4b4e37d48be0eef3599082402b933c52a1407fed7e8e8ad76d94d81a0b30b8bfaf2047c59d9c3af31e5f20e7a8c959cb7ae270f894255e05a2229964f0 + languageName: node + linkType: hard + +"@smithy/util-utf8@npm:^4.2.1": + version: 4.2.1 + resolution: "@smithy/util-utf8@npm:4.2.1" + dependencies: + "@smithy/util-buffer-from": ^4.2.1 + tslib: ^2.6.2 + checksum: 8260212eb236b6619f3b1e4830b06856ffacd535c37b7f9b197d3563a9d264d4b54c0d986f69c00e1371ff778518993ebe42d7145179f431526ff2a09f130305 + languageName: node + linkType: hard + +"@smithy/uuid@npm:^1.1.1": + version: 1.1.1 + resolution: "@smithy/uuid@npm:1.1.1" + dependencies: + tslib: ^2.6.2 + checksum: 02c382f3b5e4340e0c78cb49b044a2c2631595ba6c3ee23ffd8e9e9646fed56ff3f75634e177c74000c3d32416e9752f4480153ebdd3714b83df4b9087e3a443 + languageName: node + linkType: hard + "@socket.io/component-emitter@npm:~3.1.0": version: 3.1.2 resolution: "@socket.io/component-emitter@npm:3.1.2" @@ -8976,7 +9968,7 @@ __metadata: languageName: node linkType: hard -"@types/bson@npm:*, @types/bson@npm:1.x || 4.0.x": +"@types/bson@npm:*": version: 4.0.5 resolution: "@types/bson@npm:4.0.5" dependencies: @@ -9345,7 +10337,7 @@ __metadata: languageName: node linkType: hard -"@types/mongodb@npm:^3.5.27, @types/mongodb@npm:^3.6.20": +"@types/mongodb@npm:^3.6.20": version: 3.6.20 resolution: "@types/mongodb@npm:3.6.20" dependencies: @@ -9731,6 +10723,16 @@ __metadata: languageName: node linkType: hard +"@types/whatwg-url@npm:^8.2.1": + version: 8.2.2 + resolution: "@types/whatwg-url@npm:8.2.2" + dependencies: + "@types/node": "*" + "@types/webidl-conversions": "*" + checksum: 5dc5afe078dfa1a8a266745586fa3db9baa8ce7cc904789211d1dca1d34d7f3dd17d0b7423c36bc9beab9d98aa99338f1fc60798c0af6cbb8356f20e20d9f243 + languageName: node + linkType: hard + "@types/yargs-parser@npm:*": version: 21.0.3 resolution: "@types/yargs-parser@npm:21.0.3" @@ -10842,7 +11844,7 @@ __metadata: moment: ^2.30.1 mongodb: ^6.8.0 mongodb-memory-server: ^10.0.0 - mongoose: ^ 5.13.15 + mongoose: 6.13.9 mongoose-softdelete-typescript: ^0.0.3 nestjs-unleash: ^2.2.3 newrelic: ^11.5.0 @@ -11849,13 +12851,6 @@ __metadata: languageName: node linkType: hard -"bluebird@npm:3.5.1": - version: 3.5.1 - resolution: "bluebird@npm:3.5.1" - checksum: 0c4b4b93c119c9631fe8987a69f4d06eee204d4e0979defd9d121ab82861bbf0d546e888b3ccf67d5aefd34bcbf5a898a353b788f00c338b390e7c303ce89cf7 - languageName: node - linkType: hard - "bluebird@npm:^3.7.2": version: 3.7.2 resolution: "bluebird@npm:3.7.2" @@ -11944,6 +12939,13 @@ __metadata: languageName: node linkType: hard +"bowser@npm:^2.11.0": + version: 2.14.1 + resolution: "bowser@npm:2.14.1" + checksum: 5a8b6272c5300b6de416b8508930479cb9028fda597fe3b77f3adbb3959c6bb58ac92b3398c9e9d3652c71e46bce3d6083a611c60c82e9cbaa8ce9698bc9c7af + languageName: node + linkType: hard + "bplist-parser@npm:^0.2.0": version: 0.2.0 resolution: "bplist-parser@npm:0.2.0" @@ -12127,6 +13129,15 @@ __metadata: languageName: node linkType: hard +"bson@npm:^4.7.2": + version: 4.7.2 + resolution: "bson@npm:4.7.2" + dependencies: + buffer: ^5.6.0 + checksum: f357d12c5679c8eb029a62e410ad40fb862b7b91f0fc12a3399fb3668e14aecaa63205ffeeee48735a01d393171743607dcd527eb8c058b6f2bd294079ee4125 + languageName: node + linkType: hard + "bson@npm:^6.10.4": version: 6.10.4 resolution: "bson@npm:6.10.4" @@ -13789,15 +14800,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:3.1.0": - version: 3.1.0 - resolution: "debug@npm:3.1.0" - dependencies: - ms: 2.0.0 - checksum: 0b52718ab957254a5b3ca07fc34543bc778f358620c206a08452251eb7fc193c3ea3505072acbf4350219c14e2d71ceb7bdaa0d3370aa630b50da790458d08b3 - languageName: node - linkType: hard - "debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.2.0, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.4.1": version: 4.4.1 resolution: "debug@npm:4.4.1" @@ -13834,16 +14836,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:^3.1.0, debug@npm:^3.2.7": - version: 3.2.7 - resolution: "debug@npm:3.2.7" - dependencies: - ms: ^2.1.1 - checksum: b3d8c5940799914d30314b7c3304a43305fd0715581a919dacb8b3176d024a782062368405b47491516d2091d6462d4d11f2f4974a405048094f8bfebfa3071c - languageName: node - linkType: hard - -"debug@npm:^4.4.0, debug@npm:^4.4.3": +"debug@npm:4.x, debug@npm:^4.4.0, debug@npm:^4.4.3": version: 4.4.3 resolution: "debug@npm:4.4.3" dependencies: @@ -13855,6 +14848,15 @@ __metadata: languageName: node linkType: hard +"debug@npm:^3.1.0, debug@npm:^3.2.7": + version: 3.2.7 + resolution: "debug@npm:3.2.7" + dependencies: + ms: ^2.1.1 + checksum: b3d8c5940799914d30314b7c3304a43305fd0715581a919dacb8b3176d024a782062368405b47491516d2091d6462d4d11f2f4974a405048094f8bfebfa3071c + languageName: node + linkType: hard + "debug@npm:~4.3.1, debug@npm:~4.3.2, debug@npm:~4.3.4": version: 4.3.7 resolution: "debug@npm:4.3.7" @@ -15955,6 +16957,17 @@ __metadata: languageName: node linkType: hard +"fast-xml-parser@npm:5.3.6": + version: 5.3.6 + resolution: "fast-xml-parser@npm:5.3.6" + dependencies: + strnum: ^2.1.2 + bin: + fxparser: src/cli/cli.js + checksum: 62363dfe997f14debf5ebac22df8f3930f6a6fdc249ff2cda81aa442dafa52e7997cf62854f8d6e29d239f6b342feb448ec41d382d879d968fa4f59c144b522a + languageName: node + linkType: hard + "fastq@npm:^1.6.0": version: 1.19.1 resolution: "fastq@npm:1.19.1" @@ -19342,10 +20355,10 @@ __metadata: languageName: node linkType: hard -"kareem@npm:2.3.2": - version: 2.3.2 - resolution: "kareem@npm:2.3.2" - checksum: 61ee3adb273e3e999eae731119bd74e40fd01ffef585b4e47756ca29dfc939a03c6a1dd8a43f2a864e599c3716e00404d1812e685b32ec7f9c52d6cedf2f2fcb +"kareem@npm:2.5.1": + version: 2.5.1 + resolution: "kareem@npm:2.5.1" + checksum: b019a960a7b9e44b6ef224ef85e7583d4e969619f53319e571677fbed7e57e01ee8774589726b29741e42790996567d878003c18e674296742dc343bfbf3efb9 languageName: node linkType: hard @@ -21038,6 +22051,16 @@ __metadata: languageName: node linkType: hard +"mongodb-connection-string-url@npm:^2.6.0": + version: 2.6.0 + resolution: "mongodb-connection-string-url@npm:2.6.0" + dependencies: + "@types/whatwg-url": ^8.2.1 + whatwg-url: ^11.0.0 + checksum: 1d662f0ecfe96f7a400f625c244b2e52914c98f3562ee7d19941127578b5f8237624433bdcea285a654041b945b518803512989690c74548aec5860c5541c605 + languageName: node + linkType: hard + "mongodb-connection-string-url@npm:^3.0.0": version: 3.0.2 resolution: "mongodb-connection-string-url@npm:3.0.2" @@ -21114,7 +22137,25 @@ __metadata: languageName: node linkType: hard -"mongodb@npm:3.7.4, mongodb@npm:^3.7.3": +"mongodb@npm:4.17.2": + version: 4.17.2 + resolution: "mongodb@npm:4.17.2" + dependencies: + "@aws-sdk/credential-providers": ^3.186.0 + "@mongodb-js/saslprep": ^1.1.0 + bson: ^4.7.2 + mongodb-connection-string-url: ^2.6.0 + socks: ^2.7.1 + dependenciesMeta: + "@aws-sdk/credential-providers": + optional: true + "@mongodb-js/saslprep": + optional: true + checksum: 483d91b9b7f042162559ad781308e2f3df8c1217d87bffe65152ea5e7365c6b8de31b44533fa95dd596cb71d86fdbeecc703e1465f6cbd139ba63505fcf7add2 + languageName: node + linkType: hard + +"mongodb@npm:^3.7.3": version: 3.7.4 resolution: "mongodb@npm:3.7.4" dependencies: @@ -21178,15 +22219,6 @@ __metadata: languageName: node linkType: hard -"mongoose-legacy-pluralize@npm:1.0.2": - version: 1.0.2 - resolution: "mongoose-legacy-pluralize@npm:1.0.2" - peerDependencies: - mongoose: "*" - checksum: 8312c208824b8c2d9cd60562cbc06d0da54118ca5799dfacabc1aa0f41d9ee061b2e7877019bc9cf7204bd509de88e20158b08d98d98a459d8784af69b4d9f77 - languageName: node - linkType: hard - "mongoose-softdelete-typescript@npm:^0.0.3": version: 0.0.3 resolution: "mongoose-softdelete-typescript@npm:0.0.3" @@ -21194,25 +22226,18 @@ __metadata: languageName: node linkType: hard -"mongoose@npm:^ 5.13.15": - version: 5.13.23 - resolution: "mongoose@npm:5.13.23" +"mongoose@npm:6.13.9": + version: 6.13.9 + resolution: "mongoose@npm:6.13.9" dependencies: - "@types/bson": 1.x || 4.0.x - "@types/mongodb": ^3.5.27 - bson: ^1.1.4 - kareem: 2.3.2 - mongodb: 3.7.4 - mongoose-legacy-pluralize: 1.0.2 - mpath: 0.8.4 - mquery: 3.2.5 - ms: 2.1.2 - optional-require: 1.0.x - regexp-clone: 1.0.0 - safe-buffer: 5.2.1 - sift: 13.5.2 - sliced: 1.0.1 - checksum: 229e8a50b06cca8b2d247f49ea62eecc41fb2d7f315150cd034b6f8fa1f0421897d8976c491f91ea34d8efe272f56b913e8cd50ee583a3286754a31c9dab0e8f + bson: ^4.7.2 + kareem: 2.5.1 + mongodb: 4.17.2 + mpath: 0.9.0 + mquery: 4.0.3 + ms: 2.1.3 + sift: 16.0.1 + checksum: 00688058e8bf06099b8640d55bf88c45b65cc7eed8c708be23478fa7b594fcf5fa2e125bce7c819123f55be57bacbe5e486169c7b288f555a4230349776512ff languageName: node linkType: hard @@ -21236,23 +22261,19 @@ __metadata: languageName: node linkType: hard -"mpath@npm:0.8.4": - version: 0.8.4 - resolution: "mpath@npm:0.8.4" - checksum: 06ad1d443766626fa361b67a4eca9cd4c36a71e475e92e8a5c242dbbc9a911adac00ce971177843b48475356df609f847342548da7701a976a2ab4116135caf0 +"mpath@npm:0.9.0": + version: 0.9.0 + resolution: "mpath@npm:0.9.0" + checksum: 1052f1f926db04502440f76164ae16ed53aa41f3ce34e7e64e3ed451b7d91ede295c3b600801c5f9eb862f03d9d59b7aa5aaf690c341fc521bef025d0f5cd773 languageName: node linkType: hard -"mquery@npm:3.2.5": - version: 3.2.5 - resolution: "mquery@npm:3.2.5" +"mquery@npm:4.0.3": + version: 4.0.3 + resolution: "mquery@npm:4.0.3" dependencies: - bluebird: 3.5.1 - debug: 3.1.0 - regexp-clone: ^1.0.0 - safe-buffer: 5.1.2 - sliced: 1.0.1 - checksum: 3f8c80c36118e144148a3a41015a3a218e45bddabb33ba2630b50f50c31acf3c4e9f6c0ca11fa07e955a0fe11941d17ac8f03356d3e4eb0452034469d8dd1856 + debug: 4.x + checksum: 16a6887ba7594e71d38969ab58c7be1866a0ffa07a559e4bb43eaefd00db2ae174aedbe2187d94f2a86dca1e07e024d03c22c39fdea09bf08dbf586a2f7ecb0c languageName: node linkType: hard @@ -22227,13 +23248,6 @@ __metadata: languageName: node linkType: hard -"optional-require@npm:1.0.x": - version: 1.0.3 - resolution: "optional-require@npm:1.0.3" - checksum: 113d376ee2a130afbca1610c17f25f4d1d7c7e42029f3b4d56334ee5408fec2c3fe31617abdb699025cced274d75fd6f0b2ed5eb49bec47acabeecc3feb76f19 - languageName: node - linkType: hard - "optional-require@npm:^1.1.8": version: 1.1.10 resolution: "optional-require@npm:1.1.10" @@ -24360,20 +25374,6 @@ __metadata: languageName: node linkType: hard -"regexp-clone@npm:1.0.0": - version: 1.0.0 - resolution: "regexp-clone@npm:1.0.0" - checksum: ca4960bbdc4237c84813b12aed351606be7db60a8c8867ef46b44f00eec4e83f51b31de34e294900517db9d7a39636117af80916f6ce7dc45ea00cae3c6d6fc3 - languageName: node - linkType: hard - -"regexp-clone@npm:^1.0.0": - version: 1.2.0 - resolution: "regexp-clone@npm:1.2.0" - checksum: 5d6a40a11c88f6e437f7334aac4732b573c9f1d77f9702eb886bfc3c1efec95e74a46b0c204f5f10a39ea1addb37228b74f0ba5e88fcb28a9171bd79105fbd8c - languageName: node - linkType: hard - "regexp.prototype.flags@npm:^1.5.1, regexp.prototype.flags@npm:^1.5.3, regexp.prototype.flags@npm:^1.5.4": version: 1.5.4 resolution: "regexp.prototype.flags@npm:1.5.4" @@ -25552,10 +26552,10 @@ __metadata: languageName: node linkType: hard -"sift@npm:13.5.2": - version: 13.5.2 - resolution: "sift@npm:13.5.2" - checksum: 31951836c464b995b25f888876dea9c58c7a3eaa419d2ed271776d55db2d1019c6438ee458047d3c16bc93f0a329366dc535dc3a6afc42038949dc2a6a548f61 +"sift@npm:16.0.1": + version: 16.0.1 + resolution: "sift@npm:16.0.1" + checksum: 5fe18a517a20c35e0c05238797cc605094a6cb602b08c4661268c415b71a10f1a55ee4cc8728552e390e7cb4683a33bcbd68d7971eb44645cc6211e2f00dd233 languageName: node linkType: hard @@ -25685,13 +26685,6 @@ __metadata: languageName: node linkType: hard -"sliced@npm:1.0.1": - version: 1.0.1 - resolution: "sliced@npm:1.0.1" - checksum: 84528d23279985ead75809eeec5d601b0fb6bc28348c6627f4feb40747533a1e36a75e8bc60f9079528079b21c434890b397e8fc5c24a649165cc0bbe90b4d70 - languageName: node - linkType: hard - "slugify@npm:^1.6.1": version: 1.6.6 resolution: "slugify@npm:1.6.6" @@ -25764,7 +26757,7 @@ __metadata: languageName: node linkType: hard -"socks@npm:^2.8.3": +"socks@npm:^2.7.1, socks@npm:^2.8.3": version: 2.8.7 resolution: "socks@npm:2.8.7" dependencies: @@ -26319,6 +27312,13 @@ __metadata: languageName: node linkType: hard +"strnum@npm:^2.1.2": + version: 2.1.2 + resolution: "strnum@npm:2.1.2" + checksum: 755e8327ee68201d700169ceee097ea52da7b675f4521442a8dbd1517021f89a91399213c446d1bf3d1123ca1896a76f0ff076d04c88ffe6056e78828ce6f60a + languageName: node + linkType: hard + "strtok3@npm:^10.2.0": version: 10.3.4 resolution: "strtok3@npm:10.3.4" @@ -26985,6 +27985,15 @@ __metadata: languageName: node linkType: hard +"tr46@npm:^3.0.0": + version: 3.0.0 + resolution: "tr46@npm:3.0.0" + dependencies: + punycode: ^2.1.1 + checksum: 44c3cc6767fb800490e6e9fd64fd49041aa4e49e1f6a012b34a75de739cc9ed3a6405296072c1df8b6389ae139c5e7c6496f659cfe13a04a4bff3a1422981270 + languageName: node + linkType: hard + "tr46@npm:^5.1.0": version: 5.1.1 resolution: "tr46@npm:5.1.1" @@ -27220,7 +28229,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:2.8.1, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.8.0, tslib@npm:^2.8.1": +"tslib@npm:2.8.1, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.6.2, tslib@npm:^2.8.0, tslib@npm:^2.8.1": version: 2.8.1 resolution: "tslib@npm:2.8.1" checksum: e4aba30e632b8c8902b47587fd13345e2827fa639e7c3121074d5ee0880723282411a8838f830b55100cbe4517672f84a2472667d355b81e8af165a55dc6203a @@ -28431,6 +29440,16 @@ __metadata: languageName: node linkType: hard +"whatwg-url@npm:^11.0.0": + version: 11.0.0 + resolution: "whatwg-url@npm:11.0.0" + dependencies: + tr46: ^3.0.0 + webidl-conversions: ^7.0.0 + checksum: ed4826aaa57e66bb3488a4b25c9cd476c46ba96052747388b5801f137dd740b73fde91ad207d96baf9f17fbcc80fc1a477ad65181b5eb5fa718d27c69501d7af + languageName: node + linkType: hard + "whatwg-url@npm:^14.1.0 || ^13.0.0": version: 14.2.0 resolution: "whatwg-url@npm:14.2.0"