diff --git a/.github/workflows/codeql-codescan.yml b/.github/workflows/codeql-codescan.yml index 95f6c2b13a..70cbf3b047 100644 --- a/.github/workflows/codeql-codescan.yml +++ b/.github/workflows/codeql-codescan.yml @@ -39,13 +39,13 @@ jobs: uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} debug: true - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/issue.yml b/.github/workflows/issue.yml index bef52e9a02..d15dd7443f 100644 --- a/.github/workflows/issue.yml +++ b/.github/workflows/issue.yml @@ -18,7 +18,7 @@ jobs: name: Adding Issue Label runs-on: ubuntu-latest steps: - - uses: Renato66/auto-label@v2.3.0 + - uses: Renato66/auto-label@v3.1.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} ignore-comments: true diff --git a/.github/workflows/pull-request-target.yml b/.github/workflows/pull-request-target.yml index 7f32913e20..9adf547717 100644 --- a/.github/workflows/pull-request-target.yml +++ b/.github/workflows/pull-request-target.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Add the PR Review Policy - uses: thollander/actions-comment-pull-request@v2 + uses: thollander/actions-comment-pull-request@v3 with: comment_tag: pr_review_policy message: | diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 44b5939049..d0cc25ea53 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -64,7 +64,7 @@ jobs: # or else we'll get failures - name: Get changed files id: changed_files - uses: tj-actions/changed-files@v44 + uses: tj-actions/changed-files@v45 with: files: | **.ts @@ -104,7 +104,7 @@ jobs: - name: Get Changed Unauthorized files id: changed-unauth-files - uses: tj-actions/changed-files@v44 + uses: tj-actions/changed-files@v45 with: files: | .github/** @@ -158,7 +158,7 @@ jobs: - name: Get changed files id: changed-files - uses: tj-actions/changed-files@v44 + uses: tj-actions/changed-files@v45 - name: Echo number of changed files env: @@ -186,7 +186,7 @@ jobs: node-version: [22.x] services: mongo: - image: mongo:4.4 + image: mongo:8.0 options: >- --health-cmd mongo --health-interval 10s @@ -195,7 +195,7 @@ jobs: ports: - 27017:27017 redis: - image: redis:6.0 + image: redis:7.4 options: >- --health-cmd "redis-cli ping" --health-interval 10s @@ -283,7 +283,7 @@ jobs: run: npm run import:sample-data - name: Present and upload coverage to Codecov as ${{env.CODECOV_UNIQUE_NAME}} - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: verbose: true token: ${{ secrets.CODECOV_TOKEN }} @@ -291,7 +291,7 @@ jobs: name: '${{env.CODECOV_UNIQUE_NAME}}' - name: Test acceptable level of code coverage - uses: VeryGoodOpenSource/very_good_coverage@v2 + uses: VeryGoodOpenSource/very_good_coverage@v3 with: path: './coverage/lcov.info' min_coverage: 95.0 diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index d94f50a3d8..2069ae3b48 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -34,7 +34,7 @@ jobs: node-version: [22.x] services: redis: - image: redis:6.0 + image: redis:7.4 options: >- --health-cmd "redis-cli ping" --health-interval 10s @@ -43,7 +43,7 @@ jobs: ports: - 6379:6379 mongo: - image: mongo:4.4 + image: mongo:8.0 options: >- --health-cmd mongo --health-interval 10s @@ -84,7 +84,7 @@ jobs: # Upload Coverage - name: Present and upload coverage to Codecov as ${{env.CODECOV_UNIQUE_NAME}} - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} verbose: true diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 24667f8e06..c309d72dbc 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/stale@v8 + - uses: actions/stale@v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.' diff --git a/Dockerfile.dev b/Dockerfile.dev index 3fda0f43c2..65cb67c8e8 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,5 +1,5 @@ # Stage 1: Install Dependencies -FROM node:20.10.0 AS builder +FROM node:22.11.0 AS builder WORKDIR /usr/src/app diff --git a/package-lock.json b/package-lock.json index 8347a8b138..22ed031883 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ "graphql": "^16.9.0", "graphql-depth-limit": "^1.1.0", "graphql-scalars": "^1.20.1", - "graphql-subscriptions": "^2.0.0", + "graphql-subscriptions": "^3.0.0", "graphql-tag": "^2.12.6", "graphql-upload": "^17.0.0", "graphql-voyager": "^2.1.0", @@ -70,8 +70,8 @@ }, "devDependencies": { "@eslint/compat": "^1.1.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "^8.57.0", + "@eslint/eslintrc": "^3.0.0", + "@eslint/js": "^9.0.0", "@graphql-codegen/cli": "^5.0.3", "@graphql-codegen/typescript": "^4.1.0", "@graphql-codegen/typescript-resolvers": "^4.2.1", @@ -81,7 +81,7 @@ "@types/cls-hooked": "^4.3.9", "@types/copy-paste": "^1.1.30", "@types/cors": "^2.8.17", - "@types/express": "^4.17.17", + "@types/express": "^5.0.0", "@types/express-rate-limit": "^6.0.2", "@types/graphql-depth-limit": "^1.1.6", "@types/i18n": "^0.13.12", @@ -257,6 +257,18 @@ "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" } }, + "node_modules/@apollo/server/node_modules/@types/express": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, "node_modules/@apollo/server/node_modules/uuid": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", @@ -2969,10 +2981,10 @@ } }, "node_modules/@eslint/eslintrc": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", - "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", - "dev": true, + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.2.0.tgz", + "integrity": "sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==", + "license": "MIT", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -2995,7 +3007,7 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -3005,7 +3017,6 @@ "version": "14.0.0", "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -3018,7 +3029,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -3027,10 +3038,11 @@ } }, "node_modules/@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "version": "9.15.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.15.0.tgz", + "integrity": "sha512-tMTqrY+EzbXmKJR5ToI8lxu7jaN5EdmrBFJpQk5JmSlyLsx6o4t27r883K5xsLuCYCpfKBCGswMSWXsM+jB7lg==", "dev": true, + "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } @@ -7089,12 +7101,13 @@ "dev": true }, "node_modules/@types/express": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", - "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@types/express/-/express-5.0.0.tgz", + "integrity": "sha512-DvZriSMehGHL1ZNLzi6MidnsDhUZM/x2pRdDIKdwbUNqqwHxMlRdkxtn6/EPKyqKpHqTl/4nRZsRNLpZxZRpPQ==", + "license": "MIT", "dependencies": { "@types/body-parser": "*", - "@types/express-serve-static-core": "^4.17.33", + "@types/express-serve-static-core": "^5.0.0", "@types/qs": "*", "@types/serve-static": "*" } @@ -7120,6 +7133,18 @@ "@types/send": "*" } }, + "node_modules/@types/express/node_modules/@types/express-serve-static-core": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.2.tgz", + "integrity": "sha512-vluaspfvWEtE4vcSDlKRNer52DvOGrB2xv6diXy6UKyKW0lqZiWHGNApSyxOv+8DE5Z27IzVvE7hNkxg7EXIcg==", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, "node_modules/@types/graphql-depth-limit": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/@types/graphql-depth-limit/-/graphql-depth-limit-1.1.6.tgz", @@ -10941,29 +10966,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/@eslint/eslintrc": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", - "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==", - "license": "MIT", - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^10.0.1", - "globals": "^14.0.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, "node_modules/eslint/node_modules/@eslint/js": { "version": "9.10.0", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.10.0.tgz", @@ -10995,18 +10997,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/globals": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", - "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/eslint/node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -12234,12 +12224,10 @@ } }, "node_modules/graphql-subscriptions": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/graphql-subscriptions/-/graphql-subscriptions-2.0.0.tgz", - "integrity": "sha512-s6k2b8mmt9gF9pEfkxsaO1lTxaySfKoEJzEfmwguBbQ//Oq23hIXCfR1hm4kdh5hnR20RdwB+s3BCb+0duHSZA==", - "dependencies": { - "iterall": "^1.3.0" - }, + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/graphql-subscriptions/-/graphql-subscriptions-3.0.0.tgz", + "integrity": "sha512-kZCdevgmzDjGAOqH7GlDmQXYAkuHoKpMlJrqF40HMPhUhM5ZWSFSxCwD/nSi6AkaijmMfsFhoJRGJ27UseCvRA==", + "license": "MIT", "peerDependencies": { "graphql": "^15.7.2 || ^16.0.0" } @@ -13446,7 +13434,8 @@ "node_modules/iterall": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/iterall/-/iterall-1.3.0.tgz", - "integrity": "sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg==" + "integrity": "sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg==", + "dev": true }, "node_modules/jackspeak": { "version": "4.0.1", diff --git a/package.json b/package.json index 619c722df4..72b6b8de60 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "graphql": "^16.9.0", "graphql-depth-limit": "^1.1.0", "graphql-scalars": "^1.20.1", - "graphql-subscriptions": "^2.0.0", + "graphql-subscriptions": "^3.0.0", "graphql-tag": "^2.12.6", "graphql-upload": "^17.0.0", "graphql-voyager": "^2.1.0", @@ -108,8 +108,8 @@ }, "devDependencies": { "@eslint/compat": "^1.1.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "^8.57.0", + "@eslint/eslintrc": "^3.0.0", + "@eslint/js": "^9.0.0", "@graphql-codegen/cli": "^5.0.3", "@graphql-codegen/typescript": "^4.1.0", "@graphql-codegen/typescript-resolvers": "^4.2.1", @@ -119,7 +119,7 @@ "@types/cls-hooked": "^4.3.9", "@types/copy-paste": "^1.1.30", "@types/cors": "^2.8.17", - "@types/express": "^4.17.17", + "@types/express": "^5.0.0", "@types/express-rate-limit": "^6.0.2", "@types/graphql-depth-limit": "^1.1.6", "@types/i18n": "^0.13.12", diff --git a/requirements.txt b/requirements.txt index ecfd2552ef..fc35c707ac 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ black==24.3.0 pydocstyle==6.3.0 -pylint==2.15.10 +pylint==3.3.1 pymongo==4.3.3 getpass4==0.0.14.1 -python-dotenv==0.21.1 \ No newline at end of file +python-dotenv==1.0.1 \ No newline at end of file