Fix npm ci with latest node.js version
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 21 Apr 2022 20:08:12 +0000 (22:08 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 21 Apr 2022 20:08:12 +0000 (22:08 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/ci.yml
.github/workflows/codeql-analysis.yml
.github/workflows/generate-typedoc.yml
.github/workflows/npmpublish.yml
package-lock.json
package.json

index 6f9a58de363e3c5d68353de4a6d0f045596d0606..fccb643e91413e1632b00f1277086be5a09c9dc3 100644 (file)
@@ -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
index 27be68f673439362ee516eab067ebc1651de4de9..3e61d69eb879f74d018cc4bd063225dac204880e 100644 (file)
@@ -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
index 5fa4498c4e1fc4421afb7e14c949b07bfd6764c7..7e7af20e2cf6f03c72791cb0f9ef9be8fe065229 100644 (file)
@@ -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'
 
index d6bbad9d78b5b79e3a374786b25d9ffe0f7e0577..cc9523aba15515b50ce59f85a170256236a24aa4 100644 (file)
@@ -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/
index b11d7c2e2154f7b5d73803c8559f7db348fdd065..fce6aaf11f3717d9498b4ea79d7d47830e1738a6 100644 (file)
@@ -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",
       }
     },
     "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": {
       "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",
       "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",
       "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",
       "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": {
       }
     },
     "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",
       "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",
       "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",
index ba23bc90c3f05d01154ac26ef7d9e66b837667c7..7c05679a38608ab0e78df6af1afbfec9c3d19eb0 100644 (file)
@@ -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",