From 7a2d8d0a978a0f487e52070201f43c047c5b3641 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 4 Jan 2025 01:54:36 +0000 Subject: [PATCH 1/2] chore: update lint packages Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .../access-control-migration/package.json | 2 +- examples/binding-resolution/package.json | 2 +- examples/context/package.json | 2 +- examples/express-composition/package.json | 2 +- examples/file-transfer/package.json | 2 +- examples/graphql/package.json | 2 +- examples/greeter-extension/package.json | 2 +- examples/greeting-app/package.json | 2 +- examples/hello-world/package.json | 2 +- examples/lb3-application/package.json | 2 +- examples/log-extension/package.json | 2 +- examples/metrics-prometheus/package.json | 2 +- examples/multi-tenancy/package.json | 2 +- examples/passport-login/package.json | 2 +- examples/references-many/package.json | 2 +- examples/rest-crud/package.json | 2 +- examples/rpc-server/package.json | 2 +- examples/soap-calculator/package.json | 2 +- examples/socketio/package.json | 2 +- examples/todo-jwt/package.json | 2 +- examples/todo-list/package.json | 2 +- examples/todo/package.json | 2 +- examples/validation-app/package.json | 2 +- examples/webpack/package.json | 2 +- package-lock.json | 229 ++++++++++-------- package.json | 12 +- packages/build/package.json | 4 +- packages/eslint-config/package.json | 8 +- 28 files changed, 158 insertions(+), 143 deletions(-) diff --git a/examples/access-control-migration/package.json b/examples/access-control-migration/package.json index 3b961c7beca9..9ee92928b95d 100644 --- a/examples/access-control-migration/package.json +++ b/examples/access-control-migration/package.json @@ -73,7 +73,7 @@ "@loopback/testlab": "^7.0.8", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" } diff --git a/examples/binding-resolution/package.json b/examples/binding-resolution/package.json index dc2457527a61..442db6bd428c 100644 --- a/examples/binding-resolution/package.json +++ b/examples/binding-resolution/package.json @@ -56,7 +56,7 @@ "@loopback/testlab": "^7.0.8", "@types/debug": "^4.1.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "source-map-support": "^0.5.21", "typescript": "~5.2.2" } diff --git a/examples/context/package.json b/examples/context/package.json index 38e32b6d157f..0ad5c1505e56 100644 --- a/examples/context/package.json +++ b/examples/context/package.json @@ -54,7 +54,7 @@ "@loopback/eslint-config": "^15.0.4", "@loopback/testlab": "^7.0.8", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" } } diff --git a/examples/express-composition/package.json b/examples/express-composition/package.json index 6a183d56f9d0..cd27718d2d86 100644 --- a/examples/express-composition/package.json +++ b/examples/express-composition/package.json @@ -62,7 +62,7 @@ "@loopback/testlab": "^7.0.8", "@types/express": "^4.17.21", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" } } diff --git a/examples/file-transfer/package.json b/examples/file-transfer/package.json index 34606137377c..0d284dab1d15 100644 --- a/examples/file-transfer/package.json +++ b/examples/file-transfer/package.json @@ -60,7 +60,7 @@ "@types/express-serve-static-core": "^4.17.37", "@types/multer": "^1.4.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" } } diff --git a/examples/graphql/package.json b/examples/graphql/package.json index 29f576cdcd30..e744de1e4957 100644 --- a/examples/graphql/package.json +++ b/examples/graphql/package.json @@ -63,7 +63,7 @@ "@loopback/testlab": "^7.0.8", "@types/multer": "^1.4.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "rimraf": "^5.0.10", "source-map-support": "^0.5.21", "typescript": "~5.2.2" diff --git a/examples/greeter-extension/package.json b/examples/greeter-extension/package.json index 0672466caa16..cf8a19dd924b 100644 --- a/examples/greeter-extension/package.json +++ b/examples/greeter-extension/package.json @@ -58,7 +58,7 @@ "@loopback/testlab": "^7.0.8", "@types/debug": "4.1.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" } } diff --git a/examples/greeting-app/package.json b/examples/greeting-app/package.json index 0ce07e9ad045..fced46999956 100644 --- a/examples/greeting-app/package.json +++ b/examples/greeting-app/package.json @@ -62,7 +62,7 @@ "@loopback/testlab": "^7.0.8", "@types/debug": "4.1.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" } } diff --git a/examples/hello-world/package.json b/examples/hello-world/package.json index be9918065cbf..c1525c8ea3bf 100644 --- a/examples/hello-world/package.json +++ b/examples/hello-world/package.json @@ -55,7 +55,7 @@ "@loopback/eslint-config": "^15.0.4", "@loopback/testlab": "^7.0.8", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" } } diff --git a/examples/lb3-application/package.json b/examples/lb3-application/package.json index fd82f77a138f..0f397ffd088f 100644 --- a/examples/lb3-application/package.json +++ b/examples/lb3-application/package.json @@ -68,7 +68,7 @@ "@loopback/testlab": "^7.0.8", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "should": "^13.2.3", "typescript": "~5.2.2" diff --git a/examples/log-extension/package.json b/examples/log-extension/package.json index 1d2811885553..011f60e9607f 100644 --- a/examples/log-extension/package.json +++ b/examples/log-extension/package.json @@ -57,7 +57,7 @@ "@loopback/testlab": "^7.0.8", "@types/debug": "^4.1.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" } } diff --git a/examples/metrics-prometheus/package.json b/examples/metrics-prometheus/package.json index 9de5d848efd9..4265a746b54a 100644 --- a/examples/metrics-prometheus/package.json +++ b/examples/metrics-prometheus/package.json @@ -58,7 +58,7 @@ "@loopback/eslint-config": "^15.0.4", "@loopback/testlab": "^7.0.8", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" } } diff --git a/examples/multi-tenancy/package.json b/examples/multi-tenancy/package.json index f1b2aa4ec3e4..59a423b050cd 100644 --- a/examples/multi-tenancy/package.json +++ b/examples/multi-tenancy/package.json @@ -71,7 +71,7 @@ "@types/debug": "^4.1.12", "@types/jsonwebtoken": "^9.0.7", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "source-map-support": "^0.5.21", "typescript": "~5.2.2" } diff --git a/examples/passport-login/package.json b/examples/passport-login/package.json index d08215ea5b0b..3a792b6c0202 100644 --- a/examples/passport-login/package.json +++ b/examples/passport-login/package.json @@ -95,7 +95,7 @@ "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", "axios": "^1.7.9", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" } diff --git a/examples/references-many/package.json b/examples/references-many/package.json index a95ec88b1045..72af8bcc1151 100644 --- a/examples/references-many/package.json +++ b/examples/references-many/package.json @@ -69,7 +69,7 @@ "@loopback/testlab": "^7.0.8", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" } diff --git a/examples/rest-crud/package.json b/examples/rest-crud/package.json index 2efa5469446f..0b952f183094 100644 --- a/examples/rest-crud/package.json +++ b/examples/rest-crud/package.json @@ -66,7 +66,7 @@ "@loopback/testlab": "^7.0.8", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" } diff --git a/examples/rpc-server/package.json b/examples/rpc-server/package.json index ab77644f85f6..93ad9b9111fb 100644 --- a/examples/rpc-server/package.json +++ b/examples/rpc-server/package.json @@ -52,7 +52,7 @@ "@loopback/testlab": "^7.0.8", "@types/express": "^4.17.21", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" } } diff --git a/examples/soap-calculator/package.json b/examples/soap-calculator/package.json index a47ffab90ba7..d7570dac9821 100644 --- a/examples/soap-calculator/package.json +++ b/examples/soap-calculator/package.json @@ -60,7 +60,7 @@ "@loopback/testlab": "^7.0.8", "@types/mocha": "^10.0.10", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "mocha": "^10.8.2", "source-map-support": "^0.5.21", "typescript": "~5.2.2" diff --git a/examples/socketio/package.json b/examples/socketio/package.json index ef3f1395d83f..2bc0f9839553 100644 --- a/examples/socketio/package.json +++ b/examples/socketio/package.json @@ -66,7 +66,7 @@ "@loopback/testlab": "^7.0.8", "@types/debug": "^4.1.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "socket.io-client": "^4.8.1", "source-map-support": "^0.5.21", "typescript": "~5.2.2" diff --git a/examples/todo-jwt/package.json b/examples/todo-jwt/package.json index 5a4a04f65d84..25d9fd9e70e8 100644 --- a/examples/todo-jwt/package.json +++ b/examples/todo-jwt/package.json @@ -74,7 +74,7 @@ "@loopback/testlab": "^7.0.8", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" } diff --git a/examples/todo-list/package.json b/examples/todo-list/package.json index d5fcc62f9d19..658763b50bba 100644 --- a/examples/todo-list/package.json +++ b/examples/todo-list/package.json @@ -69,7 +69,7 @@ "@loopback/testlab": "^7.0.8", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" } diff --git a/examples/todo/package.json b/examples/todo/package.json index b611a6d1f9d1..14b495770669 100644 --- a/examples/todo/package.json +++ b/examples/todo/package.json @@ -69,7 +69,7 @@ "@types/lodash": "^4.17.14", "@types/morgan": "^1.9.9", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" } diff --git a/examples/validation-app/package.json b/examples/validation-app/package.json index 838dcc60f6c8..4c7aac4a9d1a 100644 --- a/examples/validation-app/package.json +++ b/examples/validation-app/package.json @@ -64,7 +64,7 @@ "@loopback/eslint-config": "^15.0.4", "@loopback/testlab": "^7.0.8", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "source-map-support": "^0.5.21", "typescript": "~5.2.2" } diff --git a/examples/webpack/package.json b/examples/webpack/package.json index 653a87aa81d4..4c2430fa8810 100644 --- a/examples/webpack/package.json +++ b/examples/webpack/package.json @@ -48,7 +48,7 @@ "@types/puppeteer": "^7.0.4", "assert": "^2.1.0", "buffer": "^6.0.3", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "events": "^3.3.0", "process": "^0.11.10", "puppeteer": "^21.11.0", diff --git a/package-lock.json b/package-lock.json index 2d909cf26368..9aa3db618d83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,22 +24,22 @@ "@npmcli/map-workspaces": "^4.0.2", "@npmcli/package-json": "^6.1.0", "@types/mocha": "^10.0.10", - "@typescript-eslint/eslint-plugin": "^7.16.0", - "@typescript-eslint/parser": "^7.16.0", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", "cross-env": "^7.0.3", "cz-conventional-changelog": "^3.3.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-eslint-plugin": "^5.5.1", - "eslint-plugin-mocha": "^10.4.3", - "eslint-plugin-prettier": "^5.1.3", + "eslint-plugin-mocha": "^10.5.0", + "eslint-plugin-prettier": "^5.2.1", "fs-extra": "^11.2.0", "husky": "^9.1.7", "lerna": "^8.1.9", "lint-staged": "^15.3.0", "markdown-table": "^3.0.4", "open-cli": "^8.0.0", - "prettier": "^3.3.2", + "prettier": "^3.4.2", "typescript": "~5.2.2" }, "engines": { @@ -295,7 +295,7 @@ "@loopback/testlab": "^7.0.8", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" }, @@ -327,7 +327,7 @@ "@loopback/testlab": "^7.0.8", "@types/debug": "^4.1.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "source-map-support": "^0.5.21", "typescript": "~5.2.2" }, @@ -355,7 +355,7 @@ "@loopback/eslint-config": "^15.0.4", "@loopback/testlab": "^7.0.8", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" }, "engines": { @@ -389,7 +389,7 @@ "@loopback/testlab": "^7.0.8", "@types/express": "^4.17.21", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" }, "engines": { @@ -422,7 +422,7 @@ "@types/express-serve-static-core": "^4.17.37", "@types/multer": "^1.4.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" }, "engines": { @@ -455,7 +455,7 @@ "@loopback/testlab": "^7.0.8", "@types/multer": "^1.4.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "rimraf": "^5.0.10", "source-map-support": "^0.5.21", "typescript": "~5.2.2" @@ -487,7 +487,7 @@ "@loopback/testlab": "^7.0.8", "@types/debug": "4.1.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" }, "engines": { @@ -520,7 +520,7 @@ "@loopback/testlab": "^7.0.8", "@types/debug": "4.1.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" }, "engines": { @@ -548,7 +548,7 @@ "@loopback/eslint-config": "^15.0.4", "@loopback/testlab": "^7.0.8", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" }, "engines": { @@ -588,7 +588,7 @@ "@loopback/testlab": "^7.0.8", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "should": "^13.2.3", "typescript": "~5.2.2" @@ -621,7 +621,7 @@ "@loopback/testlab": "^7.0.8", "@types/debug": "^4.1.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" }, "engines": { @@ -651,7 +651,7 @@ "@loopback/eslint-config": "^15.0.4", "@loopback/testlab": "^7.0.8", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" }, "engines": { @@ -687,7 +687,7 @@ "@types/debug": "^4.1.12", "@types/jsonwebtoken": "^9.0.7", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "source-map-support": "^0.5.21", "typescript": "~5.2.2" }, @@ -755,7 +755,7 @@ "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", "axios": "^1.7.9", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" }, @@ -791,7 +791,7 @@ "@loopback/testlab": "^7.0.8", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" }, @@ -827,7 +827,7 @@ "@loopback/testlab": "^7.0.8", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" }, @@ -857,7 +857,7 @@ "@loopback/testlab": "^7.0.8", "@types/express": "^4.17.21", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "~5.2.2" }, "engines": { @@ -891,7 +891,7 @@ "@loopback/testlab": "^7.0.8", "@types/mocha": "^10.0.10", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "mocha": "^10.8.2", "source-map-support": "^0.5.21", "typescript": "~5.2.2" @@ -927,7 +927,7 @@ "@loopback/testlab": "^7.0.8", "@types/debug": "^4.1.12", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "socket.io-client": "^4.8.1", "source-map-support": "^0.5.21", "typescript": "~5.2.2" @@ -966,7 +966,7 @@ "@types/lodash": "^4.17.14", "@types/morgan": "^1.9.9", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" }, @@ -1000,7 +1000,7 @@ "@loopback/testlab": "^7.0.8", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" }, @@ -1036,7 +1036,7 @@ "@loopback/testlab": "^7.0.8", "@types/lodash": "^4.17.14", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "lodash": "^4.17.21", "typescript": "~5.2.2" }, @@ -1077,7 +1077,7 @@ "@loopback/eslint-config": "^15.0.4", "@loopback/testlab": "^7.0.8", "@types/node": "^16.18.123", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "source-map-support": "^0.5.21", "typescript": "~5.2.2" }, @@ -1108,7 +1108,7 @@ "@types/puppeteer": "^7.0.4", "assert": "^2.1.0", "buffer": "^6.0.3", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "events": "^3.3.0", "process": "^0.11.10", "puppeteer": "^21.11.0", @@ -2999,9 +2999,10 @@ } }, "node_modules/@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", + "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } @@ -3191,11 +3192,13 @@ } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", + "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", + "deprecated": "Use @eslint/config-array instead", + "license": "Apache-2.0", "dependencies": { - "@humanwhocodes/object-schema": "^2.0.2", + "@humanwhocodes/object-schema": "^2.0.3", "debug": "^4.3.1", "minimatch": "^3.0.5" }, @@ -3236,9 +3239,11 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", - "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==" + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "deprecated": "Use @eslint/object-schema instead", + "license": "BSD-3-Clause" }, "node_modules/@hutson/parse-repository-url": { "version": "3.0.2", @@ -9521,16 +9526,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.16.0.tgz", - "integrity": "sha512-py1miT6iQpJcs1BiJjm54AMzeuMPBSPuKPlnT8HlfudbcS5rYeX5jajpLf3mrdRh9dA/Ec2FVUY0ifeVNDIhZw==", + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.18.0.tgz", + "integrity": "sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw==", "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.16.0", - "@typescript-eslint/type-utils": "7.16.0", - "@typescript-eslint/utils": "7.16.0", - "@typescript-eslint/visitor-keys": "7.16.0", + "@typescript-eslint/scope-manager": "7.18.0", + "@typescript-eslint/type-utils": "7.18.0", + "@typescript-eslint/utils": "7.18.0", + "@typescript-eslint/visitor-keys": "7.18.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -9554,15 +9559,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.16.0.tgz", - "integrity": "sha512-ar9E+k7CU8rWi2e5ErzQiC93KKEFAXA2Kky0scAlPcxYblLt8+XZuHUZwlyfXILyQa95P6lQg+eZgh/dDs3+Vw==", + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.18.0.tgz", + "integrity": "sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==", "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "7.16.0", - "@typescript-eslint/types": "7.16.0", - "@typescript-eslint/typescript-estree": "7.16.0", - "@typescript-eslint/visitor-keys": "7.16.0", + "@typescript-eslint/scope-manager": "7.18.0", + "@typescript-eslint/types": "7.18.0", + "@typescript-eslint/typescript-estree": "7.18.0", + "@typescript-eslint/visitor-keys": "7.18.0", "debug": "^4.3.4" }, "engines": { @@ -9582,13 +9587,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.16.0.tgz", - "integrity": "sha512-8gVv3kW6n01Q6TrI1cmTZ9YMFi3ucDT7i7aI5lEikk2ebk1AEjrwX8MDTdaX5D7fPXMBLvnsaa0IFTAu+jcfOw==", + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz", + "integrity": "sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==", "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.16.0", - "@typescript-eslint/visitor-keys": "7.16.0" + "@typescript-eslint/types": "7.18.0", + "@typescript-eslint/visitor-keys": "7.18.0" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -9599,13 +9604,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.16.0.tgz", - "integrity": "sha512-j0fuUswUjDHfqV/UdW6mLtOQQseORqfdmoBNDFOqs9rvNVR2e+cmu6zJu/Ku4SDuqiJko6YnhwcL8x45r8Oqxg==", + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.18.0.tgz", + "integrity": "sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==", "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "7.16.0", - "@typescript-eslint/utils": "7.16.0", + "@typescript-eslint/typescript-estree": "7.18.0", + "@typescript-eslint/utils": "7.18.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -9626,9 +9631,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.16.0.tgz", - "integrity": "sha512-fecuH15Y+TzlUutvUl9Cc2XJxqdLr7+93SQIbcZfd4XRGGKoxyljK27b+kxKamjRkU7FYC6RrbSCg0ALcZn/xw==", + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.18.0.tgz", + "integrity": "sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==", "license": "MIT", "engines": { "node": "^18.18.0 || >=20.0.0" @@ -9639,13 +9644,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.16.0.tgz", - "integrity": "sha512-a5NTvk51ZndFuOLCh5OaJBELYc2O3Zqxfl3Js78VFE1zE46J2AaVuW+rEbVkQznjkmlzWsUI15BG5tQMixzZLw==", + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.18.0.tgz", + "integrity": "sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==", "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "7.16.0", - "@typescript-eslint/visitor-keys": "7.16.0", + "@typescript-eslint/types": "7.18.0", + "@typescript-eslint/visitor-keys": "7.18.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -9667,15 +9672,15 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.16.0.tgz", - "integrity": "sha512-PqP4kP3hb4r7Jav+NiRCntlVzhxBNWq6ZQ+zQwII1y/G/1gdIPeYDCKr2+dH6049yJQsWZiHU6RlwvIFBXXGNA==", + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.18.0.tgz", + "integrity": "sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==", "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.16.0", - "@typescript-eslint/types": "7.16.0", - "@typescript-eslint/typescript-estree": "7.16.0" + "@typescript-eslint/scope-manager": "7.18.0", + "@typescript-eslint/types": "7.18.0", + "@typescript-eslint/typescript-estree": "7.18.0" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -9689,12 +9694,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.16.0.tgz", - "integrity": "sha512-rMo01uPy9C7XxG7AFsxa8zLnWXTF8N3PYclekWSrurvhwiw1eW88mrKiAYe6s53AUY57nTRz8dJsuuXdkAhzCg==", + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.18.0.tgz", + "integrity": "sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==", "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.16.0", + "@typescript-eslint/types": "7.18.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -14783,15 +14788,17 @@ } }, "node_modules/eslint": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", + "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", + "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", + "@eslint/js": "8.57.1", + "@humanwhocodes/config-array": "^0.13.0", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", @@ -14863,9 +14870,10 @@ } }, "node_modules/eslint-plugin-mocha": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-10.4.3.tgz", - "integrity": "sha512-emc4TVjq5Ht0/upR+psftuz6IBG5q279p+1dSRDeHf+NS9aaerBi3lXKo1SEzwC29hFIW21gO89CEWSvRsi8IQ==", + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-10.5.0.tgz", + "integrity": "sha512-F2ALmQVPT1GoP27O1JTZGrV9Pqg8k79OeIuvw63UxMtQKREZtmkK1NFgkZQ2TW7L2JSSFKHFPTtHu5z8R9QNRw==", + "license": "MIT", "dependencies": { "eslint-utils": "^3.0.0", "globals": "^13.24.0", @@ -14879,13 +14887,14 @@ } }, "node_modules/eslint-plugin-prettier": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.3.tgz", - "integrity": "sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz", + "integrity": "sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw==", "dev": true, + "license": "MIT", "dependencies": { "prettier-linter-helpers": "^1.0.0", - "synckit": "^0.8.6" + "synckit": "^0.9.1" }, "engines": { "node": "^14.18.0 || >=16.0.0" @@ -14963,6 +14972,7 @@ "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -14978,6 +14988,7 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -14987,6 +14998,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "license": "ISC", "dependencies": { "is-glob": "^4.0.3" }, @@ -14997,12 +15009,14 @@ "node_modules/eslint/node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "license": "MIT" }, "node_modules/eslint/node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -28274,9 +28288,9 @@ } }, "node_modules/prettier": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz", - "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" @@ -32177,10 +32191,11 @@ } }, "node_modules/synckit": { - "version": "0.8.8", - "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.8.8.tgz", - "integrity": "sha512-HwOKAP7Wc5aRGYdKH+dw0PRRpbO841v2DENBtjnR5HFWoiNByAl7vrx3p0G/rCyYXQsrxqtX48TImFtPcIHSpQ==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.9.2.tgz", + "integrity": "sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==", "dev": true, + "license": "MIT", "dependencies": { "@pkgr/core": "^0.1.0", "tslib": "^2.6.2" @@ -37043,13 +37058,13 @@ "@types/node": "^16.18.123", "cross-spawn": "^7.0.6", "debug": "^4.4.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "fs-extra": "^11.2.0", "glob": "^11.0.0", "lodash": "^4.17.21", "mocha": "^10.8.2", "nyc": "^17.1.0", - "prettier": "^3.3.2", + "prettier": "^3.4.2", "rimraf": "^5.0.10", "source-map-support": "^0.5.21", "typescript": "~5.2.2" @@ -37390,17 +37405,17 @@ "version": "15.0.4", "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "^7.16.0", - "@typescript-eslint/parser": "^7.16.0", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-eslint-plugin": "^5.5.1", - "eslint-plugin-mocha": "^10.4.3" + "eslint-plugin-mocha": "^10.5.0" }, "engines": { "node": "18 || 20 || 22" }, "peerDependencies": { - "eslint": "^8.57.0" + "eslint": "^8.57.1" } }, "packages/express": { diff --git a/package.json b/package.json index 0d2d23410bb6..99718adf8265 100644 --- a/package.json +++ b/package.json @@ -53,22 +53,22 @@ "@npmcli/map-workspaces": "^4.0.2", "@npmcli/package-json": "^6.1.0", "@types/mocha": "^10.0.10", - "@typescript-eslint/eslint-plugin": "^7.16.0", - "@typescript-eslint/parser": "^7.16.0", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", "cross-env": "^7.0.3", "cz-conventional-changelog": "^3.3.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-eslint-plugin": "^5.5.1", - "eslint-plugin-mocha": "^10.4.3", - "eslint-plugin-prettier": "^5.1.3", + "eslint-plugin-mocha": "^10.5.0", + "eslint-plugin-prettier": "^5.2.1", "fs-extra": "^11.2.0", "husky": "^9.1.7", "lerna": "^8.1.9", "lint-staged": "^15.3.0", "markdown-table": "^3.0.4", "open-cli": "^8.0.0", - "prettier": "^3.3.2", + "prettier": "^3.4.2", "typescript": "~5.2.2" }, "engineStrict": true, diff --git a/packages/build/package.json b/packages/build/package.json index 1c148165e8ea..4dcfca060260 100644 --- a/packages/build/package.json +++ b/packages/build/package.json @@ -36,13 +36,13 @@ "@types/node": "^16.18.123", "cross-spawn": "^7.0.6", "debug": "^4.4.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "fs-extra": "^11.2.0", "glob": "^11.0.0", "lodash": "^4.17.21", "mocha": "^10.8.2", "nyc": "^17.1.0", - "prettier": "^3.3.2", + "prettier": "^3.4.2", "rimraf": "^5.0.10", "source-map-support": "^0.5.21", "typescript": "~5.2.2" diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 3a1a2463358a..0e41687f42b0 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -18,13 +18,13 @@ "access": "public" }, "peerDependencies": { - "eslint": "^8.57.0" + "eslint": "^8.57.1" }, "dependencies": { - "@typescript-eslint/eslint-plugin": "^7.16.0", - "@typescript-eslint/parser": "^7.16.0", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-eslint-plugin": "^5.5.1", - "eslint-plugin-mocha": "^10.4.3" + "eslint-plugin-mocha": "^10.5.0" } } From 618adaebc29009ab1e41550b7253e9a6ded7292c Mon Sep 17 00:00:00 2001 From: dhmlau Date: Sat, 4 Jan 2025 10:05:22 -0500 Subject: [PATCH 2/2] fix: fix lint error Signed-off-by: dhmlau --- docs/site/Parsing-requests.md | 4 ++-- docs/site/decorators/Decorators_openapi.md | 4 ++-- docs/site/migration/auth/authentication.md | 4 ++-- packages/cli/generators/copyright/fs.js | 2 -- packages/context/src/interceptor.ts | 2 +- packages/core/src/application.ts | 2 +- packages/http-server/src/http-server.ts | 4 +++- packages/rest/src/spec-enhancers/info.spec-enhancer.ts | 10 ++++++---- 8 files changed, 17 insertions(+), 15 deletions(-) diff --git a/docs/site/Parsing-requests.md b/docs/site/Parsing-requests.md index 8a688cf28e20..79c2ba7abb02 100644 --- a/docs/site/Parsing-requests.md +++ b/docs/site/Parsing-requests.md @@ -96,8 +96,8 @@ query parameters. Please note that this style does not preserve the encoding of primitive types like numbers and booleans. They are always parsed as strings. To filter results from the GET `/todo-list` endpoint in the todo-list example -with a relation, { "include": [ { "relation": "todo" } ] }, the following url-encoded -query parameter can be used, +with a relation, { "include": [ { "relation": "todo" } ] }, the following +url-encoded query parameter can be used, ``` http://localhost:3000/todos?filter=%7B%22include%22%3A%5B%7B%22relation%22%3A%22todoList%22%7D%5D%7D diff --git a/docs/site/decorators/Decorators_openapi.md b/docs/site/decorators/Decorators_openapi.md index 71a3c82bbb5f..ff88042be784 100644 --- a/docs/site/decorators/Decorators_openapi.md +++ b/docs/site/decorators/Decorators_openapi.md @@ -224,8 +224,8 @@ supports receiving `url-encoded` payload for a json query parameter as per Open API specification. To filter results from the GET '/todo-list' endpoint in the todo-list example -with a specific relation, { "include": [ { "relation": "todo" } ] }, the following -`url-encoded` query parameter can be used, +with a specific relation, { "include": [ { "relation": "todo" } ] }, the +following `url-encoded` query parameter can be used, ``` http://localhost:3000/todos?filter=%7B%22include%22%3A%5B%7B%22relation%22%3A%22todoList%22%7D%5D%7D diff --git a/docs/site/migration/auth/authentication.md b/docs/site/migration/auth/authentication.md index 4b02f5a0fdea..c7ffddbca4fc 100644 --- a/docs/site/migration/auth/authentication.md +++ b/docs/site/migration/auth/authentication.md @@ -90,8 +90,8 @@ Next let's take a look of the migration steps to get prepared: - provides persistency for `User`, see [section 2](#user-persistency-and-crud-apis). - creates a login controller, see [section 3](#creating-login-function). -- mounts the JWT authentication component, see [section 4](#mounting- authentication-component). - It mainly includes: +- mounts the JWT authentication component, see [section 4](#mounting- + authentication-component). It mainly includes: - a token service to generate and validate access tokens - an authentication strategy to validate the user identity diff --git a/packages/cli/generators/copyright/fs.js b/packages/cli/generators/copyright/fs.js index 357ef151fb31..5ee6f6d8532e 100644 --- a/packages/cli/generators/copyright/fs.js +++ b/packages/cli/generators/copyright/fs.js @@ -25,10 +25,8 @@ async function jsOrTsFiles(cwd, paths = []) { paths = [].concat(paths); let globs; if (paths.length === 0) { - // eslint-disable-next-line @typescript-eslint/no-floating-promises globs = [glob('**/*.{js,ts}', {nodir: true, follow: false, cwd})]; } else { - // eslint-disable-next-line @typescript-eslint/no-floating-promises globs = paths.map(p => { if (/\/$/.test(p)) { p += '**/*.{js,ts}'; diff --git a/packages/context/src/interceptor.ts b/packages/context/src/interceptor.ts index 13c08f76bd81..3833f16358da 100644 --- a/packages/context/src/interceptor.ts +++ b/packages/context/src/interceptor.ts @@ -391,7 +391,7 @@ export function registerInterceptor( } const namespace = - options.namespace ?? options.defaultNamespace ?? global + (options.namespace ?? options.defaultNamespace ?? global) ? GLOBAL_INTERCEPTOR_NAMESPACE : LOCAL_INTERCEPTOR_NAMESPACE; diff --git a/packages/core/src/application.ts b/packages/core/src/application.ts index 89d4759349ed..39dd00b09dcf 100644 --- a/packages/core/src/application.ts +++ b/packages/core/src/application.ts @@ -121,7 +121,7 @@ export class Application extends Context implements LifeCycleObserver { this.scope = BindingScope.APPLICATION; this.options = - configOrParent instanceof Context ? {} : configOrParent ?? {}; + configOrParent instanceof Context ? {} : (configOrParent ?? {}); // Configure debug this._debug = debug; diff --git a/packages/http-server/src/http-server.ts b/packages/http-server/src/http-server.ts index 352a2719da3d..64268bc240ca 100644 --- a/packages/http-server/src/http-server.ts +++ b/packages/http-server/src/http-server.ts @@ -116,7 +116,9 @@ export class HttpServer { // Remove `port` so that `path` is honored delete this.serverOptions.port; } - this._protocol = serverOptions ? serverOptions.protocol ?? 'http' : 'http'; + this._protocol = serverOptions + ? (serverOptions.protocol ?? 'http') + : 'http'; if (this._protocol === 'https') { this.server = https.createServer( this.serverOptions as https.ServerOptions, diff --git a/packages/rest/src/spec-enhancers/info.spec-enhancer.ts b/packages/rest/src/spec-enhancers/info.spec-enhancer.ts index afa6638c38ca..769ff2f173dd 100644 --- a/packages/rest/src/spec-enhancers/info.spec-enhancer.ts +++ b/packages/rest/src/spec-enhancers/info.spec-enhancer.ts @@ -51,14 +51,16 @@ export class InfoSpecEnhancer implements OASEnhancer { spec.info.version === DEFAULT_OPENAPI_SPEC_INFO.version; const patchSpec = { info: { - title: overrideInfo ? this.pkg.name : spec.info.title ?? this.pkg.name, + title: overrideInfo + ? this.pkg.name + : (spec.info.title ?? this.pkg.name), description: overrideInfo ? this.pkg.description - : spec.info.description ?? this.pkg.description, + : (spec.info.description ?? this.pkg.description), version: overrideInfo ? this.pkg.version - : spec.info.version ?? this.pkg.version, - contact: overrideInfo ? contact : spec.info.contact ?? contact, + : (spec.info.version ?? this.pkg.version), + contact: overrideInfo ? contact : (spec.info.contact ?? contact), }, }; debug('Enhancing OpenAPI spec with %j', patchSpec);