diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e1a8b80..4c8481c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,12 +11,12 @@ jobs: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" - name: Checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14 - name: Install dependencies @@ -30,9 +30,9 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Upload code coverage report to workflow as an artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: istanbul-code-coverage.zip path: coverage - name: Upload code coverage report to codecov.io and comment in pull request - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6787460..c54d328 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 14 - name: Install dependencies @@ -24,7 +24,7 @@ jobs: - name: Run tests and do code coverage check run: npm run test:coverage - name: Upload code coverage report to codecov.io - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 - name: Upload Sonar report to sonarcloud.io uses: sonarsource/sonarcloud-github-action@master env: diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 9a7c06f..b805ed9 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -11,7 +11,7 @@ jobs: if: github.event.workflow_run.conclusion == 'success' steps: - name: Checkout source code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: ${{ github.event.workflow_run.head_repository.full_name }} ref: ${{ github.event.workflow_run.head_branch }} diff --git a/package.json b/package.json index fa52c95..e343b4a 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "sideEffects": false, "dependencies": { "@adobe/aem-spa-component-mapping": "~1.1.1", - "@braintree/sanitize-url": "^6.0.0" + "@braintree/sanitize-url": "^7.0.0" }, "peerDependencies": { "@adobe/aem-spa-page-model-manager": "^1.4.3" @@ -64,43 +64,43 @@ "@babel/preset-react": "^7.16.7", "@babel/preset-typescript": "^7.16.7", "@babel/register": "^7.17.7", - "@jest/globals": "^27.4.6", + "@jest/globals": "^29.0.0", "@semantic-release/changelog": "^6.0.0", "@semantic-release/git": "^10.0.0", - "@semantic-release/github": "^8.0.0", - "@testing-library/react": "^12.1.4", + "@semantic-release/github": "^10.0.0", + "@testing-library/react": "^16.0.0", "@types/clone": "^2.1.0", - "@types/jest": "^27.0.0", - "@types/node": "^17.0.0", + "@types/jest": "^29.0.0", + "@types/node": "^22.0.0", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", - "@types/webpack-node-externals": "^2.5.3", - "@typescript-eslint/eslint-plugin": "^5.0.0", - "@typescript-eslint/parser": "^5.0.0", + "@types/webpack-node-externals": "^3.0.0", + "@typescript-eslint/eslint-plugin": "^8.0.0", + "@typescript-eslint/parser": "^8.0.0", "circular-dependency-plugin": "^5.2.2", "clean-webpack-plugin": "^4.0.0", - "eslint": "^8.0.0", - "eslint-config-prettier": "^8.3.0", + "eslint": "^9.0.0", + "eslint-config-prettier": "^9.0.0", "eslint-plugin-header": "^3.1.1", - "eslint-plugin-jest": "^25.7.0", - "eslint-plugin-json": "^3.0.0", - "eslint-plugin-prettier": "^4.0.0", + "eslint-plugin-jest": "^28.0.0", + "eslint-plugin-json": "^4.0.0", + "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-react": "^7.23.2", "eslint-plugin-react-hooks": "^4.3.0", - "jest": "^27.5.1", + "jest": "^29.0.0", "jest-fetch-mock": "^3.0.3", - "lint-staged": "^12.1.7", - "prettier": "^2.5.1", + "lint-staged": "^15.0.0", + "prettier": "^3.0.0", "process": "^0.11.10", - "react": "^16.13.1", - "react-dom": "^16.13.1", - "semantic-release": "^19.0.0", - "ts-jest": "^27.0.0", + "react": "^18.0.0", + "react-dom": "^18.0.0", + "semantic-release": "^24.0.0", + "ts-jest": "^29.0.0", "ts-loader": "^9.0.0", - "typescript": "^4.2.4", + "typescript": "^5.0.0", "webpack": "^5.66.0", - "webpack-cli": "^4.9.1", - "webpack-merge": "^5.8.0", + "webpack-cli": "^5.0.0", + "webpack-merge": "^6.0.0", "webpack-node-externals": "^3.0.0" }, "files": [