diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2481081..01fbe12 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,9 +25,9 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm ci diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1568147..867f932 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,11 +39,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -54,7 +54,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -68,4 +68,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 235700a..a86a3f8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,14 +11,14 @@ jobs: matrix: node-version: [14.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Cache node_modules id: cache-modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: ${{ matrix.node-version }}-${{ runner.OS }}-build-${{ hashFiles('package.json') }} @@ -33,10 +33,10 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' && ( github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' ) steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache node_modules id: cache-modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: 12.x-${{ runner.OS }}-build-${{ hashFiles('package.json') }} diff --git a/package.json b/package.json index f772b07..02f05cc 100644 --- a/package.json +++ b/package.json @@ -36,36 +36,36 @@ }, "homepage": "https://nodejet.org", "devDependencies": { - "@types/chai": "4.3.1", - "@types/jest": "28.1.3", - "@types/mocha": "9.1.1", - "@types/mock-fs": "4.13.1", - "@types/node": "16.11.41", - "@types/sinon": "10.0.11", - "@typescript-eslint/eslint-plugin": "5.29.0", - "@typescript-eslint/parser": "5.29.0", - "audit-ci": "6.3.0", - "chai": "4.3.6", - "eslint": "8.18.0", + "@types/chai": "5.0.1", + "@types/jest": "29.5.14", + "@types/mocha": "10.0.9", + "@types/mock-fs": "4.13.4", + "@types/node": "22.9.0", + "@types/sinon": "17.0.3", + "@typescript-eslint/eslint-plugin": "8.14.0", + "@typescript-eslint/parser": "8.14.0", + "audit-ci": "7.1.0", + "chai": "5.1.2", + "eslint": "9.14.0", "eslint-config-airbnb-base": "15.0.0", - "eslint-import-resolver-typescript": "2.7.1", - "eslint-plugin-import": "2.26.0", - "eslint-plugin-jest": "26.5.3", - "eslint-plugin-jsdoc": "39.3.3", - "eslint-plugin-mocha": "10.0.5", - "eslint-plugin-sonarjs": "0.13.0", + "eslint-import-resolver-typescript": "3.6.3", + "eslint-plugin-import": "2.31.0", + "eslint-plugin-jest": "28.9.0", + "eslint-plugin-jsdoc": "50.4.3", + "eslint-plugin-mocha": "10.5.0", + "eslint-plugin-sonarjs": "2.0.4", "install": "0.13.0", - "jest": "28.1.1", - "nyc": "15.1.0", - "sinon": "14.0.0", + "jest": "29.7.0", + "nyc": "17.1.0", + "sinon": "19.0.2", "source-map-support": "0.5.21", - "ts-jest": "28.0.5", - "ts-node": "10.8.1", - "typescript": "4.7.4" + "ts-jest": "29.2.5", + "ts-node": "10.9.2", + "typescript": "5.6.3" }, "dependencies": { "@types/yargs": "^17.0.0", - "change-case": "^4.1.2", + "change-case": "^5.0.0", "yargs": "^17.0.0" } }