From 9fa6c43c1af39bc5e8582c4a1048924fbb69f882 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 28 Nov 2024 05:58:55 +0000 Subject: [PATCH] Update all dependencies --- .github/workflows/build.yml | 2 +- .github/workflows/codescan.yml | 6 +- .github/workflows/issue_opened.yml | 2 +- .../workflows/port_merged_pull_request.yml | 2 +- .github/workflows/pull_request_opened.yml | 2 +- Dockerfile | 2 +- Dockerfile.dist | 4 +- package.json | 224 +++++++++--------- 8 files changed, 122 insertions(+), 122 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b26f5a7c068..ed76025e344 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -211,7 +211,7 @@ jobs: # Retry action: https://github.com/marketplace/actions/retry-action # Codecov action: https://github.com/codecov/codecov-action - name: Upload coverage to Codecov.io - uses: Wandalen/wretry.action@v1.3.0 + uses: Wandalen/wretry.action@v3.7.3 with: action: codecov/codecov-action@v4 # Ensure codecov-action throws an error when it fails to upload diff --git a/.github/workflows/codescan.yml b/.github/workflows/codescan.yml index d96e786cc37..a74e3eba0a5 100644 --- a/.github/workflows/codescan.yml +++ b/.github/workflows/codescan.yml @@ -40,14 +40,14 @@ jobs: # Initializes the CodeQL tools for scanning. # https://github.com/github/codeql-action - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: javascript # Autobuild attempts to build any compiled languages - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # Perform GitHub Code Scanning. - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 \ No newline at end of file + uses: github/codeql-action/analyze@v3 \ No newline at end of file diff --git a/.github/workflows/issue_opened.yml b/.github/workflows/issue_opened.yml index 0a35a6a9504..c8c421d98f4 100644 --- a/.github/workflows/issue_opened.yml +++ b/.github/workflows/issue_opened.yml @@ -16,7 +16,7 @@ jobs: # Only add to project board if issue is flagged as "needs triage" or has no labels # NOTE: By default we flag new issues as "needs triage" in our issue template if: (contains(github.event.issue.labels.*.name, 'needs triage') || join(github.event.issue.labels.*.name) == '') - uses: actions/add-to-project@v1.0.0 + uses: actions/add-to-project@v1.0.2 # Note, the authentication token below is an ORG level Secret. # It must be created/recreated manually via a personal access token with admin:org, project, public_repo permissions # See: https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#permissions-for-the-github_token diff --git a/.github/workflows/port_merged_pull_request.yml b/.github/workflows/port_merged_pull_request.yml index 857f22755e4..7f90720ad74 100644 --- a/.github/workflows/port_merged_pull_request.yml +++ b/.github/workflows/port_merged_pull_request.yml @@ -27,7 +27,7 @@ jobs: # Port PR to other branch (ONLY if labeled with "port to") # See https://github.com/korthout/backport-action - name: Create backport pull requests - uses: korthout/backport-action@v2 + uses: korthout/backport-action@v3 with: # Trigger based on a "port to [branch]" label on PR # (This label must specify the branch name to port to) diff --git a/.github/workflows/pull_request_opened.yml b/.github/workflows/pull_request_opened.yml index bbac52af243..7574e0998dc 100644 --- a/.github/workflows/pull_request_opened.yml +++ b/.github/workflows/pull_request_opened.yml @@ -21,4 +21,4 @@ jobs: # Assign the PR to whomever created it. This is useful for visualizing assignments on project boards # See https://github.com/toshimaru/auto-author-assign - name: Assign PR to creator - uses: toshimaru/auto-author-assign@v2.1.0 + uses: toshimaru/auto-author-assign@v2.1.1 diff --git a/Dockerfile b/Dockerfile index cd29d762f80..932fccbd078 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # This image will be published as dspace/dspace-angular # See https://github.com/DSpace/dspace-angular/tree/main/docker for usage details -FROM node:18-alpine +FROM node:23-alpine # Ensure Python and other build tools are available # These are needed to install some node modules, especially on linux/arm64 diff --git a/Dockerfile.dist b/Dockerfile.dist index cb6e1bbd305..3a06ea5a517 100644 --- a/Dockerfile.dist +++ b/Dockerfile.dist @@ -4,7 +4,7 @@ # Test build: # docker build -f Dockerfile.dist -t dspace/dspace-angular:latest-dist . -FROM node:18-alpine AS build +FROM node:23-alpine AS build # Ensure Python and other build tools are available # These are needed to install some node modules, especially on linux/arm64 @@ -17,7 +17,7 @@ RUN npm install ADD . /app/ RUN npm run build:prod -FROM node:18-alpine +FROM node:23-alpine RUN npm install --global pm2 COPY --chown=node:node --from=build /app/dist /app/dist diff --git a/package.json b/package.json index a0584678fb2..7c7110ab6f5 100644 --- a/package.json +++ b/package.json @@ -57,200 +57,200 @@ "private": true, "overrides": { "@kolkov/ngx-gallery": { - "@angular/animations": "^17.3.11", - "@angular/common": "^17.3.11", - "@angular/core": "^17.3.11" + "@angular/animations": "^19.0.0", + "@angular/common": "^19.0.0", + "@angular/core": "^19.0.0" }, "@ng-bootstrap/ng-bootstrap": { - "@angular/common": "^17.3.11", - "@angular/core": "^17.3.11", - "@angular/forms": "^17.3.11", - "@angular/localize": "^17.3.11" + "@angular/common": "^19.0.0", + "@angular/core": "^19.0.0", + "@angular/forms": "^19.0.0", + "@angular/localize": "^19.0.0" }, "@ng-dynamic-forms/core": { - "@angular/common": "^17.3.11", - "@angular/core": "^17.3.11", - "@angular/forms": "^17.3.11" + "@angular/common": "^19.0.0", + "@angular/core": "^19.0.0", + "@angular/forms": "^19.0.0" }, "@ng-dynamic-forms/ui-ng-bootstrap": { - "ngx-mask": "14.2.4" + "ngx-mask": "19.0.0" }, "@ngtools/webpack": { - "@angular/compiler-cli": "^17.3.11", - "typescript": "~5.3.3" + "@angular/compiler-cli": "^19.0.0", + "typescript": "~5.7.0" }, "@nicky-lenaers/ngx-scroll-to": { - "@angular/common": "^17.3.11", - "@angular/core": "^17.3.11" + "@angular/common": "^19.0.0", + "@angular/core": "^19.0.0" }, "eslint-plugin-unused-imports": { - "@typescript-eslint/eslint-plugin": "^7.2.0" + "@typescript-eslint/eslint-plugin": "^8.0.0" }, "ng2-file-upload": { - "@angular/common": "^17.3.11", - "@angular/core": "^17.3.11" + "@angular/common": "^19.0.0", + "@angular/core": "^19.0.0" }, "ngx-infinite-scroll": { - "@angular/common": "^17.3.11", - "@angular/core": "^17.3.11" + "@angular/common": "^19.0.0", + "@angular/core": "^19.0.0" } }, "dependencies": { - "@angular/animations": "^17.3.11", - "@angular/cdk": "^17.3.10", - "@angular/common": "^17.3.11", - "@angular/compiler": "^17.3.11", - "@angular/core": "^17.3.11", - "@angular/forms": "^17.3.11", - "@angular/localize": "^17.3.11", - "@angular/platform-browser": "^17.3.11", - "@angular/platform-browser-dynamic": "^17.3.11", - "@angular/platform-server": "^17.3.11", - "@angular/router": "^17.3.11", - "@angular/ssr": "^17.3.8", - "@babel/runtime": "7.21.0", + "@angular/animations": "^19.0.0", + "@angular/cdk": "^19.0.0", + "@angular/common": "^19.0.0", + "@angular/compiler": "^19.0.0", + "@angular/core": "^19.0.0", + "@angular/forms": "^19.0.0", + "@angular/localize": "^19.0.0", + "@angular/platform-browser": "^19.0.0", + "@angular/platform-browser-dynamic": "^19.0.0", + "@angular/platform-server": "^19.0.0", + "@angular/router": "^19.0.0", + "@angular/ssr": "^19.0.0", + "@babel/runtime": "7.26.0", "@kolkov/ngx-gallery": "^2.0.1", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.11.3", - "@ng-bootstrap/ng-bootstrap": "^11.0.0", - "@ng-dynamic-forms/core": "^16.0.0", - "@ng-dynamic-forms/ui-ng-bootstrap": "^16.0.0", - "@ngrx/effects": "^17.1.1", - "@ngrx/router-store": "^17.1.1", - "@ngrx/store": "^17.1.1", - "@ngx-translate/core": "^14.0.0", + "@ng-bootstrap/ng-bootstrap": "^17.0.0", + "@ng-dynamic-forms/core": "^18.0.0", + "@ng-dynamic-forms/ui-ng-bootstrap": "^18.0.0", + "@ngrx/effects": "^18.0.0", + "@ngrx/router-store": "^18.0.0", + "@ngrx/store": "^18.0.0", + "@ngx-translate/core": "^16.0.0", "@nicky-lenaers/ngx-scroll-to": "^14.0.0", "@types/grecaptcha": "^3.0.4", "angular-idle-preload": "3.0.0", - "angulartics2": "^12.2.0", + "angulartics2": "^14.0.0", "axios": "^1.7.4", - "bootstrap": "^4.6.1", + "bootstrap": "^5.0.0", "cerialize": "0.1.18", "cli-progress": "^3.12.0", "colors": "^1.4.0", "compression": "^1.7.4", - "cookie-parser": "1.4.6", + "cookie-parser": "1.4.7", "core-js": "^3.30.1", - "date-fns": "^2.29.3", - "date-fns-tz": "^1.3.7", + "date-fns": "^4.0.0", + "date-fns-tz": "^3.0.0", "deepmerge": "^4.3.1", "ejs": "^3.1.10", "express": "^4.19.2", - "express-rate-limit": "^5.1.3", + "express-rate-limit": "^7.0.0", "fast-json-patch": "^3.1.1", - "filesize": "^6.1.0", - "http-proxy-middleware": "^1.0.5", + "filesize": "^10.0.0", + "http-proxy-middleware": "^3.0.0", "http-terminator": "^3.2.0", - "isbot": "^3.6.10", - "js-cookie": "2.2.1", + "isbot": "^5.0.0", + "js-cookie": "3.0.5", "js-yaml": "^4.1.0", "json5": "^2.2.3", "jsonschema": "1.4.1", - "jwt-decode": "^3.1.2", + "jwt-decode": "^4.0.0", "klaro": "^0.7.18", "lodash": "^4.17.21", - "lru-cache": "^7.14.1", - "markdown-it": "^13.0.1", + "lru-cache": "^11.0.0", + "markdown-it": "^14.0.0", "mirador": "^3.3.0", "mirador-dl-plugin": "^0.13.0", - "mirador-share-plugin": "^0.11.0", + "mirador-share-plugin": "^0.16.0", "morgan": "^1.10.0", "ng-mocks": "^14.10.0", - "ng2-file-upload": "5.0.0", + "ng2-file-upload": "7.0.1", "ng2-nouislider": "^2.0.0", - "ngx-infinite-scroll": "^16.0.0", + "ngx-infinite-scroll": "^19.0.0", "ngx-pagination": "6.0.3", - "ngx-ui-switch": "^14.1.0", + "ngx-ui-switch": "^15.0.0", "nouislider": "^15.7.1", - "pem": "1.14.7", + "pem": "1.14.8", "prop-types": "^15.8.1", "react-copy-to-clipboard": "^5.1.0", - "reflect-metadata": "^0.1.13", + "reflect-metadata": "^0.2.0", "rxjs": "^7.8.0", "sanitize-html": "^2.12.1", - "sortablejs": "1.15.0", - "uuid": "^8.3.2", + "sortablejs": "1.15.5", + "uuid": "^11.0.0", "webfontloader": "1.6.28", - "zone.js": "~0.14.4" + "zone.js": "~0.15.0" }, "devDependencies": { - "@angular-builders/custom-webpack": "~17.0.2", - "@angular-devkit/build-angular": "^17.3.8", - "@angular-eslint/builder": "17.2.1", - "@angular-eslint/bundled-angular-compiler": "17.2.1", - "@angular-eslint/eslint-plugin": "17.2.1", - "@angular-eslint/eslint-plugin-template": "17.2.1", - "@angular-eslint/schematics": "17.2.1", - "@angular-eslint/template-parser": "17.2.1", - "@angular/cli": "^17.3.8", - "@angular/compiler-cli": "^17.3.11", - "@angular/language-service": "^17.3.11", - "@cypress/schematic": "^1.5.0", + "@angular-builders/custom-webpack": "~18.0.0", + "@angular-devkit/build-angular": "^19.0.0", + "@angular-eslint/builder": "18.4.2", + "@angular-eslint/bundled-angular-compiler": "18.4.2", + "@angular-eslint/eslint-plugin": "18.4.2", + "@angular-eslint/eslint-plugin-template": "18.4.2", + "@angular-eslint/schematics": "18.4.2", + "@angular-eslint/template-parser": "18.4.2", + "@angular/cli": "^19.0.0", + "@angular/compiler-cli": "^19.0.0", + "@angular/language-service": "^19.0.0", + "@cypress/schematic": "^2.0.0", "@fortawesome/fontawesome-free": "^6.4.0", - "@ngrx/store-devtools": "^17.1.1", - "@ngtools/webpack": "^16.2.12", - "@types/deep-freeze": "0.1.2", + "@ngrx/store-devtools": "^18.0.0", + "@ngtools/webpack": "^19.0.0", + "@types/deep-freeze": "0.1.5", "@types/ejs": "^3.1.2", - "@types/express": "^4.17.17", - "@types/jasmine": "~3.6.0", - "@types/js-cookie": "2.2.6", + "@types/express": "^5.0.0", + "@types/jasmine": "~5.1.0", + "@types/js-cookie": "3.0.6", "@types/lodash": "^4.14.194", - "@types/node": "^14.14.9", + "@types/node": "^22.0.0", "@types/sanitize-html": "^2.9.0", - "@typescript-eslint/eslint-plugin": "^7.2.0", - "@typescript-eslint/parser": "^7.2.0", - "@typescript-eslint/rule-tester": "^7.2.0", - "@typescript-eslint/utils": "^7.2.0", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", + "@typescript-eslint/rule-tester": "^8.0.0", + "@typescript-eslint/utils": "^8.0.0", "axe-core": "^4.7.2", "browser-sync": "^3.0.0", - "compression-webpack-plugin": "^9.2.0", - "copy-webpack-plugin": "^6.4.1", + "compression-webpack-plugin": "^11.0.0", + "copy-webpack-plugin": "^12.0.0", "cross-env": "^7.0.3", - "cypress": "12.17.4", + "cypress": "13.16.0", "cypress-axe": "^1.4.0", "deep-freeze": "0.0.1", - "eslint": "^8.39.0", - "eslint-plugin-deprecation": "^1.4.1", + "eslint": "^9.0.0", + "eslint-plugin-deprecation": "^3.0.0", "eslint-plugin-dspace-angular-html": "file:./lint/dist/src/rules/html", "eslint-plugin-dspace-angular-ts": "file:./lint/dist/src/rules/ts", "eslint-plugin-import": "^2.27.5", "eslint-plugin-import-newlines": "^1.3.1", - "eslint-plugin-jsdoc": "^45.0.0", + "eslint-plugin-jsdoc": "^50.0.0", "eslint-plugin-jsonc": "^2.6.0", - "eslint-plugin-lodash": "^7.4.0", + "eslint-plugin-lodash": "^8.0.0", "eslint-plugin-rxjs": "^5.0.3", - "eslint-plugin-simple-import-sort": "^10.0.0", - "eslint-plugin-unused-imports": "^3.2.0", + "eslint-plugin-simple-import-sort": "^12.0.0", + "eslint-plugin-unused-imports": "^4.0.0", "express-static-gzip": "^2.1.7", - "jasmine": "^3.8.0", - "jasmine-core": "^3.8.0", + "jasmine": "^5.0.0", + "jasmine-core": "^5.0.0", "jasmine-marbles": "0.9.2", "karma": "^6.4.2", "karma-chrome-launcher": "~3.2.0", "karma-coverage-istanbul-reporter": "~3.0.3", - "karma-jasmine": "~4.0.0", - "karma-jasmine-html-reporter": "^1.5.0", + "karma-jasmine": "~5.1.0", + "karma-jasmine-html-reporter": "^2.0.0", "karma-mocha-reporter": "2.2.5", - "ngx-mask": "14.2.4", - "nodemon": "^2.0.22", + "ngx-mask": "19.0.0", + "nodemon": "^3.0.0", "postcss": "^8.4", "postcss-apply": "0.12.0", - "postcss-import": "^14.0.0", - "postcss-loader": "^4.0.3", - "postcss-preset-env": "^7.4.2", + "postcss-import": "^16.0.0", + "postcss-loader": "^8.0.0", + "postcss-preset-env": "^10.0.0", "postcss-responsive-type": "1.0.0", - "react": "^16.14.0", - "react-dom": "^16.14.0", - "rimraf": "^3.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", + "rimraf": "^6.0.0", "rxjs-spy": "^8.0.2", - "sass": "~1.62.0", - "sass-loader": "^12.6.0", + "sass": "~1.81.0", + "sass-loader": "^16.0.0", "sass-resources-loader": "^2.2.5", - "ts-node": "^8.10.2", - "typescript": "~5.3.3", - "webpack": "5.94.0", + "ts-node": "^10.0.0", + "typescript": "~5.7.0", + "webpack": "5.96.1", "webpack-bundle-analyzer": "^4.8.0", "webpack-cli": "^5.1.4", - "webpack-dev-server": "^4.15.1" + "webpack-dev-server": "^5.0.0" } }