diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 0c51c92d..73d65af7 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -15,11 +15,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: fetch-depth: 0 - name: Scan for secrets - uses: gitleaks/gitleaks-action@1f2d10fb689bc07a5f56f48d6db61f5bbbe772fa # v2.3.2 + uses: gitleaks/gitleaks-action@e6dab246340401bf53eec993b8f05aebe80ac636 # v2.3.4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITLEAKS_ENABLE_COMMENTS: false diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 443da998..7b3ce963 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -13,9 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Install Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: cache: npm node-version-file: .nvmrc diff --git a/.github/workflows/code-analysis.yml b/.github/workflows/code-analysis.yml index 46b19678..7d17003c 100644 --- a/.github/workflows/code-analysis.yml +++ b/.github/workflows/code-analysis.yml @@ -21,11 +21,11 @@ jobs: security-events: write steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Initialize CodeQL - uses: github/codeql-action/init@407ffafae6a767df3e0230c3df91b6443ae8df75 # v2.22.8 + uses: github/codeql-action/init@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4 with: config-file: ./.github/codeql.yml languages: javascript - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@407ffafae6a767df3e0230c3df91b6443ae8df75 # v2.22.8 + uses: github/codeql-action/analyze@ccf74c947955fd1cf117aef6a0e4e66191ef6f61 # v3.25.4 diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml index af5a875a..ab39a4ab 100644 --- a/.github/workflows/code-checks.yml +++ b/.github/workflows/code-checks.yml @@ -20,9 +20,9 @@ jobs: unit-packages: ${{ steps.unit-filter.outputs.changes }} steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Install Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version-file: .nvmrc cache: npm @@ -38,7 +38,7 @@ jobs: echo "$FILTERS" >> $GITHUB_OUTPUT echo 'EOF' >> $GITHUB_OUTPUT - name: Check for file changes in all packages - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # tag=v2.11.1 + uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 id: all-filter with: filters: | @@ -53,7 +53,7 @@ jobs: echo "$FILTERS" >> $GITHUB_OUTPUT echo 'EOF' >> $GITHUB_OUTPUT - name: Check for file changes in e2e tested packages - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # tag=v2.11.1 + uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 id: e2e-filter with: filters: | @@ -68,7 +68,7 @@ jobs: echo "$FILTERS" >> $GITHUB_OUTPUT echo 'EOF' >> $GITHUB_OUTPUT - name: Check for file changes in performance tested packages - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # tag=v2.11.1 + uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 id: performance-filter with: filters: | @@ -81,7 +81,7 @@ jobs: echo "$FILTERS" >> $GITHUB_OUTPUT echo 'EOF' >> $GITHUB_OUTPUT - name: Check for file changes in mutation tested packages - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # tag=v2.11.1 + uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 id: mutation-filter with: filters: | @@ -96,7 +96,7 @@ jobs: echo "$FILTERS" >> $GITHUB_OUTPUT echo 'EOF' >> $GITHUB_OUTPUT - name: Check for file changes in unit tested packages - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # tag=v2.11.1 + uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 id: unit-filter with: filters: | @@ -111,7 +111,7 @@ jobs: echo "$FILTERS" >> $GITHUB_OUTPUT echo 'EOF' >> $GITHUB_OUTPUT - name: Check for file changes in integration tested packages - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # tag=v2.11.1 + uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 id: integration-filter with: filters: | @@ -129,9 +129,9 @@ jobs: package: ${{ fromJSON(needs.changes.outputs.performance-packages) }} steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Cache compiled package - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: | packages/*/build @@ -144,7 +144,7 @@ jobs: restore-keys: | compiled ${{ matrix.package }} - name: Install Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version-file: .nvmrc cache: npm @@ -163,9 +163,9 @@ jobs: package: ${{ fromJSON(needs.changes.outputs.all-packages) }} steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Cache compiled package - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: | packages/*/build @@ -178,7 +178,7 @@ jobs: restore-keys: | compiled ${{ matrix.package }} - name: Install Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version-file: .nvmrc cache: npm @@ -198,9 +198,9 @@ jobs: package: ${{ fromJSON(needs.changes.outputs.unit-packages) }} steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Cache compiled package - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: | packages/*/build @@ -213,7 +213,7 @@ jobs: restore-keys: | compiled ${{ matrix.package }} - name: Install Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version-file: .nvmrc cache: npm @@ -222,7 +222,7 @@ jobs: - name: Run unit tests for packages/${{ matrix.package }} run: npm run coverage -- ${{ matrix.package }} --unit - name: Upload coverage to Codecov - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 + uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # v4.3.1 if: ${{ always() }} with: file: ./_reports/coverage/unit/${{ matrix.package }}/lcov.info @@ -240,9 +240,9 @@ jobs: package: ${{ fromJSON(needs.changes.outputs.integration-packages) }} steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Cache compiled package - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: | packages/*/build @@ -255,7 +255,7 @@ jobs: restore-keys: | compiled ${{ matrix.package }} - name: Install Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version-file: .nvmrc cache: npm @@ -276,9 +276,9 @@ jobs: package: ${{ fromJSON(needs.changes.outputs.e2e-packages) }} steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Cache compiled packages - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: | packages/*/build @@ -291,7 +291,7 @@ jobs: restore-keys: | compiled all - name: Install Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version-file: .nvmrc cache: npm @@ -312,9 +312,9 @@ jobs: package: ${{ fromJSON(needs.changes.outputs.mutation-packages) }} steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Cache compiled packages - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: | packages/*/build @@ -327,7 +327,7 @@ jobs: restore-keys: | compiled all - name: Cache incremental data - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: .cache/mutation/${{ matrix.package }}.json key: >- @@ -338,7 +338,7 @@ jobs: restore-keys: | mutation incremental ${{ matrix.package }} - name: Install Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version-file: .nvmrc cache: npm diff --git a/.github/workflows/config-checks.yml b/.github/workflows/config-checks.yml index 2df5482e..739a7f5b 100644 --- a/.github/workflows/config-checks.yml +++ b/.github/workflows/config-checks.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Validate .github/codecov.yml uses: ericcornelissen/codecov-config-validator-action@bbb3f8ef45de6f6ce57ea8d566940bdd78b4814a # v1.0.2 with: @@ -26,9 +26,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Install Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version-file: .nvmrc - name: Install Renovate CLI diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 66120398..2ca85375 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: fetch-depth: 0 - name: Cache compiled packages - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: | packages/*/build @@ -33,7 +33,7 @@ jobs: if: ${{ github.ref != 'refs/heads/main' }} run: git fetch origin main:main - name: Install Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version-file: .nvmrc cache: npm diff --git a/.nvmrc b/.nvmrc index d5a15960..62d44807 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.10.0 +20.13.0 diff --git a/package.json b/package.json index 00010df1..c451e044 100644 --- a/package.json +++ b/package.json @@ -27,44 +27,44 @@ "test:watch": "node scripts/test.js --watch" }, "devDependencies": { - "@commitlint/config-conventional": "18.4.3", + "@commitlint/config-conventional": "19.2.2", "@istanbuljs/nyc-config-typescript": "1.0.2", - "@stryker-mutator/core": "7.3.0", - "@stryker-mutator/mocha-runner": "7.3.0", - "@stryker-mutator/typescript-checker": "7.3.0", - "@types/chai": "4.3.11", + "@stryker-mutator/core": "8.2.6", + "@stryker-mutator/mocha-runner": "8.2.6", + "@stryker-mutator/typescript-checker": "8.2.6", + "@types/chai": "4.3.16", "@types/mocha": "10.0.6", - "@types/node": "20.10.0", - "@types/sinon": "17.0.2", + "@types/node": "20.12.11", + "@types/sinon": "17.0.3", "@types/sinon-chai": "3.2.12", - "@typescript-eslint/eslint-plugin": "6.13.0", - "@typescript-eslint/parser": "6.13.0", - "chai": "4.3.10", - "commitlint": "18.4.3", - "eslint": "8.54.0", + "@typescript-eslint/eslint-plugin": "7.8.0", + "@typescript-eslint/parser": "7.8.0", + "chai": "5.1.0", + "commitlint": "19.3.0", + "eslint": "9.2.0", "eslint-import-resolver-typescript": "3.6.1", "eslint-plugin-chai-expect": "3.0.0", - "eslint-plugin-import": "2.29.0", - "eslint-plugin-jsdoc": "46.9.0", + "eslint-plugin-import": "2.29.1", + "eslint-plugin-jsdoc": "48.2.3", "eslint-plugin-json": "3.1.0", - "eslint-plugin-markdown": "3.0.1", - "eslint-plugin-mocha": "10.2.0", - "eslint-plugin-regexp": "2.1.1", - "eslint-plugin-security": "1.7.1", - "eslint-plugin-yml": "1.10.0", - "fast-check": "3.14.0", + "eslint-plugin-markdown": "5.0.0", + "eslint-plugin-mocha": "10.4.3", + "eslint-plugin-regexp": "2.5.0", + "eslint-plugin-security": "3.0.0", + "eslint-plugin-yml": "1.14.0", + "fast-check": "3.18.0", "git-changed-files": "1.0.0", - "husky": "8.0.3", + "husky": "9.0.11", "licensee": "10.0.0", - "markdownlint-cli": "0.37.0", + "markdownlint-cli": "0.40.0", "micromatch": "4.0.5", - "mocha": "10.2.0", + "mocha": "10.4.0", "nyc": "15.1.0", - "sinon": "17.0.1", + "sinon": "17.0.2", "sinon-chai": "3.7.0", - "ts-node": "10.9.1", + "ts-node": "10.9.2", "tsconfig-paths": "4.2.0", - "typescript": "5.3.2" + "typescript": "5.4.5" }, "workspaces": [ "packages/benchmarking",