Patch Tuesday 🐸 (#16475)

* Update monorepo root

* Update API dependencies

* Use unranged version

* Update app deps

* Upgrade packages dependencies

* Fix shared build

* Fix type warning in api

* Fix test runner

* Get rekt by ya boy comma-,

* Fix missing unit deprecation for sass color.mix()

Co-authored-by: ian <licitdev@gmail.com>
This commit is contained in:
Rijk van Zanten
2022-11-17 08:51:42 -05:00
committed by GitHub
parent 6f8f5219af
commit 0bb34f0f0d
16 changed files with 2925 additions and 2669 deletions

View File

@@ -76,7 +76,7 @@
},
"dependencies": {
"@authenio/samlify-node-xmllint": "2.0.0",
"@aws-sdk/client-ses": "3.190.0",
"@aws-sdk/client-ses": "3.211.0",
"@directus/app": "workspace:*",
"@directus/drive": "workspace:*",
"@directus/drive-azure": "workspace:*",
@@ -88,9 +88,9 @@
"@directus/shared": "workspace:*",
"@directus/specs": "workspace:*",
"@godaddy/terminus": "4.11.2",
"@rollup/plugin-alias": "4.0.0",
"@rollup/plugin-virtual": "3.0.0",
"argon2": "0.30.1",
"@rollup/plugin-alias": "4.0.2",
"@rollup/plugin-virtual": "3.0.1",
"argon2": "0.30.2",
"async": "3.2.4",
"async-mutex": "0.4.0",
"axios": "1.1.3",
@@ -118,22 +118,22 @@
"fs-extra": "10.1.0",
"globby": "11.0.4",
"graphql": "16.6.0",
"graphql-compose": "9.0.9",
"graphql-compose": "9.0.10",
"helmet": "6.0.0",
"inquirer": "8.2.4",
"ioredis": "5.2.3",
"joi": "17.6.3",
"ioredis": "5.2.4",
"joi": "17.7.0",
"js-yaml": "4.1.0",
"js2xmlparser": "5.0.0",
"json2csv": "5.0.7",
"jsonwebtoken": "8.5.1",
"keyv": "4.5.0",
"keyv": "4.5.2",
"knex": "2.3.0",
"knex-schema-inspector": "3.0.0",
"ldapjs": "2.3.3",
"liquidjs": "9.42.0",
"liquidjs": "9.42.1",
"lodash": "4.17.21",
"marked": "4.1.1",
"marked": "4.2.2",
"micromustache": "8.0.3",
"mime-types": "2.1.35",
"ms": "2.1.3",
@@ -143,20 +143,20 @@
"nodemailer": "6.8.0",
"object-hash": "3.0.0",
"openapi3-ts": "3.1.1",
"openid-client": "5.2.0",
"openid-client": "5.3.0",
"ora": "5.4.0",
"otplib": "12.0.1",
"pino": "8.6.1",
"pino": "8.7.0",
"pino-http": "8.2.1",
"pino-http-print": "3.1.0",
"qs": "6.11.0",
"rate-limiter-flexible": "2.3.12",
"rate-limiter-flexible": "2.4.1",
"resolve-cwd": "3.0.0",
"rollup": "3.2.3",
"samlify": "2.8.6",
"sanitize-html": "2.7.2",
"sharp": "0.31.1",
"snappy": "7.2.0",
"rollup": "3.3.0",
"samlify": "2.8.7",
"sanitize-html": "2.7.3",
"sharp": "0.31.2",
"snappy": "7.2.2",
"stream-json": "1.7.4",
"strip-bom-stream": "4.0.0",
"tmp-promise": "3.0.3",
@@ -188,13 +188,13 @@
"@types/json2csv": "5.0.3",
"@types/jsonwebtoken": "8.5.9",
"@types/keyv": "3.1.4",
"@types/ldapjs": "2.2.4",
"@types/lodash": "4.14.186",
"@types/ldapjs": "2.2.5",
"@types/lodash": "4.14.189",
"@types/marked": "4.0.7",
"@types/mime-types": "2.1.1",
"@types/ms": "0.7.31",
"@types/node": "18.11.2",
"@types/node-cron": "3.0.4",
"@types/node": "18.11.9",
"@types/node-cron": "3.0.6",
"@types/nodemailer": "6.4.6",
"@types/object-hash": "2.2.1",
"@types/pino": "7.0.4",
@@ -206,21 +206,21 @@
"@types/supertest": "2.0.12",
"@types/uuid": "8.3.4",
"@types/uuid-validate": "0.0.1",
"@types/wellknown": "0.5.3",
"@vitest/coverage-c8": "^0.25.1",
"@types/wellknown": "0.5.4",
"@vitest/coverage-c8": "0.25.2",
"copyfiles": "2.4.1",
"cross-env": "7.0.3",
"form-data": "4.0.0",
"knex-mock-client": "1.8.4",
"rimraf": "3.0.2",
"supertest": "6.3.0",
"supertest": "6.3.1",
"ts-node": "10.9.1",
"ts-node-dev": "2.0.0",
"typescript": "4.8.4",
"vitest": "0.25.1"
"typescript": "4.9.3",
"vitest": "0.25.2"
},
"optionalDependencies": {
"@keyv/redis": "2.5.2",
"@keyv/redis": "2.5.3",
"keyv-memcache": "1.2.5",
"memcached": "2.2.2",
"mysql": "2.18.1",
@@ -228,7 +228,7 @@
"nodemailer-sendgrid": "1.0.3",
"pg": "8.8.0",
"sqlite3": "5.1.2",
"tedious": "15.1.0"
"tedious": "15.1.1"
},
"engines": {
"node": ">=12.20.0"

View File

@@ -1,6 +1,7 @@
export default function getModuleDefault<T>(mod: T | { default: T }): T {
export default function getModuleDefault<T extends object>(mod: T | { default: T }): T {
if ('default' in mod) {
return mod.default;
}
return mod;
}