diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index d593ec6cd221..879222bec376 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -20,12 +20,12 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: [16, 18, 20] + node-version: [18, 20, 22] include: - os: windows-latest - node-version: 18 # LTS + node-version: 20 # LTS - os: macos-latest - node-version: 18 # LTS + node-version: 20 # LTS fail-fast: false runs-on: ${{ matrix.os }} steps: @@ -75,7 +75,7 @@ jobs: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 18 # LTS + node-version: 20 # LTS - name: Install dependencies run: npm ci - name: Build @@ -90,7 +90,7 @@ jobs: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 18 # LTS + node-version: 20 # LTS - name: Install dependencies run: npm ci - name: Build @@ -112,7 +112,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 18 # LTS + node-version: 20 # LTS - name: Install dependencies run: npm ci - name: Verify commit linting @@ -125,7 +125,7 @@ jobs: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 18 # LTS + node-version: 20 # LTS - name: Install dependencies run: npm ci - name: Build diff --git a/.github/workflows/renovate-config-validator.yml b/.github/workflows/renovate-config-validator.yml index fe3babac7e86..64140c6f67b9 100644 --- a/.github/workflows/renovate-config-validator.yml +++ b/.github/workflows/renovate-config-validator.yml @@ -20,6 +20,6 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 18 # LTS + node-version: 20 # LTS - name: Validate Renovate config run: npx -p renovate --yes renovate-config-validator diff --git a/.vscode/settings.json b/.vscode/settings.json index 9aa72cd741df..145c62814551 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,8 +16,8 @@ "editor.defaultFormatter": "dbaeumer.vscode-eslint" }, "editor.codeActionsOnSave": { - "source.organizeImports": true, - "source.fixAll.eslint": true + "source.organizeImports": "explicit", + "source.fixAll.eslint": "explicit" }, "files.eol": "\n", "files.exclude": { diff --git a/acceptance/extension-logging-fluentd/package.json b/acceptance/extension-logging-fluentd/package.json index 7c83696d7303..d3666a874464 100644 --- a/acceptance/extension-logging-fluentd/package.json +++ b/acceptance/extension-logging-fluentd/package.json @@ -14,7 +14,7 @@ "directory": "acceptance/extension-logging-fluentd" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/acceptance/repository-cloudant/package.json b/acceptance/repository-cloudant/package.json index afebf58c57a1..114fd4a60739 100644 --- a/acceptance/repository-cloudant/package.json +++ b/acceptance/repository-cloudant/package.json @@ -14,7 +14,7 @@ "directory": "acceptance/repository-cloudant" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/acceptance/repository-mongodb/package.json b/acceptance/repository-mongodb/package.json index 353ee89c11b3..557c84e551cc 100644 --- a/acceptance/repository-mongodb/package.json +++ b/acceptance/repository-mongodb/package.json @@ -14,7 +14,7 @@ "directory": "acceptance/repository-mongodb" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/acceptance/repository-mysql/package.json b/acceptance/repository-mysql/package.json index 6e4654afd57b..7ecef46e90d9 100644 --- a/acceptance/repository-mysql/package.json +++ b/acceptance/repository-mysql/package.json @@ -14,7 +14,7 @@ "directory": "acceptance/repository-mysql" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/acceptance/repository-postgresql/package.json b/acceptance/repository-postgresql/package.json index 87a89211a827..8d7ac68c872a 100644 --- a/acceptance/repository-postgresql/package.json +++ b/acceptance/repository-postgresql/package.json @@ -14,7 +14,7 @@ "directory": "acceptance/repository-postgresql" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/benchmark/package.json b/benchmark/package.json index 4f1480c3e637..3a05e35822ab 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -19,7 +19,7 @@ "directory": "benchmark" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/bodyparsers/rest-msgpack/package.json b/bodyparsers/rest-msgpack/package.json index 74695034fbee..09b09ab3ecaf 100644 --- a/bodyparsers/rest-msgpack/package.json +++ b/bodyparsers/rest-msgpack/package.json @@ -13,7 +13,7 @@ "directory": "bodyparsers/rest-msgpack" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/docs/package.json b/docs/package.json index b4c574130389..25deee78139f 100644 --- a/docs/package.json +++ b/docs/package.json @@ -16,7 +16,7 @@ "directory": "docs" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "version": "node ./bin/copy-readmes.js && node ./bin/copy-changelogs.js && cd .. && npm run tsdocs", diff --git a/examples/access-control-migration/package.json b/examples/access-control-migration/package.json index bab7400caf3e..11d2c357b3a2 100644 --- a/examples/access-control-migration/package.json +++ b/examples/access-control-migration/package.json @@ -22,7 +22,7 @@ "directory": "examples/access-control-migration" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/binding-resolution/package.json b/examples/binding-resolution/package.json index f25cfebb1b74..2b02f8e3484e 100644 --- a/examples/binding-resolution/package.json +++ b/examples/binding-resolution/package.json @@ -21,7 +21,7 @@ "directory": "examples/binding-resolution" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/context/package.json b/examples/context/package.json index 97c359252080..49536ac8b7f1 100644 --- a/examples/context/package.json +++ b/examples/context/package.json @@ -19,7 +19,7 @@ "directory": "examples/context" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/examples/express-composition/package.json b/examples/express-composition/package.json index 1fb6478ed658..dacf7cfac2c4 100644 --- a/examples/express-composition/package.json +++ b/examples/express-composition/package.json @@ -20,7 +20,7 @@ "directory": "examples/express-composition" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/file-transfer/package.json b/examples/file-transfer/package.json index 0d0a3cc3eb39..33922d9aa4ac 100644 --- a/examples/file-transfer/package.json +++ b/examples/file-transfer/package.json @@ -20,7 +20,7 @@ "directory": "examples/file-transfer" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/examples/graphql/package.json b/examples/graphql/package.json index 81e7fdbe284b..45515a03ebb4 100644 --- a/examples/graphql/package.json +++ b/examples/graphql/package.json @@ -17,7 +17,7 @@ "directory": "examples/graphql" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/examples/greeter-extension/package.json b/examples/greeter-extension/package.json index abb8c48dc359..ad77f9077a22 100644 --- a/examples/greeter-extension/package.json +++ b/examples/greeter-extension/package.json @@ -21,7 +21,7 @@ "url": "https://github.com/loopbackio/loopback-next/issues" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/greeting-app/package.json b/examples/greeting-app/package.json index 23437e9460ba..db6da59f0517 100644 --- a/examples/greeting-app/package.json +++ b/examples/greeting-app/package.json @@ -21,7 +21,7 @@ "url": "https://github.com/loopbackio/loopback-next/issues" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/hello-world/package.json b/examples/hello-world/package.json index 500ea32d3d84..e59af2c81a75 100644 --- a/examples/hello-world/package.json +++ b/examples/hello-world/package.json @@ -19,7 +19,7 @@ "directory": "examples/hello-world" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/examples/lb3-application/package.json b/examples/lb3-application/package.json index 45b810ded061..327b1495eeca 100644 --- a/examples/lb3-application/package.json +++ b/examples/lb3-application/package.json @@ -18,7 +18,7 @@ "directory": "examples/lb3-application" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/log-extension/package.json b/examples/log-extension/package.json index a699916c8d07..0ce2ea01df39 100644 --- a/examples/log-extension/package.json +++ b/examples/log-extension/package.json @@ -21,7 +21,7 @@ "url": "https://github.com/loopbackio/loopback-next/issues" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/metrics-prometheus/package.json b/examples/metrics-prometheus/package.json index 5ca7938c8b93..c2d4de86894b 100644 --- a/examples/metrics-prometheus/package.json +++ b/examples/metrics-prometheus/package.json @@ -19,7 +19,7 @@ "directory": "examples/metrics-prometheus" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/examples/multi-tenancy/package.json b/examples/multi-tenancy/package.json index a91b799711aa..5f72ab5262e4 100644 --- a/examples/multi-tenancy/package.json +++ b/examples/multi-tenancy/package.json @@ -18,7 +18,7 @@ "directory": "examples/multi-tenancy" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/passport-login/package.json b/examples/passport-login/package.json index 32c22115f19e..c545a1ba8f64 100644 --- a/examples/passport-login/package.json +++ b/examples/passport-login/package.json @@ -21,7 +21,7 @@ "directory": "examples/passport-login" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/references-many/package.json b/examples/references-many/package.json index 761076ac258f..af7544ce428f 100644 --- a/examples/references-many/package.json +++ b/examples/references-many/package.json @@ -24,7 +24,7 @@ "directory": "examples/references-many" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/rest-crud/package.json b/examples/rest-crud/package.json index 5e70897953ed..ba5882cfa6b5 100644 --- a/examples/rest-crud/package.json +++ b/examples/rest-crud/package.json @@ -21,7 +21,7 @@ "directory": "examples/rest-crud" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/rpc-server/package.json b/examples/rpc-server/package.json index 773470317181..d76f038b49c3 100644 --- a/examples/rpc-server/package.json +++ b/examples/rpc-server/package.json @@ -17,7 +17,7 @@ "directory": "examples/rpc-server" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/soap-calculator/package.json b/examples/soap-calculator/package.json index a872f438c234..c7ff8ea5a44c 100644 --- a/examples/soap-calculator/package.json +++ b/examples/soap-calculator/package.json @@ -20,7 +20,7 @@ "directory": "examples/soap-calculator" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/socketio/package.json b/examples/socketio/package.json index ffa3dfd12cd8..87307899d06b 100644 --- a/examples/socketio/package.json +++ b/examples/socketio/package.json @@ -17,7 +17,7 @@ "directory": "examples/socketio" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/todo-jwt/package.json b/examples/todo-jwt/package.json index 693a182bb700..986c3acab5d3 100644 --- a/examples/todo-jwt/package.json +++ b/examples/todo-jwt/package.json @@ -24,7 +24,7 @@ "directory": "examples/todo-jwt" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/todo-list/package.json b/examples/todo-list/package.json index 18b67b21eccf..5cc7fabed356 100644 --- a/examples/todo-list/package.json +++ b/examples/todo-list/package.json @@ -24,7 +24,7 @@ "directory": "examples/todo-list" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/todo/package.json b/examples/todo/package.json index 45f9ac2bf06c..277621e674a0 100644 --- a/examples/todo/package.json +++ b/examples/todo/package.json @@ -22,7 +22,7 @@ "directory": "examples/todo" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/validation-app/package.json b/examples/validation-app/package.json index a6b2191494d5..b40a30d67608 100644 --- a/examples/validation-app/package.json +++ b/examples/validation-app/package.json @@ -19,7 +19,7 @@ "directory": "examples/validation-app" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/examples/webpack/package.json b/examples/webpack/package.json index 2196d6f328a3..b7ea366b209c 100644 --- a/examples/webpack/package.json +++ b/examples/webpack/package.json @@ -20,7 +20,7 @@ "directory": "examples/webpack" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/extensions/apiconnect/package.json b/extensions/apiconnect/package.json index bff55c7a60cc..bdd475bf478c 100644 --- a/extensions/apiconnect/package.json +++ b/extensions/apiconnect/package.json @@ -17,7 +17,7 @@ "directory": "extensions/apiconnect" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/extensions/authentication-jwt/package.json b/extensions/authentication-jwt/package.json index 8166bf648d49..deee64e28a29 100644 --- a/extensions/authentication-jwt/package.json +++ b/extensions/authentication-jwt/package.json @@ -18,7 +18,7 @@ "directory": "extensions/authentication-jwt" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/extensions/authentication-passport/package.json b/extensions/authentication-passport/package.json index 94998984deee..0e49275ae366 100644 --- a/extensions/authentication-passport/package.json +++ b/extensions/authentication-passport/package.json @@ -18,7 +18,7 @@ "directory": "extensions/authentication-passport" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/extensions/context-explorer/package.json b/extensions/context-explorer/package.json index e1313639eaaa..cb1f0c7ee8eb 100644 --- a/extensions/context-explorer/package.json +++ b/extensions/context-explorer/package.json @@ -19,7 +19,7 @@ "directory": "extensions/context-explorer" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/extensions/cron/package.json b/extensions/cron/package.json index f5a07549270d..ffde33348e8f 100644 --- a/extensions/cron/package.json +++ b/extensions/cron/package.json @@ -18,7 +18,7 @@ "directory": "extensions/cron" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/extensions/graphql/package.json b/extensions/graphql/package.json index 2ee1d08f159e..83940f23e008 100644 --- a/extensions/graphql/package.json +++ b/extensions/graphql/package.json @@ -17,7 +17,7 @@ "directory": "extensions/graphql" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/extensions/health/package.json b/extensions/health/package.json index 3a31432fb487..74d9a59a9ef1 100644 --- a/extensions/health/package.json +++ b/extensions/health/package.json @@ -18,7 +18,7 @@ "directory": "extensions/health" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/extensions/logging/package.json b/extensions/logging/package.json index 8e1996673aff..28cf416e4360 100644 --- a/extensions/logging/package.json +++ b/extensions/logging/package.json @@ -20,7 +20,7 @@ "directory": "extensions/logging" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/extensions/metrics/package.json b/extensions/metrics/package.json index e1776ec32d46..675714c3b88a 100644 --- a/extensions/metrics/package.json +++ b/extensions/metrics/package.json @@ -19,7 +19,7 @@ "directory": "extensions/metrics" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/extensions/pooling/package.json b/extensions/pooling/package.json index 737451791ef5..6d4a7e61a96c 100644 --- a/extensions/pooling/package.json +++ b/extensions/pooling/package.json @@ -17,7 +17,7 @@ "directory": "extensions/pooling" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/extensions/sequelize/package.json b/extensions/sequelize/package.json index de2ab2f0bf83..0fa31a7bbf07 100644 --- a/extensions/sequelize/package.json +++ b/extensions/sequelize/package.json @@ -19,7 +19,7 @@ "directory": "extensions/sequelize" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/extensions/socketio/package.json b/extensions/socketio/package.json index 69242870807a..aea3ffbdb9e6 100644 --- a/extensions/socketio/package.json +++ b/extensions/socketio/package.json @@ -21,7 +21,7 @@ "directory": "extensions/socketio" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/extensions/typeorm/package.json b/extensions/typeorm/package.json index bb884d78c556..2f001273ec08 100644 --- a/extensions/typeorm/package.json +++ b/extensions/typeorm/package.json @@ -13,7 +13,7 @@ "directory": "extensions/typeorm" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/fixtures/mock-oauth2-provider/package.json b/fixtures/mock-oauth2-provider/package.json index 979a8db67b6a..ad8b385fff36 100644 --- a/fixtures/mock-oauth2-provider/package.json +++ b/fixtures/mock-oauth2-provider/package.json @@ -13,7 +13,7 @@ "directory": "fixtures/mock-oauth2-provider" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/fixtures/tsdocs-monorepo/package.json b/fixtures/tsdocs-monorepo/package.json index 3a3ac9f4e694..1badcaba73e3 100644 --- a/fixtures/tsdocs-monorepo/package.json +++ b/fixtures/tsdocs-monorepo/package.json @@ -12,7 +12,7 @@ "directory": "fixtures/tsdocs-monorepo" }, "engines": { - "node": "18 || 20", + "node": "18 || 20 || 22", "npm": ">=7" }, "scripts": { diff --git a/package-lock.json b/package-lock.json index dfe474dfa26a..c39c802854d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20", + "node": "18 || 20 || 22", "npm": ">=7" } }, @@ -62,7 +62,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "acceptance/extension-logging-fluentd/node_modules/@types/node": { @@ -92,7 +92,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "acceptance/repository-cloudant/node_modules/@types/node": { @@ -116,7 +116,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "acceptance/repository-mongodb/node_modules/@types/node": { @@ -140,7 +140,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "acceptance/repository-mysql/node_modules/@types/node": { @@ -164,7 +164,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "acceptance/repository-postgresql/node_modules/@types/node": { @@ -204,7 +204,7 @@ "source-map-support": "^0.5.21" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "benchmark/node_modules/@types/node": { @@ -233,7 +233,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0", @@ -258,7 +258,7 @@ "@loopback/build": "^11.0.1" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/access-control-migration": { @@ -293,7 +293,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/access-control-migration/node_modules/@types/node": { @@ -324,7 +324,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/binding-resolution/node_modules/@types/node": { @@ -350,7 +350,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/context/node_modules/@types/node": { @@ -383,7 +383,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/express-composition/node_modules/@types/node": { @@ -415,7 +415,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/file-transfer/node_modules/@types/node": { @@ -449,7 +449,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/graphql/node_modules/@types/node": { @@ -478,7 +478,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/greeter-extension/node_modules/@types/node": { @@ -510,7 +510,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/greeting-app/node_modules/@types/node": { @@ -537,7 +537,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/hello-world/node_modules/@types/node": { @@ -578,7 +578,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/lb3-application/node_modules/@types/node": { @@ -608,7 +608,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/log-extension/node_modules/@types/node": { @@ -637,7 +637,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/metrics-prometheus/node_modules/@types/node": { @@ -673,7 +673,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/multi-tenancy/node_modules/@types/node": { @@ -740,7 +740,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/passport-login/node_modules/@types/node": { @@ -775,7 +775,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/references-many/node_modules/@types/node": { @@ -810,7 +810,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/rest-crud/node_modules/@types/node": { @@ -838,7 +838,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/rpc-server/node_modules/@types/node": { @@ -873,7 +873,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/soap-calculator/node_modules/@types/node": { @@ -908,7 +908,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/socketio/node_modules/@types/node": { @@ -945,7 +945,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/todo-jwt": { @@ -979,7 +979,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/todo-jwt/node_modules/@types/node": { @@ -1014,7 +1014,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/todo-list/node_modules/@types/node": { @@ -1053,7 +1053,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/validation-app/node_modules/@types/node": { @@ -1088,7 +1088,7 @@ "webpack-cli": "^5.1.4" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "examples/webpack/node_modules/@types/node": { @@ -1113,7 +1113,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0", @@ -1155,7 +1155,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/authentication": "^11.0.0", @@ -1207,7 +1207,7 @@ "supertest": "^6.3.3" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/authentication": "^11.0.0", @@ -1255,7 +1255,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0", @@ -1287,7 +1287,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0" @@ -1326,7 +1326,7 @@ "class-transformer": "^0.5.1" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/boot": "^7.0.0", @@ -1356,7 +1356,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0", @@ -1390,7 +1390,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0", @@ -1422,7 +1422,7 @@ "express": "^4.19.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0", @@ -1453,7 +1453,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0" @@ -1489,7 +1489,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0", @@ -1526,7 +1526,7 @@ "socket.io-client": "^4.7.5" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/boot": "^7.0.0", @@ -1556,7 +1556,7 @@ "sqlite3": "^5.1.4" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/boot": "^7.0.0", @@ -1594,7 +1594,7 @@ "@loopback/testlab": "^7.0.1" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "fixtures/mock-oauth2-provider/node_modules/@types/node": { @@ -1613,7 +1613,7 @@ "@loopback/build": "^11.0.1" }, "engines": { - "node": "18 || 20", + "node": "18 || 20 || 22", "npm": ">=7" } }, @@ -36136,7 +36136,7 @@ "jsonwebtoken": "^9.0.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0", @@ -36167,7 +36167,7 @@ "casbin": "^5.30.0" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0" @@ -36203,7 +36203,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0" @@ -36244,7 +36244,7 @@ "loopback-boot": "^3.3.1" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/boot": "^7.0.0", @@ -36289,7 +36289,7 @@ "lb-ttsc": "bin/compile-package.js" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "packages/build/node_modules/@types/node": { @@ -36370,7 +36370,7 @@ "yeoman-test": "^6.3.0" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "packages/cli/node_modules/@types/node": { @@ -36427,7 +36427,7 @@ "bluebird": "^3.7.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "packages/context/node_modules/@types/node": { @@ -36453,7 +36453,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "packages/core/node_modules/@types/node": { @@ -36474,7 +36474,7 @@ "eslint-plugin-mocha": "^10.4.3" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "eslint": "^8.57.0" @@ -36510,7 +36510,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0" @@ -36536,7 +36536,7 @@ "typescript": "~5.2.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "packages/filter/node_modules/@types/node": { @@ -36568,7 +36568,7 @@ "tunnel": "0.0.6" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "packages/http-caching-proxy/node_modules/@types/node": { @@ -36596,7 +36596,7 @@ "@types/stoppable": "^1.1.3" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "packages/http-server/node_modules/@types/node": { @@ -36624,7 +36624,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "packages/metadata/node_modules/@types/node": { @@ -36647,7 +36647,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0", @@ -36675,7 +36675,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "packages/openapi-spec-builder/node_modules/@types/node": { @@ -36710,7 +36710,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0" @@ -36745,7 +36745,7 @@ "bson": "5.5.1" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0" @@ -36771,7 +36771,7 @@ "ajv-formats": "^2.1.1" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0", @@ -36804,7 +36804,7 @@ "lodash": "^4.17.21" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0", @@ -36878,7 +36878,7 @@ "multer": "^1.4.4" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0" @@ -36903,7 +36903,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0", @@ -36938,7 +36938,7 @@ "express": "^4.19.2" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0", @@ -36973,7 +36973,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0" @@ -37001,7 +37001,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.0" @@ -37038,7 +37038,7 @@ "@types/node": "^16.18.96" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "packages/testlab/node_modules/@types/node": { @@ -37078,7 +37078,7 @@ "@types/npmcli__package-json": "^4.0.4" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "packages/tsdocs/node_modules/@types/node": { @@ -37092,7 +37092,7 @@ "version": "6.0.0", "license": "MIT", "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" } }, "sandbox/loopback.io": { diff --git a/package.json b/package.json index ad8db30265f8..0cd61f20e420 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ }, "engineStrict": true, "engines": { - "node": "18 || 20", + "node": "18 || 20 || 22", "npm": ">=7" }, "private": true, diff --git a/packages/authentication/package.json b/packages/authentication/package.json index 68a6cd5a63fb..bf2bb1d90f52 100644 --- a/packages/authentication/package.json +++ b/packages/authentication/package.json @@ -17,7 +17,7 @@ "directory": "packages/authentication" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/packages/authorization/package.json b/packages/authorization/package.json index 88606a2498ef..1f664768583b 100644 --- a/packages/authorization/package.json +++ b/packages/authorization/package.json @@ -17,7 +17,7 @@ "directory": "packages/authorization" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/packages/boot/package.json b/packages/boot/package.json index 1bc0f4ba49b3..8b5fde3b320f 100644 --- a/packages/boot/package.json +++ b/packages/boot/package.json @@ -13,7 +13,7 @@ "directory": "packages/boot" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/packages/boot/src/__tests__/fixtures/package.json b/packages/boot/src/__tests__/fixtures/package.json index bdf49756023a..a9074d391c43 100644 --- a/packages/boot/src/__tests__/fixtures/package.json +++ b/packages/boot/src/__tests__/fixtures/package.json @@ -7,7 +7,7 @@ "loopback" ], "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": {}, "repository": { diff --git a/packages/booter-lb3app/package.json b/packages/booter-lb3app/package.json index 8cb1e2cfd4f4..62598c751be0 100644 --- a/packages/booter-lb3app/package.json +++ b/packages/booter-lb3app/package.json @@ -19,7 +19,7 @@ "directory": "packages/booter-lb3app" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/build/package.json b/packages/build/package.json index 892f93436167..27a3e1227ace 100644 --- a/packages/build/package.json +++ b/packages/build/package.json @@ -21,7 +21,7 @@ "directory": "packages/build" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "test": "npm run mocha", diff --git a/packages/cli/generators/project/templates/package.json.ejs b/packages/cli/generators/project/templates/package.json.ejs index 907bec03d606..ba1cb60682b1 100644 --- a/packages/cli/generators/project/templates/package.json.ejs +++ b/packages/cli/generators/project/templates/package.json.ejs @@ -12,7 +12,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/cli/generators/project/templates/package.plain.json.ejs b/packages/cli/generators/project/templates/package.plain.json.ejs index be5b7eee717d..09149a9985e9 100644 --- a/packages/cli/generators/project/templates/package.plain.json.ejs +++ b/packages/cli/generators/project/templates/package.plain.json.ejs @@ -12,7 +12,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "tsc", diff --git a/packages/cli/package.json b/packages/cli/package.json index ade8f4225388..1cff0027c59e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -22,7 +22,7 @@ "directory": "packages/cli" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "test": "lb-mocha --lang en_US.UTF-8 \"test/**/*.js\"", diff --git a/packages/context/package.json b/packages/context/package.json index fff7fb1a091c..cb2ba38be425 100644 --- a/packages/context/package.json +++ b/packages/context/package.json @@ -22,7 +22,7 @@ "directory": "packages/context" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/packages/core/package.json b/packages/core/package.json index 57adb13be24f..2525455cbe70 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -13,7 +13,7 @@ "directory": "packages/core" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index d5567365cd7c..67ade1978b00 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -12,7 +12,7 @@ "directory": "packages/eslint-config" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "publishConfig": { "access": "public" diff --git a/packages/express/package.json b/packages/express/package.json index e2321990e791..fe1b56ede4e1 100644 --- a/packages/express/package.json +++ b/packages/express/package.json @@ -17,7 +17,7 @@ "directory": "packages/express" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/filter/package.json b/packages/filter/package.json index 34f89b63b511..fb20216dbba3 100644 --- a/packages/filter/package.json +++ b/packages/filter/package.json @@ -13,7 +13,7 @@ "directory": "packages/filter" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/http-caching-proxy/package.json b/packages/http-caching-proxy/package.json index 2373f57d9bf8..15fdde465512 100644 --- a/packages/http-caching-proxy/package.json +++ b/packages/http-caching-proxy/package.json @@ -20,7 +20,7 @@ "directory": "packages/http-caching-proxy" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/http-server/package.json b/packages/http-server/package.json index 2e3f5242c625..d0efb17d545f 100644 --- a/packages/http-server/package.json +++ b/packages/http-server/package.json @@ -13,7 +13,7 @@ "directory": "packages/http-server" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/metadata/package.json b/packages/metadata/package.json index 20e3e13189e7..c0beeb28f142 100644 --- a/packages/metadata/package.json +++ b/packages/metadata/package.json @@ -18,7 +18,7 @@ "directory": "packages/metadata" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/packages/model-api-builder/package.json b/packages/model-api-builder/package.json index 2f79cc9a18f0..0d70ac6bc16b 100644 --- a/packages/model-api-builder/package.json +++ b/packages/model-api-builder/package.json @@ -13,7 +13,7 @@ "directory": "packages/model-api-builder" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/openapi-spec-builder/package.json b/packages/openapi-spec-builder/package.json index a26f115f6e14..fce677912421 100644 --- a/packages/openapi-spec-builder/package.json +++ b/packages/openapi-spec-builder/package.json @@ -20,7 +20,7 @@ "directory": "packages/openapi-spec-builder" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/openapi-v3/package.json b/packages/openapi-v3/package.json index c213ed75f170..d2045ec4f571 100644 --- a/packages/openapi-v3/package.json +++ b/packages/openapi-v3/package.json @@ -18,7 +18,7 @@ "directory": "packages/openapi-v3" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/repository-json-schema/package.json b/packages/repository-json-schema/package.json index 824da0cce7bf..6ade80815a7b 100644 --- a/packages/repository-json-schema/package.json +++ b/packages/repository-json-schema/package.json @@ -18,7 +18,7 @@ "directory": "packages/repository-json-schema" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/repository-tests/package.json b/packages/repository-tests/package.json index 5ef4b3b855dd..9e62732d85f9 100644 --- a/packages/repository-tests/package.json +++ b/packages/repository-tests/package.json @@ -13,7 +13,7 @@ "directory": "packages/repository-tests" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/repository/package.json b/packages/repository/package.json index bf47f3c75f59..0406b1223679 100644 --- a/packages/repository/package.json +++ b/packages/repository/package.json @@ -13,7 +13,7 @@ "directory": "packages/repository" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/packages/rest-crud/package.json b/packages/rest-crud/package.json index 5744278fe72b..2b4781a71f61 100644 --- a/packages/rest-crud/package.json +++ b/packages/rest-crud/package.json @@ -13,7 +13,7 @@ "directory": "packages/rest-crud" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/rest-explorer/package.json b/packages/rest-explorer/package.json index aec44c736689..2a0970e22203 100644 --- a/packages/rest-explorer/package.json +++ b/packages/rest-explorer/package.json @@ -18,7 +18,7 @@ "directory": "packages/rest-explorer" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/rest/package.json b/packages/rest/package.json index aa85c5b96eea..ddf20ab157f1 100644 --- a/packages/rest/package.json +++ b/packages/rest/package.json @@ -13,7 +13,7 @@ "directory": "packages/rest" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/packages/rest/src/__tests__/unit/parser.unit.ts b/packages/rest/src/__tests__/unit/parser.unit.ts index 2243b4d6892b..0c6d0cd187b2 100644 --- a/packages/rest/src/__tests__/unit/parser.unit.ts +++ b/packages/rest/src/__tests__/unit/parser.unit.ts @@ -11,14 +11,12 @@ import { SchemaObject, } from '@loopback/openapi-v3'; import { - expect, ShotRequestOptions, + expect, stubExpressContext, } from '@loopback/testlab'; import { - createResolvedRoute, JsonBodyParser, - parseOperationArgs, PathParameterValues, RawBodyParser, Request, @@ -29,6 +27,8 @@ import { StreamBodyParser, TextBodyParser, UrlEncodedBodyParser, + createResolvedRoute, + parseOperationArgs, } from '../..'; describe('operationArgsParser', () => { @@ -343,7 +343,9 @@ describe('operationArgsParser', () => { details: { syntaxError: NODE_MAJOR_VERSION >= 19 - ? "Expected ':' after property name in JSON at position 17" + ? NODE_MAJOR_VERSION >= 22 + ? "Expected ':' after property name in JSON at position 17 (line 1 column 18)" + : "Expected ':' after property name in JSON at position 17" : 'Unexpected token } in JSON at position 17', }, }), diff --git a/packages/security/package.json b/packages/security/package.json index 355a9197b406..ad8307621433 100644 --- a/packages/security/package.json +++ b/packages/security/package.json @@ -17,7 +17,7 @@ "directory": "packages/security" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/packages/service-proxy/package.json b/packages/service-proxy/package.json index f28a2eb0aa25..bacf8daeb729 100644 --- a/packages/service-proxy/package.json +++ b/packages/service-proxy/package.json @@ -13,7 +13,7 @@ "directory": "packages/service-proxy" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", diff --git a/packages/testlab/package.json b/packages/testlab/package.json index a61440683c0a..ad2cee721487 100644 --- a/packages/testlab/package.json +++ b/packages/testlab/package.json @@ -13,7 +13,7 @@ "directory": "packages/testlab" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build": "lb-tsc", diff --git a/packages/tsdocs/package.json b/packages/tsdocs/package.json index 22f76a35e01a..5526f5270fc6 100644 --- a/packages/tsdocs/package.json +++ b/packages/tsdocs/package.json @@ -23,7 +23,7 @@ "directory": "packages/tsdocs" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "build:tsdocs": "npm run build && npm run -s extract-apidocs && npm run -s document-apidocs && npm run -s update-apidocs", diff --git a/sandbox/example/package.json b/sandbox/example/package.json index 6cd12753f987..78bc0c5d9aef 100644 --- a/sandbox/example/package.json +++ b/sandbox/example/package.json @@ -13,7 +13,7 @@ "directory": "sandbox/example" }, "engines": { - "node": "18 || 20" + "node": "18 || 20 || 22" }, "scripts": { "test": "echo \"This is an example for sandbox\""