From 395aaa69d7c550f7884c262b566e759854e377eb Mon Sep 17 00:00:00 2001 From: sebastianwzq <136435307+sebastianwzq@users.noreply.github.com> Date: Sat, 30 Sep 2023 11:43:56 +0800 Subject: [PATCH] chore: fix snyk vulnerabilities (#6728) * chore: updated connect-mongo from 4.4.1 to 4.6.0 * chore: updated dd-trace from 3.9.3 to 3.36.0 * chore: update stoplight from 4.10.6 to 5.3.2 * chore: updated package.json * chore: updated bson-ext from 2.0.6 to 4.0.3 * chore: revert update to bson * chore: update bcrypt from 5.1.0 to 5.1.1 * chore: update twilio 4.11.0 to 4.18.0 * chore: update package-lock.json for twilio upgrade * chore: update jsonwebtoken from 9.0.0 to 9.0.2 * chore: update jsonwebtoken from 9.0.0 to 9.0.2 * chore: merge and moved jest options from cli to config * chore: update maxworkers to 4 * chore: update timeout to 300s --- jest.config.js | 4 +- package-lock.json | 949 +++++++++++++++++++++++++--------------------- package.json | 10 +- 3 files changed, 520 insertions(+), 443 deletions(-) diff --git a/jest.config.js b/jest.config.js index 56e7707266..3162c63121 100644 --- a/jest.config.js +++ b/jest.config.js @@ -14,6 +14,7 @@ module.exports = { '/node_modules/', '/frontend', ], + collectCoverage: true, collectCoverageFrom: [ './src/**/*.{ts,js}', './serverless/**/*.{ts,js}', @@ -26,7 +27,8 @@ module.exports = { statements: 38, // Increase this percentage as test coverage improves }, }, - testTimeout: 15000, // Set timeout to be 15s to reduce test flakiness + testTimeout: 300000, // Set timeout to be 300s to reduce test flakiness + maxWorkers: '4', globals: { // Revert when memory leak in ts-jest is fixed. // See https://github.com/kulshekhar/ts-jest/issues/1967. diff --git a/package-lock.json b/package-lock.json index 390f6fe816..fb7f4f5c23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@sentry/browser": "^7.51.2", "@sentry/integrations": "^6.19.7", "@stablelib/base64": "^1.0.1", - "@stoplight/prism-cli": "^4.10.6", + "@stoplight/prism-cli": "^5.3.2", "abortcontroller-polyfill": "^1.7.5", "aws-info": "^1.2.0", "aws-sdk": "^2.1354.0", @@ -35,7 +35,7 @@ "celebrate": "^15.0.1", "compression": "~1.7.2", "connect-datadog": "0.0.9", - "connect-mongo": "^4.4.1", + "connect-mongo": "~4.6.0", "convict": "^6.2.4", "convict-format-with-validator": "^6.2.0", "cookie-parser": "~1.4.6", @@ -43,7 +43,7 @@ "csv-string": "^4.1.1", "cuid": "^2.1.8", "date-fns": "^2.30.0", - "dd-trace": "^3.9.3", + "dd-trace": "^3.36.0", "dedent-js": "~1.0.1", "dotenv": "^16.0.3", "ejs": "^3.1.8", @@ -102,7 +102,7 @@ "triple-beam": "^1.3.0", "ts-essentials": "^9.3.1", "tweetnacl": "^1.0.1", - "twilio": "^4.11.0", + "twilio": "~4.18.0", "ui-select": "^0.19.8", "uid-generator": "^2.0.0", "ulid": "^2.3.0", @@ -4223,9 +4223,9 @@ } }, "node_modules/@datadog/native-appsec": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@datadog/native-appsec/-/native-appsec-2.0.0.tgz", - "integrity": "sha512-XHARZ6MVgbnfOUO6/F3ZoZ7poXHJCNYFlgcyS2Xetuk9ITA5bfcooX2B2F7tReVB+RLJ+j8bsm0t55SyF04KDw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@datadog/native-appsec/-/native-appsec-4.0.0.tgz", + "integrity": "sha512-myTguXJ3VQHS2E1ylNsSF1avNpDmq5t+K4Q47wdzeakGc3sDIDDyEbvuFTujl9c9wBIkup94O1mZj5DR37ajzA==", "hasInstallScript": true, "dependencies": { "node-gyp-build": "^3.9.0" @@ -4235,20 +4235,29 @@ } }, "node_modules/@datadog/native-iast-rewriter": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@datadog/native-iast-rewriter/-/native-iast-rewriter-1.0.0.tgz", - "integrity": "sha512-DGN4cQd30mUaAB349gKeoDTt7acviBERnNYlyk8G+PlobuomTSEohJri5Jo4X+/5oRJPJngGX2VBq7YwMHiing==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@datadog/native-iast-rewriter/-/native-iast-rewriter-2.1.3.tgz", + "integrity": "sha512-4oxMFz5ZEpOK3pRc9KjquMgkRP6D+oPQVIzOk4dgG8fl2iepHtCa3gna/fQBfdWIiX5a2j65O3R1zNp2ckk8JA==", "dependencies": { + "lru-cache": "^7.14.0", "node-gyp-build": "^4.5.0" }, "engines": { "node": ">= 10" } }, + "node_modules/@datadog/native-iast-rewriter/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "engines": { + "node": ">=12" + } + }, "node_modules/@datadog/native-iast-rewriter/node_modules/node-gyp-build": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.5.0.tgz", - "integrity": "sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg==", + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.1.tgz", + "integrity": "sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==", "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", @@ -4256,37 +4265,42 @@ } }, "node_modules/@datadog/native-iast-taint-tracking": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@datadog/native-iast-taint-tracking/-/native-iast-taint-tracking-1.0.0.tgz", - "integrity": "sha512-fS7XoRE5T4JQ7UzWjNT/wZQhS6nmLDwt12IDcSBZfRRJ2VyFth5GvOlQtCPa6Q0k7WMIrt9UXIl/v807cVq1SQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@datadog/native-iast-taint-tracking/-/native-iast-taint-tracking-1.5.0.tgz", + "integrity": "sha512-SOWIk1M6PZH0osNB191Voz2rKBPoF5hISWVSK9GiJPrD40+xjib1Z/bFDV7EkDn3kjOyordSBdNPG5zOqZJdyg==", "dependencies": { "node-gyp-build": "^3.9.0" } }, "node_modules/@datadog/native-metrics": { - "version": "1.5.0", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@datadog/native-metrics/-/native-metrics-2.0.0.tgz", + "integrity": "sha512-YklGVwUtmKGYqFf1MNZuOHvTYdKuR4+Af1XkWcMD8BwOAjxmd9Z+97328rCOY8TFUJzlGUPaXzB8j2qgG/BMwA==", "hasInstallScript": true, - "license": "Apache-2.0", "dependencies": { + "node-addon-api": "^6.1.0", "node-gyp-build": "^3.9.0" }, "engines": { "node": ">=12" } }, + "node_modules/@datadog/native-metrics/node_modules/node-addon-api": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz", + "integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==" + }, "node_modules/@datadog/pprof": { - "version": "1.1.1", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@datadog/pprof/-/pprof-3.2.0.tgz", + "integrity": "sha512-kOhWHCWB80djnMCr5KNKBAy1Ih/jK/PIj6yqnZwL1Wqni/h6IBPRUMhtIxcYJMRgsZVYrFXUV20AVXTZCzFokw==", "hasInstallScript": true, - "license": "Apache-2.0", "dependencies": { "delay": "^5.0.0", - "findit2": "^2.2.3", - "node-gyp-build": "^3.9.0", + "node-gyp-build": "<4.0", "p-limit": "^3.1.0", - "pify": "^5.0.0", - "protobufjs": "^7.0.0", - "source-map": "^0.7.3", - "split": "^1.0.1" + "pprof-format": "^2.0.7", + "source-map": "^0.7.4" }, "engines": { "node": ">=12" @@ -4294,7 +4308,8 @@ }, "node_modules/@datadog/pprof/node_modules/p-limit": { "version": "3.1.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dependencies": { "yocto-queue": "^0.1.0" }, @@ -4305,19 +4320,10 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@datadog/pprof/node_modules/pify": { - "version": "5.0.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@datadog/pprof/node_modules/source-map": { "version": "0.7.4", - "license": "BSD-3-Clause", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", "engines": { "node": ">= 8" } @@ -5621,6 +5627,36 @@ "url": "https://github.com/sponsors/panva" } }, + "node_modules/@opentelemetry/api": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.6.0.tgz", + "integrity": "sha512-OWlrQAnWn9577PhVgqjUvMr1pg57Bc4jv0iL4w0PRuOSRvq67rvHW9Ie/dZVMvCzhSCB+UxhcY/PmCmFj33Q+g==", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@opentelemetry/core": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.17.0.tgz", + "integrity": "sha512-tfnl3h+UefCgx1aeN2xtrmr6BmdWGKXypk0pflQR0urFS40aE88trnkOMc2HTJZbMrqEEl4HsaBeFhwLVXsrJg==", + "dependencies": { + "@opentelemetry/semantic-conventions": "1.17.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.0.0 <1.7.0" + } + }, + "node_modules/@opentelemetry/semantic-conventions": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.17.0.tgz", + "integrity": "sha512-+fguCd2d8d2qruk0H0DsCEy2CTK3t0Tugg7MhZ/UQMvmewbZLNnJ6heSYyzIZWG5IPfAXzoj4f4F/qpM7l4VBA==", + "engines": { + "node": ">=14" + } + }, "node_modules/@playwright/test": { "version": "1.34.3", "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.34.3.tgz", @@ -5642,23 +5678,28 @@ }, "node_modules/@protobufjs/aspromise": { "version": "1.1.2", - "license": "BSD-3-Clause" + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" }, "node_modules/@protobufjs/base64": { "version": "1.1.2", - "license": "BSD-3-Clause" + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" }, "node_modules/@protobufjs/codegen": { "version": "2.0.4", - "license": "BSD-3-Clause" + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" }, "node_modules/@protobufjs/eventemitter": { "version": "1.1.0", - "license": "BSD-3-Clause" + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" }, "node_modules/@protobufjs/fetch": { "version": "1.1.0", - "license": "BSD-3-Clause", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", "dependencies": { "@protobufjs/aspromise": "^1.1.1", "@protobufjs/inquire": "^1.1.0" @@ -5666,23 +5707,28 @@ }, "node_modules/@protobufjs/float": { "version": "1.0.2", - "license": "BSD-3-Clause" + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" }, "node_modules/@protobufjs/inquire": { "version": "1.1.0", - "license": "BSD-3-Clause" + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" }, "node_modules/@protobufjs/path": { "version": "1.1.2", - "license": "BSD-3-Clause" + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" }, "node_modules/@protobufjs/pool": { "version": "1.1.0", - "license": "BSD-3-Clause" + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" }, "node_modules/@protobufjs/utf8": { "version": "1.1.0", - "license": "BSD-3-Clause" + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" }, "node_modules/@puppeteer/browsers": { "version": "1.7.1", @@ -7146,9 +7192,9 @@ } }, "node_modules/@stoplight/json-schema-ref-parser": { - "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@stoplight/json-schema-ref-parser/-/json-schema-ref-parser-9.2.4.tgz", - "integrity": "sha512-alWys5FhpfBtCJpZmWq47fZ4BBGcOGUqEI8b7AkJRZ+OaEoUIQtm8BReWY+JbU4D7+tBozX8Y+LF9Oxa9mYDSg==", + "version": "9.2.5", + "resolved": "https://registry.npmjs.org/@stoplight/json-schema-ref-parser/-/json-schema-ref-parser-9.2.5.tgz", + "integrity": "sha512-7UI3pX5oyGzAdGPah001CyPnIsJZJW+38sGjvx862zXQFidBe0sxFO5MUety61Zr/RaygCQ2RU/KfD7hSfOLxg==", "dependencies": { "@jsdevtools/ono": "^7.1.3", "@stoplight/path": "^1.3.2", @@ -7160,9 +7206,9 @@ } }, "node_modules/@stoplight/json-schema-sampler": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@stoplight/json-schema-sampler/-/json-schema-sampler-0.2.2.tgz", - "integrity": "sha512-QP4ZwXh3dEn5wHZs2361kdf4BmaKiiP+pxIImAuVTLmulv9sBTB+ETG7Y5z9u4DOUQu2GNxfUY10iSwuBQMXrg==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@stoplight/json-schema-sampler/-/json-schema-sampler-0.3.0.tgz", + "integrity": "sha512-G7QImi2xr9+8iPEg0D9YUi1BWhIiiEm19aMb91oWBSdxuhezOAqqRP3XNY6wczHV9jLWW18f+KkghTy9AG0BQA==", "dependencies": { "@types/json-schema": "^7.0.7", "json-pointer": "^0.6.1" @@ -7190,16 +7236,16 @@ } }, "node_modules/@stoplight/prism-cli": { - "version": "4.14.1", - "resolved": "https://registry.npmjs.org/@stoplight/prism-cli/-/prism-cli-4.14.1.tgz", - "integrity": "sha512-2rZ0pJSD0ZNtiklyAc/jwMI31B6ONWIP7fVlIUcm4D0mbkPNV5Y+dlmhiyBxk9QIWA6o83ZnfBkj/z02+LpMMQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/@stoplight/prism-cli/-/prism-cli-5.3.2.tgz", + "integrity": "sha512-dGdluLYOg9+o5bWm9csKU0J+inc9F+cdFQtjFQIbBlmaXCzYwzv6NaaGySbLIwMh3Arx3W7B/+LOfKofTJPjDA==", "dependencies": { "@stoplight/http-spec": "^5.9.2", "@stoplight/json": "^3.18.1", - "@stoplight/json-schema-ref-parser": "9.2.4", - "@stoplight/prism-core": "^4.14.1", - "@stoplight/prism-http": "^4.14.1", - "@stoplight/prism-http-server": "^4.14.1", + "@stoplight/json-schema-ref-parser": "9.2.5", + "@stoplight/prism-core": "^5.3.2", + "@stoplight/prism-http": "^5.3.2", + "@stoplight/prism-http-server": "^5.3.2", "@stoplight/types": "^13.15.0", "chalk": "^4.1.2", "chokidar": "^3.5.2", @@ -7375,9 +7421,9 @@ } }, "node_modules/@stoplight/prism-core": { - "version": "4.14.1", - "resolved": "https://registry.npmjs.org/@stoplight/prism-core/-/prism-core-4.14.1.tgz", - "integrity": "sha512-BBbZVPlrshU9izUZOnUaluLDcgrHAsPqXuouPr0WXyd229IQst0hGUMb3nlAIM1W/jdYbKr5hcDp/y3uqKE5CA==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/@stoplight/prism-core/-/prism-core-5.3.2.tgz", + "integrity": "sha512-4u1009vVyyzxVaMXY3AzvJf5lmVHJOaosVwiP9O97eAQKuyk0eWMUPjdfV+l5CaUN2wXckOgPvY3rskusXcWIw==", "dependencies": { "fp-ts": "^2.11.5", "lodash": "^4.17.21", @@ -7389,20 +7435,20 @@ } }, "node_modules/@stoplight/prism-core/node_modules/tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/@stoplight/prism-http": { - "version": "4.14.1", - "resolved": "https://registry.npmjs.org/@stoplight/prism-http/-/prism-http-4.14.1.tgz", - "integrity": "sha512-F6Mr2P78lLnsgG0Qz9bYi4Q1MGfnlZ/nYMV9R4c0V1MGv7IEqxPLHZhlIRm3DjTYs34aPC1BiujvBSpP19iKWQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/@stoplight/prism-http/-/prism-http-5.3.2.tgz", + "integrity": "sha512-mHzGKPgmZEbcwNwMyRKo+vzZcWHTbxuTpFIN/h4xUMcag0ekjc6U7/CeOOgWJCdcoGyiVmApvW7/o0dnO1HICQ==", "dependencies": { "@faker-js/faker": "^6.0.0", "@stoplight/json": "^3.18.1", "@stoplight/json-schema-merge-allof": "0.7.8", - "@stoplight/json-schema-sampler": "0.2.2", - "@stoplight/prism-core": "^4.14.1", + "@stoplight/json-schema-sampler": "0.3.0", + "@stoplight/prism-core": "^5.3.2", "@stoplight/types": "^13.15.0", "@stoplight/yaml": "^4.2.3", "abstract-logging": "^2.0.1", @@ -7418,22 +7464,24 @@ "json-schema-faker": "0.5.0-rcv.40", "lodash": "^4.17.21", "node-fetch": "^2.6.5", + "parse-multipart-data": "^1.5.0", "pino": "^6.13.3", "tslib": "^2.3.1", "type-is": "^1.6.18", - "uri-template-lite": "^22.9.0" + "uri-template-lite": "^22.9.0", + "whatwg-mimetype": "^3.0.0" }, "engines": { "node": ">=16" } }, "node_modules/@stoplight/prism-http-server": { - "version": "4.14.1", - "resolved": "https://registry.npmjs.org/@stoplight/prism-http-server/-/prism-http-server-4.14.1.tgz", - "integrity": "sha512-PwEcJm3+lRywTeVD0VaHpQ9yNLJiKZE5AjxkQoYAposNcWZzB9fSL2pSNe3K/Dofq+FwG+4w3gH4eSongebFHQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/@stoplight/prism-http-server/-/prism-http-server-5.3.2.tgz", + "integrity": "sha512-nBo/YLqXXQpnAhYETqlvuCuafeUiv+DSbj4IAVwYo1+xU2venFt92UUsv6kGR/HJju6WRjLGbbzUCQ5bUpTCCw==", "dependencies": { - "@stoplight/prism-core": "^4.14.1", - "@stoplight/prism-http": "^4.14.1", + "@stoplight/prism-core": "^5.3.2", + "@stoplight/prism-http": "^5.3.2", "@stoplight/types": "^13.15.0", "fast-xml-parser": "^4.2.0", "fp-ts": "^2.11.5", @@ -7450,9 +7498,9 @@ } }, "node_modules/@stoplight/prism-http-server/node_modules/tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/@stoplight/prism-http/node_modules/@faker-js/faker": { "version": "6.3.1", @@ -7463,14 +7511,6 @@ "npm": ">=6.0.0" } }, - "node_modules/@stoplight/prism-http/node_modules/@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", - "engines": { - "node": ">= 10" - } - }, "node_modules/@stoplight/prism-http/node_modules/ajv": { "version": "8.12.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", @@ -7585,9 +7625,9 @@ } }, "node_modules/@stoplight/prism-http/node_modules/tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/@stoplight/types": { "version": "13.15.0", @@ -7621,9 +7661,9 @@ "integrity": "sha512-sV+51I7WYnLJnKPn2EMWgS4EUfoP4iWEbrWwbXsj0MZCB/xOK8j6+C9fntIdOM50kpx45ZLC3s6kwKivWuqvyg==" }, "node_modules/@stoplight/yaml/node_modules/tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/@szmarczak/http-timer": { "version": "4.0.6", @@ -7636,6 +7676,14 @@ "node": ">=10" } }, + "node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "engines": { + "node": ">= 10" + } + }, "node_modules/@tootallnate/quickjs-emscripten": { "version": "0.23.0", "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", @@ -11539,22 +11587,18 @@ } }, "node_modules/connect-mongo": { - "version": "4.4.1", - "license": "MIT", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/connect-mongo/-/connect-mongo-4.6.0.tgz", + "integrity": "sha512-8new4Z7NLP3CGP65Aw6ls3xDBeKVvHRSh39CXuDZTQsvpeeU9oNMzfFgvqmHqZ6gWpxIl663RyoVEmCAGf1yOg==", "dependencies": { "debug": "^4.3.1", - "kruptein": "^3.0.0", - "mongodb": "3.6.5" + "kruptein": "^3.0.0" }, "engines": { "node": ">=10" - } - }, - "node_modules/connect-mongo/node_modules/bson": { - "version": "1.1.6", - "license": "Apache-2.0", - "engines": { - "node": ">=0.6.19" + }, + "peerDependencies": { + "mongodb": "^4.1.0" } }, "node_modules/connect-mongo/node_modules/debug": { @@ -11572,43 +11616,6 @@ } } }, - "node_modules/connect-mongo/node_modules/mongodb": { - "version": "3.6.5", - "license": "Apache-2.0", - "dependencies": { - "bl": "^2.2.1", - "bson": "^1.1.4", - "denque": "^1.4.1", - "require_optional": "^1.0.1", - "safe-buffer": "^5.1.2" - }, - "engines": { - "node": ">=4" - }, - "optionalDependencies": { - "saslprep": "^1.0.0" - }, - "peerDependenciesMeta": { - "aws4": { - "optional": true - }, - "bson-ext": { - "optional": true - }, - "kerberos": { - "optional": true - }, - "mongodb-client-encryption": { - "optional": true - }, - "mongodb-extjson": { - "optional": true - }, - "snappy": { - "optional": true - } - } - }, "node_modules/console-browserify": { "version": "1.2.0", "dev": true @@ -12228,26 +12235,30 @@ } }, "node_modules/dayjs": { - "version": "1.11.6", - "license": "MIT" + "version": "1.11.10", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.10.tgz", + "integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==" }, "node_modules/dd-trace": { - "version": "3.9.3", - "resolved": "https://registry.npmjs.org/dd-trace/-/dd-trace-3.9.3.tgz", - "integrity": "sha512-30F9AoYozo9v3I6ycmDJl22XLbLapo2SmirAJh6ULjQ8q/Gb9yP1vf57bnFlTWjtdFgxxeBxVY/ksnTRzZcsew==", + "version": "3.37.0", + "resolved": "https://registry.npmjs.org/dd-trace/-/dd-trace-3.37.0.tgz", + "integrity": "sha512-0F/mM+T3ayNxu//Cfqh+NajC4F/6Hn7QMVPIR4Gsn2gK7DfaOHXh0/cPI5mWNANA04vES73GVpUkDhGQAtFnVw==", "hasInstallScript": true, "dependencies": { - "@datadog/native-appsec": "2.0.0", - "@datadog/native-iast-rewriter": "1.0.0", - "@datadog/native-iast-taint-tracking": "1.0.0", - "@datadog/native-metrics": "^1.5.0", - "@datadog/pprof": "^1.1.1", + "@datadog/native-appsec": "^4.0.0", + "@datadog/native-iast-rewriter": "2.1.3", + "@datadog/native-iast-taint-tracking": "1.5.0", + "@datadog/native-metrics": "^2.0.0", + "@datadog/pprof": "3.2.0", "@datadog/sketches-js": "^2.1.0", + "@opentelemetry/api": "^1.0.0", + "@opentelemetry/core": "^1.14.0", "crypto-randomuuid": "^1.0.0", "diagnostics_channel": "^1.1.0", - "ignore": "^5.2.0", - "import-in-the-middle": "^1.3.4", - "ipaddr.js": "^2.0.1", + "ignore": "^5.2.4", + "import-in-the-middle": "^1.4.2", + "int64-buffer": "^0.1.9", + "ipaddr.js": "^2.1.0", "istanbul-lib-coverage": "3.2.0", "koalas": "^1.0.2", "limiter": "^1.1.4", @@ -12258,19 +12269,22 @@ "lru-cache": "^7.14.0", "methods": "^1.1.2", "module-details-from-path": "^1.0.3", + "msgpack-lite": "^0.1.26", + "node-abort-controller": "^3.1.1", "opentracing": ">=0.12.1", "path-to-regexp": "^0.1.2", - "protobufjs": "^7.1.2", - "retry": "^0.10.1", - "semver": "^5.5.0" + "protobufjs": "^7.2.4", + "retry": "^0.13.1", + "semver": "^7.5.4" }, "engines": { "node": ">=14" } }, "node_modules/dd-trace/node_modules/ipaddr.js": { - "version": "2.0.1", - "license": "MIT", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.1.0.tgz", + "integrity": "sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ==", "engines": { "node": ">= 10" } @@ -12283,12 +12297,43 @@ } }, "node_modules/dd-trace/node_modules/retry": { - "version": "0.10.1", - "license": "MIT", + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", "engines": { - "node": "*" + "node": ">= 4" } }, + "node_modules/dd-trace/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/dd-trace/node_modules/semver/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/dd-trace/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, "node_modules/debug": { "version": "3.1.0", "license": "MIT", @@ -12586,7 +12631,8 @@ }, "node_modules/delay": { "version": "5.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", + "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==", "engines": { "node": ">=10" }, @@ -14751,6 +14797,11 @@ "node": ">= 0.6" } }, + "node_modules/event-lite": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.3.tgz", + "integrity": "sha512-8qz9nOz5VeD2z96elrEKD2U433+L3DWdUdDkOINLGOJvx1GsMBbMn0aCeu28y8/e85A6mCigBiFlYMnTBEGlSw==" + }, "node_modules/eventemitter3": { "version": "4.0.7", "license": "MIT" @@ -15338,9 +15389,9 @@ "license": "MIT" }, "node_modules/fast-redact": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/fast-redact/-/fast-redact-3.1.2.tgz", - "integrity": "sha512-+0em+Iya9fKGfEQGcd62Yv6onjBmmhV1uh86XVfOU8VwAe6kaFdQCWI9s0/Nnugx5Vd9tdbZ7e6gE2tR9dzXdw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/fast-redact/-/fast-redact-3.3.0.tgz", + "integrity": "sha512-6T5V1QK1u4oF+ATxs1lWUmlEk6P2T9HqJG3e2DnHOdVgZy2rFJBoEnrIedcTXlkAHU/zKC+7KETJ+KGGKwxgMQ==", "engines": { "node": ">=6" } @@ -15617,13 +15668,6 @@ "node": ">=8" } }, - "node_modules/findit2": { - "version": "2.2.3", - "license": "MIT", - "engines": { - "node": ">=0.8.22" - } - }, "node_modules/findup-sync": { "version": "3.0.0", "dev": true, @@ -17400,9 +17444,9 @@ "license": "MIT" }, "node_modules/ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", "engines": { "node": ">= 4" } @@ -17531,6 +17575,11 @@ "version": "1.3.7", "license": "ISC" }, + "node_modules/int64-buffer": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", + "integrity": "sha512-v7cSY1J8ydZ0GyjUHqF+1bshJ6cnEVLo9EnjB8p+4HDRPZc9N5jjmvUV7NvEsqQOKyH0pmIBFWXVQbiS0+OBbA==" + }, "node_modules/internal-slot": { "version": "1.0.3", "dev": true, @@ -18911,15 +18960,6 @@ } } }, - "node_modules/jest-environment-jsdom/node_modules/@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", - "dev": true, - "engines": { - "node": ">= 10" - } - }, "node_modules/jest-environment-jsdom/node_modules/acorn": { "version": "8.8.2", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", @@ -19164,15 +19204,6 @@ "node": ">=12" } }, - "node_modules/jest-environment-jsdom/node_modules/whatwg-mimetype": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", - "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", - "dev": true, - "engines": { - "node": ">=12" - } - }, "node_modules/jest-environment-jsdom/node_modules/whatwg-url": { "version": "11.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", @@ -20464,14 +20495,6 @@ } } }, - "node_modules/jsdom/node_modules/@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", - "engines": { - "node": ">= 10" - } - }, "node_modules/jsdom/node_modules/acorn": { "version": "8.8.2", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", @@ -20660,14 +20683,6 @@ "node": ">=12" } }, - "node_modules/jsdom/node_modules/whatwg-mimetype": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", - "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", - "engines": { - "node": ">=12" - } - }, "node_modules/jsdom/node_modules/whatwg-url": { "version": "12.0.1", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-12.0.1.tgz", @@ -21867,14 +21882,6 @@ "node": ">=12.0.0" } }, - "node_modules/maildev/node_modules/@tootallnate/once": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10" - } - }, "node_modules/maildev/node_modules/acorn": { "version": "8.7.1", "dev": true, @@ -22127,14 +22134,6 @@ "node": ">=0.10.0" } }, - "node_modules/maildev/node_modules/whatwg-mimetype": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - } - }, "node_modules/maildev/node_modules/whatwg-url": { "version": "10.0.0", "dev": true, @@ -22966,6 +22965,20 @@ "version": "2.1.2", "license": "MIT" }, + "node_modules/msgpack-lite": { + "version": "0.1.26", + "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", + "integrity": "sha512-SZ2IxeqZ1oRFGo0xFGbvBJWMp3yLIY9rlIJyxy8CGrwZn1f0ZK4r6jV/AM1r0FZMDUkWkglOk/eeKIL9g77Nxw==", + "dependencies": { + "event-lite": "^0.1.1", + "ieee754": "^1.1.8", + "int64-buffer": "^0.1.9", + "isarray": "^1.0.0" + }, + "bin": { + "msgpack": "bin/msgpack" + } + }, "node_modules/multiparty": { "version": "4.2.3", "license": "MIT", @@ -23213,7 +23226,8 @@ }, "node_modules/node-gyp-build": { "version": "3.9.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.9.0.tgz", + "integrity": "sha512-zLcTg6P4AbcHPq465ZMFNXx7XpKKJh+7kkN699NiQWisR2uWYOWNWqRHAmbnmKiL4e9aLSlmy5U7rEMUXV59+A==", "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", @@ -23981,6 +23995,11 @@ "node": ">=4" } }, + "node_modules/parse-multipart-data": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/parse-multipart-data/-/parse-multipart-data-1.5.0.tgz", + "integrity": "sha512-ck5zaMF0ydjGfejNMnlo5YU2oJ+pT+80Jb1y4ybanT27j+zbVP/jkYmCrUGsEln0Ox/hZmuvgy8Ra7AxbXP2Mw==" + }, "node_modules/parse-passwd": { "version": "1.0.0", "dev": true, @@ -24599,6 +24618,11 @@ "node": ">=10" } }, + "node_modules/pprof-format": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/pprof-format/-/pprof-format-2.0.7.tgz", + "integrity": "sha512-1qWaGAzwMpaXJP9opRa23nPnt2Egi7RMNoNBptEE/XwHbcn4fC2b/4U4bKc5arkGkIh2ZabpF2bEb+c5GNHEKA==" + }, "node_modules/prebuild-install": { "version": "6.1.2", "license": "MIT", @@ -24766,9 +24790,9 @@ } }, "node_modules/protobufjs": { - "version": "7.2.4", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.4.tgz", - "integrity": "sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ==", + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.5.tgz", + "integrity": "sha512-gGXRSXvxQ7UiPgfw8gevrfRWcTlSbOFg+p/N+JVJEK5VhueL2miT6qTymqAmjr1Q5WbOCyJbyrk6JfWKwlFn6A==", "hasInstallScript": true, "dependencies": { "@protobufjs/aspromise": "^1.1.2", @@ -25870,14 +25894,6 @@ "uuid": "bin/uuid" } }, - "node_modules/require_optional": { - "version": "1.0.1", - "license": "Apache-2.0", - "dependencies": { - "resolve-from": "^2.0.0", - "semver": "^5.1.0" - } - }, "node_modules/require-at": { "version": "1.0.6", "license": "Apache-2.0", @@ -26003,13 +26019,6 @@ "node": ">=0.10.0" } }, - "node_modules/resolve-from": { - "version": "2.0.0", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/resolve-url": { "version": "0.2.1", "dev": true, @@ -26992,16 +27001,6 @@ "dev": true, "license": "MIT" }, - "node_modules/split": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "through": "2" - }, - "engines": { - "node": "*" - } - }, "node_modules/split-string": { "version": "3.1.0", "dev": true, @@ -29263,12 +29262,12 @@ "license": "Unlicense" }, "node_modules/twilio": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/twilio/-/twilio-4.11.0.tgz", - "integrity": "sha512-8ZTfl5+ByJ08c3ko+t9HQ0DYKn4D94GKvTl/N1IeXektaRbNZ81kYJJkdsx4XEz2p6Dv4qEx+0+SBCMwmAy79w==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/twilio/-/twilio-4.18.0.tgz", + "integrity": "sha512-f8etm0l0G2zexwM6wdpjUjLe1iPLLsr0sWTMkkkLUGQ2GAaQcCclXQa6t4gNCDcvgH5wa3vOuTL9p0Ny9cdChQ==", "dependencies": { "axios": "^0.26.1", - "dayjs": "^1.8.29", + "dayjs": "^1.11.9", "https-proxy-agent": "^5.0.0", "jsonwebtoken": "^9.0.0", "qs": "^6.9.4", @@ -30660,6 +30659,14 @@ "version": "3.6.2", "license": "MIT" }, + "node_modules/whatwg-mimetype": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", + "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", + "engines": { + "node": ">=12" + } + }, "node_modules/which": { "version": "1.3.1", "dev": true, @@ -34379,66 +34386,82 @@ } }, "@datadog/native-appsec": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@datadog/native-appsec/-/native-appsec-2.0.0.tgz", - "integrity": "sha512-XHARZ6MVgbnfOUO6/F3ZoZ7poXHJCNYFlgcyS2Xetuk9ITA5bfcooX2B2F7tReVB+RLJ+j8bsm0t55SyF04KDw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@datadog/native-appsec/-/native-appsec-4.0.0.tgz", + "integrity": "sha512-myTguXJ3VQHS2E1ylNsSF1avNpDmq5t+K4Q47wdzeakGc3sDIDDyEbvuFTujl9c9wBIkup94O1mZj5DR37ajzA==", "requires": { "node-gyp-build": "^3.9.0" } }, "@datadog/native-iast-rewriter": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@datadog/native-iast-rewriter/-/native-iast-rewriter-1.0.0.tgz", - "integrity": "sha512-DGN4cQd30mUaAB349gKeoDTt7acviBERnNYlyk8G+PlobuomTSEohJri5Jo4X+/5oRJPJngGX2VBq7YwMHiing==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@datadog/native-iast-rewriter/-/native-iast-rewriter-2.1.3.tgz", + "integrity": "sha512-4oxMFz5ZEpOK3pRc9KjquMgkRP6D+oPQVIzOk4dgG8fl2iepHtCa3gna/fQBfdWIiX5a2j65O3R1zNp2ckk8JA==", "requires": { + "lru-cache": "^7.14.0", "node-gyp-build": "^4.5.0" }, "dependencies": { + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==" + }, "node-gyp-build": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.5.0.tgz", - "integrity": "sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg==" + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.1.tgz", + "integrity": "sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==" } } }, "@datadog/native-iast-taint-tracking": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@datadog/native-iast-taint-tracking/-/native-iast-taint-tracking-1.0.0.tgz", - "integrity": "sha512-fS7XoRE5T4JQ7UzWjNT/wZQhS6nmLDwt12IDcSBZfRRJ2VyFth5GvOlQtCPa6Q0k7WMIrt9UXIl/v807cVq1SQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@datadog/native-iast-taint-tracking/-/native-iast-taint-tracking-1.5.0.tgz", + "integrity": "sha512-SOWIk1M6PZH0osNB191Voz2rKBPoF5hISWVSK9GiJPrD40+xjib1Z/bFDV7EkDn3kjOyordSBdNPG5zOqZJdyg==", "requires": { "node-gyp-build": "^3.9.0" } }, "@datadog/native-metrics": { - "version": "1.5.0", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@datadog/native-metrics/-/native-metrics-2.0.0.tgz", + "integrity": "sha512-YklGVwUtmKGYqFf1MNZuOHvTYdKuR4+Af1XkWcMD8BwOAjxmd9Z+97328rCOY8TFUJzlGUPaXzB8j2qgG/BMwA==", "requires": { + "node-addon-api": "^6.1.0", "node-gyp-build": "^3.9.0" + }, + "dependencies": { + "node-addon-api": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz", + "integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==" + } } }, "@datadog/pprof": { - "version": "1.1.1", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@datadog/pprof/-/pprof-3.2.0.tgz", + "integrity": "sha512-kOhWHCWB80djnMCr5KNKBAy1Ih/jK/PIj6yqnZwL1Wqni/h6IBPRUMhtIxcYJMRgsZVYrFXUV20AVXTZCzFokw==", "requires": { "delay": "^5.0.0", - "findit2": "^2.2.3", - "node-gyp-build": "^3.9.0", + "node-gyp-build": "<4.0", "p-limit": "^3.1.0", - "pify": "^5.0.0", - "protobufjs": "^7.0.0", - "source-map": "^0.7.3", - "split": "^1.0.1" + "pprof-format": "^2.0.7", + "source-map": "^0.7.4" }, "dependencies": { "p-limit": { "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "requires": { "yocto-queue": "^0.1.0" } }, - "pify": { - "version": "5.0.0" - }, "source-map": { - "version": "0.7.4" + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==" } } }, @@ -35384,6 +35407,24 @@ } } }, + "@opentelemetry/api": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.6.0.tgz", + "integrity": "sha512-OWlrQAnWn9577PhVgqjUvMr1pg57Bc4jv0iL4w0PRuOSRvq67rvHW9Ie/dZVMvCzhSCB+UxhcY/PmCmFj33Q+g==" + }, + "@opentelemetry/core": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.17.0.tgz", + "integrity": "sha512-tfnl3h+UefCgx1aeN2xtrmr6BmdWGKXypk0pflQR0urFS40aE88trnkOMc2HTJZbMrqEEl4HsaBeFhwLVXsrJg==", + "requires": { + "@opentelemetry/semantic-conventions": "1.17.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.17.0.tgz", + "integrity": "sha512-+fguCd2d8d2qruk0H0DsCEy2CTK3t0Tugg7MhZ/UQMvmewbZLNnJ6heSYyzIZWG5IPfAXzoj4f4F/qpM7l4VBA==" + }, "@playwright/test": { "version": "1.34.3", "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.34.3.tgz", @@ -35396,38 +35437,58 @@ } }, "@protobufjs/aspromise": { - "version": "1.1.2" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" }, "@protobufjs/base64": { - "version": "1.1.2" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" }, "@protobufjs/codegen": { - "version": "2.0.4" + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" }, "@protobufjs/eventemitter": { - "version": "1.1.0" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" }, "@protobufjs/fetch": { "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", "requires": { "@protobufjs/aspromise": "^1.1.1", "@protobufjs/inquire": "^1.1.0" } }, "@protobufjs/float": { - "version": "1.0.2" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" }, "@protobufjs/inquire": { - "version": "1.1.0" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" }, "@protobufjs/path": { - "version": "1.1.2" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" }, "@protobufjs/pool": { - "version": "1.1.0" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" }, "@protobufjs/utf8": { - "version": "1.1.0" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" }, "@puppeteer/browsers": { "version": "1.7.1", @@ -36702,9 +36763,9 @@ } }, "@stoplight/json-schema-ref-parser": { - "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@stoplight/json-schema-ref-parser/-/json-schema-ref-parser-9.2.4.tgz", - "integrity": "sha512-alWys5FhpfBtCJpZmWq47fZ4BBGcOGUqEI8b7AkJRZ+OaEoUIQtm8BReWY+JbU4D7+tBozX8Y+LF9Oxa9mYDSg==", + "version": "9.2.5", + "resolved": "https://registry.npmjs.org/@stoplight/json-schema-ref-parser/-/json-schema-ref-parser-9.2.5.tgz", + "integrity": "sha512-7UI3pX5oyGzAdGPah001CyPnIsJZJW+38sGjvx862zXQFidBe0sxFO5MUety61Zr/RaygCQ2RU/KfD7hSfOLxg==", "requires": { "@jsdevtools/ono": "^7.1.3", "@stoplight/path": "^1.3.2", @@ -36716,9 +36777,9 @@ } }, "@stoplight/json-schema-sampler": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@stoplight/json-schema-sampler/-/json-schema-sampler-0.2.2.tgz", - "integrity": "sha512-QP4ZwXh3dEn5wHZs2361kdf4BmaKiiP+pxIImAuVTLmulv9sBTB+ETG7Y5z9u4DOUQu2GNxfUY10iSwuBQMXrg==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@stoplight/json-schema-sampler/-/json-schema-sampler-0.3.0.tgz", + "integrity": "sha512-G7QImi2xr9+8iPEg0D9YUi1BWhIiiEm19aMb91oWBSdxuhezOAqqRP3XNY6wczHV9jLWW18f+KkghTy9AG0BQA==", "requires": { "@types/json-schema": "^7.0.7", "json-pointer": "^0.6.1" @@ -36735,16 +36796,16 @@ "integrity": "sha512-lyIc6JUlUA8Ve5ELywPC8I2Sdnh1zc1zmbYgVarhXIp9YeAB0ReeqmGEOWNtlHkbP2DAA1AL65Wfn2ncjK/jtQ==" }, "@stoplight/prism-cli": { - "version": "4.14.1", - "resolved": "https://registry.npmjs.org/@stoplight/prism-cli/-/prism-cli-4.14.1.tgz", - "integrity": "sha512-2rZ0pJSD0ZNtiklyAc/jwMI31B6ONWIP7fVlIUcm4D0mbkPNV5Y+dlmhiyBxk9QIWA6o83ZnfBkj/z02+LpMMQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/@stoplight/prism-cli/-/prism-cli-5.3.2.tgz", + "integrity": "sha512-dGdluLYOg9+o5bWm9csKU0J+inc9F+cdFQtjFQIbBlmaXCzYwzv6NaaGySbLIwMh3Arx3W7B/+LOfKofTJPjDA==", "requires": { "@stoplight/http-spec": "^5.9.2", "@stoplight/json": "^3.18.1", - "@stoplight/json-schema-ref-parser": "9.2.4", - "@stoplight/prism-core": "^4.14.1", - "@stoplight/prism-http": "^4.14.1", - "@stoplight/prism-http-server": "^4.14.1", + "@stoplight/json-schema-ref-parser": "9.2.5", + "@stoplight/prism-core": "^5.3.2", + "@stoplight/prism-http": "^5.3.2", + "@stoplight/prism-http-server": "^5.3.2", "@stoplight/types": "^13.15.0", "chalk": "^4.1.2", "chokidar": "^3.5.2", @@ -36874,9 +36935,9 @@ } }, "@stoplight/prism-core": { - "version": "4.14.1", - "resolved": "https://registry.npmjs.org/@stoplight/prism-core/-/prism-core-4.14.1.tgz", - "integrity": "sha512-BBbZVPlrshU9izUZOnUaluLDcgrHAsPqXuouPr0WXyd229IQst0hGUMb3nlAIM1W/jdYbKr5hcDp/y3uqKE5CA==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/@stoplight/prism-core/-/prism-core-5.3.2.tgz", + "integrity": "sha512-4u1009vVyyzxVaMXY3AzvJf5lmVHJOaosVwiP9O97eAQKuyk0eWMUPjdfV+l5CaUN2wXckOgPvY3rskusXcWIw==", "requires": { "fp-ts": "^2.11.5", "lodash": "^4.17.21", @@ -36885,22 +36946,22 @@ }, "dependencies": { "tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" } } }, "@stoplight/prism-http": { - "version": "4.14.1", - "resolved": "https://registry.npmjs.org/@stoplight/prism-http/-/prism-http-4.14.1.tgz", - "integrity": "sha512-F6Mr2P78lLnsgG0Qz9bYi4Q1MGfnlZ/nYMV9R4c0V1MGv7IEqxPLHZhlIRm3DjTYs34aPC1BiujvBSpP19iKWQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/@stoplight/prism-http/-/prism-http-5.3.2.tgz", + "integrity": "sha512-mHzGKPgmZEbcwNwMyRKo+vzZcWHTbxuTpFIN/h4xUMcag0ekjc6U7/CeOOgWJCdcoGyiVmApvW7/o0dnO1HICQ==", "requires": { "@faker-js/faker": "^6.0.0", "@stoplight/json": "^3.18.1", "@stoplight/json-schema-merge-allof": "0.7.8", - "@stoplight/json-schema-sampler": "0.2.2", - "@stoplight/prism-core": "^4.14.1", + "@stoplight/json-schema-sampler": "0.3.0", + "@stoplight/prism-core": "^5.3.2", "@stoplight/types": "^13.15.0", "@stoplight/yaml": "^4.2.3", "abstract-logging": "^2.0.1", @@ -36916,10 +36977,12 @@ "json-schema-faker": "0.5.0-rcv.40", "lodash": "^4.17.21", "node-fetch": "^2.6.5", + "parse-multipart-data": "^1.5.0", "pino": "^6.13.3", "tslib": "^2.3.1", "type-is": "^1.6.18", - "uri-template-lite": "^22.9.0" + "uri-template-lite": "^22.9.0", + "whatwg-mimetype": "^3.0.0" }, "dependencies": { "@faker-js/faker": { @@ -36927,11 +36990,6 @@ "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-6.3.1.tgz", "integrity": "sha512-8YXBE2ZcU/pImVOHX7MWrSR/X5up7t6rPWZlk34RwZEcdr3ua6X+32pSd6XuOQRN+vbuvYNfA6iey8NbrjuMFQ==" }, - "@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==" - }, "ajv": { "version": "8.12.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", @@ -37010,19 +37068,19 @@ } }, "tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" } } }, "@stoplight/prism-http-server": { - "version": "4.14.1", - "resolved": "https://registry.npmjs.org/@stoplight/prism-http-server/-/prism-http-server-4.14.1.tgz", - "integrity": "sha512-PwEcJm3+lRywTeVD0VaHpQ9yNLJiKZE5AjxkQoYAposNcWZzB9fSL2pSNe3K/Dofq+FwG+4w3gH4eSongebFHQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/@stoplight/prism-http-server/-/prism-http-server-5.3.2.tgz", + "integrity": "sha512-nBo/YLqXXQpnAhYETqlvuCuafeUiv+DSbj4IAVwYo1+xU2venFt92UUsv6kGR/HJju6WRjLGbbzUCQ5bUpTCCw==", "requires": { - "@stoplight/prism-core": "^4.14.1", - "@stoplight/prism-http": "^4.14.1", + "@stoplight/prism-core": "^5.3.2", + "@stoplight/prism-http": "^5.3.2", "@stoplight/types": "^13.15.0", "fast-xml-parser": "^4.2.0", "fp-ts": "^2.11.5", @@ -37036,9 +37094,9 @@ }, "dependencies": { "tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" } } }, @@ -37063,9 +37121,9 @@ }, "dependencies": { "tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" } } }, @@ -37081,6 +37139,11 @@ "defer-to-connect": "^2.0.0" } }, + "@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==" + }, "@tootallnate/quickjs-emscripten": { "version": "0.23.0", "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", @@ -39831,32 +39894,19 @@ } }, "connect-mongo": { - "version": "4.4.1", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/connect-mongo/-/connect-mongo-4.6.0.tgz", + "integrity": "sha512-8new4Z7NLP3CGP65Aw6ls3xDBeKVvHRSh39CXuDZTQsvpeeU9oNMzfFgvqmHqZ6gWpxIl663RyoVEmCAGf1yOg==", "requires": { "debug": "^4.3.1", - "kruptein": "^3.0.0", - "mongodb": "3.6.5" + "kruptein": "^3.0.0" }, "dependencies": { - "bson": { - "version": "1.1.6" - }, "debug": { "version": "4.3.1", "requires": { "ms": "2.1.2" } - }, - "mongodb": { - "version": "3.6.5", - "requires": { - "bl": "^2.2.1", - "bson": "^1.1.4", - "denque": "^1.4.1", - "require_optional": "^1.0.1", - "safe-buffer": "^5.1.2", - "saslprep": "^1.0.0" - } } } }, @@ -40299,24 +40349,29 @@ } }, "dayjs": { - "version": "1.11.6" + "version": "1.11.10", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.10.tgz", + "integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==" }, "dd-trace": { - "version": "3.9.3", - "resolved": "https://registry.npmjs.org/dd-trace/-/dd-trace-3.9.3.tgz", - "integrity": "sha512-30F9AoYozo9v3I6ycmDJl22XLbLapo2SmirAJh6ULjQ8q/Gb9yP1vf57bnFlTWjtdFgxxeBxVY/ksnTRzZcsew==", - "requires": { - "@datadog/native-appsec": "2.0.0", - "@datadog/native-iast-rewriter": "1.0.0", - "@datadog/native-iast-taint-tracking": "1.0.0", - "@datadog/native-metrics": "^1.5.0", - "@datadog/pprof": "^1.1.1", + "version": "3.37.0", + "resolved": "https://registry.npmjs.org/dd-trace/-/dd-trace-3.37.0.tgz", + "integrity": "sha512-0F/mM+T3ayNxu//Cfqh+NajC4F/6Hn7QMVPIR4Gsn2gK7DfaOHXh0/cPI5mWNANA04vES73GVpUkDhGQAtFnVw==", + "requires": { + "@datadog/native-appsec": "^4.0.0", + "@datadog/native-iast-rewriter": "2.1.3", + "@datadog/native-iast-taint-tracking": "1.5.0", + "@datadog/native-metrics": "^2.0.0", + "@datadog/pprof": "3.2.0", "@datadog/sketches-js": "^2.1.0", + "@opentelemetry/api": "^1.0.0", + "@opentelemetry/core": "^1.14.0", "crypto-randomuuid": "^1.0.0", "diagnostics_channel": "^1.1.0", - "ignore": "^5.2.0", - "import-in-the-middle": "^1.3.4", - "ipaddr.js": "^2.0.1", + "ignore": "^5.2.4", + "import-in-the-middle": "^1.4.2", + "int64-buffer": "^0.1.9", + "ipaddr.js": "^2.1.0", "istanbul-lib-coverage": "3.2.0", "koalas": "^1.0.2", "limiter": "^1.1.4", @@ -40327,21 +40382,50 @@ "lru-cache": "^7.14.0", "methods": "^1.1.2", "module-details-from-path": "^1.0.3", + "msgpack-lite": "^0.1.26", + "node-abort-controller": "^3.1.1", "opentracing": ">=0.12.1", "path-to-regexp": "^0.1.2", - "protobufjs": "^7.1.2", - "retry": "^0.10.1", - "semver": "^5.5.0" + "protobufjs": "^7.2.4", + "retry": "^0.13.1", + "semver": "^7.5.4" }, "dependencies": { "ipaddr.js": { - "version": "2.0.1" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.1.0.tgz", + "integrity": "sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ==" }, "lru-cache": { "version": "7.14.1" }, "retry": { - "version": "0.10.1" + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==" + }, + "semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "requires": { + "lru-cache": "^6.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "requires": { + "yallist": "^4.0.0" + } + } + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } }, @@ -40547,7 +40631,9 @@ } }, "delay": { - "version": "5.0.0" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", + "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==" }, "delayed-stream": { "version": "1.0.0" @@ -41967,6 +42053,11 @@ "etag": { "version": "1.8.1" }, + "event-lite": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.3.tgz", + "integrity": "sha512-8qz9nOz5VeD2z96elrEKD2U433+L3DWdUdDkOINLGOJvx1GsMBbMn0aCeu28y8/e85A6mCigBiFlYMnTBEGlSw==" + }, "eventemitter3": { "version": "4.0.7" }, @@ -42380,9 +42471,9 @@ "dev": true }, "fast-redact": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/fast-redact/-/fast-redact-3.1.2.tgz", - "integrity": "sha512-+0em+Iya9fKGfEQGcd62Yv6onjBmmhV1uh86XVfOU8VwAe6kaFdQCWI9s0/Nnugx5Vd9tdbZ7e6gE2tR9dzXdw==" + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/fast-redact/-/fast-redact-3.3.0.tgz", + "integrity": "sha512-6T5V1QK1u4oF+ATxs1lWUmlEk6P2T9HqJG3e2DnHOdVgZy2rFJBoEnrIedcTXlkAHU/zKC+7KETJ+KGGKwxgMQ==" }, "fast-safe-stringify": { "version": "2.1.1" @@ -42577,9 +42668,6 @@ } } }, - "findit2": { - "version": "2.2.3" - }, "findup-sync": { "version": "3.0.0", "dev": true, @@ -43779,9 +43867,9 @@ "dev": true }, "ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==" + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==" }, "immediate": { "version": "3.0.6" @@ -43870,6 +43958,11 @@ "ini": { "version": "1.3.7" }, + "int64-buffer": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", + "integrity": "sha512-v7cSY1J8ydZ0GyjUHqF+1bshJ6cnEVLo9EnjB8p+4HDRPZc9N5jjmvUV7NvEsqQOKyH0pmIBFWXVQbiS0+OBbA==" + }, "internal-slot": { "version": "1.0.3", "dev": true, @@ -44784,12 +44877,6 @@ "jsdom": "^20.0.0" }, "dependencies": { - "@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", - "dev": true - }, "acorn": { "version": "8.8.2", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", @@ -44970,12 +45057,6 @@ "iconv-lite": "0.6.3" } }, - "whatwg-mimetype": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", - "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", - "dev": true - }, "whatwg-url": { "version": "11.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", @@ -45922,11 +46003,6 @@ "xml-name-validator": "^4.0.0" }, "dependencies": { - "@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==" - }, "acorn": { "version": "8.8.2", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", @@ -46059,11 +46135,6 @@ "iconv-lite": "0.6.3" } }, - "whatwg-mimetype": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", - "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==" - }, "whatwg-url": { "version": "12.0.1", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-12.0.1.tgz", @@ -46916,10 +46987,6 @@ "uue": "3.1.2" }, "dependencies": { - "@tootallnate/once": { - "version": "2.0.0", - "dev": true - }, "acorn": { "version": "8.7.1", "dev": true @@ -47081,10 +47148,6 @@ } } }, - "whatwg-mimetype": { - "version": "3.0.0", - "dev": true - }, "whatwg-url": { "version": "10.0.0", "dev": true, @@ -47620,6 +47683,17 @@ "ms": { "version": "2.1.2" }, + "msgpack-lite": { + "version": "0.1.26", + "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", + "integrity": "sha512-SZ2IxeqZ1oRFGo0xFGbvBJWMp3yLIY9rlIJyxy8CGrwZn1f0ZK4r6jV/AM1r0FZMDUkWkglOk/eeKIL9g77Nxw==", + "requires": { + "event-lite": "^0.1.1", + "ieee754": "^1.1.8", + "int64-buffer": "^0.1.9", + "isarray": "^1.0.0" + } + }, "multiparty": { "version": "4.2.3", "requires": { @@ -47794,7 +47868,9 @@ "version": "1.3.1" }, "node-gyp-build": { - "version": "3.9.0" + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.9.0.tgz", + "integrity": "sha512-zLcTg6P4AbcHPq465ZMFNXx7XpKKJh+7kkN699NiQWisR2uWYOWNWqRHAmbnmKiL4e9aLSlmy5U7rEMUXV59+A==" }, "node-int64": { "version": "0.4.0", @@ -48320,6 +48396,11 @@ "json-parse-better-errors": "^1.0.1" } }, + "parse-multipart-data": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/parse-multipart-data/-/parse-multipart-data-1.5.0.tgz", + "integrity": "sha512-ck5zaMF0ydjGfejNMnlo5YU2oJ+pT+80Jb1y4ybanT27j+zbVP/jkYmCrUGsEln0Ox/hZmuvgy8Ra7AxbXP2Mw==" + }, "parse-passwd": { "version": "1.0.0", "dev": true @@ -48747,6 +48828,11 @@ "punycode": "^2.1.1" } }, + "pprof-format": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/pprof-format/-/pprof-format-2.0.7.tgz", + "integrity": "sha512-1qWaGAzwMpaXJP9opRa23nPnt2Egi7RMNoNBptEE/XwHbcn4fC2b/4U4bKc5arkGkIh2ZabpF2bEb+c5GNHEKA==" + }, "prebuild-install": { "version": "6.1.2", "requires": { @@ -48857,9 +48943,9 @@ } }, "protobufjs": { - "version": "7.2.4", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.4.tgz", - "integrity": "sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ==", + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.5.tgz", + "integrity": "sha512-gGXRSXvxQ7UiPgfw8gevrfRWcTlSbOFg+p/N+JVJEK5VhueL2miT6qTymqAmjr1Q5WbOCyJbyrk6JfWKwlFn6A==", "requires": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", @@ -49656,13 +49742,6 @@ } } }, - "require_optional": { - "version": "1.0.1", - "requires": { - "resolve-from": "^2.0.0", - "semver": "^5.1.0" - } - }, "require-at": { "version": "1.0.6" }, @@ -49747,9 +49826,6 @@ } } }, - "resolve-from": { - "version": "2.0.0" - }, "resolve-url": { "version": "0.2.1", "dev": true @@ -50439,12 +50515,6 @@ "version": "0.0.2-1", "dev": true }, - "split": { - "version": "1.0.1", - "requires": { - "through": "2" - } - }, "split-string": { "version": "3.1.0", "dev": true, @@ -51979,12 +52049,12 @@ "version": "0.15.1" }, "twilio": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/twilio/-/twilio-4.11.0.tgz", - "integrity": "sha512-8ZTfl5+ByJ08c3ko+t9HQ0DYKn4D94GKvTl/N1IeXektaRbNZ81kYJJkdsx4XEz2p6Dv4qEx+0+SBCMwmAy79w==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/twilio/-/twilio-4.18.0.tgz", + "integrity": "sha512-f8etm0l0G2zexwM6wdpjUjLe1iPLLsr0sWTMkkkLUGQ2GAaQcCclXQa6t4gNCDcvgH5wa3vOuTL9p0Ny9cdChQ==", "requires": { "axios": "^0.26.1", - "dayjs": "^1.8.29", + "dayjs": "^1.11.9", "https-proxy-agent": "^5.0.0", "jsonwebtoken": "^9.0.0", "qs": "^6.9.4", @@ -52961,6 +53031,11 @@ "whatwg-fetch": { "version": "3.6.2" }, + "whatwg-mimetype": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", + "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==" + }, "which": { "version": "1.3.1", "dev": true, diff --git a/package.json b/package.json index 75f68b53f6..0595426ee8 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "scripts": { "postinstall": "npm run postinstall:frontend && npm run postinstall:shared", "test": "npm run test:backend && npm run test:frontend", - "test:backend": "env-cmd -f __tests__/setup/.test-env jest --coverage --maxWorkers=4 --testTimeout=90000", + "test:backend": "env-cmd -f __tests__/setup/.test-env jest", "test:backend:watch": "env-cmd -f __tests__/setup/.test-env jest --watch", "test:frontend": "npm --prefix frontend test", "test:e2e-v2": "npm run build && npx playwright test", @@ -65,7 +65,7 @@ "@sentry/browser": "^7.51.2", "@sentry/integrations": "^6.19.7", "@stablelib/base64": "^1.0.1", - "@stoplight/prism-cli": "^4.10.6", + "@stoplight/prism-cli": "^5.3.2", "abortcontroller-polyfill": "^1.7.5", "aws-info": "^1.2.0", "aws-sdk": "^2.1354.0", @@ -80,7 +80,7 @@ "celebrate": "^15.0.1", "compression": "~1.7.2", "connect-datadog": "0.0.9", - "connect-mongo": "^4.4.1", + "connect-mongo": "~4.6.0", "convict": "^6.2.4", "convict-format-with-validator": "^6.2.0", "cookie-parser": "~1.4.6", @@ -88,7 +88,7 @@ "csv-string": "^4.1.1", "cuid": "^2.1.8", "date-fns": "^2.30.0", - "dd-trace": "^3.9.3", + "dd-trace": "^3.36.0", "dedent-js": "~1.0.1", "dotenv": "^16.0.3", "ejs": "^3.1.8", @@ -147,7 +147,7 @@ "triple-beam": "^1.3.0", "ts-essentials": "^9.3.1", "tweetnacl": "^1.0.1", - "twilio": "^4.11.0", + "twilio": "~4.18.0", "ui-select": "^0.19.8", "uid-generator": "^2.0.0", "ulid": "^2.3.0",