diff --git a/packages/cache/package.json b/packages/cache/package.json index 2221983f33..c3bad9821f 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -11,7 +11,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "lb-tsc", diff --git a/packages/cli/src/generators/microservice/index.ts b/packages/cli/src/generators/microservice/index.ts index 0fedd03b9c..c6c635ff15 100644 --- a/packages/cli/src/generators/microservice/index.ts +++ b/packages/cli/src/generators/microservice/index.ts @@ -175,8 +175,7 @@ export default class MicroserviceGenerator extends AppGenerator { const user = await super.findOne({where: {username}}); const creds = user && (await this.credentials(user.id).get()); - // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing - if (!user || user.deleted || !creds?.password) { + if (!user ?? user?.deleted ?? !creds?.password) { throw new HttpErrors.Unauthorized(AuthenticateErrorKeys.UserDoesNotExist); } else if (!(await bcrypt.compare(password, creds.password))) { throw new HttpErrors.Unauthorized(AuthErrorKeys.InvalidCredentials); @@ -152,7 +151,7 @@ export class UserExtRepository extends DefaultSoftCrudRepository< AuthenticateErrorKeys.TempPasswordLoginDisallowed, ); } else { - return user; + return user!; } } @@ -163,8 +162,7 @@ export class UserExtRepository extends DefaultSoftCrudRepository< ): Promise { const user = await super.findOne({where: {username}}); const creds = user && (await this.credentials(user.id).get()); - // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing - if (!user || user.deleted || !creds?.password) { + if (!user ?? user?.deleted ?? !creds?.password) { throw new HttpErrors.Unauthorized(AuthenticateErrorKeys.UserDoesNotExist); } else if (!(await bcrypt.compare(password, creds.password))) { throw new HttpErrors.Unauthorized(AuthErrorKeys.WrongPassword); @@ -175,9 +173,9 @@ export class UserExtRepository extends DefaultSoftCrudRepository< } else { // Do nothing } - await this.credentials(user.id).patch({ + await this.credentials(user!.id).patch({ password: await bcrypt.hash(newPassword, saltRounds), }); - return user; + return user!; } } diff --git a/sandbox/cache-example/package.json b/sandbox/cache-example/package.json index 888e905b2a..2845e4b644 100644 --- a/sandbox/cache-example/package.json +++ b/sandbox/cache-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/chat-notification-pubnub-example/facade/package.json b/sandbox/chat-notification-pubnub-example/facade/package.json index 1345acd056..f947681f7d 100644 --- a/sandbox/chat-notification-pubnub-example/facade/package.json +++ b/sandbox/chat-notification-pubnub-example/facade/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "private": true, "scripts": { diff --git a/sandbox/chat-notification-pubnub-example/services/chat-service/package.json b/sandbox/chat-notification-pubnub-example/services/chat-service/package.json index ff6df092bd..aeac60966f 100644 --- a/sandbox/chat-notification-pubnub-example/services/chat-service/package.json +++ b/sandbox/chat-notification-pubnub-example/services/chat-service/package.json @@ -10,7 +10,7 @@ "types": "dist/index.d.ts", "private": true, "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/chat-notification-pubnub-example/services/notifications-service/package.json b/sandbox/chat-notification-pubnub-example/services/notifications-service/package.json index f335457167..9aed8694d0 100644 --- a/sandbox/chat-notification-pubnub-example/services/notifications-service/package.json +++ b/sandbox/chat-notification-pubnub-example/services/notifications-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "private": true, "scripts": { diff --git a/sandbox/chat-notification-socketio-example/facade/package.json b/sandbox/chat-notification-socketio-example/facade/package.json index dcacb1236b..e81f580151 100644 --- a/sandbox/chat-notification-socketio-example/facade/package.json +++ b/sandbox/chat-notification-socketio-example/facade/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "private": true, "scripts": { diff --git a/sandbox/chat-notification-socketio-example/services/chat-service/package.json b/sandbox/chat-notification-socketio-example/services/chat-service/package.json index fdf42331fa..766397bad5 100644 --- a/sandbox/chat-notification-socketio-example/services/chat-service/package.json +++ b/sandbox/chat-notification-socketio-example/services/chat-service/package.json @@ -10,7 +10,7 @@ "types": "dist/index.d.ts", "private": true, "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/chat-notification-socketio-example/services/notifications-service/package.json b/sandbox/chat-notification-socketio-example/services/notifications-service/package.json index 27d2223167..5dc1aec761 100644 --- a/sandbox/chat-notification-socketio-example/services/notifications-service/package.json +++ b/sandbox/chat-notification-socketio-example/services/notifications-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "private": true, "scripts": { diff --git a/sandbox/chat-notification-socketio-example/services/socketio-service/package.json b/sandbox/chat-notification-socketio-example/services/socketio-service/package.json index e6349ebcf1..17293e512b 100644 --- a/sandbox/chat-notification-socketio-example/services/socketio-service/package.json +++ b/sandbox/chat-notification-socketio-example/services/socketio-service/package.json @@ -17,7 +17,7 @@ "directory": "examples/socketio" }, "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "private": true, "scripts": { diff --git a/sandbox/feature-toggle-example/package.json b/sandbox/feature-toggle-example/package.json index 8ed3c310d1..c2b585b547 100644 --- a/sandbox/feature-toggle-example/package.json +++ b/sandbox/feature-toggle-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "npm run clean && lb-tsc", diff --git a/sandbox/in-mail-example/package.json b/sandbox/in-mail-example/package.json index d6c6447bcf..b1f14cc2e4 100644 --- a/sandbox/in-mail-example/package.json +++ b/sandbox/in-mail-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/notification-socket-example/package.json b/sandbox/notification-socket-example/package.json index d68d63b265..da5a24ddff 100644 --- a/sandbox/notification-socket-example/package.json +++ b/sandbox/notification-socket-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "npm run clean && lb-tsc", diff --git a/sandbox/oauth-example/package.json b/sandbox/oauth-example/package.json index d37c76c4cf..f7aa125f03 100644 --- a/sandbox/oauth-example/package.json +++ b/sandbox/oauth-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/oidc-basic-example/package.json b/sandbox/oidc-basic-example/package.json index b95391d398..660b93eee4 100644 --- a/sandbox/oidc-basic-example/package.json +++ b/sandbox/oidc-basic-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/payment-example/package.json b/sandbox/payment-example/package.json index b53eaeb233..8bc4b80fdd 100644 --- a/sandbox/payment-example/package.json +++ b/sandbox/payment-example/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "private": true, "scripts": { diff --git a/sandbox/pubnub-example/package.json b/sandbox/pubnub-example/package.json index 6e43e1ceab..60b800fa31 100644 --- a/sandbox/pubnub-example/package.json +++ b/sandbox/pubnub-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/scheduler-example/package.json b/sandbox/scheduler-example/package.json index 29588b4ab9..ca92d0fdf2 100644 --- a/sandbox/scheduler-example/package.json +++ b/sandbox/scheduler-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/search-ms-example/package.json b/sandbox/search-ms-example/package.json index 83f48da21f..93b1f2f926 100644 --- a/sandbox/search-ms-example/package.json +++ b/sandbox/search-ms-example/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "private": true, "scripts": { diff --git a/sandbox/telemed-app/backend/authentication-service/package.json b/sandbox/telemed-app/backend/authentication-service/package.json index 81875087b2..6500f34b3c 100644 --- a/sandbox/telemed-app/backend/authentication-service/package.json +++ b/sandbox/telemed-app/backend/authentication-service/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "18 || 20" }, "scripts": { "build:layers": "scripts/build-dependency-layer.sh", diff --git a/sandbox/telemed-app/backend/notification-service/package.json b/sandbox/telemed-app/backend/notification-service/package.json index 5c3d47502c..bdb61f4a2a 100644 --- a/sandbox/telemed-app/backend/notification-service/package.json +++ b/sandbox/telemed-app/backend/notification-service/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "18 || 20" }, "scripts": { "build:layers": "scripts/build-dependency-layer.sh", diff --git a/sandbox/telemed-app/backend/video-conferencing-service/package.json b/sandbox/telemed-app/backend/video-conferencing-service/package.json index 022fe0eea1..62f1cc1388 100644 --- a/sandbox/telemed-app/backend/video-conferencing-service/package.json +++ b/sandbox/telemed-app/backend/video-conferencing-service/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "18 || 20" }, "scripts": { "build:layers": "scripts/build-dependency-layer.sh", diff --git a/sandbox/video-conferencing-ms-example/package.json b/sandbox/video-conferencing-ms-example/package.json index cf56d2bf16..973e0d5629 100644 --- a/sandbox/video-conferencing-ms-example/package.json +++ b/sandbox/video-conferencing-ms-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "npm run clean && lb-tsc", diff --git a/sandbox/workflow-ms-example/package.json b/sandbox/workflow-ms-example/package.json index 28f4e09bee..b4967c02fb 100644 --- a/sandbox/workflow-ms-example/package.json +++ b/sandbox/workflow-ms-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "npm run clean && lb-tsc", diff --git a/services/audit-service/package.json b/services/audit-service/package.json index 5e6ba49387..8fb001cb3a 100644 --- a/services/audit-service/package.json +++ b/services/audit-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "npm run clean && lb-tsc && npm run openapi-spec && npm run apidocs", diff --git a/services/audit-service/src/services/job-processing.service.ts b/services/audit-service/src/services/job-processing.service.ts index 3dc75157a4..047aa0c485 100644 --- a/services/audit-service/src/services/job-processing.service.ts +++ b/services/audit-service/src/services/job-processing.service.ts @@ -69,10 +69,8 @@ export class JobProcessingService { (customFilter.actedOn == null || filterUsed.actedOn == null || filterUsed.actedOn === customFilter.actedOn) && - // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing - (customFilter.entityId || - // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing - filterUsed.entityId || + (customFilter.entityId ?? + filterUsed.entityId ?? filterUsed.entityId === customFilter.entityId) && (customFilter.date == null || filterUsed.date == null || diff --git a/services/authentication-service/package.json b/services/authentication-service/package.json index 857bc374ce..f970edfbb4 100644 --- a/services/authentication-service/package.json +++ b/services/authentication-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "prebuild": "npm run clean", diff --git a/services/bpmn-service/package.json b/services/bpmn-service/package.json index be64877185..3027581b1e 100644 --- a/services/bpmn-service/package.json +++ b/services/bpmn-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "npm run clean && lb-tsc && npm run openapi-spec && npm run apidocs", diff --git a/services/chat-service/package.json b/services/chat-service/package.json index 9cec68a123..cd8e319a64 100644 --- a/services/chat-service/package.json +++ b/services/chat-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "openapi-spec": "node ./dist/openapi-spec && npm run apidocs", diff --git a/services/feature-toggle-service/package.json b/services/feature-toggle-service/package.json index 7f47d77fc4..022724f614 100644 --- a/services/feature-toggle-service/package.json +++ b/services/feature-toggle-service/package.json @@ -1,149 +1,149 @@ { - "name": "@sourceloop/feature-toggle-service", - "version": "0.13.5", - "description": "A service that provides feature toggle functionality", - "keywords": [ - "loopback-application", - "loopback" - ], - "main": "dist/index.js", - "types": "dist/index.d.ts", - "engines": { - "node": "16 || 17 || 18" + "name": "@sourceloop/feature-toggle-service", + "version": "0.13.5", + "description": "A service that provides feature toggle functionality", + "keywords": [ + "loopback-application", + "loopback" + ], + "main": "dist/index.js", + "types": "dist/index.d.ts", + "engines": { + "node": "18 || 20" + }, + "scripts": { + "prebuild": "npm run clean", + "build": "lb-tsc && npm run openapi-spec", + "build:watch": "lb-tsc --watch", + "lint": "npm run eslint && npm run prettier:check", + "lint:fix": "npm run eslint:fix && npm run prettier:fix", + "prettier:cli": "prettier \"**/*.ts\" \"**/*.js\"", + "prettier:check": "npm run prettier:cli -- -l", + "prettier:fix": "npm run prettier:cli -- --write", + "eslint": "eslint --report-unused-disable-directives .", + "eslint:fix": "npm run eslint -- --fix", + "pretest": "npm run rebuild", + "test": "lb-mocha --allow-console-logs \"dist/__tests__\"", + "test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js", + "docker:build": "docker build -t feature-toggle-service .", + "docker:run": "docker run -p 3000:3000 -d feature-toggle-service", + "premigrate": "npm run build", + "migrate": "node ./dist/migrate", + "openapi-spec": "node ./dist/openapi-spec && npm run apidocs", + "apidocs": "npx widdershins --language_tabs 'javascript:JavaScript:request' 'javascript--nodejs:Node.JS' --summary openapi.json -o openapi.md", + "prestart": "npm run rebuild", + "start": "node -r source-map-support/register .", + "clean": "lb-clean dist *.tsbuildinfo .eslintcache", + "rebuild": "npm run clean && npm run build", + "symlink-resolver": "symlink-resolver", + "resolve-links": "npm run symlink-resolver build ./node_modules", + "db:migrate": "./node_modules/db-migrate/bin/db-migrate up --config './migrations/database.json'", + "db:migrate:down": "./node_modules/db-migrate/bin/db-migrate down --config './migrations/database.json'", + "db:migrate:reset": "./node_modules/db-migrate/bin/db-migrate reset --config './migrations/database.json'", + "postinstall": "node migration.js", + "coverage": "nyc npm run test" + }, + "repository": { + "type": "git", + "url": "https://github.com/sourcefuse/loopback4-microservice-catalog.git", + "directory": "services/feature-toggle-service" + }, + "author": "Sourcefuse", + "license": "MIT", + "files": [ + "README.md", + "dist", + "src", + "migration.js", + "migrations", + "database.json", + "!*/__tests__" + ], + "dependencies": { + "@loopback/boot": "^6.1.3", + "@loopback/context": "^6.1.3", + "@loopback/core": "^5.1.3", + "@loopback/openapi-v3": "^9.1.3", + "@loopback/repository": "^6.1.3", + "@loopback/rest": "^13.1.0", + "@loopback/rest-explorer": "^6.1.3", + "@loopback/service-proxy": "^6.1.3", + "@sourceloop/core": "^8.2.0", + "@types/proxyquire": "^1.3.28", + "dotenv": "^16.0.3", + "dotenv-extended": "^2.9.0", + "lodash": "^4.17.21", + "loopback4-authentication": "^10.0.0", + "loopback4-authorization": "^6.2.0", + "loopback4-soft-delete": "^9.0.0", + "proxyquire": "^2.1.3", + "tslib": "^2.5.3" + }, + "devDependencies": { + "@loopback/build": "^10.1.3", + "@loopback/eslint-config": "^14.0.4", + "@loopback/testlab": "^6.1.3", + "@types/i18n": "^0.13.6", + "@types/jsonwebtoken": "^8.5.8", + "@types/lodash": "^4.14.178", + "@types/mocha": "^10.0.1", + "@types/node": "^18.11.18", + "db-migrate": "^1.0.0-beta.21", + "db-migrate-pg": "^1.3.0", + "eslint": "^8.44.0", + "source-map-support": "^0.5.21", + "symlink-resolver": "0.2.1", + "typescript": "~4.9.5", + "widdershins": "^4.0.1" + }, + "peerDependencies": { + "db-migrate": "^1.0.0-beta.21", + "db-migrate-pg": "^1.3.0" + }, + "overrides": { + "widdershins": { + "swagger2openapi": "^7.0.8", + "markdown-it": "^12.3.2", + "yargs": "^17.4.1" }, - "scripts": { - "prebuild": "npm run clean", - "build": "lb-tsc && npm run openapi-spec", - "build:watch": "lb-tsc --watch", - "lint": "npm run eslint && npm run prettier:check", - "lint:fix": "npm run eslint:fix && npm run prettier:fix", - "prettier:cli": "prettier \"**/*.ts\" \"**/*.js\"", - "prettier:check": "npm run prettier:cli -- -l", - "prettier:fix": "npm run prettier:cli -- --write", - "eslint": "eslint --report-unused-disable-directives .", - "eslint:fix": "npm run eslint -- --fix", - "pretest": "npm run rebuild", - "test": "lb-mocha --allow-console-logs \"dist/__tests__\"", - "test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js", - "docker:build": "docker build -t feature-toggle-service .", - "docker:run": "docker run -p 3000:3000 -d feature-toggle-service", - "premigrate": "npm run build", - "migrate": "node ./dist/migrate", - "openapi-spec": "node ./dist/openapi-spec && npm run apidocs", - "apidocs": "npx widdershins --language_tabs 'javascript:JavaScript:request' 'javascript--nodejs:Node.JS' --summary openapi.json -o openapi.md", - "prestart": "npm run rebuild", - "start": "node -r source-map-support/register .", - "clean": "lb-clean dist *.tsbuildinfo .eslintcache", - "rebuild": "npm run clean && npm run build", - "symlink-resolver": "symlink-resolver", - "resolve-links": "npm run symlink-resolver build ./node_modules", - "db:migrate": "./node_modules/db-migrate/bin/db-migrate up --config './migrations/database.json'", - "db:migrate:down": "./node_modules/db-migrate/bin/db-migrate down --config './migrations/database.json'", - "db:migrate:reset": "./node_modules/db-migrate/bin/db-migrate reset --config './migrations/database.json'", - "postinstall": "node migration.js", - "coverage": "nyc npm run test" + "body-parser": { + "debug": "^4.3.4" }, - "repository": { - "type": "git", - "url": "https://github.com/sourcefuse/loopback4-microservice-catalog.git", - "directory": "services/feature-toggle-service" + "httpsnippet": { + "debug": "^4.3.4" }, - "author": "Sourcefuse", - "license": "MIT", - "files": [ - "README.md", - "dist", - "src", - "migration.js", - "migrations", - "database.json", - "!*/__tests__" - ], - "dependencies": { - "@loopback/boot": "^6.1.3", - "@loopback/context": "^6.1.3", - "@loopback/core": "^5.1.3", - "@loopback/openapi-v3": "^9.1.3", - "@loopback/repository": "^6.1.3", - "@loopback/rest": "^13.1.0", - "@loopback/rest-explorer": "^6.1.3", - "@loopback/service-proxy": "^6.1.3", - "@sourceloop/core": "^8.2.0", - "@types/proxyquire": "^1.3.28", - "dotenv": "^16.0.3", - "dotenv-extended": "^2.9.0", - "lodash": "^4.17.21", - "loopback4-authentication": "^10.0.0", - "loopback4-authorization": "^6.2.0", - "loopback4-soft-delete": "^9.0.0", - "proxyquire": "^2.1.3", - "tslib": "^2.5.3" + "send": { + "debug": "^4.3.4" }, - "devDependencies": { - "@loopback/build": "^10.1.3", - "@loopback/eslint-config": "^14.0.4", - "@loopback/testlab": "^6.1.3", - "@types/i18n": "^0.13.6", - "@types/jsonwebtoken": "^8.5.8", - "@types/lodash": "^4.14.178", - "@types/mocha": "^10.0.1", - "@types/node": "^18.11.18", - "db-migrate": "^1.0.0-beta.21", - "db-migrate-pg": "^1.3.0", - "eslint": "^8.44.0", - "source-map-support": "^0.5.21", - "symlink-resolver": "0.2.1", - "typescript": "~4.9.5", - "widdershins": "^4.0.1" + "tunnel-ssh": { + "debug": "^4.3.4" }, - "peerDependencies": { - "db-migrate": "^1.0.0-beta.21", - "db-migrate-pg": "^1.3.0" + "finalhandler": { + "debug": "^4.3.4" }, - "overrides": { - "widdershins": { - "swagger2openapi": "^7.0.8", - "markdown-it": "^12.3.2", - "yargs": "^17.4.1" - }, - "body-parser": { - "debug": "^4.3.4" - }, - "httpsnippet": { - "debug": "^4.3.4" - }, - "send": { - "debug": "^4.3.4" - }, - "tunnel-ssh": { - "debug": "^4.3.4" - }, - "finalhandler": { - "debug": "^4.3.4" - }, - "express": { - "debug": "^4.3.4", - "finalhandler": "^1.2.0", - "send": "^0.18.0", - "serve-static": "^1.15.0" - } - }, - "publishConfig": { - "registry": "https://registry.npmjs.org/", - "access": "public" + "express": { + "debug": "^4.3.4", + "finalhandler": "^1.2.0", + "send": "^0.18.0", + "serve-static": "^1.15.0" + } + }, + "publishConfig": { + "registry": "https://registry.npmjs.org/", + "access": "public" + }, + "typedoc": { + "config": { + "entryPoints": [ + "src/index.ts" + ], + "out": "services/feature-toggle-service", + "plugin": [ + "typedoc-plugin-markdown" + ] }, - "typedoc": { - "config": { - "entryPoints": [ - "src/index.ts" - ], - "out": "services/feature-toggle-service", - "plugin": [ - "typedoc-plugin-markdown" - ] - }, - "settings": { - "includeOpenAPIDoc": true - } + "settings": { + "includeOpenAPIDoc": true } -} \ No newline at end of file + } +} diff --git a/services/in-mail-service/package.json b/services/in-mail-service/package.json index 95e671b034..830a78445f 100644 --- a/services/in-mail-service/package.json +++ b/services/in-mail-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "npm run clean && lb-tsc && npm run openapi-spec && npm run apidocs", diff --git a/services/notification-service/package.json b/services/notification-service/package.json index 22cf8dcbd7..78ccb4b002 100644 --- a/services/notification-service/package.json +++ b/services/notification-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "npm run clean && lb-tsc && npm run openapi-spec && npm run apidocs", diff --git a/services/oidc-service/package.json b/services/oidc-service/package.json index 7e8d92764c..102f0373d5 100644 --- a/services/oidc-service/package.json +++ b/services/oidc-service/package.json @@ -1,153 +1,153 @@ { - "name": "@sourceloop/oidc-service", - "version": "0.1.9", - "description": "Oidc microservice", - "keywords": [ - "loopback-extension", - "loopback" - ], - "main": "dist/index.js", - "types": "dist/index.d.ts", - "engines": { - "node": "16 || 17 || 18" + "name": "@sourceloop/oidc-service", + "version": "0.1.9", + "description": "Oidc microservice", + "keywords": [ + "loopback-extension", + "loopback" + ], + "main": "dist/index.js", + "types": "dist/index.d.ts", + "engines": { + "node": "18 || 20" + }, + "scripts": { + "prebuild": "npm run clean", + "build": "lb-tsc && npm run openapi-spec && npm run apidocs", + "build:watch": "lb-tsc --watch", + "lint": "npm run prettier:check && npm run eslint", + "lint:fix": "npm run eslint:fix && npm run prettier:fix", + "prettier:cli": "prettier \"**/*.ts\" \"**/*.js\"", + "prettier:check": "npm run prettier:cli -- -l", + "prettier:fix": "npm run prettier:cli -- --write", + "eslint": "eslint --report-unused-disable-directives .", + "eslint:fix": "npm run eslint -- --fix", + "openapi-spec": "node ./dist/openapi-spec", + "apidocs": "npx widdershins --search false --language_tabs 'javascript:JavaScript:request' 'javascript--nodejs:Node.JS' --summary openapi.json -o openapi.md", + "pretest": "npm run build", + "test": "echo \"No tests !\"", + "coverage": "nyc npm run test", + "prepublishOnly": "npm run test", + "test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js", + "clean": "lb-clean dist *.tsbuildinfo .eslintcache", + "postinstall": "node migration.js" + }, + "repository": { + "type": "git", + "url": "https://github.com/sourcefuse/loopback4-microservice-catalog.git", + "directory": "services/oidc-service" + }, + "author": "SourceFuse", + "license": "MIT", + "files": [ + "README.md", + "dist", + "src", + "migration.js", + "migrations", + "database.json", + "!*/__tests__" + ], + "peerDependencies": { + "db-migrate": "^1.0.0-beta.21", + "db-migrate-pg": "^1.3.0" + }, + "dependencies": { + "@loopback/boot": "^6.1.3", + "@loopback/context": "^6.1.3", + "@loopback/core": "^5.1.3", + "@loopback/openapi-v3": "^9.1.3", + "@loopback/repository": "^6.1.3", + "@loopback/rest": "^13.1.0", + "@loopback/rest-explorer": "^6.1.3", + "@loopback/service-proxy": "^6.1.3", + "@sourceloop/core": "^8.2.0", + "base-64": "^1.0.0", + "bcrypt": "^5.0.1", + "body-parser": "^1.20.0", + "check-code-coverage": "^1.10.0", + "cookie-parser": "^1.4.6", + "dotenv": "^16.0.3", + "dotenv-extended": "^2.9.0", + "https-proxy-agent": "^5.0.1", + "jsonwebtoken": "^9.0.0", + "lodash": "^4.17.21", + "loopback4-authentication": "^10.0.0", + "loopback4-authorization": "^6.2.0", + "loopback4-soft-delete": "^9.0.0", + "moment": "^2.29.3", + "moment-timezone": "^0.5.34", + "node-fetch": "^2.6.6", + "oidc-provider": "^7.14.3", + "otplib": "^12.0.1", + "passport-apple": "^2.0.1", + "passport-azure-ad": "^4.3.4", + "passport-facebook": "^3.0.0", + "passport-google-oauth20": "^2.0.0", + "passport-instagram": "^1.0.0", + "prom-client": "^14.1.0", + "qrcode": "^1.5.0", + "tslib": "^2.5.3" + }, + "devDependencies": { + "@istanbuljs/nyc-config-typescript": "^1.0.2", + "@loopback/build": "^10.1.3", + "@loopback/eslint-config": "^14.0.4", + "@loopback/testlab": "^6.1.3", + "@types/base-64": "^1.0.0", + "@types/bcrypt": "^5.0.0", + "@types/cookie-parser": "^1.4.3", + "@types/ejs": "^3.1.1", + "@types/i18n": "^0.13.6", + "@types/jsonwebtoken": "^8.5.8", + "@types/lodash": "^4.14.182", + "@types/moment-timezone": "^0.5.30", + "@types/node": "^18.11.18", + "@types/node-fetch": "^2.6.1", + "@types/oidc-provider": "^8.0.0", + "@types/passport-apple": "^1.1.1", + "@types/passport-azure-ad": "^4.3.1", + "@types/passport-facebook": "^2.1.11", + "@types/passport-google-oauth20": "^2.0.11", + "@types/passport-instagram": "^1.0.2", + "@types/qrcode": "^1.4.2", + "@types/sinon": "^10.0.11", + "db-migrate": "^1.0.0-beta.21", + "db-migrate-pg": "^1.3.0", + "eslint": "^8.44.0", + "nyc": "^15.1.0", + "sinon": "^13.0.2", + "source-map-support": "^0.5.21", + "typescript": "~4.9.5", + "widdershins": "^4.0.1" + }, + "overrides": { + "check-code-coverage": { + "lodash": "^4.17.21", + "got": "^11.8.5" }, - "scripts": { - "prebuild": "npm run clean", - "build": "lb-tsc && npm run openapi-spec && npm run apidocs", - "build:watch": "lb-tsc --watch", - "lint": "npm run prettier:check && npm run eslint", - "lint:fix": "npm run eslint:fix && npm run prettier:fix", - "prettier:cli": "prettier \"**/*.ts\" \"**/*.js\"", - "prettier:check": "npm run prettier:cli -- -l", - "prettier:fix": "npm run prettier:cli -- --write", - "eslint": "eslint --report-unused-disable-directives .", - "eslint:fix": "npm run eslint -- --fix", - "openapi-spec": "node ./dist/openapi-spec", - "apidocs": "npx widdershins --search false --language_tabs 'javascript:JavaScript:request' 'javascript--nodejs:Node.JS' --summary openapi.json -o openapi.md", - "pretest": "npm run build", - "test": "echo \"No tests !\"", - "coverage": "nyc npm run test", - "prepublishOnly": "npm run test", - "test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js", - "clean": "lb-clean dist *.tsbuildinfo .eslintcache", - "postinstall": "node migration.js" - }, - "repository": { - "type": "git", - "url": "https://github.com/sourcefuse/loopback4-microservice-catalog.git", - "directory": "services/oidc-service" - }, - "author": "SourceFuse", - "license": "MIT", - "files": [ - "README.md", - "dist", - "src", - "migration.js", - "migrations", - "database.json", - "!*/__tests__" - ], - "peerDependencies": { - "db-migrate": "^1.0.0-beta.21", - "db-migrate-pg": "^1.3.0" - }, - "dependencies": { - "@loopback/boot": "^6.1.3", - "@loopback/context": "^6.1.3", - "@loopback/core": "^5.1.3", - "@loopback/openapi-v3": "^9.1.3", - "@loopback/repository": "^6.1.3", - "@loopback/rest": "^13.1.0", - "@loopback/rest-explorer": "^6.1.3", - "@loopback/service-proxy": "^6.1.3", - "@sourceloop/core": "^8.2.0", - "base-64": "^1.0.0", - "bcrypt": "^5.0.1", - "body-parser": "^1.20.0", - "check-code-coverage": "^1.10.0", - "cookie-parser": "^1.4.6", - "dotenv": "^16.0.3", - "dotenv-extended": "^2.9.0", - "https-proxy-agent": "^5.0.1", - "jsonwebtoken": "^9.0.0", - "lodash": "^4.17.21", - "loopback4-authentication": "^10.0.0", - "loopback4-authorization": "^6.2.0", - "loopback4-soft-delete": "^9.0.0", - "moment": "^2.29.3", - "moment-timezone": "^0.5.34", - "node-fetch": "^2.6.6", - "oidc-provider": "^7.14.3", - "otplib": "^12.0.1", - "passport-apple": "^2.0.1", - "passport-azure-ad": "^4.3.4", - "passport-facebook": "^3.0.0", - "passport-google-oauth20": "^2.0.0", - "passport-instagram": "^1.0.0", - "prom-client": "^14.1.0", - "qrcode": "^1.5.0", - "tslib": "^2.5.3" - }, - "devDependencies": { - "@istanbuljs/nyc-config-typescript": "^1.0.2", - "@loopback/build": "^10.1.3", - "@loopback/eslint-config": "^14.0.4", - "@loopback/testlab": "^6.1.3", - "@types/base-64": "^1.0.0", - "@types/bcrypt": "^5.0.0", - "@types/cookie-parser": "^1.4.3", - "@types/ejs": "^3.1.1", - "@types/i18n": "^0.13.6", - "@types/jsonwebtoken": "^8.5.8", - "@types/lodash": "^4.14.182", - "@types/moment-timezone": "^0.5.30", - "@types/node": "^18.11.18", - "@types/node-fetch": "^2.6.1", - "@types/oidc-provider": "^8.0.0", - "@types/passport-apple": "^1.1.1", - "@types/passport-azure-ad": "^4.3.1", - "@types/passport-facebook": "^2.1.11", - "@types/passport-google-oauth20": "^2.0.11", - "@types/passport-instagram": "^1.0.2", - "@types/qrcode": "^1.4.2", - "@types/sinon": "^10.0.11", - "db-migrate": "^1.0.0-beta.21", - "db-migrate-pg": "^1.3.0", - "eslint": "^8.44.0", - "nyc": "^15.1.0", - "sinon": "^13.0.2", - "source-map-support": "^0.5.21", - "typescript": "~4.9.5", - "widdershins": "^4.0.1" - }, - "overrides": { - "check-code-coverage": { - "lodash": "^4.17.21", - "got": "^11.8.5" - }, - "widdershins": { - "swagger2openapi": "^7.0.8", - "markdown-it": "^12.3.2", - "yargs": "^17.4.1" - } - }, - "publishConfig": { - "registry": "https://registry.npmjs.org/", - "access": "public" + "widdershins": { + "swagger2openapi": "^7.0.8", + "markdown-it": "^12.3.2", + "yargs": "^17.4.1" + } + }, + "publishConfig": { + "registry": "https://registry.npmjs.org/", + "access": "public" + }, + "typedoc": { + "config": { + "entryPoints": [ + "src/index.ts" + ], + "out": "services/oidc-service", + "plugin": [ + "typedoc-plugin-markdown" + ] }, - "typedoc": { - "config": { - "entryPoints": [ - "src/index.ts" - ], - "out": "services/oidc-service", - "plugin": [ - "typedoc-plugin-markdown" - ] - }, - "settings": { - "includeOpenAPIDoc": true - } + "settings": { + "includeOpenAPIDoc": true } -} \ No newline at end of file + } +} diff --git a/services/payment-service/package.json b/services/payment-service/package.json index c87b991652..f543c12573 100644 --- a/services/payment-service/package.json +++ b/services/payment-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "apidocs": "npx widdershins --language_tabs 'javascript:JavaScript:request' 'javascript--nodejs:Node.JS' --summary openapi.json -o openapi.md", diff --git a/services/reporting-service/package.json b/services/reporting-service/package.json index 5d39798002..6cf054f3c5 100644 --- a/services/reporting-service/package.json +++ b/services/reporting-service/package.json @@ -1,138 +1,138 @@ { - "name": "@sourceloop/reporting-service", - "version": "0.5.7", - "description": "Reporting Microservice", - "keywords": [ - "loopback-extension", - "loopback" - ], - "main": "dist/index.js", - "types": "dist/index.d.ts", - "engines": { - "node": "16 || 17 || 18" + "name": "@sourceloop/reporting-service", + "version": "0.5.7", + "description": "Reporting Microservice", + "keywords": [ + "loopback-extension", + "loopback" + ], + "main": "dist/index.js", + "types": "dist/index.d.ts", + "engines": { + "node": "18 || 20" + }, + "scripts": { + "prebuild": "npm run clean", + "build": "lb-tsc", + "build:watch": "lb-tsc --watch", + "lint": "npm run eslint && npm run prettier:check", + "lint:fix": "npm run eslint:fix && npm run prettier:fix", + "prettier:cli": "prettier \"**/*.ts\" \"**/*.js\"", + "prettier:check": "npm run prettier:cli -- -l", + "prettier:fix": "npm run prettier:cli -- --write", + "eslint": "eslint --report-unused-disable-directives .", + "eslint:fix": "npm run eslint -- --fix", + "pretest": "npm run rebuild", + "test": "echo \"No tests !\"", + "test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js", + "docker:build": "docker build -t reporting-service .", + "docker:run": "docker run -p 3000:3000 -d reporting-service", + "premigrate": "npm run build", + "migrate": "node ./dist/migrate", + "preopenapi-spec": "npm run build", + "openapi-spec": "node ./dist/openapi-spec", + "prestart": "npm run rebuild", + "start": "node -r source-map-support/register .", + "clean": "lb-clean dist *.tsbuildinfo .eslintcache", + "rebuild": "npm run clean && npm run build" + }, + "private": true, + "repository": { + "type": "git", + "url": "https://github.com/sourcefuse/loopback4-microservice-catalog.git", + "directory": "services/reporting-service" + }, + "author": "Sourcefuse", + "license": "MIT", + "files": [ + "README.md", + "dist", + "src", + "database.json", + "!*/__tests__" + ], + "peerDependencies": { + "db-migrate": "^1.0.0-beta.21", + "db-migrate-pg": "^1.3.0" + }, + "dependencies": { + "@loopback/boot": "^6.1.3", + "@loopback/context": "^6.1.3", + "@loopback/core": "^5.1.3", + "@loopback/openapi-v3": "^9.1.3", + "@loopback/repository": "^6.1.3", + "@loopback/rest": "^13.1.0", + "@loopback/rest-explorer": "^6.1.3", + "@loopback/service-proxy": "^6.1.3", + "@sourceloop/core": "^8.2.0", + "axios": "^0.26.1", + "circular-json": "^0.5.9", + "dotenv": "^16.0.3", + "dotenv-extended": "^2.9.0", + "handlebars": "^4.7.7", + "loopback4-authentication": "^10.0.0", + "loopback4-authorization": "^6.2.0", + "loopback4-soft-delete": "^9.0.0", + "moment": "^2.29.3", + "tslib": "^2.5.3", + "uuid": "^8.3.2" + }, + "devDependencies": { + "@loopback/build": "^10.1.3", + "@loopback/eslint-config": "^14.0.4", + "@loopback/testlab": "^6.1.3", + "@types/circular-json": "^0.4.0", + "@types/lodash": "^4.14.182", + "@types/node": "^18.11.18", + "@types/uuid": "^8.3.4", + "db-migrate": "^1.0.0-beta.21", + "db-migrate-pg": "^1.3.0", + "eslint": "^8.44.0", + "source-map-support": "^0.5.21", + "typescript": "~4.9.5", + "widdershins": "^4.0.1" + }, + "overrides": { + "widdershins": { + "swagger2openapi": "^7.0.8", + "markdown-it": "^12.3.2", + "yargs": "^17.4.1" }, - "scripts": { - "prebuild": "npm run clean", - "build": "lb-tsc", - "build:watch": "lb-tsc --watch", - "lint": "npm run eslint && npm run prettier:check", - "lint:fix": "npm run eslint:fix && npm run prettier:fix", - "prettier:cli": "prettier \"**/*.ts\" \"**/*.js\"", - "prettier:check": "npm run prettier:cli -- -l", - "prettier:fix": "npm run prettier:cli -- --write", - "eslint": "eslint --report-unused-disable-directives .", - "eslint:fix": "npm run eslint -- --fix", - "pretest": "npm run rebuild", - "test": "echo \"No tests !\"", - "test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js", - "docker:build": "docker build -t reporting-service .", - "docker:run": "docker run -p 3000:3000 -d reporting-service", - "premigrate": "npm run build", - "migrate": "node ./dist/migrate", - "preopenapi-spec": "npm run build", - "openapi-spec": "node ./dist/openapi-spec", - "prestart": "npm run rebuild", - "start": "node -r source-map-support/register .", - "clean": "lb-clean dist *.tsbuildinfo .eslintcache", - "rebuild": "npm run clean && npm run build" + "body-parser": { + "debug": "^4.3.4" }, - "private": true, - "repository": { - "type": "git", - "url": "https://github.com/sourcefuse/loopback4-microservice-catalog.git", - "directory": "services/reporting-service" + "httpsnippet": { + "debug": "^4.3.4" }, - "author": "Sourcefuse", - "license": "MIT", - "files": [ - "README.md", - "dist", - "src", - "database.json", - "!*/__tests__" - ], - "peerDependencies": { - "db-migrate": "^1.0.0-beta.21", - "db-migrate-pg": "^1.3.0" + "send": { + "debug": "^4.3.4" }, - "dependencies": { - "@loopback/boot": "^6.1.3", - "@loopback/context": "^6.1.3", - "@loopback/core": "^5.1.3", - "@loopback/openapi-v3": "^9.1.3", - "@loopback/repository": "^6.1.3", - "@loopback/rest": "^13.1.0", - "@loopback/rest-explorer": "^6.1.3", - "@loopback/service-proxy": "^6.1.3", - "@sourceloop/core": "^8.2.0", - "axios": "^0.26.1", - "circular-json": "^0.5.9", - "dotenv": "^16.0.3", - "dotenv-extended": "^2.9.0", - "handlebars": "^4.7.7", - "loopback4-authentication": "^10.0.0", - "loopback4-authorization": "^6.2.0", - "loopback4-soft-delete": "^9.0.0", - "moment": "^2.29.3", - "tslib": "^2.5.3", - "uuid": "^8.3.2" + "tunnel-ssh": { + "debug": "^4.3.4" }, - "devDependencies": { - "@loopback/build": "^10.1.3", - "@loopback/eslint-config": "^14.0.4", - "@loopback/testlab": "^6.1.3", - "@types/circular-json": "^0.4.0", - "@types/lodash": "^4.14.182", - "@types/node": "^18.11.18", - "@types/uuid": "^8.3.4", - "db-migrate": "^1.0.0-beta.21", - "db-migrate-pg": "^1.3.0", - "eslint": "^8.44.0", - "source-map-support": "^0.5.21", - "typescript": "~4.9.5", - "widdershins": "^4.0.1" + "finalhandler": { + "debug": "^4.3.4" }, - "overrides": { - "widdershins": { - "swagger2openapi": "^7.0.8", - "markdown-it": "^12.3.2", - "yargs": "^17.4.1" - }, - "body-parser": { - "debug": "^4.3.4" - }, - "httpsnippet": { - "debug": "^4.3.4" - }, - "send": { - "debug": "^4.3.4" - }, - "tunnel-ssh": { - "debug": "^4.3.4" - }, - "finalhandler": { - "debug": "^4.3.4" - }, - "express": { - "debug": "^4.3.4", - "finalhandler": "^1.2.0", - "send": "^0.18.0", - "serve-static": "^1.15.0" - } - }, - "publishConfig": { - "registry": "https://registry.npmjs.org/", - "access": "public" - }, - "typedoc": { - "config": { - "entryPoints": [ - "src/index.ts" - ], - "out": "services/reporting-service", - "plugin": [ - "typedoc-plugin-markdown" - ] - } + "express": { + "debug": "^4.3.4", + "finalhandler": "^1.2.0", + "send": "^0.18.0", + "serve-static": "^1.15.0" + } + }, + "publishConfig": { + "registry": "https://registry.npmjs.org/", + "access": "public" + }, + "typedoc": { + "config": { + "entryPoints": [ + "src/index.ts" + ], + "out": "services/reporting-service", + "plugin": [ + "typedoc-plugin-markdown" + ] } -} \ No newline at end of file + } +} diff --git a/services/scheduler-service/package.json b/services/scheduler-service/package.json index 02362e7ee7..d22805c85a 100644 --- a/services/scheduler-service/package.json +++ b/services/scheduler-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "build": "npm run clean && lb-tsc && npm run openapi-spec && npm run apidocs", diff --git a/services/search-service/package.json b/services/search-service/package.json index 161633292d..abc25edd50 100644 --- a/services/search-service/package.json +++ b/services/search-service/package.json @@ -1,134 +1,134 @@ { - "name": "@sourceloop/search-service", - "version": "0.8.8", - "description": "A microservice to search over provided models", - "keywords": [ - "loopback-application", - "loopback" - ], - "main": "dist/index.js", - "types": "dist/index.d.ts", - "engines": { - "node": "16 || 17 || 18" + "name": "@sourceloop/search-service", + "version": "0.8.8", + "description": "A microservice to search over provided models", + "keywords": [ + "loopback-application", + "loopback" + ], + "main": "dist/index.js", + "types": "dist/index.d.ts", + "engines": { + "node": "18 || 20" + }, + "scripts": { + "build": "npm run clean && lb-tsc", + "build:watch": "lb-tsc --watch", + "lint": "npm run prettier:check && npm run eslint", + "lint:fix": "npm run eslint:fix && npm run prettier:fix", + "prettier:cli": "prettier \"**/*.ts\" \"**/*.js\"", + "prettier:check": "npm run prettier:cli -- -l", + "prettier:fix": "npm run prettier:cli -- --write", + "eslint": "eslint --report-unused-disable-directives .", + "eslint:fix": "npm run eslint -- --fix", + "openapi-spec": "node ./dist/openapi-spec", + "apidocs": "npx widdershins --language_tabs 'javascript:JavaScript:request' 'javascript--nodejs:Node.JS' --summary openapi.json -o openapi.md", + "pretest": "npm run build", + "test": "lb-mocha --allow-console-logs \"dist/__tests__\"", + "test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js", + "coverage": "nyc npm run test", + "clean": "lb-clean dist *.tsbuildinfo .eslintcache", + "postinstall": "node migration.js", + "migration:create": "./node_modules/.bin/db-migrate create $1 --config './database.json' -m './migrations' --sql-file" + }, + "repository": { + "type": "git", + "url": "https://github.com/sourcefuse/loopback4-microservice-catalog.git", + "directory": "services/search-service" + }, + "author": " ", + "license": "MIT", + "files": [ + "README.md", + "dist", + "src", + "migration.js", + "migrations", + "database.json", + "!*/__tests__" + ], + "dependencies": { + "@loopback/boot": "^6.1.3", + "@loopback/context": "^6.1.3", + "@loopback/core": "^5.1.3", + "@loopback/openapi-v3": "^9.1.3", + "@loopback/repository": "^6.1.3", + "@loopback/rest": "^13.1.0", + "@loopback/rest-explorer": "^6.1.3", + "@loopback/service-proxy": "^6.1.3", + "@sourceloop/core": "^8.2.0", + "dotenv": "^16.0.3", + "dotenv-extended": "^2.9.0", + "loopback-connector-postgresql": "^6.0.8", + "loopback4-authentication": "^10.0.0", + "loopback4-authorization": "^6.2.0", + "loopback4-soft-delete": "^9.0.0", + "tslib": "^2.5.3" + }, + "peerDependencies": { + "db-migrate": "^1.0.0-beta.21", + "db-migrate-pg": "^1.3.0" + }, + "devDependencies": { + "@loopback/build": "^10.1.3", + "@loopback/eslint-config": "^14.0.4", + "@loopback/testlab": "^6.1.3", + "@types/mocha": "^10.0.1", + "@types/node": "^18.11.18", + "@types/sinon": "^10.0.11", + "db-migrate": "^1.0.0-beta.21", + "eslint": "^8.44.0", + "mocha": "^10.2.0", + "nyc": "^15.1.0", + "sinon": "^13.0.2", + "source-map-support": "^0.5.21", + "typescript": "~4.9.5", + "widdershins": "^4.0.1" + }, + "overrides": { + "widdershins": { + "swagger2openapi": "^7.0.8", + "markdown-it": "^12.3.2", + "yargs": "^17.4.1" }, - "scripts": { - "build": "npm run clean && lb-tsc", - "build:watch": "lb-tsc --watch", - "lint": "npm run prettier:check && npm run eslint", - "lint:fix": "npm run eslint:fix && npm run prettier:fix", - "prettier:cli": "prettier \"**/*.ts\" \"**/*.js\"", - "prettier:check": "npm run prettier:cli -- -l", - "prettier:fix": "npm run prettier:cli -- --write", - "eslint": "eslint --report-unused-disable-directives .", - "eslint:fix": "npm run eslint -- --fix", - "openapi-spec": "node ./dist/openapi-spec", - "apidocs": "npx widdershins --language_tabs 'javascript:JavaScript:request' 'javascript--nodejs:Node.JS' --summary openapi.json -o openapi.md", - "pretest": "npm run build", - "test": "lb-mocha --allow-console-logs \"dist/__tests__\"", - "test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js", - "coverage": "nyc npm run test", - "clean": "lb-clean dist *.tsbuildinfo .eslintcache", - "postinstall": "node migration.js", - "migration:create": "./node_modules/.bin/db-migrate create $1 --config './database.json' -m './migrations' --sql-file" + "body-parser": { + "debug": "^4.3.4" }, - "repository": { - "type": "git", - "url": "https://github.com/sourcefuse/loopback4-microservice-catalog.git", - "directory": "services/search-service" + "httpsnippet": { + "debug": "^4.3.4" }, - "author": " ", - "license": "MIT", - "files": [ - "README.md", - "dist", - "src", - "migration.js", - "migrations", - "database.json", - "!*/__tests__" - ], - "dependencies": { - "@loopback/boot": "^6.1.3", - "@loopback/context": "^6.1.3", - "@loopback/core": "^5.1.3", - "@loopback/openapi-v3": "^9.1.3", - "@loopback/repository": "^6.1.3", - "@loopback/rest": "^13.1.0", - "@loopback/rest-explorer": "^6.1.3", - "@loopback/service-proxy": "^6.1.3", - "@sourceloop/core": "^8.2.0", - "dotenv": "^16.0.3", - "dotenv-extended": "^2.9.0", - "loopback-connector-postgresql": "^6.0.8", - "loopback4-authentication": "^10.0.0", - "loopback4-authorization": "^6.2.0", - "loopback4-soft-delete": "^9.0.0", - "tslib": "^2.5.3" + "send": { + "debug": "^4.3.4" }, - "peerDependencies": { - "db-migrate": "^1.0.0-beta.21", - "db-migrate-pg": "^1.3.0" + "tunnel-ssh": { + "debug": "^4.3.4" }, - "devDependencies": { - "@loopback/build": "^10.1.3", - "@loopback/eslint-config": "^14.0.4", - "@loopback/testlab": "^6.1.3", - "@types/mocha": "^10.0.1", - "@types/node": "^18.11.18", - "@types/sinon": "^10.0.11", - "db-migrate": "^1.0.0-beta.21", - "eslint": "^8.44.0", - "mocha": "^10.2.0", - "nyc": "^15.1.0", - "sinon": "^13.0.2", - "source-map-support": "^0.5.21", - "typescript": "~4.9.5", - "widdershins": "^4.0.1" + "finalhandler": { + "debug": "^4.3.4" }, - "overrides": { - "widdershins": { - "swagger2openapi": "^7.0.8", - "markdown-it": "^12.3.2", - "yargs": "^17.4.1" - }, - "body-parser": { - "debug": "^4.3.4" - }, - "httpsnippet": { - "debug": "^4.3.4" - }, - "send": { - "debug": "^4.3.4" - }, - "tunnel-ssh": { - "debug": "^4.3.4" - }, - "finalhandler": { - "debug": "^4.3.4" - }, - "express": { - "debug": "^4.3.4", - "finalhandler": "^1.2.0", - "send": "^0.18.0", - "serve-static": "^1.15.0" - } - }, - "publishConfig": { - "registry": "https://registry.npmjs.org/", - "access": "public" + "express": { + "debug": "^4.3.4", + "finalhandler": "^1.2.0", + "send": "^0.18.0", + "serve-static": "^1.15.0" + } + }, + "publishConfig": { + "registry": "https://registry.npmjs.org/", + "access": "public" + }, + "typedoc": { + "config": { + "entryPoints": [ + "src/index.ts" + ], + "out": "services/search-service", + "plugin": [ + "typedoc-plugin-markdown" + ] }, - "typedoc": { - "config": { - "entryPoints": [ - "src/index.ts" - ], - "out": "services/search-service", - "plugin": [ - "typedoc-plugin-markdown" - ] - }, - "settings": { - "includeOpenAPIDoc": true - } + "settings": { + "includeOpenAPIDoc": true } -} \ No newline at end of file + } +} diff --git a/services/survey-service/package.json b/services/survey-service/package.json index b1f06d52c4..54b1537678 100644 --- a/services/survey-service/package.json +++ b/services/survey-service/package.json @@ -1,158 +1,158 @@ { - "name": "@sourceloop/survey-service", - "version": "0.2.3", - "description": "Survey microservice", - "keywords": [ - "loopback-extension", - "loopback" - ], - "main": "dist/index.js", - "types": "dist/index.d.ts", - "engines": { - "node": "16 || 17 || 18" - }, - "exports": { - ".": "./dist/index.js", - "./sequelize": { - "types": "./dist/sequelize.index.d.ts", - "default": "./dist/sequelize.index.js" - } - }, - "typesVersions": { - "*": { - "sequelize": [ - "./dist/sequelize.index.d.ts" - ] - } - }, - "scripts": { - "build": "npm run clean && lb-tsc && npm run openapi-spec && npm run apidocs", - "build:watch": "lb-tsc --watch", - "lint": "npm run eslint && npm run prettier:check", - "lint:fix": "npm run eslint:fix && npm run prettier:fix", - "prettier:cli": "prettier \"**/*.ts\" \"**/*.js\"", - "prettier:check": "npm run prettier:cli -- -l", - "prettier:fix": "npm run prettier:cli -- --write", - "eslint": "eslint --report-unused-disable-directives .", - "eslint:fix": "npm run eslint -- --fix", - "openapi-spec": "node ./dist/openapi-spec", - "apidocs": "npx widdershins --language_tabs 'javascript:JavaScript:request' 'javascript--nodejs:Node.JS' --summary openapi.json -o openapi.md", - "pretest": "npm run rebuild", - "test": "lb-mocha --allow-console-logs \"dist/__tests__\"", - "coverage": "nyc npm run test", - "test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js", - "clean": "lb-clean dist *.tsbuildinfo .eslintcache", - "rebuild": "npm run clean && npm run build", - "db:migrate": "./node_modules/db-migrate/bin/db-migrate up --config './migrations/database.json'", - "db:migrate:down": "./node_modules/db-migrate/bin/db-migrate down --config './migrations/database.json'", - "db:migrate:reset": "./node_modules/db-migrate/bin/db-migrate reset --config './migrations/database.json'" + "name": "@sourceloop/survey-service", + "version": "0.2.3", + "description": "Survey microservice", + "keywords": [ + "loopback-extension", + "loopback" + ], + "main": "dist/index.js", + "types": "dist/index.d.ts", + "engines": { + "node": "18 || 20" + }, + "exports": { + ".": "./dist/index.js", + "./sequelize": { + "types": "./dist/sequelize.index.d.ts", + "default": "./dist/sequelize.index.js" + } + }, + "typesVersions": { + "*": { + "sequelize": [ + "./dist/sequelize.index.d.ts" + ] + } + }, + "scripts": { + "build": "npm run clean && lb-tsc && npm run openapi-spec && npm run apidocs", + "build:watch": "lb-tsc --watch", + "lint": "npm run eslint && npm run prettier:check", + "lint:fix": "npm run eslint:fix && npm run prettier:fix", + "prettier:cli": "prettier \"**/*.ts\" \"**/*.js\"", + "prettier:check": "npm run prettier:cli -- -l", + "prettier:fix": "npm run prettier:cli -- --write", + "eslint": "eslint --report-unused-disable-directives .", + "eslint:fix": "npm run eslint -- --fix", + "openapi-spec": "node ./dist/openapi-spec", + "apidocs": "npx widdershins --language_tabs 'javascript:JavaScript:request' 'javascript--nodejs:Node.JS' --summary openapi.json -o openapi.md", + "pretest": "npm run rebuild", + "test": "lb-mocha --allow-console-logs \"dist/__tests__\"", + "coverage": "nyc npm run test", + "test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js", + "clean": "lb-clean dist *.tsbuildinfo .eslintcache", + "rebuild": "npm run clean && npm run build", + "db:migrate": "./node_modules/db-migrate/bin/db-migrate up --config './migrations/database.json'", + "db:migrate:down": "./node_modules/db-migrate/bin/db-migrate down --config './migrations/database.json'", + "db:migrate:reset": "./node_modules/db-migrate/bin/db-migrate reset --config './migrations/database.json'" + }, + "repository": { + "type": "git", + "url": "https://github.com/sourcefuse/loopback4-microservice-catalog.git", + "directory": "services/survey-service" + }, + "author": "SourceFuse", + "license": "", + "files": [ + "README.md", + "dist", + "src", + "!*/__tests__" + ], + "peerDependencies": { + "db-migrate": "^1.0.0-beta.21", + "db-migrate-pg": "^1.3.0" + }, + "dependencies": { + "@loopback/boot": "^6.1.3", + "@loopback/context": "^6.1.3", + "@loopback/core": "^5.1.3", + "@loopback/openapi-v3": "^9.1.3", + "@loopback/repository": "^6.1.3", + "@loopback/rest": "^13.1.0", + "@loopback/rest-explorer": "^6.1.3", + "@loopback/sequelize": "^0.5.2", + "@loopback/service-proxy": "^6.1.3", + "@sourceloop/core": "^8.2.0", + "dotenv": "^16.0.3", + "dotenv-extended": "^2.9.0", + "jsdom": "^19.0.0", + "jsonwebtoken": "^9.0.0", + "lodash": "^4.17.21", + "loopback-connector-postgresql": "^6.0.8", + "loopback4-authentication": "^10.0.0", + "loopback4-authorization": "^6.2.0", + "loopback4-soft-delete": "^9.0.0", + "on-finished": "^2.4.1", + "tslib": "^2.5.3" + }, + "devDependencies": { + "@loopback/build": "^10.1.3", + "@loopback/eslint-config": "^14.0.4", + "@loopback/testlab": "^6.1.3", + "@types/jsdom": "^21.1.1", + "@types/jsonwebtoken": "^9.0.0", + "@types/lodash": "^4.14.195", + "@types/node": "^18.11.18", + "@typescript-eslint/eslint-plugin": "^5.58.0", + "@typescript-eslint/parser": "^5.58.0", + "db-migrate": "^1.0.0-beta.21", + "db-migrate-mysql": "^2.2.0", + "eslint": "^8.44.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-eslint-plugin": "^5.0.8", + "eslint-plugin-mocha": "^10.1.0", + "nyc": "^15.1.0", + "source-map-support": "^0.5.21", + "sqlite3": "^5.1.6", + "typescript": "~4.9.5" + }, + "overrides": { + "widdershins": { + "swagger2openapi": "^7.0.8", + "markdown-it": "^12.3.2", + "yargs": "^17.4.1" }, - "repository": { - "type": "git", - "url": "https://github.com/sourcefuse/loopback4-microservice-catalog.git", - "directory": "services/survey-service" + "body-parser": { + "debug": "^4.3.4" }, - "author": "SourceFuse", - "license": "", - "files": [ - "README.md", - "dist", - "src", - "!*/__tests__" - ], - "peerDependencies": { - "db-migrate": "^1.0.0-beta.21", - "db-migrate-pg": "^1.3.0" + "httpsnippet": { + "debug": "^4.3.4" }, - "dependencies": { - "@loopback/boot": "^6.1.3", - "@loopback/context": "^6.1.3", - "@loopback/core": "^5.1.3", - "@loopback/openapi-v3": "^9.1.3", - "@loopback/repository": "^6.1.3", - "@loopback/rest": "^13.1.0", - "@loopback/rest-explorer": "^6.1.3", - "@loopback/sequelize": "^0.5.2", - "@loopback/service-proxy": "^6.1.3", - "@sourceloop/core": "^8.2.0", - "dotenv": "^16.0.3", - "dotenv-extended": "^2.9.0", - "jsdom": "^19.0.0", - "jsonwebtoken": "^9.0.0", - "lodash": "^4.17.21", - "loopback-connector-postgresql": "^6.0.8", - "loopback4-authentication": "^10.0.0", - "loopback4-authorization": "^6.2.0", - "loopback4-soft-delete": "^9.0.0", - "on-finished": "^2.4.1", - "tslib": "^2.5.3" + "send": { + "debug": "^4.3.4" }, - "devDependencies": { - "@loopback/build": "^10.1.3", - "@loopback/eslint-config": "^14.0.4", - "@loopback/testlab": "^6.1.3", - "@types/jsdom": "^21.1.1", - "@types/jsonwebtoken": "^9.0.0", - "@types/lodash": "^4.14.195", - "@types/node": "^18.11.18", - "@typescript-eslint/eslint-plugin": "^5.58.0", - "@typescript-eslint/parser": "^5.58.0", - "db-migrate": "^1.0.0-beta.21", - "db-migrate-mysql": "^2.2.0", - "eslint": "^8.44.0", - "eslint-config-prettier": "^8.8.0", - "eslint-plugin-eslint-plugin": "^5.0.8", - "eslint-plugin-mocha": "^10.1.0", - "nyc": "^15.1.0", - "source-map-support": "^0.5.21", - "sqlite3": "^5.1.6", - "typescript": "~4.9.5" + "tunnel-ssh": { + "debug": "^4.3.4" }, - "overrides": { - "widdershins": { - "swagger2openapi": "^7.0.8", - "markdown-it": "^12.3.2", - "yargs": "^17.4.1" - }, - "body-parser": { - "debug": "^4.3.4" - }, - "httpsnippet": { - "debug": "^4.3.4" - }, - "send": { - "debug": "^4.3.4" - }, - "tunnel-ssh": { - "debug": "^4.3.4" - }, - "finalhandler": { - "debug": "^4.3.4" - }, - "express": { - "debug": "^4.3.4", - "finalhandler": "^1.2.0", - "send": "^0.18.0", - "serve-static": "^1.15.0" - } + "finalhandler": { + "debug": "^4.3.4" }, - "publishConfig": { - "registry": "https://registry.npmjs.org/", - "access": "public" + "express": { + "debug": "^4.3.4", + "finalhandler": "^1.2.0", + "send": "^0.18.0", + "serve-static": "^1.15.0" + } + }, + "publishConfig": { + "registry": "https://registry.npmjs.org/", + "access": "public" + }, + "typedoc": { + "config": { + "entryPoints": [ + "src/index.ts", + "src/sequelize.index.ts" + ], + "out": "services/survey-service", + "plugin": [ + "typedoc-plugin-markdown" + ] }, - "typedoc": { - "config": { - "entryPoints": [ - "src/index.ts", - "src/sequelize.index.ts" - ], - "out": "services/survey-service", - "plugin": [ - "typedoc-plugin-markdown" - ] - }, - "settings": { - "includeOpenAPIDoc": true - } + "settings": { + "includeOpenAPIDoc": true } -} \ No newline at end of file + } +} diff --git a/services/task-service/package.json b/services/task-service/package.json index d79d7493b2..701f70cab2 100644 --- a/services/task-service/package.json +++ b/services/task-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "prebuild": "npm run clean", diff --git a/services/user-tenant-service/package.json b/services/user-tenant-service/package.json index 9d74b2c522..b1582e9fab 100644 --- a/services/user-tenant-service/package.json +++ b/services/user-tenant-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "prebuild": "npm run clean", diff --git a/services/video-conferencing-service/package.json b/services/video-conferencing-service/package.json index 59d9f2be7e..6a32fbc6cb 100644 --- a/services/video-conferencing-service/package.json +++ b/services/video-conferencing-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "16 || 17 || 18" + "node": "18 || 20" }, "scripts": { "prebuild": "npm run clean",