From: Jérôme Benoit Date: Thu, 21 Apr 2022 20:08:12 +0000 (+0200) Subject: Fix npm ci with latest node.js version X-Git-Tag: v2.2.1~78 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b8497a0a3b64136519cdfed4ab58f314b1bdb9f0;p=poolifier.git Fix npm ci with latest node.js version Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f9a58de..fccb643e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,9 @@ jobs: node-version: ${{ matrix.node }} - name: Install + if: matrix.node == '18.x' + run: npm ci --legacy-peer-deps + if: matrix.node != '18.x' run: npm ci - name: Build diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 27be68f6..3e61d69e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,11 +38,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -53,7 +53,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@v1 + uses: github/codeql-action/autobuild@v2 # ℹ️ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -67,4 +67,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/generate-typedoc.yml b/.github/workflows/generate-typedoc.yml index 5fa4498c..7e7af20e 100644 --- a/.github/workflows/generate-typedoc.yml +++ b/.github/workflows/generate-typedoc.yml @@ -9,13 +9,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token fetch-depth: 0 # otherwise, you will failed to push refs to dest repo - name: Set node version to 16 - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: '16.x' diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index d6bbad9d..cc9523ab 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -10,10 +10,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: '16.x' @@ -39,10 +39,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: '16.x' registry-url: https://registry.npmjs.org/ diff --git a/package-lock.json b/package-lock.json index b11d7c2e..fce6aaf1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,9 +15,9 @@ "benchmark": "^2.1.4", "eslint": "^8.13.0", "eslint-config-standard": "^17.0.0", - "eslint-define-config": "^1.3.0", + "eslint-define-config": "^1.4.0", "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jsdoc": "^39.2.6", + "eslint-plugin-jsdoc": "^39.2.7", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettierx": "^0.18.0", "eslint-plugin-promise": "^6.0.0", @@ -2141,14 +2141,14 @@ } }, "node_modules/eslint-define-config": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-define-config/-/eslint-define-config-1.3.0.tgz", - "integrity": "sha512-sFbHUnaXdJfG74c0EfFjXajjM3ugDVOMteKBnddCHQP5eas6p3nmS7PbSVhyZ8Y9DaNNtFbzlovdGmVdTwrHcw==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/eslint-define-config/-/eslint-define-config-1.4.0.tgz", + "integrity": "sha512-DJGEdzX4fkdkhPSzPgOpBbBjhT+b9DcgbAgxfrEUcipVWlSuesQJriKffHz1JF5mhKFm7PGoiZz4D2nb4GslNA==", "dev": true, "engines": { - "node": ">= 16.9.0", - "npm": ">= 7.0.0", - "pnpm": ">= 6.32.2" + "node": ">= 14.6.0", + "npm": ">= 6.0.0", + "pnpm": ">= 6.32.9" } }, "node_modules/eslint-import-resolver-node": { @@ -2290,9 +2290,9 @@ "dev": true }, "node_modules/eslint-plugin-jsdoc": { - "version": "39.2.6", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-39.2.6.tgz", - "integrity": "sha512-bPeKh0p+Gko3uBmJkP6FnY75v7WMPwFsVYZgh0CisT6apOJzS30zyAyy4phWly8JGgnz+9dwgaYgr+KDObUA6g==", + "version": "39.2.7", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-39.2.7.tgz", + "integrity": "sha512-vLaNFVbhoUrAX2f7gKpzALEWaDCiGGydlPYzrZLVlWXdUm6UZdJq3GKlYEoI9Q/eL66cPbHukaQHD4MQ1/T8rg==", "dev": true, "dependencies": { "@es-joy/jsdoccomment": "~0.28.0", @@ -7171,8 +7171,7 @@ "version": "9.0.5", "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-9.0.5.tgz", "integrity": "sha512-TeyhRGefTOtA9N3udMrvheafoXcz/dvTTdZLcieeZQxm1SSeaQDUQ/rUH6QTOiHVNMtjOCrZ9J5rk1A4mPYuag==", - "dev": true, - "requires": {} + "dev": true }, "@babel/code-frame": { "version": "7.16.7", @@ -7983,8 +7982,7 @@ "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "requires": {} + "dev": true }, "aggregate-error": { "version": "3.1.0", @@ -8755,13 +8753,12 @@ "version": "17.0.0", "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-17.0.0.tgz", "integrity": "sha512-/2ks1GKyqSOkH7JFvXJicu0iMpoojkwB+f5Du/1SC0PtBL+s8v30k9njRZ21pm2drKYm2342jFnGWzttxPmZVg==", - "dev": true, - "requires": {} + "dev": true }, "eslint-define-config": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-define-config/-/eslint-define-config-1.3.0.tgz", - "integrity": "sha512-sFbHUnaXdJfG74c0EfFjXajjM3ugDVOMteKBnddCHQP5eas6p3nmS7PbSVhyZ8Y9DaNNtFbzlovdGmVdTwrHcw==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/eslint-define-config/-/eslint-define-config-1.4.0.tgz", + "integrity": "sha512-DJGEdzX4fkdkhPSzPgOpBbBjhT+b9DcgbAgxfrEUcipVWlSuesQJriKffHz1JF5mhKFm7PGoiZz4D2nb4GslNA==", "dev": true }, "eslint-import-resolver-node": { @@ -8881,9 +8878,9 @@ } }, "eslint-plugin-jsdoc": { - "version": "39.2.6", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-39.2.6.tgz", - "integrity": "sha512-bPeKh0p+Gko3uBmJkP6FnY75v7WMPwFsVYZgh0CisT6apOJzS30zyAyy4phWly8JGgnz+9dwgaYgr+KDObUA6g==", + "version": "39.2.7", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-39.2.7.tgz", + "integrity": "sha512-vLaNFVbhoUrAX2f7gKpzALEWaDCiGGydlPYzrZLVlWXdUm6UZdJq3GKlYEoI9Q/eL66cPbHukaQHD4MQ1/T8rg==", "dev": true, "requires": { "@es-joy/jsdoccomment": "~0.28.0", @@ -8946,8 +8943,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-6.0.0.tgz", "integrity": "sha512-7GPezalm5Bfi/E22PnQxDWH2iW9GTvAlUNTztemeHb6c1BniSyoeTrM87JkC0wYdi6aQrZX9p2qEiAno8aTcbw==", - "dev": true, - "requires": {} + "dev": true }, "eslint-plugin-spellcheck": { "version": "0.0.19", @@ -11086,8 +11082,7 @@ "version": "2.3.4", "resolved": "https://registry.npmjs.org/prettier-plugin-organize-imports/-/prettier-plugin-organize-imports-2.3.4.tgz", "integrity": "sha512-R8o23sf5iVL/U71h9SFUdhdOEPsi3nm42FD/oDYIZ2PQa4TNWWuWecxln6jlIQzpZTDMUeO1NicJP6lLn2TtRw==", - "dev": true, - "requires": {} + "dev": true }, "prettierx": { "version": "0.18.3", diff --git a/package.json b/package.json index ba23bc90..7c05679a 100644 --- a/package.json +++ b/package.json @@ -68,9 +68,9 @@ "benchmark": "^2.1.4", "eslint": "^8.13.0", "eslint-config-standard": "^17.0.0", - "eslint-define-config": "^1.3.0", + "eslint-define-config": "^1.4.0", "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jsdoc": "^39.2.6", + "eslint-plugin-jsdoc": "^39.2.7", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettierx": "^0.18.0", "eslint-plugin-promise": "^6.0.0",